• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

system/bt


Commit MetaInfo

Revisioneb9a7750869109601764a33ec0006f93145d20da (tree)
Time2019-07-04 00:53:01
AuthorMyles Watson <mylesgw@goog...>
CommiterMyles Watson

Log Message

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

Change Summary

Incremental Difference

--- 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())