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

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

Metrics: Add Bluetooth address obfuscator in Java

* Expose Bluetooth address obfuscator to Java layer as
  AdapterService.obfuscateAddress(BluetoothDevice)
* Add unit tests to verify different usage scenarios
* Add unit tests that read metrics salt value from disk and compare
  native layer obfuscation result with Java layer HMAC-SHA256
  calculation result

Bug: 112969790
Test: make, BluetoothInstrumentationTests
Change-Id: Iac151616413073b3602fd61d9e620a932ae0340c
parent 3d40d820
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