• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


コミットメタ情報

リビジョンeb9a7750869109601764a33ec0006f93145d20da (tree)
日時2019-07-04 00:53:01
作者Myles Watson <mylesgw@goog...>
コミッターMyles Watson

ログメッセージ

RootCanal: Set the timer period to 1 second

Reduce the CPU overhead of simulating the Bluetooth chip.

Bug: 136503363
Test: enable Bluetooth with RootCanal
Change-Id: I3a783a4d8a46d4eef43ddbace23c672ef9f6d7f9
Merged-In: I609f917061e5d83e011edfeb61de281ff45b13e4

変更サマリ

差分

--- a/test/rootcanal/bluetooth_hci.cc
+++ b/test/rootcanal/bluetooth_hci.cc
@@ -142,6 +142,7 @@ Return<void> BluetoothHci::initialize(const sp<IBluetoothHciCallbacks>& cb) {
142142 test_channel_.AddDeviceToPhy({"1", "0"});
143143 test_channel_.Add({"beacon", "be:ac:10:00:00:02", "1000"});
144144 test_channel_.AddDeviceToPhy({"2", "0"});
145+ test_channel_.SetTimerPeriod({"1000"});
145146
146147 unlink_cb_ = [cb](sp<BluetoothDeathRecipient>& death_recipient) {
147148 if (death_recipient->getHasDied())