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

Skip to content
Commit a39da0f3 authored by Jakub Rotkiewicz's avatar Jakub Rotkiewicz
Browse files

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
parent ae4c4168
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