leaudio: Improve dumpsys logs
LeAudio Manager:
Active group: 2
configuration: MEDIA (0x00000004)
metadata context type mask: MEDIA, NOTIFICATION
TBS state: No calls
Start time: 1015 ms, 900 ms,
Speaker codec config (audio framework)
sample rate: 48000, chan: 2, bits: 16, data_interval_us: 10000
Microphone codec config (audio framework)
sample rate: 32000, chan: 2, bits: 16, data_interval_us: 10000
Speaker codec config (Bluetooth)
audio sender state: STARTED
sample rate: 48000, chan: 1, bits: 16, data_interval_us: 10000
Microphone codec config (Bluetooth)
audio receiver state: IDLE
sample rate: 0, chan: 0, bits: 0, data_interval_us: 0
----------------
LE Audio Groups:
== Group id: 1 == , Inactive
state: IDLE (0x00), target state: IDLE (0x00), cig state: NONE (0x00)
active context types: 000000000000000000, current context type: UNINITIALIZED
active configuration name: not set
stream configuration: unknown
codec id: 0, pending_configuration: 0
num of devices(connected): 2(0)
, num of sinks(connected): 0(0)
num of sources(connected): 0(0)
allocated CISes: 0
== devices: ==
Address: XX:XX:XX:XX:XX:XX, CONNECTING_AUTOCONNECT (0x06), acl_handle: 65535, Unecrypted,mtu: 0
number of ases_: 3
== ASEs ==
id: 1, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 2, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 3, active: false, dir: source, cis_id: 255, state: IDLE (0x00)
====
Address: yy:yy:yy:yy:yy:yy, CONNECTING_AUTOCONNECT (0x06): , acl_handle: 65535, Unencrypted,mtu: 0
number of ases_: 3
== ASEs ==
id: 1, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 2, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 3, active: false, dir: source, cis_id: 255, state: IDLE (0x00)
====
== Group id: 2 == , Active
state: STREAMING (0x04), target state: STREAMING (0x04), cig state: CREATED (0x02)
active context types: 0x0000000000000f3f, current context type: MEDIA
active configuration name: DualDev_OneChanStereoSnk_48_4_Server_Preferred
stream configuration: DualDev_OneChanStereoSnk_48_4_Server_Preferred
codec id: 0, pending_configuration: 0
num of devices(connected): 2(1)
, num of sinks(connected): 2(1)
num of sources(connected): 0(0)
allocated CISes: 2
== CISes ==
cis id: 0, type: 1, conn_handle: 12, addr: aa:aa:aa:aa:aa:aa
cis id: 1, type: 1, conn_handle: 13, addr: bb:bb:bb:bb:bb:bb
====
presentation_delay for sink (speaker): 40000 us
presentation_delay for source (microphone): 0 us
== devices: ==
Address: aa:aa:aa:aa:aa:aa, CONNECTED (0x02): 267, acl_handle: 9, Encrypted,mtu: 100
number of ases_: 3
== ASEs ==
id: 1, active: true, dir: sink, cis_id: 0, state: DATA_PATH_ESTABLISHED (0x05)
id: 2, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 3, active: false, dir: source, cis_id: 255, state: IDLE (0x00)
====
Address: bb:bb:bb:bb:bb:bb, CONNECTED (0x02): 11, acl_handle: 10, Encrypted,mtu: 100
number of ases_: 3
== ASEs ==
id: 1, active: true, dir: sink, cis_id: 1, state: DATA_PATH_ESTABLISHED (0x05)
id: 2, active: false, dir: sink, cis_id: 255, state: IDLE (0x00)
id: 3, active: false, dir: source, cis_id: 255, state: IDLE (0x00)
====
Bug: 249303876
Test: Compile
Tag: #feature
Change-Id: Id461e2d43a35ad63f63cb0752a20fb9258b3fd1e
Loading
Please register or sign in to comment