OSDN Git Service

RootCanal: Use a state machine in ScriptedBeacon
authorSanjay Ramankandath <sanjayram@google.com>
Wed, 3 Jun 2020 22:24:06 +0000 (22:24 +0000)
committerMyles Watson <mylesgw@google.com>
Tue, 16 Jun 2020 20:00:41 +0000 (13:00 -0700)
commit80b43139bf68d5324e0b86dc7be8682ed5eadee4
tree2852581ab84860d56b72b3013464795b166f0916
parent78d863bd3002bba947f1a957211e3748e740f24b
RootCanal: Use a state machine in ScriptedBeacon

  Add indication for ble add playback completion
  bt HCI: Make sure the device numbers match
  Clean up static variables in scripted beacon
  Clean up logs in scripted beacon

Test: boot cuttlefish and check logcat
Tag: #gd-refactor
Bug: 154491371
Bug: 158019041
(cherry picked from commit 79f168b7f3b03722cf2d0bb5ee97258824dc3832)
(cherry picked from commit 1c66bdaa38c46e859b66f8cc055993c5f0e7f5a1)
(cherry picked from commit 82656e9682e9de7596b7327618cf680936f34589)
Change-Id: I7f54ecef4ba08acc33b9d773b02b8428ca91a415
(cherry picked from commit 53c68dba78cc8f746c93e3db062ef358a976f0bf)
Merged-In: I7f54ecef4ba08acc33b9d773b02b8428ca91a415
test/rootcanal/bluetooth_hci.cc
vendor_libs/test_vendor_lib/model/devices/scripted_beacon.cc
vendor_libs/test_vendor_lib/model/devices/scripted_beacon.h
vendor_libs/test_vendor_lib/model/devices/scripted_beacon_ble_payload.proto