Metrics: Log ACL and SCO connection state change
* Use updated BluetoothConnectionStateChanged to log profile
conneciton state change from AdapterProperties.java
* Use BluetoothAclConnectionStateChanged atom to log ACL
connection state from RemoteDevices.java
* Use BluetoothScoConnectionStateChanged atom to log SCO
connection state changes for HFP and HFP client profile
* Use AdapterService#obfuscateAddress(BluetoothDevice) to obtain
obfuscated device id
Bug: 112969790
Test: unit test, test drive with statsd
Change-Id: Ifbd3cf4c8b08635e69ddc009347a210c49871ba6
5 files changed