1
|
Audio event log: audio services lifecycle
|
2
|
11-26 01:16:55:973 AudioService()
|
3
|
|
4
|
Message handler (watch for unhandled messages):
|
5
|
Handler (com.android.server.audio.AudioService$AudioHandler) {40fac9e} @ 112118
|
6
|
Looper (AudioService, tid 115) {178d37f}
|
7
|
(Total messages: 0, polling=true, quitting=false)
|
8
|
|
9
|
MediaFocusControl dump time: 上午1:18:02
|
10
|
|
11
|
Audio Focus stack entries (last is top of stack):
|
12
|
|
13
|
|
14
|
No external focus policy
|
15
|
|
16
|
|
17
|
|
18
|
Notify on duck: true
|
19
|
|
20
|
In ring or call: false
|
21
|
|
22
|
|
23
|
|
24
|
Audio event log: focus commands as seen by MediaFocusControl
|
25
|
11-26 01:17:01:901 requestAudioFocus() from uid/pid 10088/2084 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@e06467f callingPack=com.android.systemui req=3 flags=0x0 sdk=31
|
26
|
11-26 01:17:04:628 abandonAudioFocus() from uid/pid 10088/2084 clientId=android.media.AudioManager@e06467f
|
27
|
11-26 01:17:10:146 requestAudioFocus() from uid/pid 10088/2084 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@5242900 callingPack=com.android.systemui req=3 flags=0x0 sdk=31
|
28
|
11-26 01:17:12:730 abandonAudioFocus() from uid/pid 10088/2084 clientId=android.media.AudioManager@5242900
|
29
|
11-26 01:17:58:571 requestAudioFocus() from uid/pid 10088/2084 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@8253f6c callingPack=com.android.systemui req=3 flags=0x0 sdk=31
|
30
|
11-26 01:18:01:160 abandonAudioFocus() from uid/pid 10088/2084 clientId=android.media.AudioManager@8253f6c
|
31
|
Multi Audio Focus enabled :false
|
32
|
|
33
|
Stream volumes (device: index)
|
34
|
- STREAM_VOICE_CALL:
|
35
|
Muted: false
|
36
|
Muted Internally: false
|
37
|
Min: 1
|
38
|
Max: 5
|
39
|
streamVolume:2
|
40
|
Current: 1 (earpiece): 2, 2 (speaker): 2, 4 (headset): 2, 8 (headphone): 2, 4000000 (usb_headset): 2, 40000000 (default): 2
|
41
|
Devices: earpiece
|
42
|
- STREAM_SYSTEM:
|
43
|
Muted: false
|
44
|
Muted Internally: false
|
45
|
Min: 0
|
46
|
Max: 7
|
47
|
streamVolume:2
|
48
|
Current: 2 (speaker): 2, 4 (headset): 2, 8 (headphone): 2, 4000000 (usb_headset): 2, 40000000 (default): 2
|
49
|
Devices: speaker
|
50
|
- STREAM_RING:
|
51
|
Muted: false
|
52
|
Muted Internally: false
|
53
|
Min: 0
|
54
|
Max: 7
|
55
|
streamVolume:2
|
56
|
Current: 2 (speaker): 2, 4 (headset): 2, 8 (headphone): 2, 4000000 (usb_headset): 2, 40000000 (default): 2
|
57
|
Devices: speaker
|
58
|
- STREAM_MUSIC:
|
59
|
Muted: false
|
60
|
Muted Internally: false
|
61
|
Min: 0
|
62
|
Max: 39
|
63
|
streamVolume:13
|
64
|
Current: 2 (speaker): 13, 4 (headset): 10, 8 (headphone): 10, 4000000 (usb_headset): 10, 40000000 (default): 13
|
65
|
Devices: speaker
|
66
|
- STREAM_ALARM:
|
67
|
Muted: false
|
68
|
Muted Internally: false
|
69
|
Min: 1
|
70
|
Max: 7
|
71
|
streamVolume:3
|
72
|
Current: 2 (speaker): 3, 4 (headset): 3, 8 (headphone): 3, 4000000 (usb_headset): 3, 40000000 (default): 3
|
73
|
Devices: speaker
|
74
|
- STREAM_NOTIFICATION:
|
75
|
Muted: false
|
76
|
Muted Internally: false
|
77
|
Min: 0
|
78
|
Max: 7
|
79
|
streamVolume:2
|
80
|
Current: 2 (speaker): 2, 4 (headset): 2, 8 (headphone): 2, 4000000 (usb_headset): 2, 40000000 (default): 2
|
81
|
Devices: speaker
|
82
|
- STREAM_BLUETOOTH_SCO:
|
83
|
Muted: false
|
84
|
Muted Internally: false
|
85
|
Min: 0
|
86
|
Max: 15
|
87
|
streamVolume:7
|
88
|
Current: 1 (earpiece): 7, 40000000 (default): 7
|
89
|
Devices: earpiece
|
90
|
- STREAM_SYSTEM_ENFORCED:
|
91
|
Muted: false
|
92
|
Muted Internally: false
|
93
|
Min: 0
|
94
|
Max: 7
|
95
|
streamVolume:2
|
96
|
Current: 2 (speaker): 2, 4 (headset): 2, 8 (headphone): 2, 4000000 (usb_headset): 2, 40000000 (default): 2
|
97
|
Devices: speaker
|
98
|
- STREAM_DTMF:
|
99
|
Muted: false
|
100
|
Muted Internally: false
|
101
|
Min: 0
|
102
|
Max: 15
|
103
|
streamVolume:5
|
104
|
Current: 2 (speaker): 5, 4 (headset): 4, 8 (headphone): 4, 4000000 (usb_headset): 4, 40000000 (default): 5
|
105
|
Devices: speaker
|
106
|
- STREAM_TTS:
|
107
|
Muted: false
|
108
|
Muted Internally: false
|
109
|
Min: 0
|
110
|
Max: 15
|
111
|
streamVolume:5
|
112
|
Current: 2 (speaker): 5, 4 (headset): 4, 8 (headphone): 4, 4000000 (usb_headset): 4, 40000000 (default): 5
|
113
|
Devices: speaker
|
114
|
- STREAM_ACCESSIBILITY:
|
115
|
Muted: false
|
116
|
Muted Internally: false
|
117
|
Min: 1
|
118
|
Max: 15
|
119
|
streamVolume:6
|
120
|
Current: 2 (speaker): 6, 4 (headset): 5, 8 (headphone): 5, 4000000 (usb_headset): 5, 40000000 (default): 6
|
121
|
Devices: speaker
|
122
|
- STREAM_ASSISTANT:
|
123
|
Muted: false
|
124
|
Muted Internally: false
|
125
|
Min: 0
|
126
|
Max: 15
|
127
|
streamVolume:5
|
128
|
Current: 2 (speaker): 5, 4 (headset): 4, 8 (headphone): 4, 4000000 (usb_headset): 4, 40000000 (default): 5
|
129
|
Devices: speaker
|
130
|
|
131
|
- mute affected streams = 0x6f
|
132
|
|
133
|
Volume Groups (device: index)
|
134
|
- VOLUME GROUP AUDIO_STREAM_ACCESSIBILITY:
|
135
|
Min: 1
|
136
|
Max: 15
|
137
|
Current: 40000000 (default): 6
|
138
|
Devices: speaker
|
139
|
- VOLUME GROUP AUDIO_STREAM_ALARM:
|
140
|
Min: 1
|
141
|
Max: 7
|
142
|
Current: 40000000 (default): 3
|
143
|
Devices: speaker
|
144
|
- VOLUME GROUP AUDIO_STREAM_ASSISTANT:
|
145
|
Min: 0
|
146
|
Max: 15
|
147
|
Current: 40000000 (default): 5
|
148
|
Devices: speaker
|
149
|
- VOLUME GROUP AUDIO_STREAM_DTMF:
|
150
|
Min: 0
|
151
|
Max: 15
|
152
|
Current: 40000000 (default): 5
|
153
|
Devices: speaker
|
154
|
- VOLUME GROUP AUDIO_STREAM_ENFORCED_AUDIBLE:
|
155
|
Min: 0
|
156
|
Max: 7
|
157
|
Current: 40000000 (default): 2
|
158
|
Devices: speaker
|
159
|
- VOLUME GROUP AUDIO_STREAM_MUSIC:
|
160
|
Min: 0
|
161
|
Max: 39
|
162
|
Current: 40000000 (default): 13
|
163
|
Devices: speaker
|
164
|
- VOLUME GROUP AUDIO_STREAM_NOTIFICATION:
|
165
|
Min: 0
|
166
|
Max: 7
|
167
|
Current: 40000000 (default): 2
|
168
|
Devices: speaker
|
169
|
- VOLUME GROUP AUDIO_STREAM_REROUTING:
|
170
|
Min: 0
|
171
|
Max: 39
|
172
|
Current: 40000000 (default): 13
|
173
|
Devices: speaker
|
174
|
- VOLUME GROUP AUDIO_STREAM_RING:
|
175
|
Min: 0
|
176
|
Max: 7
|
177
|
Current: 40000000 (default): 2
|
178
|
Devices: speaker
|
179
|
- VOLUME GROUP AUDIO_STREAM_SYSTEM:
|
180
|
Min: 0
|
181
|
Max: 7
|
182
|
Current: 40000000 (default): 2
|
183
|
Devices: speaker
|
184
|
- VOLUME GROUP AUDIO_STREAM_VOICE_CALL:
|
185
|
Min: 1
|
186
|
Max: 5
|
187
|
Current: 40000000 (default): 2
|
188
|
Devices: earpiece
|
189
|
- VOLUME GROUP AUDIO_STREAM_CALL_ASSISTANT:
|
190
|
Min: 0
|
191
|
Max: 39
|
192
|
Current: 40000000 (default): 13
|
193
|
Devices: speaker
|
194
|
|
195
|
Ringer mode:
|
196
|
- mode (internal) = NORMAL
|
197
|
- mode (external) = NORMAL
|
198
|
- zen mode:ZEN_MODE_OFF
|
199
|
- ringer mode affected streams = 0x80 (STREAM_SYSTEM_ENFORCED)
|
200
|
- ringer mode muted streams = 0x0
|
201
|
- delegate = ZenModeHelper
|
202
|
|
203
|
Audio mode:
|
204
|
- Requested mode = MODE_NORMAL
|
205
|
- Actual mode = MODE_NORMAL
|
206
|
- Mode owner:
|
207
|
None
|
208
|
- Mode owner stack:
|
209
|
Empty
|
210
|
|
211
|
Audio routes:
|
212
|
mMainType=0x0
|
213
|
mBluetoothName=null
|
214
|
|
215
|
Other state:
|
216
|
mVolumeController=VolumeController(android.os.BinderProxy@41cef4c,mVisible=false)
|
217
|
mSafeMediaVolumeState=SAFE_MEDIA_VOLUME_ACTIVE
|
218
|
mSafeMediaVolumeIndex=100
|
219
|
mSafeUsbMediaVolumeIndex=100
|
220
|
mSafeUsbMediaVolumeDbfs=-37.0
|
221
|
sIndependentA11yVolume=false
|
222
|
mPendingVolumeCommand=null
|
223
|
mMusicActiveMs=0
|
224
|
mMcc=0
|
225
|
mCameraSoundForced=false
|
226
|
mHasVibrator=true
|
227
|
mVolumePolicy=VolumePolicy[volumeDownToEnterSilent=false,volumeUpToExitSilent=false,doNotDisturbWhenSilent=false,vibrateToSilentDebounce=400]
|
228
|
mAvrcpAbsVolSupported=false
|
229
|
mBtScoOnByApp=false
|
230
|
mIsSingleVolume=true
|
231
|
mUseFixedVolume=false
|
232
|
mFixedVolumeDevices=0x1000,0x800,0x200000,0x40000,0x40001
|
233
|
mFullVolumeDevices=
|
234
|
mExtVolumeController=null
|
235
|
mHdmiAudioSystemClient=null
|
236
|
mHdmiPlaybackClient=null
|
237
|
mHdmiTvClient=null
|
238
|
mHdmiSystemAudioSupported=false
|
239
|
mHdmiCecVolumeControlEnabled=false
|
240
|
mIsCallScreeningModeSupported=true
|
241
|
mic mute FromSwitch=false FromRestrictions=false FromApi=false from system=false
|
242
|
mAssistantUid=0
|
243
|
mCurrentImeUid=0
|
244
|
mMonitorRotation=false
|
245
|
No accessibility service Uids.
|
246
|
|
247
|
Audio policies:
|
248
|
Audio event log: dynamic policy events (logged when command received by AudioService)
|
249
|
|
250
|
PlaybackActivityMonitor dump time: 上午1:18:02
|
251
|
|
252
|
playback listeners:
|
253
|
(S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@2033b95 (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@1c5f4aa (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@751289b
|
254
|
|
255
|
|
256
|
players:
|
257
|
AudioPlaybackConfiguration piid:295 deviceId:0 type:android.media.SoundPool u/pid:1000/1016 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null sessionId:0
|
258
|
AudioPlaybackConfiguration piid:303 deviceId:0 type:android.media.SoundPool u/pid:10088/2084 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null sessionId:0
|
259
|
AudioPlaybackConfiguration piid:327 deviceId:0 type:android.media.SoundPool u/pid:1000/4195 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x801 tags= bundle=null sessionId:0
|
260
|
|
261
|
ducked players piids:
|
262
|
|
263
|
faded out players piids:
|
264
|
|
265
|
muted player piids:
|
266
|
|
267
|
banned uids:
|
268
|
|
269
|
Audio event log: playback activity as reported through PlayerBase
|
270
|
11-26 01:16:58:083 new player piid:295 uid/pid:1000/1016 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null session:0
|
271
|
11-26 01:16:58:928 new player piid:303 uid/pid:10088/2084 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null session:0
|
272
|
11-26 01:17:01:752 new player piid:311 uid/pid:10088/2084 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:0
|
273
|
11-26 01:17:01:762 player piid:311 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
|
274
|
11-26 01:17:02:405 player piid:311 state:started DeviceId:0
|
275
|
11-26 01:17:02:742 player piid:311 state:device DeviceId:3
|
276
|
11-26 01:17:04:626 player piid:311 state:stopped DeviceId:0
|
277
|
11-26 01:17:04:666 releasing player piid:311
|
278
|
11-26 01:17:10:027 new player piid:319 uid/pid:10088/2084 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:0
|
279
|
11-26 01:17:10:028 player piid:319 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
|
280
|
11-26 01:17:10:651 player piid:319 state:started DeviceId:0
|
281
|
11-26 01:17:10:861 player piid:319 state:device DeviceId:3
|
282
|
11-26 01:17:12:730 player piid:319 state:stopped DeviceId:0
|
283
|
11-26 01:17:12:734 releasing player piid:319
|
284
|
11-26 01:17:20:201 new player piid:327 uid/pid:1000/4195 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x801 tags= bundle=null session:0
|
285
|
11-26 01:17:58:496 new player piid:335 uid/pid:10088/2084 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:0
|
286
|
11-26 01:17:58:497 player piid:335 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
|
287
|
11-26 01:17:59:073 player piid:335 state:started DeviceId:0
|
288
|
11-26 01:17:59:289 player piid:335 state:device DeviceId:3
|
289
|
11-26 01:18:01:157 player piid:335 state:stopped DeviceId:0
|
290
|
11-26 01:18:01:167 releasing player piid:335
|
291
|
|
292
|
allowed capture policies:
|
293
|
|
294
|
RecordActivityMonitor dump time: 上午1:18:02
|
295
|
|
296
|
|
297
|
Audio event log: recording activity received by AudioService
|
298
|
|
299
|
AudioDeviceBroker:
|
300
|
Message handler (watch for unhandled messages):
|
301
|
Handler (com.android.server.audio.AudioDeviceBroker$BrokerHandler) {acfb438} @ 112137
|
302
|
Looper (AudioDeviceBroker, tid 116) {ea8fc11}
|
303
|
(Total messages: 0, polling=true, quitting=false)
|
304
|
|
305
|
Preferred devices for strategy:
|
306
|
|
307
|
Connected devices:
|
308
|
|
309
|
APM Connected device (A2DP sink only):
|
310
|
|
311
|
Communication route clients:
|
312
|
|
313
|
Computed Preferred communication device: null
|
314
|
|
315
|
Applied Preferred communication device: null
|
316
|
Active communication device: AudioDeviceAttributes: role:output type:earpiece addr:
|
317
|
mCommunicationStrategyId: 15
|
318
|
|
319
|
mModeOwnerPid: 0
|
320
|
|
321
|
mBluetoothHeadset: android.bluetooth.BluetoothHeadset@5bf2226
|
322
|
mBluetoothHeadsetDevice: null
|
323
|
mScoAudioState: SCO_STATE_INACTIVE
|
324
|
mScoAudioMode: SCO_MODE_VIRTUAL_CALL
|
325
|
|
326
|
mHearingAid: android.bluetooth.BluetoothHearingAid@9f71c9
|
327
|
mA2dp: android.bluetooth.BluetoothA2dp@ad839f
|
328
|
mAvrcpAbsVolSupported: false
|
329
|
|
330
|
SoundEffects:
|
331
|
Message handler (watch for unhandled messages):
|
332
|
Handler (com.android.server.audio.SoundEffectsHelper$SfxHandler) {e6b176} @ 112138
|
333
|
Looper (AS.SfxWorker, tid 114) {38fb377}
|
334
|
(Total messages: 0, polling=true, quitting=false)
|
335
|
Default attenuation (dB): -6
|
336
|
Audio event log: Sound Effects Loading
|
337
|
11-26 01:16:58:080 effects loading started
|
338
|
11-26 01:16:58:372 effect Effect_Tick.ogg loaded
|
339
|
11-26 01:16:58:593 effect KeypressStandard.ogg loaded
|
340
|
11-26 01:16:58:660 effect KeypressSpacebar.ogg loaded
|
341
|
11-26 01:16:58:869 effect KeypressReturn.ogg loaded
|
342
|
11-26 01:16:58:876 effect KeypressDelete.ogg loaded
|
343
|
11-26 01:16:59:161 effect KeypressInvalid.ogg loaded
|
344
|
11-26 01:16:59:161 effects loading completed
|
345
|
|
346
|
|
347
|
|
348
|
Event logs:
|
349
|
Audio event log: phone state (logged after successful call to AudioSystem.setPhoneState(int, int))
|
350
|
|
351
|
|
352
|
Audio event log: wired/A2DP/hearing aid device connection
|
353
|
11-26 01:16:58:063 onUpdateCommunicationRoute, preferredCommunicationDevice: null eventSource: resetBluetoothSco
|
354
|
11-26 01:16:58:065 removePreferredDevicesForStrategySync, strategy: 15
|
355
|
11-26 01:17:01:043 onUpdateCommunicationRoute, preferredCommunicationDevice: null eventSource: resetBluetoothSco
|
356
|
11-26 01:17:01:046 removePreferredDevicesForStrategySync, strategy: 15
|
357
|
11-26 01:17:01:294 BT profile service: connecting A2DP profile
|
358
|
11-26 01:17:01:533 BT profile service: connecting HEARING_AID profile
|
359
|
11-26 01:17:03:487 BT profile service: connecting HEADSET profile
|
360
|
|
361
|
|
362
|
Audio event log: force use (logged before setForceUse() is executed)
|
363
|
11-26 01:16:56:025 setForceUse(FOR_SYSTEM, FORCE_NONE) due to AudioService ctor
|
364
|
11-26 01:16:56:031 setForceUse(FOR_ENCODED_SURROUND, FORCE_NONE) due to readPersistedSettings
|
365
|
11-26 01:16:56:032 setForceUse(FOR_DOCK, FORCE_ANALOG_DOCK) due to readDockAudioSettings
|
366
|
11-26 01:16:58:017 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1016
|
367
|
11-26 01:16:58:081 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1016
|
368
|
11-26 01:16:58:661 setForceUse(FOR_ENCODED_SURROUND, FORCE_NONE) due to readPersistedSettings
|
369
|
11-26 01:16:58:661 setForceUse(FOR_DOCK, FORCE_ANALOG_DOCK) due to readDockAudioSettings
|
370
|
11-26 01:16:58:694 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1016
|
371
|
11-26 01:17:01:050 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1016
|
372
|
|
373
|
|
374
|
Audio event log: volume changes (logged when command received by AudioService)
|
375
|
|
376
|
|
377
|
Supported System Usages:
|
378
|
USAGE_CALL_ASSISTANT
|
379
|
|
380
|
|