[Metrics] Add logging to profile connection attempts
Current logging adds support to measure for A2DP and HFP profile attempts along with their result and reasons for profile connection attempts. Test: m followed by connecting to BT device supporting A2DP and HFP and then statsd_testdrive 696 Bug: 285027829 (cherry picked from https://android-review.googlesource.com/q/commit:1d02bb3a5f095c162155425acd61812f76b66d56) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0964e2c746232e21e66843fe7587e92921a6cc0c) Merged-In: Ie70c5a40a00b57d8c65857151774e6346acced85 Change-Id: Ie70c5a40a00b57d8c65857151774e6346acced85
Showing
- android/app/src/com/android/bluetooth/a2dp/A2dpStateMachine.java 39 additions, 2 deletions.../app/src/com/android/bluetooth/a2dp/A2dpStateMachine.java
- android/app/src/com/android/bluetooth/hfp/HeadsetStateMachine.java 39 additions, 1 deletion...pp/src/com/android/bluetooth/hfp/HeadsetStateMachine.java
Loading
Please register or sign in to comment