jni/a2dp: Refactor logging
Refactor logging so that they show meaningful info about states and configs: from: <function> or <function> sBluetoothA2dpInterface: 0x7295088298 to: connectA2dpNative: sBluetoothA2dpInterface: 0x7295088298, b0:4a:6a:90:1e:15 bta2dp_mandatory_codec_preferred_callback: b0:4a:6a:90:1e:15 bta2dp_connection_state_callback: b0:4a:6a:90:1e:15: state: BTAV_CONNECTION_STATE_CONNECTING(0x1) bta2dp_audio_config_callback: b0:4a:6a:90:1e:15: codec: AAC, local codecs: Opus, LDAC, aptX HD, aptX, AAC, SBC, selectable codecs: AAC, SBC bta2dp_audio_state_callback: b0:4a:6a:90:1e:15: state: BTAV_AUDIO_STATE_STARTED(0x2) Bug: 329809288 Flag: Exempt - logging only Test: m com.android.btservices Change-Id: Ie750c74ca0fde53ec9e12f99bbf09d94776a5233
Loading
Please register or sign in to comment