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