Events log: audio services lifecycle
08-04 18:20:11:842 AudioService()

Message handler (watch for unhandled messages):
  Handler (com.android.server.audio.AudioService$AudioHandler) {d6a38e1} @ 7129738
    Looper (AudioService, tid 180) {6cfabdc}
      (Total messages: 0, polling=true, quitting=false)

Fun with Flags:
	android.media.audio.autoPublicVolumeApiHardening:false
	android.media.audio.Flags.automaticBtDeviceType:true
	android.media.audio.featureSpatialAudioHeadtrackingLowLatency:false
	android.media.audio.focusFreezeTestApi:true
	com.android.media.audio.audioserverPermissions:false
	com.android.media.audio.disablePrescaleAbsoluteVolume:true
	com.android.media.audio.setStreamVolumeOrder:true
	android.media.audio.roForegroundAudioControl:true
	android.media.audio.scoManagedByAudio:false
	com.android.media.audio.vgsVssSyncMuteOrder:true
	com.android.media.audio.absVolumeIndexFix:false
Events log: Hardening enforcement

MediaFocusControl dump time: 21:43:50

Audio Focus stack entries (last is top of stack):


No external focus policy



 Notify on duck:  true

 In ring or call: false



Events log: focus commands as seen by MediaFocusControl
08-04 18:27:55:143 requestAudioFocus() from uid/pid 10136/5147 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@52fb326 callingPack=com.android.systemui req=3 flags=0x0 sdk=35
08-04 18:27:56:765 abandonAudioFocus() from uid/pid 10136/5147 clientId=android.media.AudioManager@52fb326
08-05 11:23:19:190 requestAudioFocus() from uid/pid 10136/5147 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@a3baafc callingPack=com.android.systemui req=3 flags=0x0 sdk=35
08-05 11:23:20:846 abandonAudioFocus() from uid/pid 10136/5147 clientId=android.media.AudioManager@a3baafc
08-05 13:40:37:911 requestAudioFocus() from uid/pid 10136/5147 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@4598ad callingPack=com.android.systemui req=3 flags=0x0 sdk=35
08-05 13:40:39:516 abandonAudioFocus() from uid/pid 10136/5147 clientId=android.media.AudioManager@4598ad
08-05 13:43:46:786 requestAudioFocus() from uid/pid 10136/5147 AA=USAGE_NOTIFICATION/CONTENT_TYPE_SONIFICATION clientId=android.media.AudioManager@eb7fcf8 callingPack=com.android.systemui req=3 flags=0x0 sdk=35
08-05 13:43:48:378 abandonAudioFocus() from uid/pid 10136/5147 clientId=android.media.AudioManager@eb7fcf8
Multi Audio Focus enabled :false

Stream volumes (device: index)
- STREAM_VOICE_CALL:
   Muted: false
   Muted Internally: false
   Min: 1
   Max: 15
   streamVolume:11
   Current: 1 (earpiece): 11, 40000000 (default): 11
   Devices: earpiece(1)
   Volume Group: AUDIO_STREAM_VOICE_CALL

- STREAM_SYSTEM (aliased to: STREAM_RING):
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:4
   Current: 2 (speaker): 4, 40000000 (default): 4
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_SYSTEM

- STREAM_RING:
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:4
   Current: 2 (speaker): 4, 40000000 (default): 4
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_RING

- STREAM_MUSIC:
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:5
   Current: 2 (speaker): 5, 40000000 (default): 5
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_MUSIC

- STREAM_ALARM:
   Muted: false
   Muted Internally: false
   Min: 1
   Max: 15
   streamVolume:12
   Current: 2 (speaker): 12, 40000000 (default): 12
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_ALARM

- STREAM_NOTIFICATION:
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:4
   Current: 2 (speaker): 4, 40000000 (default): 4
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_NOTIFICATION

- STREAM_BLUETOOTH_SCO:
   Muted: false
   Muted Internally: false
   Min: 1
   Max: 15
   streamVolume:7
   Current: 1 (earpiece): 7, 40000000 (default): 7
   Devices: earpiece(1)
   Volume Group: AUDIO_STREAM_BLUETOOTH_SCO

- STREAM_SYSTEM_ENFORCED (aliased to: STREAM_RING):
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:4
   Current: 2 (speaker): 4, 40000000 (default): 4
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_ENFORCED_AUDIBLE

- STREAM_DTMF (aliased to: STREAM_RING):
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:4
   Current: 2 (speaker): 4, 40000000 (default): 4
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_DTMF

- STREAM_TTS (aliased to: STREAM_MUSIC):
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:5
   Current: 2 (speaker): 5, 40000000 (default): 5
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_TTS

- STREAM_ACCESSIBILITY (aliased to: STREAM_MUSIC):
   Muted: false
   Muted Internally: false
   Min: 1
   Max: 15
   streamVolume:6
   Current: 2 (speaker): 6, 40000000 (default): 6
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_ACCESSIBILITY

- STREAM_ASSISTANT:
   Muted: false
   Muted Internally: false
   Min: 0
   Max: 15
   streamVolume:7
   Current: 2 (speaker): 7, 40000000 (default): 7
   Devices: speaker(2)
   Volume Group: AUDIO_STREAM_ASSISTANT


- mute affected streams = 0x6f

- user mutable streams = 0x2e

Volume Groups (device: index)
- VOLUME GROUP AUDIO_STREAM_PATCH:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 5
   Devices: speaker
   Streams: UNKNOWN_STREAM_13 
- VOLUME GROUP AUDIO_STREAM_REROUTING:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 5
   Devices: speaker
   Streams: UNKNOWN_STREAM_12 
- VOLUME GROUP AUDIO_STREAM_ASSISTANT:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 7
   Devices: speaker
   Streams: STREAM_ASSISTANT 
- VOLUME GROUP AUDIO_STREAM_ACCESSIBILITY:
   Muted: false
   Min: 1
   Max: 15
   Current: 2 (speaker): 6, 40000000 (default): 6
   Devices: speaker
   Streams: STREAM_ACCESSIBILITY 
- VOLUME GROUP AUDIO_STREAM_TTS:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 5
   Devices: speaker
   Streams: STREAM_TTS 
- VOLUME GROUP AUDIO_STREAM_DTMF:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 4
   Devices: speaker
   Streams: STREAM_DTMF 
- VOLUME GROUP AUDIO_STREAM_ENFORCED_AUDIBLE:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 4
   Devices: speaker
   Streams: STREAM_SYSTEM_ENFORCED 
- VOLUME GROUP AUDIO_STREAM_BLUETOOTH_SCO:
   Muted: false
   Min: 1
   Max: 15
   Current: 40000000 (default): 7
   Devices: earpiece
   Streams: STREAM_BLUETOOTH_SCO 
- VOLUME GROUP AUDIO_STREAM_NOTIFICATION:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 4
   Devices: speaker
   Streams: STREAM_NOTIFICATION 
- VOLUME GROUP AUDIO_STREAM_ALARM:
   Muted: false
   Min: 1
   Max: 15
   Current: 40000000 (default): 12
   Devices: speaker
   Streams: STREAM_ALARM 
- VOLUME GROUP AUDIO_STREAM_MUSIC:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 5
   Devices: speaker
   Streams: STREAM_MUSIC 
- VOLUME GROUP AUDIO_STREAM_RING:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 4
   Devices: speaker
   Streams: STREAM_RING 
- VOLUME GROUP AUDIO_STREAM_SYSTEM:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 4
   Devices: speaker
   Streams: STREAM_SYSTEM 
- VOLUME GROUP AUDIO_STREAM_VOICE_CALL:
   Muted: false
   Min: 1
   Max: 15
   Current: 40000000 (default): 11
   Devices: earpiece
   Streams: STREAM_VOICE_CALL 
- VOLUME GROUP AUDIO_STREAM_CALL_ASSISTANT:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 5
   Devices: speaker
   Streams: UNKNOWN_STREAM_14 

Ringer mode: 
- mode (internal) = NORMAL
- mode (external) = NORMAL
- zen mode:ZEN_MODE_OFF
- ringer mode affected streams = 0x1a6 (STREAM_SYSTEM,STREAM_RING,STREAM_NOTIFICATION,STREAM_SYSTEM_ENFORCED,STREAM_DTMF)
- ringer mode muted streams = 0x0
- delegate = ZenModeHelper

Audio mode: 
- Requested mode = MODE_NORMAL
- Actual mode = MODE_NORMAL
- Mode owner: 
   None
- Mode owner stack: 
   Empty

Audio routes:
  mMainType=0x0
  mBluetoothName=null

Other state:
  mUseVolumeGroupAliases=false
  mVolumeController=VolumeController(android.os.BinderProxy@a63cd1e,mVisible=false)
  mEnableCsd=false
  mSafeMediaVolumeState=SAFE_MEDIA_VOLUME_DISABLED
  mSafeMediaVolumeIndex=100
  mSafeMediaVolumeIndex[4]=100
  mSafeMediaVolumeIndex[8]=100
  mSafeMediaVolumeIndex[128]=-1
  mSafeMediaVolumeIndex[256]=-1
  mSafeMediaVolumeIndex[67108864]=40
  mSafeMediaVolumeIndex[536870912]=-1
  mSafeMediaVolumeIndex[536870914]=-1
  mSafeMediaVolumeDbfs=-37.0
  mMusicActiveMs=0
  mMcc=1
  mPendingVolumeCommand=null

Events log: CSD updates

  sIndependentA11yVolume=false
  mCameraSoundForced=false
  mHasVibrator=true
  mVolumePolicy=VolumePolicy[volumeDownToEnterSilent=true,volumeUpToExitSilent=true,doNotDisturbWhenSilent=false,vibrateToSilentDebounce=400]
  mAvrcpAbsVolSupported=false
  mBtScoOnByApp=false
  mIsSingleVolume=false
  mUseFixedVolume=false
  mNotifAliasRing=false
  mFixedVolumeDevices=0x800,0x200000
  mFullVolumeDevices=0x40000,0x40001
  absolute volume devices=
  adjust-only absolute volume devices=
  pre-scale for bluetooth absolute volume = disabled
  mExtVolumeController=null
  mHdmiAudioSystemClient=null
  mHdmiPlaybackClient=null
  mHdmiTvClient=null
  mHdmiSystemAudioSupported=false
  mHdmiCecVolumeControlEnabled=false
  mIsCallScreeningModeSupported=true
  mic mute FromSwitch=false FromRestrictions=false FromApi=false from system=false
  mMonitorRotation=true
  mMasterMute=false
  No accessibility service Uids.
  Assistant service UIDs:
  - 10044
  supportsBluetoothVariableLatency=true
  isBluetoothVariableLatencyEnabled=true

Audio policies:
Events log: dynamic policy events (logged when command received by AudioService)

PlaybackActivityMonitor dump time: 21:43:50

  playback listeners:
 (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@294f606 (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@b06c4c7 (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@ac09af4 (S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@ff0821d


  players:
  AudioPlaybackConfiguration piid:87 deviceId:0 type:android.media.SoundPool u/pid:1000/3042 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null sessionId:0 mutedState:none  FormatInfo{isSpatialized=false, channelMask=0x0, sampleRate=0}disabled:false
  AudioPlaybackConfiguration piid:103 deviceId:0 type:android.media.SoundPool u/pid:10136/5147 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null sessionId:0 mutedState:none  FormatInfo{isSpatialized=false, channelMask=0x0, sampleRate=0}disabled:false
  AudioPlaybackConfiguration piid:119 deviceId:0 type:android.media.SoundPool u/pid:10046/6943 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null sessionId:0 mutedState:none  FormatInfo{isSpatialized=false, channelMask=0x0, sampleRate=0}disabled:false
  AudioPlaybackConfiguration piid:183 deviceId:0 type:android.media.SoundPool u/pid:10056/10345 state:idle attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x801 tags= bundle=null sessionId:0 mutedState:none  FormatInfo{isSpatialized=false, channelMask=0x0, sampleRate=0}disabled:false

  ducked players piids:

  faded out players piids:

  muted player piids due to call/ring:

  banned uids:


  muted players (piids) awaiting device connection:


  current portId to piid map:


Events log: playback activity as reported through PlayerBase
08-04 18:20:12:180 new player piid:87 uid/pid:1000/3042 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null session:0
08-04 18:20:13:393 new player piid:103 uid/pid:10136/5147 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null session:0
08-04 18:20:16:996 new player piid:119 uid/pid:10046/6943 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null session:0
08-04 18:27:52:507 new player piid:135 uid/pid:1000/3042 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:129
08-04 18:27:52:518 player piid:135 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION_RINGTONE content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-04 18:27:52:534 releasing player piid:135, uid:1000
08-04 18:27:52:534 new player piid:151 uid/pid:1000/3042 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:145
08-04 18:27:52:538 player piid:151 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-04 18:27:52:541 player piid:151 event:started
08-04 18:27:52:567 port updated portId:33 mapped to player piid:151
08-04 18:27:52:574 player piid:151 format update:FormatInfo{isSpatialized=false, channelMask=0x1, sampleRate=48000}
08-04 18:27:52:577 player piid:151 event:device updated deviceId:3
08-04 18:27:52:802 player piid:103 event:started
08-04 18:27:54:471 player piid:103 event:started
08-04 18:27:55:134 new player piid:167 uid/pid:10136/5147 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:193
08-04 18:27:55:134 player piid:167 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-04 18:27:55:408 player piid:151 event:stopped
08-04 18:27:55:644 player piid:167 event:started
08-04 18:27:55:669 port updated portId:36 mapped to player piid:167
08-04 18:27:55:702 player piid:167 format update:FormatInfo{isSpatialized=false, channelMask=0x3, sampleRate=48000}
08-04 18:27:55:703 player piid:167 event:device updated deviceId:3
08-04 18:27:56:765 player piid:167 event:stopped
08-04 18:27:56:765 releasing player piid:167, uid:10136
08-04 18:28:33:502 releasing player piid:151, uid:1000
08-04 18:32:46:014 player piid:103 event:started
08-05 11:19:12:863 player piid:103 event:started
08-05 11:20:48:026 new player piid:183 uid/pid:10056/10345 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x801 tags= bundle=null session:0
08-05 11:23:18:707 new player piid:199 uid/pid:1000/3042 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:241
08-05 11:23:18:723 player piid:199 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION_RINGTONE content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-05 11:23:18:745 releasing player piid:199, uid:1000
08-05 11:23:18:747 new player piid:215 uid/pid:1000/3042 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:273
08-05 11:23:18:759 player piid:215 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-05 11:23:18:784 player piid:215 event:started
08-05 11:23:18:807 port updated portId:37 mapped to player piid:215
08-05 11:23:18:811 player piid:215 format update:FormatInfo{isSpatialized=false, channelMask=0x1, sampleRate=48000}
08-05 11:23:18:815 player piid:215 event:device updated deviceId:3
08-05 11:23:19:179 new player piid:231 uid/pid:10136/5147 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:289
08-05 11:23:19:180 player piid:231 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-05 11:23:19:690 player piid:231 event:started
08-05 11:23:19:709 port updated portId:38 mapped to player piid:231
08-05 11:23:19:772 player piid:231 format update:FormatInfo{isSpatialized=false, channelMask=0x3, sampleRate=48000}
08-05 11:23:19:775 player piid:231 event:device updated deviceId:3
08-05 11:23:20:846 player piid:231 event:stopped
08-05 11:23:20:846 releasing player piid:231, uid:10136
08-05 11:23:21:640 player piid:215 event:stopped
08-05 11:23:44:766 player piid:103 event:started
08-05 11:23:48:580 releasing player piid:215, uid:1000
08-05 11:25:00:985 player piid:103 event:started
08-05 11:26:13:646 player piid:103 event:started
08-05 11:28:54:917 player piid:103 event:started
08-05 11:28:56:781 player piid:103 event:started
08-05 11:32:32:787 player piid:103 event:started
08-05 11:40:50:263 player piid:103 event:started
08-05 13:07:08:236 player piid:103 event:started
08-05 13:40:37:897 new player piid:247 uid/pid:10136/5147 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:465
08-05 13:40:37:897 player piid:247 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-05 13:40:38:412 player piid:247 event:started
08-05 13:40:38:427 port updated portId:43 mapped to player piid:247
08-05 13:40:38:430 player piid:247 format update:FormatInfo{isSpatialized=false, channelMask=0x3, sampleRate=48000}
08-05 13:40:38:431 player piid:247 event:device updated deviceId:3
08-05 13:40:39:515 player piid:247 event:stopped
08-05 13:40:39:516 releasing player piid:247, uid:10136
08-05 13:43:46:776 new player piid:263 uid/pid:10136/5147 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null session:481
08-05 13:43:46:777 player piid:263 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
08-05 13:43:47:286 player piid:263 event:started
08-05 13:43:47:299 port updated portId:44 mapped to player piid:263
08-05 13:43:47:302 player piid:263 format update:FormatInfo{isSpatialized=false, channelMask=0x3, sampleRate=48000}
08-05 13:43:47:303 player piid:263 event:device updated deviceId:3
08-05 13:43:48:377 player piid:263 event:stopped
08-05 13:43:48:378 releasing player piid:263, uid:10136

  allowed capture policies:

RecordActivityMonitor dump time: 21:43:50


Events log: recording activity received by AudioService

AudioDeviceBroker:
  Message handler (watch for unhandled messages):
    Handler (com.android.server.audio.AudioDeviceBroker$BrokerHandler) {7a6c92} @ 7129740
      Looper (AudioDeviceBroker, tid 177) {16e2cce}
        (Total messages: 0, polling=true, quitting=false)

  BECOMING_NOISY_INTENT_DEVICES_SET=
 0x400 0x800 0x8000000 0x20000000 0x80 0x100 0x200 0x2000 0x4000 0x4000000 0x20000001 0x20000 0x20000002 0x4 0x8
  Preferred devices for strategy:

  Non-default devices for strategy:

  Connected devices:

  APM Connected device (A2DP sink only):

  Preferred devices for capture preset:

  Applied devices roles for strategies (from API):

  Applied devices roles for strategies (internal):

  Applied devices roles for presets (from API):

  Applied devices roles for presets (internal:

devices:


  Communication route clients:

  Computed Preferred communication device: null

  Applied Preferred communication device: null
  Active communication device: AudioDeviceAttributes: role:output type:earpiece addr: name:Ashe profiles:[{ENCODING_PCM_16BIT, sampling rates=[48000], channel masks=0x04, encapsulation type=0}] descriptors:[]
  mCommunicationStrategyId: 15
  mAccessibilityStrategyId: 18

  mAudioModeOwner: AudioModeInfo: mMode=MODE_NORMAL, mPid=0, mUid=0

  mScoManagedByAudio: false

  mBluetoothHeadset: null
  mBluetoothHeadsetDevice: null
  mScoAudioState: SCO_STATE_INACTIVE
  mScoAudioMode: SCO_MODE_VIRTUAL_CALL

  mHearingAid: null

  mLeAudio: null
  mA2dp: null
  mAvrcpAbsVolSupported: false

SoundEffects:
  Message handler (watch for unhandled messages):
  Handler (com.android.server.audio.SoundEffectsHelper$SfxHandler) {c20e663} @ 7129741
    Looper (AS.SfxWorker, tid 179) {3c67260}
      (Total messages: 0, polling=true, quitting=false)
  Default attenuation (dB): -6
Events log: Sound Effects Loading
08-04 18:20:12:180 effects loading started
08-04 18:20:12:231 effect Effect_Tick.ogg loaded
08-04 18:20:12:245 effect KeypressStandard.ogg loaded
08-04 18:20:12:294 effect KeypressSpacebar.ogg loaded
08-04 18:20:12:315 effect KeypressDelete.ogg loaded
08-04 18:20:12:325 effect KeypressReturn.ogg loaded
08-04 18:20:12:344 effect KeypressInvalid.ogg loaded
08-04 18:20:12:344 effects loading completed



Event logs:
Events log: phone state (logged after successful call to AudioSystem.setPhoneState(int, int))


Events log: wired/A2DP/hearing aid device connection
08-04 18:20:12:175 updateCommunicationRoute, preferredCommunicationDevice: null eventSource: resetBluetoothSco
08-04 18:20:13:328 removePreferredDevicesForStrategy strat:20
08-04 18:20:15:178 updateCommunicationRoute, preferredCommunicationDevice: null eventSource: resetBluetoothSco


Events log: force use (logged before setForceUse() is executed)
08-04 18:20:11:852 setForceUse(FOR_ENCODED_SURROUND, FORCE_NONE) due to readPersistedSettings
08-04 18:20:11:852 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:11:871 setForceUse(FOR_SYSTEM, FORCE_NONE) due to AudioService ctor
08-04 18:20:11:888 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/3042
08-04 18:20:11:891 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:11:953 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:12:180 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/3042
08-04 18:20:12:392 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:12:652 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:13:015 setForceUse(FOR_ENCODED_SURROUND, FORCE_NONE) due to readPersistedSettings
08-04 18:20:13:015 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:13:046 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/3042
08-04 18:20:13:148 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:13:148 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:13:463 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:13:467 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:15:178 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/3042
08-04 18:20:15:776 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-04 18:20:24:210 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings
08-05 11:17:38:677 setForceUse(FOR_DOCK, FORCE_DIGITAL_DOCK) due to readDockAudioSettings


Events log: volume changes (logged when command received by AudioService)


Events log: mute commands
08-04 18:20:11:870 RingerZenMutedStreams 0x0 from onInitStreamsAndVolumes


Supported System Usages:
	USAGE_CALL_ASSISTANT



Spatial audio:
mHasSpatializerEffect:false (effect present)
isSpatializerEnabled:false (routing dependent)
SpatializerHelper:
	mState:1
	mSpatLevel:0
	mCapableSpatLevel:0
	mIsHeadTrackingSupported:false
	supported head tracking modes:
	mDesiredHeadTrackingMode:HEAD_TRACKING_MODE_RELATIVE_WORLD
	mActualHeadTrackingMode:HEAD_TRACKING_MODE_UNSUPPORTED
	headtracker available:false
	supports binaural:false / transaural:false
	mSpatOutput:0
	has FEATURE_AUDIO_SPATIAL_HEADTRACKING_LOW_LATENCY:false
Events log: spatial audio
08-04 18:20:11:870 init effectExpected=false
08-04 18:20:11:870 init(): setting state to STATE_NOT_SUPPORTED due to effect not expected
08-04 18:20:11:870 setFeatureEnabled(false) was featureEnabled:false



Loudness alignment:

Registered clients:


Events log: Loudness updates


AudioSystemAdapter:
 last cache clear time: 08-05 19:17:38:677
 mDevicesForAttrCache:
	AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_SYSTEM(1)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x801 tags= bundle=null forVolume: true stream: STREAM_SYSTEM(1)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_ASSISTANCE_ACCESSIBILITY content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_ACCESSIBILITY(10)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_NOTIFICATION_RINGTONE content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_RING(2)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_ALARM content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_ALARM(4)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_ASSISTANT content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null forVolume: true stream: STREAM_ASSISTANT(11)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_NOTIFICATION(5)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_VOICE_CALL(0)
		AudioDeviceAttributes: role:output type:earpiece addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_VOICE_COMMUNICATION_SIGNALLING content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_DTMF(8)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null forVolume: true stream: STREAM_MUSIC(3)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x804 tags= bundle=null forVolume: true stream: STREAM_VOICE_CALL(0)
		AudioDeviceAttributes: role:output type:earpiece addr: name: profiles:[] descriptors:[]
	AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x808 tags= bundle=null forVolume: true stream: STREAM_MUSIC(3)
		AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
