Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cc1a624a authored by Jack He's avatar Jack He
Browse files

Metrics: Move bluetooth.proto to system/bt/proto

* Move bluetooth.proto to system/bt/proto/ and compile it for both
  Java LITE runtime and C++ LITE runtime so that it can be shared
  between Java and native code
* Modify Bluetooth code to use builder for protobuf messages
* Modify LE scan logging to log number of scan results at the end of a
  scan session
* Modify AdapterService to merge native metrics before Java metrics so
  that Java metrics can overwrite native metrics if needed

Bug: 33693818
Test: make, toggle Bluetooth, clearcut server-client E2E test
      adb shell dumpsys bluetooth_manager --proto-bin
      ACTS tests: BtMetricsTest, BtFunhausMetricsTest
Change-Id: I028df93d64faa58e7be6603a5a436517b9ebe297
parent 81166b5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment