media

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AudioMixMatchCriterionValueTagUsage          int32 = 0
	AudioMixMatchCriterionValueTagSource         int32 = 1
	AudioMixMatchCriterionValueTagUid            int32 = 2
	AudioMixMatchCriterionValueTagUserId         int32 = 3
	AudioMixMatchCriterionValueTagAudioSessionId int32 = 4
)
View Source
const (
	AudioPortExtSysTagUnspecified int32 = 0
	AudioPortExtSysTagDevice      int32 = 1
	AudioPortExtSysTagMix         int32 = 2
	AudioPortExtSysTagSession     int32 = 3
)
View Source
const (
	TransactionIAudioDeviceVolumeDispatcherDispatchDeviceVolumeChanged  = binder.FirstCallTransaction + 0
	TransactionIAudioDeviceVolumeDispatcherDispatchDeviceVolumeAdjusted = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIAudioDeviceVolumeDispatcherDispatchDeviceVolumeChanged  = "dispatchDeviceVolumeChanged"
	MethodIAudioDeviceVolumeDispatcherDispatchDeviceVolumeAdjusted = "dispatchDeviceVolumeAdjusted"
)
View Source
const (
	TransactionIAudioFlingerClientIoConfigChanged                = binder.FirstCallTransaction + 0
	TransactionIAudioFlingerClientOnSupportedLatencyModesChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIAudioFlingerClientIoConfigChanged                = "ioConfigChanged"
	MethodIAudioFlingerClientOnSupportedLatencyModesChanged = "onSupportedLatencyModesChanged"
)
View Source
const (
	TransactionIAudioFlingerServiceCreateTrack                        = binder.FirstCallTransaction + 0
	TransactionIAudioFlingerServiceCreateRecord                       = binder.FirstCallTransaction + 1
	TransactionIAudioFlingerServiceSampleRate                         = binder.FirstCallTransaction + 2
	TransactionIAudioFlingerServiceFormat                             = binder.FirstCallTransaction + 3
	TransactionIAudioFlingerServiceFrameCount                         = binder.FirstCallTransaction + 4
	TransactionIAudioFlingerServiceLatency                            = binder.FirstCallTransaction + 5
	TransactionIAudioFlingerServiceSetMasterVolume                    = binder.FirstCallTransaction + 6
	TransactionIAudioFlingerServiceSetMasterMute                      = binder.FirstCallTransaction + 7
	TransactionIAudioFlingerServiceMasterVolume                       = binder.FirstCallTransaction + 8
	TransactionIAudioFlingerServiceMasterMute                         = binder.FirstCallTransaction + 9
	TransactionIAudioFlingerServiceSetMasterBalance                   = binder.FirstCallTransaction + 10
	TransactionIAudioFlingerServiceGetMasterBalance                   = binder.FirstCallTransaction + 11
	TransactionIAudioFlingerServiceSetStreamVolume                    = binder.FirstCallTransaction + 12
	TransactionIAudioFlingerServiceSetStreamMute                      = binder.FirstCallTransaction + 13
	TransactionIAudioFlingerServiceStreamVolume                       = binder.FirstCallTransaction + 14
	TransactionIAudioFlingerServiceStreamMute                         = binder.FirstCallTransaction + 15
	TransactionIAudioFlingerServiceSetMode                            = binder.FirstCallTransaction + 16
	TransactionIAudioFlingerServiceSetMicMute                         = binder.FirstCallTransaction + 17
	TransactionIAudioFlingerServiceGetMicMute                         = binder.FirstCallTransaction + 18
	TransactionIAudioFlingerServiceSetRecordSilenced                  = binder.FirstCallTransaction + 19
	TransactionIAudioFlingerServiceSetParameters                      = binder.FirstCallTransaction + 20
	TransactionIAudioFlingerServiceGetParameters                      = binder.FirstCallTransaction + 21
	TransactionIAudioFlingerServiceRegisterClient                     = binder.FirstCallTransaction + 22
	TransactionIAudioFlingerServiceGetInputBufferSize                 = binder.FirstCallTransaction + 23
	TransactionIAudioFlingerServiceOpenOutput                         = binder.FirstCallTransaction + 24
	TransactionIAudioFlingerServiceOpenDuplicateOutput                = binder.FirstCallTransaction + 25
	TransactionIAudioFlingerServiceCloseOutput                        = binder.FirstCallTransaction + 26
	TransactionIAudioFlingerServiceSuspendOutput                      = binder.FirstCallTransaction + 27
	TransactionIAudioFlingerServiceRestoreOutput                      = binder.FirstCallTransaction + 28
	TransactionIAudioFlingerServiceOpenInput                          = binder.FirstCallTransaction + 29
	TransactionIAudioFlingerServiceCloseInput                         = binder.FirstCallTransaction + 30
	TransactionIAudioFlingerServiceSetVoiceVolume                     = binder.FirstCallTransaction + 31
	TransactionIAudioFlingerServiceGetRenderPosition                  = binder.FirstCallTransaction + 32
	TransactionIAudioFlingerServiceGetInputFramesLost                 = binder.FirstCallTransaction + 33
	TransactionIAudioFlingerServiceNewAudioUniqueId                   = binder.FirstCallTransaction + 34
	TransactionIAudioFlingerServiceAcquireAudioSessionId              = binder.FirstCallTransaction + 35
	TransactionIAudioFlingerServiceReleaseAudioSessionId              = binder.FirstCallTransaction + 36
	TransactionIAudioFlingerServiceQueryNumberEffects                 = binder.FirstCallTransaction + 37
	TransactionIAudioFlingerServiceQueryEffect                        = binder.FirstCallTransaction + 38
	TransactionIAudioFlingerServiceGetEffectDescriptor                = binder.FirstCallTransaction + 39
	TransactionIAudioFlingerServiceCreateEffect                       = binder.FirstCallTransaction + 40
	TransactionIAudioFlingerServiceMoveEffects                        = binder.FirstCallTransaction + 41
	TransactionIAudioFlingerServiceSetEffectSuspended                 = binder.FirstCallTransaction + 42
	TransactionIAudioFlingerServiceLoadHwModule                       = binder.FirstCallTransaction + 43
	TransactionIAudioFlingerServiceGetPrimaryOutputSamplingRate       = binder.FirstCallTransaction + 44
	TransactionIAudioFlingerServiceGetPrimaryOutputFrameCount         = binder.FirstCallTransaction + 45
	TransactionIAudioFlingerServiceSetLowRamDevice                    = binder.FirstCallTransaction + 46
	TransactionIAudioFlingerServiceGetAudioPort                       = binder.FirstCallTransaction + 47
	TransactionIAudioFlingerServiceCreateAudioPatch                   = binder.FirstCallTransaction + 48
	TransactionIAudioFlingerServiceReleaseAudioPatch                  = binder.FirstCallTransaction + 49
	TransactionIAudioFlingerServiceListAudioPatches                   = binder.FirstCallTransaction + 50
	TransactionIAudioFlingerServiceSetAudioPortConfig                 = binder.FirstCallTransaction + 51
	TransactionIAudioFlingerServiceGetAudioHwSyncForSession           = binder.FirstCallTransaction + 52
	TransactionIAudioFlingerServiceSystemReady                        = binder.FirstCallTransaction + 53
	TransactionIAudioFlingerServiceAudioPolicyReady                   = binder.FirstCallTransaction + 54
	TransactionIAudioFlingerServiceFrameCountHAL                      = binder.FirstCallTransaction + 55
	TransactionIAudioFlingerServiceGetMicrophones                     = binder.FirstCallTransaction + 56
	TransactionIAudioFlingerServiceSetAudioHalPids                    = binder.FirstCallTransaction + 57
	TransactionIAudioFlingerServiceSetVibratorInfos                   = binder.FirstCallTransaction + 58
	TransactionIAudioFlingerServiceUpdateSecondaryOutputs             = binder.FirstCallTransaction + 59
	TransactionIAudioFlingerServiceGetMmapPolicyInfos                 = binder.FirstCallTransaction + 60
	TransactionIAudioFlingerServiceGetAAudioMixerBurstCount           = binder.FirstCallTransaction + 61
	TransactionIAudioFlingerServiceGetAAudioHardwareBurstMinUsec      = binder.FirstCallTransaction + 62
	TransactionIAudioFlingerServiceSetDeviceConnectedState            = binder.FirstCallTransaction + 63
	TransactionIAudioFlingerServiceSetSimulateDeviceConnections       = binder.FirstCallTransaction + 64
	TransactionIAudioFlingerServiceSetRequestedLatencyMode            = binder.FirstCallTransaction + 65
	TransactionIAudioFlingerServiceGetSupportedLatencyModes           = binder.FirstCallTransaction + 66
	TransactionIAudioFlingerServiceSupportsBluetoothVariableLatency   = binder.FirstCallTransaction + 67
	TransactionIAudioFlingerServiceSetBluetoothVariableLatencyEnabled = binder.FirstCallTransaction + 68
	TransactionIAudioFlingerServiceIsBluetoothVariableLatencyEnabled  = binder.FirstCallTransaction + 69
	TransactionIAudioFlingerServiceGetSoundDoseInterface              = binder.FirstCallTransaction + 70
	TransactionIAudioFlingerServiceInvalidateTracks                   = binder.FirstCallTransaction + 71
	TransactionIAudioFlingerServiceGetAudioPolicyConfig               = binder.FirstCallTransaction + 72
	TransactionIAudioFlingerServiceGetAudioMixPort                    = binder.FirstCallTransaction + 73
)
View Source
const (
	MethodIAudioFlingerServiceCreateTrack                        = "createTrack"
	MethodIAudioFlingerServiceCreateRecord                       = "createRecord"
	MethodIAudioFlingerServiceSampleRate                         = "sampleRate"
	MethodIAudioFlingerServiceFormat                             = "format"
	MethodIAudioFlingerServiceFrameCount                         = "frameCount"
	MethodIAudioFlingerServiceLatency                            = "latency"
	MethodIAudioFlingerServiceSetMasterVolume                    = "setMasterVolume"
	MethodIAudioFlingerServiceSetMasterMute                      = "setMasterMute"
	MethodIAudioFlingerServiceMasterVolume                       = "masterVolume"
	MethodIAudioFlingerServiceMasterMute                         = "masterMute"
	MethodIAudioFlingerServiceSetMasterBalance                   = "setMasterBalance"
	MethodIAudioFlingerServiceGetMasterBalance                   = "getMasterBalance"
	MethodIAudioFlingerServiceSetStreamVolume                    = "setStreamVolume"
	MethodIAudioFlingerServiceSetStreamMute                      = "setStreamMute"
	MethodIAudioFlingerServiceStreamVolume                       = "streamVolume"
	MethodIAudioFlingerServiceStreamMute                         = "streamMute"
	MethodIAudioFlingerServiceSetMode                            = "setMode"
	MethodIAudioFlingerServiceSetMicMute                         = "setMicMute"
	MethodIAudioFlingerServiceGetMicMute                         = "getMicMute"
	MethodIAudioFlingerServiceSetRecordSilenced                  = "setRecordSilenced"
	MethodIAudioFlingerServiceSetParameters                      = "setParameters"
	MethodIAudioFlingerServiceGetParameters                      = "getParameters"
	MethodIAudioFlingerServiceRegisterClient                     = "registerClient"
	MethodIAudioFlingerServiceGetInputBufferSize                 = "getInputBufferSize"
	MethodIAudioFlingerServiceOpenOutput                         = "openOutput"
	MethodIAudioFlingerServiceOpenDuplicateOutput                = "openDuplicateOutput"
	MethodIAudioFlingerServiceCloseOutput                        = "closeOutput"
	MethodIAudioFlingerServiceSuspendOutput                      = "suspendOutput"
	MethodIAudioFlingerServiceRestoreOutput                      = "restoreOutput"
	MethodIAudioFlingerServiceOpenInput                          = "openInput"
	MethodIAudioFlingerServiceCloseInput                         = "closeInput"
	MethodIAudioFlingerServiceSetVoiceVolume                     = "setVoiceVolume"
	MethodIAudioFlingerServiceGetRenderPosition                  = "getRenderPosition"
	MethodIAudioFlingerServiceGetInputFramesLost                 = "getInputFramesLost"
	MethodIAudioFlingerServiceNewAudioUniqueId                   = "newAudioUniqueId"
	MethodIAudioFlingerServiceAcquireAudioSessionId              = "acquireAudioSessionId"
	MethodIAudioFlingerServiceReleaseAudioSessionId              = "releaseAudioSessionId"
	MethodIAudioFlingerServiceQueryNumberEffects                 = "queryNumberEffects"
	MethodIAudioFlingerServiceQueryEffect                        = "queryEffect"
	MethodIAudioFlingerServiceGetEffectDescriptor                = "getEffectDescriptor"
	MethodIAudioFlingerServiceCreateEffect                       = "createEffect"
	MethodIAudioFlingerServiceMoveEffects                        = "moveEffects"
	MethodIAudioFlingerServiceSetEffectSuspended                 = "setEffectSuspended"
	MethodIAudioFlingerServiceLoadHwModule                       = "loadHwModule"
	MethodIAudioFlingerServiceGetPrimaryOutputSamplingRate       = "getPrimaryOutputSamplingRate"
	MethodIAudioFlingerServiceGetPrimaryOutputFrameCount         = "getPrimaryOutputFrameCount"
	MethodIAudioFlingerServiceSetLowRamDevice                    = "setLowRamDevice"
	MethodIAudioFlingerServiceGetAudioPort                       = "getAudioPort"
	MethodIAudioFlingerServiceCreateAudioPatch                   = "createAudioPatch"
	MethodIAudioFlingerServiceReleaseAudioPatch                  = "releaseAudioPatch"
	MethodIAudioFlingerServiceListAudioPatches                   = "listAudioPatches"
	MethodIAudioFlingerServiceSetAudioPortConfig                 = "setAudioPortConfig"
	MethodIAudioFlingerServiceGetAudioHwSyncForSession           = "getAudioHwSyncForSession"
	MethodIAudioFlingerServiceSystemReady                        = "systemReady"
	MethodIAudioFlingerServiceAudioPolicyReady                   = "audioPolicyReady"
	MethodIAudioFlingerServiceFrameCountHAL                      = "frameCountHAL"
	MethodIAudioFlingerServiceGetMicrophones                     = "getMicrophones"
	MethodIAudioFlingerServiceSetAudioHalPids                    = "setAudioHalPids"
	MethodIAudioFlingerServiceSetVibratorInfos                   = "setVibratorInfos"
	MethodIAudioFlingerServiceUpdateSecondaryOutputs             = "updateSecondaryOutputs"
	MethodIAudioFlingerServiceGetMmapPolicyInfos                 = "getMmapPolicyInfos"
	MethodIAudioFlingerServiceGetAAudioMixerBurstCount           = "getAAudioMixerBurstCount"
	MethodIAudioFlingerServiceGetAAudioHardwareBurstMinUsec      = "getAAudioHardwareBurstMinUsec"
	MethodIAudioFlingerServiceSetDeviceConnectedState            = "setDeviceConnectedState"
	MethodIAudioFlingerServiceSetSimulateDeviceConnections       = "setSimulateDeviceConnections"
	MethodIAudioFlingerServiceSetRequestedLatencyMode            = "setRequestedLatencyMode"
	MethodIAudioFlingerServiceGetSupportedLatencyModes           = "getSupportedLatencyModes"
	MethodIAudioFlingerServiceSupportsBluetoothVariableLatency   = "supportsBluetoothVariableLatency"
	MethodIAudioFlingerServiceSetBluetoothVariableLatencyEnabled = "setBluetoothVariableLatencyEnabled"
	MethodIAudioFlingerServiceIsBluetoothVariableLatencyEnabled  = "isBluetoothVariableLatencyEnabled"
	MethodIAudioFlingerServiceGetSoundDoseInterface              = "getSoundDoseInterface"
	MethodIAudioFlingerServiceInvalidateTracks                   = "invalidateTracks"
	MethodIAudioFlingerServiceGetAudioPolicyConfig               = "getAudioPolicyConfig"
	MethodIAudioFlingerServiceGetAudioMixPort                    = "getAudioMixPort"
)
View Source
const (
	TransactionIAudioFocusDispatcherDispatchAudioFocusChange         = binder.FirstCallTransaction + 0
	TransactionIAudioFocusDispatcherDispatchFocusResultFromExtPolicy = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIAudioFocusDispatcherDispatchAudioFocusChange         = "dispatchAudioFocusChange"
	MethodIAudioFocusDispatcherDispatchFocusResultFromExtPolicy = "dispatchFocusResultFromExtPolicy"
)
View Source
const (
	TransactionIAudioPolicyServiceOnNewAudioModulesAvailable                    = binder.FirstCallTransaction + 0
	TransactionIAudioPolicyServiceSetDeviceConnectionState                      = binder.FirstCallTransaction + 1
	TransactionIAudioPolicyServiceGetDeviceConnectionState                      = binder.FirstCallTransaction + 2
	TransactionIAudioPolicyServiceHandleDeviceConfigChange                      = binder.FirstCallTransaction + 3
	TransactionIAudioPolicyServiceSetPhoneState                                 = binder.FirstCallTransaction + 4
	TransactionIAudioPolicyServiceSetForceUse                                   = binder.FirstCallTransaction + 5
	TransactionIAudioPolicyServiceGetForceUse                                   = binder.FirstCallTransaction + 6
	TransactionIAudioPolicyServiceGetOutput                                     = binder.FirstCallTransaction + 7
	TransactionIAudioPolicyServiceGetOutputForAttr                              = binder.FirstCallTransaction + 8
	TransactionIAudioPolicyServiceStartOutput                                   = binder.FirstCallTransaction + 9
	TransactionIAudioPolicyServiceStopOutput                                    = binder.FirstCallTransaction + 10
	TransactionIAudioPolicyServiceReleaseOutput                                 = binder.FirstCallTransaction + 11
	TransactionIAudioPolicyServiceGetInputForAttr                               = binder.FirstCallTransaction + 12
	TransactionIAudioPolicyServiceStartInput                                    = binder.FirstCallTransaction + 13
	TransactionIAudioPolicyServiceStopInput                                     = binder.FirstCallTransaction + 14
	TransactionIAudioPolicyServiceReleaseInput                                  = binder.FirstCallTransaction + 15
	TransactionIAudioPolicyServiceInitStreamVolume                              = binder.FirstCallTransaction + 16
	TransactionIAudioPolicyServiceSetStreamVolumeIndex                          = binder.FirstCallTransaction + 17
	TransactionIAudioPolicyServiceGetStreamVolumeIndex                          = binder.FirstCallTransaction + 18
	TransactionIAudioPolicyServiceSetVolumeIndexForAttributes                   = binder.FirstCallTransaction + 19
	TransactionIAudioPolicyServiceGetVolumeIndexForAttributes                   = binder.FirstCallTransaction + 20
	TransactionIAudioPolicyServiceGetMaxVolumeIndexForAttributes                = binder.FirstCallTransaction + 21
	TransactionIAudioPolicyServiceGetMinVolumeIndexForAttributes                = binder.FirstCallTransaction + 22
	TransactionIAudioPolicyServiceGetStrategyForStream                          = binder.FirstCallTransaction + 23
	TransactionIAudioPolicyServiceGetDevicesForAttributes                       = binder.FirstCallTransaction + 24
	TransactionIAudioPolicyServiceGetOutputForEffect                            = binder.FirstCallTransaction + 25
	TransactionIAudioPolicyServiceRegisterEffect                                = binder.FirstCallTransaction + 26
	TransactionIAudioPolicyServiceUnregisterEffect                              = binder.FirstCallTransaction + 27
	TransactionIAudioPolicyServiceSetEffectEnabled                              = binder.FirstCallTransaction + 28
	TransactionIAudioPolicyServiceMoveEffectsToIo                               = binder.FirstCallTransaction + 29
	TransactionIAudioPolicyServiceIsStreamActive                                = binder.FirstCallTransaction + 30
	TransactionIAudioPolicyServiceIsStreamActiveRemotely                        = binder.FirstCallTransaction + 31
	TransactionIAudioPolicyServiceIsSourceActive                                = binder.FirstCallTransaction + 32
	TransactionIAudioPolicyServiceQueryDefaultPreProcessing                     = binder.FirstCallTransaction + 33
	TransactionIAudioPolicyServiceAddSourceDefaultEffect                        = binder.FirstCallTransaction + 34
	TransactionIAudioPolicyServiceAddStreamDefaultEffect                        = binder.FirstCallTransaction + 35
	TransactionIAudioPolicyServiceRemoveSourceDefaultEffect                     = binder.FirstCallTransaction + 36
	TransactionIAudioPolicyServiceRemoveStreamDefaultEffect                     = binder.FirstCallTransaction + 37
	TransactionIAudioPolicyServiceSetSupportedSystemUsages                      = binder.FirstCallTransaction + 38
	TransactionIAudioPolicyServiceSetAllowedCapturePolicy                       = binder.FirstCallTransaction + 39
	TransactionIAudioPolicyServiceGetOffloadSupport                             = binder.FirstCallTransaction + 40
	TransactionIAudioPolicyServiceIsDirectOutputSupported                       = binder.FirstCallTransaction + 41
	TransactionIAudioPolicyServiceListAudioPorts                                = binder.FirstCallTransaction + 42
	TransactionIAudioPolicyServiceListDeclaredDevicePorts                       = binder.FirstCallTransaction + 43
	TransactionIAudioPolicyServiceGetAudioPort                                  = binder.FirstCallTransaction + 44
	TransactionIAudioPolicyServiceCreateAudioPatch                              = binder.FirstCallTransaction + 45
	TransactionIAudioPolicyServiceReleaseAudioPatch                             = binder.FirstCallTransaction + 46
	TransactionIAudioPolicyServiceListAudioPatches                              = binder.FirstCallTransaction + 47
	TransactionIAudioPolicyServiceSetAudioPortConfig                            = binder.FirstCallTransaction + 48
	TransactionIAudioPolicyServiceRegisterClient                                = binder.FirstCallTransaction + 49
	TransactionIAudioPolicyServiceSetAudioPortCallbacksEnabled                  = binder.FirstCallTransaction + 50
	TransactionIAudioPolicyServiceSetAudioVolumeGroupCallbacksEnabled           = binder.FirstCallTransaction + 51
	TransactionIAudioPolicyServiceAcquireSoundTriggerSession                    = binder.FirstCallTransaction + 52
	TransactionIAudioPolicyServiceReleaseSoundTriggerSession                    = binder.FirstCallTransaction + 53
	TransactionIAudioPolicyServiceGetPhoneState                                 = binder.FirstCallTransaction + 54
	TransactionIAudioPolicyServiceRegisterPolicyMixes                           = binder.FirstCallTransaction + 55
	TransactionIAudioPolicyServiceGetRegisteredPolicyMixes                      = binder.FirstCallTransaction + 56
	TransactionIAudioPolicyServiceUpdatePolicyMixes                             = binder.FirstCallTransaction + 57
	TransactionIAudioPolicyServiceSetUidDeviceAffinities                        = binder.FirstCallTransaction + 58
	TransactionIAudioPolicyServiceRemoveUidDeviceAffinities                     = binder.FirstCallTransaction + 59
	TransactionIAudioPolicyServiceSetUserIdDeviceAffinities                     = binder.FirstCallTransaction + 60
	TransactionIAudioPolicyServiceRemoveUserIdDeviceAffinities                  = binder.FirstCallTransaction + 61
	TransactionIAudioPolicyServiceStartAudioSource                              = binder.FirstCallTransaction + 62
	TransactionIAudioPolicyServiceStopAudioSource                               = binder.FirstCallTransaction + 63
	TransactionIAudioPolicyServiceSetMasterMono                                 = binder.FirstCallTransaction + 64
	TransactionIAudioPolicyServiceGetMasterMono                                 = binder.FirstCallTransaction + 65
	TransactionIAudioPolicyServiceGetStreamVolumeDB                             = binder.FirstCallTransaction + 66
	TransactionIAudioPolicyServiceGetSurroundFormats                            = binder.FirstCallTransaction + 67
	TransactionIAudioPolicyServiceGetReportedSurroundFormats                    = binder.FirstCallTransaction + 68
	TransactionIAudioPolicyServiceGetHwOffloadFormatsSupportedForBluetoothMedia = binder.FirstCallTransaction + 69
	TransactionIAudioPolicyServiceSetSurroundFormatEnabled                      = binder.FirstCallTransaction + 70
	TransactionIAudioPolicyServiceSetAssistantServicesUids                      = binder.FirstCallTransaction + 71
	TransactionIAudioPolicyServiceSetActiveAssistantServicesUids                = binder.FirstCallTransaction + 72
	TransactionIAudioPolicyServiceSetA11yServicesUids                           = binder.FirstCallTransaction + 73
	TransactionIAudioPolicyServiceSetCurrentImeUid                              = binder.FirstCallTransaction + 74
	TransactionIAudioPolicyServiceIsHapticPlaybackSupported                     = binder.FirstCallTransaction + 75
	TransactionIAudioPolicyServiceIsUltrasoundSupported                         = binder.FirstCallTransaction + 76
	TransactionIAudioPolicyServiceIsHotwordStreamSupported                      = binder.FirstCallTransaction + 77
	TransactionIAudioPolicyServiceListAudioProductStrategies                    = binder.FirstCallTransaction + 78
	TransactionIAudioPolicyServiceGetProductStrategyFromAudioAttributes         = binder.FirstCallTransaction + 79
	TransactionIAudioPolicyServiceListAudioVolumeGroups                         = binder.FirstCallTransaction + 80
	TransactionIAudioPolicyServiceGetVolumeGroupFromAudioAttributes             = binder.FirstCallTransaction + 81
	TransactionIAudioPolicyServiceSetRttEnabled                                 = binder.FirstCallTransaction + 82
	TransactionIAudioPolicyServiceIsCallScreenModeSupported                     = binder.FirstCallTransaction + 83
	TransactionIAudioPolicyServiceSetDevicesRoleForStrategy                     = binder.FirstCallTransaction + 84
	TransactionIAudioPolicyServiceRemoveDevicesRoleForStrategy                  = binder.FirstCallTransaction + 85
	TransactionIAudioPolicyServiceClearDevicesRoleForStrategy                   = binder.FirstCallTransaction + 86
	TransactionIAudioPolicyServiceGetDevicesForRoleAndStrategy                  = binder.FirstCallTransaction + 87
	TransactionIAudioPolicyServiceSetDevicesRoleForCapturePreset                = binder.FirstCallTransaction + 88
	TransactionIAudioPolicyServiceAddDevicesRoleForCapturePreset                = binder.FirstCallTransaction + 89
	TransactionIAudioPolicyServiceRemoveDevicesRoleForCapturePreset             = binder.FirstCallTransaction + 90
	TransactionIAudioPolicyServiceClearDevicesRoleForCapturePreset              = binder.FirstCallTransaction + 91
	TransactionIAudioPolicyServiceGetDevicesForRoleAndCapturePreset             = binder.FirstCallTransaction + 92
	TransactionIAudioPolicyServiceRegisterSoundTriggerCaptureStateListener      = binder.FirstCallTransaction + 93
	TransactionIAudioPolicyServiceGetSpatializer                                = binder.FirstCallTransaction + 94
	TransactionIAudioPolicyServiceCanBeSpatialized                              = binder.FirstCallTransaction + 95
	TransactionIAudioPolicyServiceGetDirectPlaybackSupport                      = binder.FirstCallTransaction + 96
	TransactionIAudioPolicyServiceGetDirectProfilesForAttributes                = binder.FirstCallTransaction + 97
	TransactionIAudioPolicyServiceGetSupportedMixerAttributes                   = binder.FirstCallTransaction + 98
	TransactionIAudioPolicyServiceSetPreferredMixerAttributes                   = binder.FirstCallTransaction + 99
	TransactionIAudioPolicyServiceGetPreferredMixerAttributes                   = binder.FirstCallTransaction + 100
	TransactionIAudioPolicyServiceClearPreferredMixerAttributes                 = binder.FirstCallTransaction + 101
)
View Source
const (
	MethodIAudioPolicyServiceOnNewAudioModulesAvailable                    = "onNewAudioModulesAvailable"
	MethodIAudioPolicyServiceSetDeviceConnectionState                      = "setDeviceConnectionState"
	MethodIAudioPolicyServiceGetDeviceConnectionState                      = "getDeviceConnectionState"
	MethodIAudioPolicyServiceHandleDeviceConfigChange                      = "handleDeviceConfigChange"
	MethodIAudioPolicyServiceSetPhoneState                                 = "setPhoneState"
	MethodIAudioPolicyServiceSetForceUse                                   = "setForceUse"
	MethodIAudioPolicyServiceGetForceUse                                   = "getForceUse"
	MethodIAudioPolicyServiceGetOutput                                     = "getOutput"
	MethodIAudioPolicyServiceGetOutputForAttr                              = "getOutputForAttr"
	MethodIAudioPolicyServiceStartOutput                                   = "startOutput"
	MethodIAudioPolicyServiceStopOutput                                    = "stopOutput"
	MethodIAudioPolicyServiceReleaseOutput                                 = "releaseOutput"
	MethodIAudioPolicyServiceGetInputForAttr                               = "getInputForAttr"
	MethodIAudioPolicyServiceStartInput                                    = "startInput"
	MethodIAudioPolicyServiceStopInput                                     = "stopInput"
	MethodIAudioPolicyServiceReleaseInput                                  = "releaseInput"
	MethodIAudioPolicyServiceInitStreamVolume                              = "initStreamVolume"
	MethodIAudioPolicyServiceSetStreamVolumeIndex                          = "setStreamVolumeIndex"
	MethodIAudioPolicyServiceGetStreamVolumeIndex                          = "getStreamVolumeIndex"
	MethodIAudioPolicyServiceSetVolumeIndexForAttributes                   = "setVolumeIndexForAttributes"
	MethodIAudioPolicyServiceGetVolumeIndexForAttributes                   = "getVolumeIndexForAttributes"
	MethodIAudioPolicyServiceGetMaxVolumeIndexForAttributes                = "getMaxVolumeIndexForAttributes"
	MethodIAudioPolicyServiceGetMinVolumeIndexForAttributes                = "getMinVolumeIndexForAttributes"
	MethodIAudioPolicyServiceGetStrategyForStream                          = "getStrategyForStream"
	MethodIAudioPolicyServiceGetDevicesForAttributes                       = "getDevicesForAttributes"
	MethodIAudioPolicyServiceGetOutputForEffect                            = "getOutputForEffect"
	MethodIAudioPolicyServiceRegisterEffect                                = "registerEffect"
	MethodIAudioPolicyServiceUnregisterEffect                              = "unregisterEffect"
	MethodIAudioPolicyServiceSetEffectEnabled                              = "setEffectEnabled"
	MethodIAudioPolicyServiceMoveEffectsToIo                               = "moveEffectsToIo"
	MethodIAudioPolicyServiceIsStreamActive                                = "isStreamActive"
	MethodIAudioPolicyServiceIsStreamActiveRemotely                        = "isStreamActiveRemotely"
	MethodIAudioPolicyServiceIsSourceActive                                = "isSourceActive"
	MethodIAudioPolicyServiceQueryDefaultPreProcessing                     = "queryDefaultPreProcessing"
	MethodIAudioPolicyServiceAddSourceDefaultEffect                        = "addSourceDefaultEffect"
	MethodIAudioPolicyServiceAddStreamDefaultEffect                        = "addStreamDefaultEffect"
	MethodIAudioPolicyServiceRemoveSourceDefaultEffect                     = "removeSourceDefaultEffect"
	MethodIAudioPolicyServiceRemoveStreamDefaultEffect                     = "removeStreamDefaultEffect"
	MethodIAudioPolicyServiceSetSupportedSystemUsages                      = "setSupportedSystemUsages"
	MethodIAudioPolicyServiceSetAllowedCapturePolicy                       = "setAllowedCapturePolicy"
	MethodIAudioPolicyServiceGetOffloadSupport                             = "getOffloadSupport"
	MethodIAudioPolicyServiceIsDirectOutputSupported                       = "isDirectOutputSupported"
	MethodIAudioPolicyServiceListAudioPorts                                = "listAudioPorts"
	MethodIAudioPolicyServiceListDeclaredDevicePorts                       = "listDeclaredDevicePorts"
	MethodIAudioPolicyServiceGetAudioPort                                  = "getAudioPort"
	MethodIAudioPolicyServiceCreateAudioPatch                              = "createAudioPatch"
	MethodIAudioPolicyServiceReleaseAudioPatch                             = "releaseAudioPatch"
	MethodIAudioPolicyServiceListAudioPatches                              = "listAudioPatches"
	MethodIAudioPolicyServiceSetAudioPortConfig                            = "setAudioPortConfig"
	MethodIAudioPolicyServiceRegisterClient                                = "registerClient"
	MethodIAudioPolicyServiceSetAudioPortCallbacksEnabled                  = "setAudioPortCallbacksEnabled"
	MethodIAudioPolicyServiceSetAudioVolumeGroupCallbacksEnabled           = "setAudioVolumeGroupCallbacksEnabled"
	MethodIAudioPolicyServiceAcquireSoundTriggerSession                    = "acquireSoundTriggerSession"
	MethodIAudioPolicyServiceReleaseSoundTriggerSession                    = "releaseSoundTriggerSession"
	MethodIAudioPolicyServiceGetPhoneState                                 = "getPhoneState"
	MethodIAudioPolicyServiceRegisterPolicyMixes                           = "registerPolicyMixes"
	MethodIAudioPolicyServiceGetRegisteredPolicyMixes                      = "getRegisteredPolicyMixes"
	MethodIAudioPolicyServiceUpdatePolicyMixes                             = "updatePolicyMixes"
	MethodIAudioPolicyServiceSetUidDeviceAffinities                        = "setUidDeviceAffinities"
	MethodIAudioPolicyServiceRemoveUidDeviceAffinities                     = "removeUidDeviceAffinities"
	MethodIAudioPolicyServiceSetUserIdDeviceAffinities                     = "setUserIdDeviceAffinities"
	MethodIAudioPolicyServiceRemoveUserIdDeviceAffinities                  = "removeUserIdDeviceAffinities"
	MethodIAudioPolicyServiceStartAudioSource                              = "startAudioSource"
	MethodIAudioPolicyServiceStopAudioSource                               = "stopAudioSource"
	MethodIAudioPolicyServiceSetMasterMono                                 = "setMasterMono"
	MethodIAudioPolicyServiceGetMasterMono                                 = "getMasterMono"
	MethodIAudioPolicyServiceGetStreamVolumeDB                             = "getStreamVolumeDB"
	MethodIAudioPolicyServiceGetSurroundFormats                            = "getSurroundFormats"
	MethodIAudioPolicyServiceGetReportedSurroundFormats                    = "getReportedSurroundFormats"
	MethodIAudioPolicyServiceGetHwOffloadFormatsSupportedForBluetoothMedia = "getHwOffloadFormatsSupportedForBluetoothMedia"
	MethodIAudioPolicyServiceSetSurroundFormatEnabled                      = "setSurroundFormatEnabled"
	MethodIAudioPolicyServiceSetAssistantServicesUids                      = "setAssistantServicesUids"
	MethodIAudioPolicyServiceSetActiveAssistantServicesUids                = "setActiveAssistantServicesUids"
	MethodIAudioPolicyServiceSetA11yServicesUids                           = "setA11yServicesUids"
	MethodIAudioPolicyServiceSetCurrentImeUid                              = "setCurrentImeUid"
	MethodIAudioPolicyServiceIsHapticPlaybackSupported                     = "isHapticPlaybackSupported"
	MethodIAudioPolicyServiceIsUltrasoundSupported                         = "isUltrasoundSupported"
	MethodIAudioPolicyServiceIsHotwordStreamSupported                      = "isHotwordStreamSupported"
	MethodIAudioPolicyServiceListAudioProductStrategies                    = "listAudioProductStrategies"
	MethodIAudioPolicyServiceGetProductStrategyFromAudioAttributes         = "getProductStrategyFromAudioAttributes"
	MethodIAudioPolicyServiceListAudioVolumeGroups                         = "listAudioVolumeGroups"
	MethodIAudioPolicyServiceGetVolumeGroupFromAudioAttributes             = "getVolumeGroupFromAudioAttributes"
	MethodIAudioPolicyServiceSetRttEnabled                                 = "setRttEnabled"
	MethodIAudioPolicyServiceIsCallScreenModeSupported                     = "isCallScreenModeSupported"
	MethodIAudioPolicyServiceSetDevicesRoleForStrategy                     = "setDevicesRoleForStrategy"
	MethodIAudioPolicyServiceRemoveDevicesRoleForStrategy                  = "removeDevicesRoleForStrategy"
	MethodIAudioPolicyServiceClearDevicesRoleForStrategy                   = "clearDevicesRoleForStrategy"
	MethodIAudioPolicyServiceGetDevicesForRoleAndStrategy                  = "getDevicesForRoleAndStrategy"
	MethodIAudioPolicyServiceSetDevicesRoleForCapturePreset                = "setDevicesRoleForCapturePreset"
	MethodIAudioPolicyServiceAddDevicesRoleForCapturePreset                = "addDevicesRoleForCapturePreset"
	MethodIAudioPolicyServiceRemoveDevicesRoleForCapturePreset             = "removeDevicesRoleForCapturePreset"
	MethodIAudioPolicyServiceClearDevicesRoleForCapturePreset              = "clearDevicesRoleForCapturePreset"
	MethodIAudioPolicyServiceGetDevicesForRoleAndCapturePreset             = "getDevicesForRoleAndCapturePreset"
	MethodIAudioPolicyServiceRegisterSoundTriggerCaptureStateListener      = "registerSoundTriggerCaptureStateListener"
	MethodIAudioPolicyServiceGetSpatializer                                = "getSpatializer"
	MethodIAudioPolicyServiceCanBeSpatialized                              = "canBeSpatialized"
	MethodIAudioPolicyServiceGetDirectPlaybackSupport                      = "getDirectPlaybackSupport"
	MethodIAudioPolicyServiceGetDirectProfilesForAttributes                = "getDirectProfilesForAttributes"
	MethodIAudioPolicyServiceGetSupportedMixerAttributes                   = "getSupportedMixerAttributes"
	MethodIAudioPolicyServiceSetPreferredMixerAttributes                   = "setPreferredMixerAttributes"
	MethodIAudioPolicyServiceGetPreferredMixerAttributes                   = "getPreferredMixerAttributes"
	MethodIAudioPolicyServiceClearPreferredMixerAttributes                 = "clearPreferredMixerAttributes"
)
View Source
const (
	TransactionIAudioPolicyServiceClientOnAudioVolumeGroupChanged      = binder.FirstCallTransaction + 0
	TransactionIAudioPolicyServiceClientOnAudioPortListUpdate          = binder.FirstCallTransaction + 1
	TransactionIAudioPolicyServiceClientOnAudioPatchListUpdate         = binder.FirstCallTransaction + 2
	TransactionIAudioPolicyServiceClientOnDynamicPolicyMixStateUpdate  = binder.FirstCallTransaction + 3
	TransactionIAudioPolicyServiceClientOnRecordingConfigurationUpdate = binder.FirstCallTransaction + 4
	TransactionIAudioPolicyServiceClientOnRoutingUpdated               = binder.FirstCallTransaction + 5
	TransactionIAudioPolicyServiceClientOnVolumeRangeInitRequest       = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIAudioPolicyServiceClientOnAudioVolumeGroupChanged      = "onAudioVolumeGroupChanged"
	MethodIAudioPolicyServiceClientOnAudioPortListUpdate          = "onAudioPortListUpdate"
	MethodIAudioPolicyServiceClientOnAudioPatchListUpdate         = "onAudioPatchListUpdate"
	MethodIAudioPolicyServiceClientOnDynamicPolicyMixStateUpdate  = "onDynamicPolicyMixStateUpdate"
	MethodIAudioPolicyServiceClientOnRecordingConfigurationUpdate = "onRecordingConfigurationUpdate"
	MethodIAudioPolicyServiceClientOnRoutingUpdated               = "onRoutingUpdated"
	MethodIAudioPolicyServiceClientOnVolumeRangeInitRequest       = "onVolumeRangeInitRequest"
)
View Source
const (
	TransactionIAudioRecordStart                                = binder.FirstCallTransaction + 0
	TransactionIAudioRecordStop                                 = binder.FirstCallTransaction + 1
	TransactionIAudioRecordGetActiveMicrophones                 = binder.FirstCallTransaction + 2
	TransactionIAudioRecordSetPreferredMicrophoneDirection      = binder.FirstCallTransaction + 3
	TransactionIAudioRecordSetPreferredMicrophoneFieldDimension = binder.FirstCallTransaction + 4
	TransactionIAudioRecordShareAudioHistory                    = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIAudioRecordStart                                = "start"
	MethodIAudioRecordStop                                 = "stop"
	MethodIAudioRecordGetActiveMicrophones                 = "getActiveMicrophones"
	MethodIAudioRecordSetPreferredMicrophoneDirection      = "setPreferredMicrophoneDirection"
	MethodIAudioRecordSetPreferredMicrophoneFieldDimension = "setPreferredMicrophoneFieldDimension"
	MethodIAudioRecordShareAudioHistory                    = "shareAudioHistory"
)
View Source
const (
	TransactionIAudioServiceTrackPlayer                                     = binder.FirstCallTransaction + 0
	TransactionIAudioServicePlayerAttributes                                = binder.FirstCallTransaction + 1
	TransactionIAudioServicePlayerEvent                                     = binder.FirstCallTransaction + 2
	TransactionIAudioServiceReleasePlayer                                   = binder.FirstCallTransaction + 3
	TransactionIAudioServiceTrackRecorder                                   = binder.FirstCallTransaction + 4
	TransactionIAudioServiceRecorderEvent                                   = binder.FirstCallTransaction + 5
	TransactionIAudioServiceReleaseRecorder                                 = binder.FirstCallTransaction + 6
	TransactionIAudioServicePlayerSessionId                                 = binder.FirstCallTransaction + 7
	TransactionIAudioServicePortEvent                                       = binder.FirstCallTransaction + 8
	TransactionIAudioServiceAdjustStreamVolume                              = binder.FirstCallTransaction + 9
	TransactionIAudioServiceAdjustStreamVolumeWithAttribution               = binder.FirstCallTransaction + 10
	TransactionIAudioServiceSetStreamVolume                                 = binder.FirstCallTransaction + 11
	TransactionIAudioServiceSetStreamVolumeWithAttribution                  = binder.FirstCallTransaction + 12
	TransactionIAudioServiceSetDeviceVolume                                 = binder.FirstCallTransaction + 13
	TransactionIAudioServiceGetDeviceVolume                                 = binder.FirstCallTransaction + 14
	TransactionIAudioServiceHandleVolumeKey                                 = binder.FirstCallTransaction + 15
	TransactionIAudioServiceIsStreamMute                                    = binder.FirstCallTransaction + 16
	TransactionIAudioServiceForceRemoteSubmixFullVolume                     = binder.FirstCallTransaction + 17
	TransactionIAudioServiceIsMasterMute                                    = binder.FirstCallTransaction + 18
	TransactionIAudioServiceSetMasterMute                                   = binder.FirstCallTransaction + 19
	TransactionIAudioServiceGetStreamVolume                                 = binder.FirstCallTransaction + 20
	TransactionIAudioServiceGetStreamMinVolume                              = binder.FirstCallTransaction + 21
	TransactionIAudioServiceGetStreamMaxVolume                              = binder.FirstCallTransaction + 22
	TransactionIAudioServiceGetAudioVolumeGroups                            = binder.FirstCallTransaction + 23
	TransactionIAudioServiceSetVolumeGroupVolumeIndex                       = binder.FirstCallTransaction + 24
	TransactionIAudioServiceGetVolumeGroupVolumeIndex                       = binder.FirstCallTransaction + 25
	TransactionIAudioServiceGetVolumeGroupMaxVolumeIndex                    = binder.FirstCallTransaction + 26
	TransactionIAudioServiceGetVolumeGroupMinVolumeIndex                    = binder.FirstCallTransaction + 27
	TransactionIAudioServiceGetLastAudibleVolumeForVolumeGroup              = binder.FirstCallTransaction + 28
	TransactionIAudioServiceIsVolumeGroupMuted                              = binder.FirstCallTransaction + 29
	TransactionIAudioServiceAdjustVolumeGroupVolume                         = binder.FirstCallTransaction + 30
	TransactionIAudioServiceGetLastAudibleStreamVolume                      = binder.FirstCallTransaction + 31
	TransactionIAudioServiceSetSupportedSystemUsages                        = binder.FirstCallTransaction + 32
	TransactionIAudioServiceGetSupportedSystemUsages                        = binder.FirstCallTransaction + 33
	TransactionIAudioServiceGetAudioProductStrategies                       = binder.FirstCallTransaction + 34
	TransactionIAudioServiceIsMicrophoneMuted                               = binder.FirstCallTransaction + 35
	TransactionIAudioServiceIsUltrasoundSupported                           = binder.FirstCallTransaction + 36
	TransactionIAudioServiceIsHotwordStreamSupported                        = binder.FirstCallTransaction + 37
	TransactionIAudioServiceSetMicrophoneMute                               = binder.FirstCallTransaction + 38
	TransactionIAudioServiceSetMicrophoneMuteFromSwitch                     = binder.FirstCallTransaction + 39
	TransactionIAudioServiceSetRingerModeExternal                           = binder.FirstCallTransaction + 40
	TransactionIAudioServiceSetRingerModeInternal                           = binder.FirstCallTransaction + 41
	TransactionIAudioServiceGetRingerModeExternal                           = binder.FirstCallTransaction + 42
	TransactionIAudioServiceGetRingerModeInternal                           = binder.FirstCallTransaction + 43
	TransactionIAudioServiceIsValidRingerMode                               = binder.FirstCallTransaction + 44
	TransactionIAudioServiceSetVibrateSetting                               = binder.FirstCallTransaction + 45
	TransactionIAudioServiceGetVibrateSetting                               = binder.FirstCallTransaction + 46
	TransactionIAudioServiceShouldVibrate                                   = binder.FirstCallTransaction + 47
	TransactionIAudioServiceSetMode                                         = binder.FirstCallTransaction + 48
	TransactionIAudioServiceGetMode                                         = binder.FirstCallTransaction + 49
	TransactionIAudioServicePlaySoundEffect                                 = binder.FirstCallTransaction + 50
	TransactionIAudioServicePlaySoundEffectVolume                           = binder.FirstCallTransaction + 51
	TransactionIAudioServiceLoadSoundEffects                                = binder.FirstCallTransaction + 52
	TransactionIAudioServiceUnloadSoundEffects                              = binder.FirstCallTransaction + 53
	TransactionIAudioServiceReloadAudioSettings                             = binder.FirstCallTransaction + 54
	TransactionIAudioServiceGetSurroundFormats                              = binder.FirstCallTransaction + 55
	TransactionIAudioServiceGetReportedSurroundFormats                      = binder.FirstCallTransaction + 56
	TransactionIAudioServiceSetSurroundFormatEnabled                        = binder.FirstCallTransaction + 57
	TransactionIAudioServiceIsSurroundFormatEnabled                         = binder.FirstCallTransaction + 58
	TransactionIAudioServiceSetEncodedSurroundMode                          = binder.FirstCallTransaction + 59
	TransactionIAudioServiceGetEncodedSurroundMode                          = binder.FirstCallTransaction + 60
	TransactionIAudioServiceSetSpeakerphoneOn                               = binder.FirstCallTransaction + 61
	TransactionIAudioServiceIsSpeakerphoneOn                                = binder.FirstCallTransaction + 62
	TransactionIAudioServiceSetBluetoothScoOn                               = binder.FirstCallTransaction + 63
	TransactionIAudioServiceSetA2dpSuspended                                = binder.FirstCallTransaction + 64
	TransactionIAudioServiceSetLeAudioSuspended                             = binder.FirstCallTransaction + 65
	TransactionIAudioServiceIsBluetoothScoOn                                = binder.FirstCallTransaction + 66
	TransactionIAudioServiceSetBluetoothA2dpOn                              = binder.FirstCallTransaction + 67
	TransactionIAudioServiceIsBluetoothA2dpOn                               = binder.FirstCallTransaction + 68
	TransactionIAudioServiceRequestAudioFocus                               = binder.FirstCallTransaction + 69
	TransactionIAudioServiceAbandonAudioFocus                               = binder.FirstCallTransaction + 70
	TransactionIAudioServiceUnregisterAudioFocusClient                      = binder.FirstCallTransaction + 71
	TransactionIAudioServiceGetCurrentAudioFocus                            = binder.FirstCallTransaction + 72
	TransactionIAudioServiceStartBluetoothSco                               = binder.FirstCallTransaction + 73
	TransactionIAudioServiceStartBluetoothScoVirtualCall                    = binder.FirstCallTransaction + 74
	TransactionIAudioServiceStopBluetoothSco                                = binder.FirstCallTransaction + 75
	TransactionIAudioServiceForceVolumeControlStream                        = binder.FirstCallTransaction + 76
	TransactionIAudioServiceSetRingtonePlayer                               = binder.FirstCallTransaction + 77
	TransactionIAudioServiceGetRingtonePlayer                               = binder.FirstCallTransaction + 78
	TransactionIAudioServiceGetUiSoundsStreamType                           = binder.FirstCallTransaction + 79
	TransactionIAudioServiceGetIndependentStreamTypes                       = binder.FirstCallTransaction + 80
	TransactionIAudioServiceGetStreamTypeAlias                              = binder.FirstCallTransaction + 81
	TransactionIAudioServiceIsVolumeControlUsingVolumeGroups                = binder.FirstCallTransaction + 82
	TransactionIAudioServiceRegisterStreamAliasingDispatcher                = binder.FirstCallTransaction + 83
	TransactionIAudioServiceSetNotifAliasRingForTest                        = binder.FirstCallTransaction + 84
	TransactionIAudioServiceSetWiredDeviceConnectionState                   = binder.FirstCallTransaction + 85
	TransactionIAudioServiceStartWatchingRoutes                             = binder.FirstCallTransaction + 86
	TransactionIAudioServiceIsCameraSoundForced                             = binder.FirstCallTransaction + 87
	TransactionIAudioServiceSetVolumeController                             = binder.FirstCallTransaction + 88
	TransactionIAudioServiceGetVolumeController                             = binder.FirstCallTransaction + 89
	TransactionIAudioServiceNotifyVolumeControllerVisible                   = binder.FirstCallTransaction + 90
	TransactionIAudioServiceIsStreamAffectedByRingerMode                    = binder.FirstCallTransaction + 91
	TransactionIAudioServiceIsStreamAffectedByMute                          = binder.FirstCallTransaction + 92
	TransactionIAudioServiceDisableSafeMediaVolume                          = binder.FirstCallTransaction + 93
	TransactionIAudioServiceLowerVolumeToRs1                                = binder.FirstCallTransaction + 94
	TransactionIAudioServiceGetOutputRs2UpperBound                          = binder.FirstCallTransaction + 95
	TransactionIAudioServiceSetOutputRs2UpperBound                          = binder.FirstCallTransaction + 96
	TransactionIAudioServiceGetCsd                                          = binder.FirstCallTransaction + 97
	TransactionIAudioServiceSetCsd                                          = binder.FirstCallTransaction + 98
	TransactionIAudioServiceForceUseFrameworkMel                            = binder.FirstCallTransaction + 99
	TransactionIAudioServiceForceComputeCsdOnAllDevices                     = binder.FirstCallTransaction + 100
	TransactionIAudioServiceIsCsdEnabled                                    = binder.FirstCallTransaction + 101
	TransactionIAudioServiceIsCsdAsAFeatureAvailable                        = binder.FirstCallTransaction + 102
	TransactionIAudioServiceIsCsdAsAFeatureEnabled                          = binder.FirstCallTransaction + 103
	TransactionIAudioServiceSetCsdAsAFeatureEnabled                         = binder.FirstCallTransaction + 104
	TransactionIAudioServiceSetBluetoothAudioDeviceCategory_legacy          = binder.FirstCallTransaction + 105
	TransactionIAudioServiceGetBluetoothAudioDeviceCategory_legacy          = binder.FirstCallTransaction + 106
	TransactionIAudioServiceSetBluetoothAudioDeviceCategory                 = binder.FirstCallTransaction + 107
	TransactionIAudioServiceGetBluetoothAudioDeviceCategory                 = binder.FirstCallTransaction + 108
	TransactionIAudioServiceIsBluetoothAudioDeviceCategoryFixed             = binder.FirstCallTransaction + 109
	TransactionIAudioServiceSetHdmiSystemAudioSupported                     = binder.FirstCallTransaction + 110
	TransactionIAudioServiceIsHdmiSystemAudioSupported                      = binder.FirstCallTransaction + 111
	TransactionIAudioServiceRegisterAudioPolicy                             = binder.FirstCallTransaction + 112
	TransactionIAudioServiceUnregisterAudioPolicyAsync                      = binder.FirstCallTransaction + 113
	TransactionIAudioServiceGetRegisteredPolicyMixes                        = binder.FirstCallTransaction + 114
	TransactionIAudioServiceUnregisterAudioPolicy                           = binder.FirstCallTransaction + 115
	TransactionIAudioServiceAddMixForPolicy                                 = binder.FirstCallTransaction + 116
	TransactionIAudioServiceRemoveMixForPolicy                              = binder.FirstCallTransaction + 117
	TransactionIAudioServiceUpdateMixingRulesForPolicy                      = binder.FirstCallTransaction + 118
	TransactionIAudioServiceSetFocusPropertiesForPolicy                     = binder.FirstCallTransaction + 119
	TransactionIAudioServiceSetVolumePolicy                                 = binder.FirstCallTransaction + 120
	TransactionIAudioServiceHasRegisteredDynamicPolicy                      = binder.FirstCallTransaction + 121
	TransactionIAudioServiceRegisterRecordingCallback                       = binder.FirstCallTransaction + 122
	TransactionIAudioServiceUnregisterRecordingCallback                     = binder.FirstCallTransaction + 123
	TransactionIAudioServiceGetActiveRecordingConfigurations                = binder.FirstCallTransaction + 124
	TransactionIAudioServiceRegisterPlaybackCallback                        = binder.FirstCallTransaction + 125
	TransactionIAudioServiceUnregisterPlaybackCallback                      = binder.FirstCallTransaction + 126
	TransactionIAudioServiceGetActivePlaybackConfigurations                 = binder.FirstCallTransaction + 127
	TransactionIAudioServiceGetFocusRampTimeMs                              = binder.FirstCallTransaction + 128
	TransactionIAudioServiceDispatchFocusChange                             = binder.FirstCallTransaction + 129
	TransactionIAudioServiceDispatchFocusChangeWithFade                     = binder.FirstCallTransaction + 130
	TransactionIAudioServicePlayerHasOpPlayAudio                            = binder.FirstCallTransaction + 131
	TransactionIAudioServiceHandleBluetoothActiveDeviceChanged              = binder.FirstCallTransaction + 132
	TransactionIAudioServiceSetFocusRequestResultFromExtPolicy              = binder.FirstCallTransaction + 133
	TransactionIAudioServiceRegisterAudioServerStateDispatcher              = binder.FirstCallTransaction + 134
	TransactionIAudioServiceUnregisterAudioServerStateDispatcher            = binder.FirstCallTransaction + 135
	TransactionIAudioServiceIsAudioServerRunning                            = binder.FirstCallTransaction + 136
	TransactionIAudioServiceSetUidDeviceAffinity                            = binder.FirstCallTransaction + 137
	TransactionIAudioServiceRemoveUidDeviceAffinity                         = binder.FirstCallTransaction + 138
	TransactionIAudioServiceSetUserIdDeviceAffinity                         = binder.FirstCallTransaction + 139
	TransactionIAudioServiceRemoveUserIdDeviceAffinity                      = binder.FirstCallTransaction + 140
	TransactionIAudioServiceHasHapticChannels                               = binder.FirstCallTransaction + 141
	TransactionIAudioServiceIsCallScreeningModeSupported                    = binder.FirstCallTransaction + 142
	TransactionIAudioServiceSetPreferredDevicesForStrategy                  = binder.FirstCallTransaction + 143
	TransactionIAudioServiceRemovePreferredDevicesForStrategy               = binder.FirstCallTransaction + 144
	TransactionIAudioServiceGetPreferredDevicesForStrategy                  = binder.FirstCallTransaction + 145
	TransactionIAudioServiceSetDeviceAsNonDefaultForStrategy                = binder.FirstCallTransaction + 146
	TransactionIAudioServiceRemoveDeviceAsNonDefaultForStrategy             = binder.FirstCallTransaction + 147
	TransactionIAudioServiceGetNonDefaultDevicesForStrategy                 = binder.FirstCallTransaction + 148
	TransactionIAudioServiceGetDevicesForAttributes                         = binder.FirstCallTransaction + 149
	TransactionIAudioServiceGetDevicesForAttributesUnprotected              = binder.FirstCallTransaction + 150
	TransactionIAudioServiceAddOnDevicesForAttributesChangedListener        = binder.FirstCallTransaction + 151
	TransactionIAudioServiceRemoveOnDevicesForAttributesChangedListener     = binder.FirstCallTransaction + 152
	TransactionIAudioServiceSetAllowedCapturePolicy                         = binder.FirstCallTransaction + 153
	TransactionIAudioServiceGetAllowedCapturePolicy                         = binder.FirstCallTransaction + 154
	TransactionIAudioServiceRegisterStrategyPreferredDevicesDispatcher      = binder.FirstCallTransaction + 155
	TransactionIAudioServiceUnregisterStrategyPreferredDevicesDispatcher    = binder.FirstCallTransaction + 156
	TransactionIAudioServiceRegisterStrategyNonDefaultDevicesDispatcher     = binder.FirstCallTransaction + 157
	TransactionIAudioServiceUnregisterStrategyNonDefaultDevicesDispatcher   = binder.FirstCallTransaction + 158
	TransactionIAudioServiceSetRttEnabled                                   = binder.FirstCallTransaction + 159
	TransactionIAudioServiceSetDeviceVolumeBehavior                         = binder.FirstCallTransaction + 160
	TransactionIAudioServiceGetDeviceVolumeBehavior                         = binder.FirstCallTransaction + 161
	TransactionIAudioServiceSetMultiAudioFocusEnabled                       = binder.FirstCallTransaction + 162
	TransactionIAudioServiceSetPreferredDevicesForCapturePreset             = binder.FirstCallTransaction + 163
	TransactionIAudioServiceClearPreferredDevicesForCapturePreset           = binder.FirstCallTransaction + 164
	TransactionIAudioServiceGetPreferredDevicesForCapturePreset             = binder.FirstCallTransaction + 165
	TransactionIAudioServiceRegisterCapturePresetDevicesRoleDispatcher      = binder.FirstCallTransaction + 166
	TransactionIAudioServiceUnregisterCapturePresetDevicesRoleDispatcher    = binder.FirstCallTransaction + 167
	TransactionIAudioServiceAdjustStreamVolumeForUid                        = binder.FirstCallTransaction + 168
	TransactionIAudioServiceAdjustSuggestedStreamVolumeForUid               = binder.FirstCallTransaction + 169
	TransactionIAudioServiceSetStreamVolumeForUid                           = binder.FirstCallTransaction + 170
	TransactionIAudioServiceAdjustVolume                                    = binder.FirstCallTransaction + 171
	TransactionIAudioServiceAdjustSuggestedStreamVolume                     = binder.FirstCallTransaction + 172
	TransactionIAudioServiceIsMusicActive                                   = binder.FirstCallTransaction + 173
	TransactionIAudioServiceGetDeviceMaskForStream                          = binder.FirstCallTransaction + 174
	TransactionIAudioServiceGetAvailableCommunicationDeviceIds              = binder.FirstCallTransaction + 175
	TransactionIAudioServiceSetCommunicationDevice                          = binder.FirstCallTransaction + 176
	TransactionIAudioServiceGetCommunicationDevice                          = binder.FirstCallTransaction + 177
	TransactionIAudioServiceRegisterCommunicationDeviceDispatcher           = binder.FirstCallTransaction + 178
	TransactionIAudioServiceUnregisterCommunicationDeviceDispatcher         = binder.FirstCallTransaction + 179
	TransactionIAudioServiceAreNavigationRepeatSoundEffectsEnabled          = binder.FirstCallTransaction + 180
	TransactionIAudioServiceSetNavigationRepeatSoundEffectsEnabled          = binder.FirstCallTransaction + 181
	TransactionIAudioServiceIsHomeSoundEffectEnabled                        = binder.FirstCallTransaction + 182
	TransactionIAudioServiceSetHomeSoundEffectEnabled                       = binder.FirstCallTransaction + 183
	TransactionIAudioServiceSetAdditionalOutputDeviceDelay                  = binder.FirstCallTransaction + 184
	TransactionIAudioServiceGetAdditionalOutputDeviceDelay                  = binder.FirstCallTransaction + 185
	TransactionIAudioServiceGetMaxAdditionalOutputDeviceDelay               = binder.FirstCallTransaction + 186
	TransactionIAudioServiceRequestAudioFocusForTest                        = binder.FirstCallTransaction + 187
	TransactionIAudioServiceAbandonAudioFocusForTest                        = binder.FirstCallTransaction + 188
	TransactionIAudioServiceGetFadeOutDurationOnFocusLossMillis             = binder.FirstCallTransaction + 189
	TransactionIAudioServiceGetFocusDuckedUidsForTest                       = binder.FirstCallTransaction + 190
	TransactionIAudioServiceGetFocusFadeOutDurationForTest                  = binder.FirstCallTransaction + 191
	TransactionIAudioServiceGetFocusUnmuteDelayAfterFadeOutForTest          = binder.FirstCallTransaction + 192
	TransactionIAudioServiceEnterAudioFocusFreezeForTest                    = binder.FirstCallTransaction + 193
	TransactionIAudioServiceExitAudioFocusFreezeForTest                     = binder.FirstCallTransaction + 194
	TransactionIAudioServiceRegisterModeDispatcher                          = binder.FirstCallTransaction + 195
	TransactionIAudioServiceUnregisterModeDispatcher                        = binder.FirstCallTransaction + 196
	TransactionIAudioServiceGetSpatializerImmersiveAudioLevel               = binder.FirstCallTransaction + 197
	TransactionIAudioServiceIsSpatializerEnabled                            = binder.FirstCallTransaction + 198
	TransactionIAudioServiceIsSpatializerAvailable                          = binder.FirstCallTransaction + 199
	TransactionIAudioServiceIsSpatializerAvailableForDevice                 = binder.FirstCallTransaction + 200
	TransactionIAudioServiceHasHeadTracker                                  = binder.FirstCallTransaction + 201
	TransactionIAudioServiceSetHeadTrackerEnabled                           = binder.FirstCallTransaction + 202
	TransactionIAudioServiceIsHeadTrackerEnabled                            = binder.FirstCallTransaction + 203
	TransactionIAudioServiceIsHeadTrackerAvailable                          = binder.FirstCallTransaction + 204
	TransactionIAudioServiceRegisterSpatializerHeadTrackerAvailableCallback = binder.FirstCallTransaction + 205
	TransactionIAudioServiceSetSpatializerEnabled                           = binder.FirstCallTransaction + 206
	TransactionIAudioServiceCanBeSpatialized                                = binder.FirstCallTransaction + 207
	TransactionIAudioServiceRegisterSpatializerCallback                     = binder.FirstCallTransaction + 208
	TransactionIAudioServiceUnregisterSpatializerCallback                   = binder.FirstCallTransaction + 209
	TransactionIAudioServiceRegisterSpatializerHeadTrackingCallback         = binder.FirstCallTransaction + 210
	TransactionIAudioServiceUnregisterSpatializerHeadTrackingCallback       = binder.FirstCallTransaction + 211
	TransactionIAudioServiceRegisterHeadToSoundstagePoseCallback            = binder.FirstCallTransaction + 212
	TransactionIAudioServiceUnregisterHeadToSoundstagePoseCallback          = binder.FirstCallTransaction + 213
	TransactionIAudioServiceGetSpatializerCompatibleAudioDevices            = binder.FirstCallTransaction + 214
	TransactionIAudioServiceAddSpatializerCompatibleAudioDevice             = binder.FirstCallTransaction + 215
	TransactionIAudioServiceRemoveSpatializerCompatibleAudioDevice          = binder.FirstCallTransaction + 216
	TransactionIAudioServiceSetDesiredHeadTrackingMode                      = binder.FirstCallTransaction + 217
	TransactionIAudioServiceGetDesiredHeadTrackingMode                      = binder.FirstCallTransaction + 218
	TransactionIAudioServiceGetSupportedHeadTrackingModes                   = binder.FirstCallTransaction + 219
	TransactionIAudioServiceGetActualHeadTrackingMode                       = binder.FirstCallTransaction + 220
	TransactionIAudioServiceSetSpatializerGlobalTransform                   = binder.FirstCallTransaction + 221
	TransactionIAudioServiceRecenterHeadTracker                             = binder.FirstCallTransaction + 222
	TransactionIAudioServiceSetSpatializerParameter                         = binder.FirstCallTransaction + 223
	TransactionIAudioServiceGetSpatializerParameter                         = binder.FirstCallTransaction + 224
	TransactionIAudioServiceGetSpatializerOutput                            = binder.FirstCallTransaction + 225
	TransactionIAudioServiceRegisterSpatializerOutputCallback               = binder.FirstCallTransaction + 226
	TransactionIAudioServiceUnregisterSpatializerOutputCallback             = binder.FirstCallTransaction + 227
	TransactionIAudioServiceIsVolumeFixed                                   = binder.FirstCallTransaction + 228
	TransactionIAudioServiceGetDefaultVolumeInfo                            = binder.FirstCallTransaction + 229
	TransactionIAudioServiceIsPstnCallAudioInterceptable                    = binder.FirstCallTransaction + 230
	TransactionIAudioServiceMuteAwaitConnection                             = binder.FirstCallTransaction + 231
	TransactionIAudioServiceCancelMuteAwaitConnection                       = binder.FirstCallTransaction + 232
	TransactionIAudioServiceGetMutingExpectedDevice                         = binder.FirstCallTransaction + 233
	TransactionIAudioServiceRegisterMuteAwaitConnectionDispatcher           = binder.FirstCallTransaction + 234
	TransactionIAudioServiceSetTestDeviceConnectionState                    = binder.FirstCallTransaction + 235
	TransactionIAudioServiceRegisterDeviceVolumeBehaviorDispatcher          = binder.FirstCallTransaction + 236
	TransactionIAudioServiceGetFocusStack                                   = binder.FirstCallTransaction + 237
	TransactionIAudioServiceSendFocusLoss                                   = binder.FirstCallTransaction + 238
	TransactionIAudioServiceAddAssistantServicesUids                        = binder.FirstCallTransaction + 239
	TransactionIAudioServiceRemoveAssistantServicesUids                     = binder.FirstCallTransaction + 240
	TransactionIAudioServiceSetActiveAssistantServiceUids                   = binder.FirstCallTransaction + 241
	TransactionIAudioServiceGetAssistantServicesUids                        = binder.FirstCallTransaction + 242
	TransactionIAudioServiceGetActiveAssistantServiceUids                   = binder.FirstCallTransaction + 243
	TransactionIAudioServiceRegisterDeviceVolumeDispatcherForAbsoluteVolume = binder.FirstCallTransaction + 244
	TransactionIAudioServiceGetHalVersion                                   = binder.FirstCallTransaction + 245
	TransactionIAudioServiceSetPreferredMixerAttributes                     = binder.FirstCallTransaction + 246
	TransactionIAudioServiceClearPreferredMixerAttributes                   = binder.FirstCallTransaction + 247
	TransactionIAudioServiceRegisterPreferredMixerAttributesDispatcher      = binder.FirstCallTransaction + 248
	TransactionIAudioServiceUnregisterPreferredMixerAttributesDispatcher    = binder.FirstCallTransaction + 249
	TransactionIAudioServiceSupportsBluetoothVariableLatency                = binder.FirstCallTransaction + 250
	TransactionIAudioServiceSetBluetoothVariableLatencyEnabled              = binder.FirstCallTransaction + 251
	TransactionIAudioServiceIsBluetoothVariableLatencyEnabled               = binder.FirstCallTransaction + 252
	TransactionIAudioServiceRegisterLoudnessCodecUpdatesDispatcher          = binder.FirstCallTransaction + 253
	TransactionIAudioServiceUnregisterLoudnessCodecUpdatesDispatcher        = binder.FirstCallTransaction + 254
	TransactionIAudioServiceStartLoudnessCodecUpdates                       = binder.FirstCallTransaction + 255
	TransactionIAudioServiceStopLoudnessCodecUpdates                        = binder.FirstCallTransaction + 256
	TransactionIAudioServiceAddLoudnessCodecInfo                            = binder.FirstCallTransaction + 257
	TransactionIAudioServiceRemoveLoudnessCodecInfo                         = binder.FirstCallTransaction + 258
	TransactionIAudioServiceGetLoudnessParams                               = binder.FirstCallTransaction + 259
	TransactionIAudioServiceSetFadeManagerConfigurationForFocusLoss         = binder.FirstCallTransaction + 260
	TransactionIAudioServiceClearFadeManagerConfigurationForFocusLoss       = binder.FirstCallTransaction + 261
	TransactionIAudioServiceGetFadeManagerConfigurationForFocusLoss         = binder.FirstCallTransaction + 262
	TransactionIAudioServiceShouldNotificationSoundPlay                     = binder.FirstCallTransaction + 263
)
View Source
const (
	MethodIAudioServiceTrackPlayer                                     = "trackPlayer"
	MethodIAudioServicePlayerAttributes                                = "playerAttributes"
	MethodIAudioServicePlayerEvent                                     = "playerEvent"
	MethodIAudioServiceReleasePlayer                                   = "releasePlayer"
	MethodIAudioServiceTrackRecorder                                   = "trackRecorder"
	MethodIAudioServiceRecorderEvent                                   = "recorderEvent"
	MethodIAudioServiceReleaseRecorder                                 = "releaseRecorder"
	MethodIAudioServicePlayerSessionId                                 = "playerSessionId"
	MethodIAudioServicePortEvent                                       = "portEvent"
	MethodIAudioServiceAdjustStreamVolume                              = "adjustStreamVolume"
	MethodIAudioServiceAdjustStreamVolumeWithAttribution               = "adjustStreamVolumeWithAttribution"
	MethodIAudioServiceSetStreamVolume                                 = "setStreamVolume"
	MethodIAudioServiceSetStreamVolumeWithAttribution                  = "setStreamVolumeWithAttribution"
	MethodIAudioServiceSetDeviceVolume                                 = "setDeviceVolume"
	MethodIAudioServiceGetDeviceVolume                                 = "getDeviceVolume"
	MethodIAudioServiceHandleVolumeKey                                 = "handleVolumeKey"
	MethodIAudioServiceIsStreamMute                                    = "isStreamMute"
	MethodIAudioServiceForceRemoteSubmixFullVolume                     = "forceRemoteSubmixFullVolume"
	MethodIAudioServiceIsMasterMute                                    = "isMasterMute"
	MethodIAudioServiceSetMasterMute                                   = "setMasterMute"
	MethodIAudioServiceGetStreamVolume                                 = "getStreamVolume"
	MethodIAudioServiceGetStreamMinVolume                              = "getStreamMinVolume"
	MethodIAudioServiceGetStreamMaxVolume                              = "getStreamMaxVolume"
	MethodIAudioServiceGetAudioVolumeGroups                            = "getAudioVolumeGroups"
	MethodIAudioServiceSetVolumeGroupVolumeIndex                       = "setVolumeGroupVolumeIndex"
	MethodIAudioServiceGetVolumeGroupVolumeIndex                       = "getVolumeGroupVolumeIndex"
	MethodIAudioServiceGetVolumeGroupMaxVolumeIndex                    = "getVolumeGroupMaxVolumeIndex"
	MethodIAudioServiceGetVolumeGroupMinVolumeIndex                    = "getVolumeGroupMinVolumeIndex"
	MethodIAudioServiceGetLastAudibleVolumeForVolumeGroup              = "getLastAudibleVolumeForVolumeGroup"
	MethodIAudioServiceIsVolumeGroupMuted                              = "isVolumeGroupMuted"
	MethodIAudioServiceAdjustVolumeGroupVolume                         = "adjustVolumeGroupVolume"
	MethodIAudioServiceGetLastAudibleStreamVolume                      = "getLastAudibleStreamVolume"
	MethodIAudioServiceSetSupportedSystemUsages                        = "setSupportedSystemUsages"
	MethodIAudioServiceGetSupportedSystemUsages                        = "getSupportedSystemUsages"
	MethodIAudioServiceGetAudioProductStrategies                       = "getAudioProductStrategies"
	MethodIAudioServiceIsMicrophoneMuted                               = "isMicrophoneMuted"
	MethodIAudioServiceIsUltrasoundSupported                           = "isUltrasoundSupported"
	MethodIAudioServiceIsHotwordStreamSupported                        = "isHotwordStreamSupported"
	MethodIAudioServiceSetMicrophoneMute                               = "setMicrophoneMute"
	MethodIAudioServiceSetMicrophoneMuteFromSwitch                     = "setMicrophoneMuteFromSwitch"
	MethodIAudioServiceSetRingerModeExternal                           = "setRingerModeExternal"
	MethodIAudioServiceSetRingerModeInternal                           = "setRingerModeInternal"
	MethodIAudioServiceGetRingerModeExternal                           = "getRingerModeExternal"
	MethodIAudioServiceGetRingerModeInternal                           = "getRingerModeInternal"
	MethodIAudioServiceIsValidRingerMode                               = "isValidRingerMode"
	MethodIAudioServiceSetVibrateSetting                               = "setVibrateSetting"
	MethodIAudioServiceGetVibrateSetting                               = "getVibrateSetting"
	MethodIAudioServiceShouldVibrate                                   = "shouldVibrate"
	MethodIAudioServiceSetMode                                         = "setMode"
	MethodIAudioServiceGetMode                                         = "getMode"
	MethodIAudioServicePlaySoundEffect                                 = "playSoundEffect"
	MethodIAudioServicePlaySoundEffectVolume                           = "playSoundEffectVolume"
	MethodIAudioServiceLoadSoundEffects                                = "loadSoundEffects"
	MethodIAudioServiceUnloadSoundEffects                              = "unloadSoundEffects"
	MethodIAudioServiceReloadAudioSettings                             = "reloadAudioSettings"
	MethodIAudioServiceGetSurroundFormats                              = "getSurroundFormats"
	MethodIAudioServiceGetReportedSurroundFormats                      = "getReportedSurroundFormats"
	MethodIAudioServiceSetSurroundFormatEnabled                        = "setSurroundFormatEnabled"
	MethodIAudioServiceIsSurroundFormatEnabled                         = "isSurroundFormatEnabled"
	MethodIAudioServiceSetEncodedSurroundMode                          = "setEncodedSurroundMode"
	MethodIAudioServiceGetEncodedSurroundMode                          = "getEncodedSurroundMode"
	MethodIAudioServiceSetSpeakerphoneOn                               = "setSpeakerphoneOn"
	MethodIAudioServiceIsSpeakerphoneOn                                = "isSpeakerphoneOn"
	MethodIAudioServiceSetBluetoothScoOn                               = "setBluetoothScoOn"
	MethodIAudioServiceSetA2dpSuspended                                = "setA2dpSuspended"
	MethodIAudioServiceSetLeAudioSuspended                             = "setLeAudioSuspended"
	MethodIAudioServiceIsBluetoothScoOn                                = "isBluetoothScoOn"
	MethodIAudioServiceSetBluetoothA2dpOn                              = "setBluetoothA2dpOn"
	MethodIAudioServiceIsBluetoothA2dpOn                               = "isBluetoothA2dpOn"
	MethodIAudioServiceRequestAudioFocus                               = "requestAudioFocus"
	MethodIAudioServiceAbandonAudioFocus                               = "abandonAudioFocus"
	MethodIAudioServiceUnregisterAudioFocusClient                      = "unregisterAudioFocusClient"
	MethodIAudioServiceGetCurrentAudioFocus                            = "getCurrentAudioFocus"
	MethodIAudioServiceStartBluetoothSco                               = "startBluetoothSco"
	MethodIAudioServiceStartBluetoothScoVirtualCall                    = "startBluetoothScoVirtualCall"
	MethodIAudioServiceStopBluetoothSco                                = "stopBluetoothSco"
	MethodIAudioServiceForceVolumeControlStream                        = "forceVolumeControlStream"
	MethodIAudioServiceSetRingtonePlayer                               = "setRingtonePlayer"
	MethodIAudioServiceGetRingtonePlayer                               = "getRingtonePlayer"
	MethodIAudioServiceGetUiSoundsStreamType                           = "getUiSoundsStreamType"
	MethodIAudioServiceGetIndependentStreamTypes                       = "getIndependentStreamTypes"
	MethodIAudioServiceGetStreamTypeAlias                              = "getStreamTypeAlias"
	MethodIAudioServiceIsVolumeControlUsingVolumeGroups                = "isVolumeControlUsingVolumeGroups"
	MethodIAudioServiceRegisterStreamAliasingDispatcher                = "registerStreamAliasingDispatcher"
	MethodIAudioServiceSetNotifAliasRingForTest                        = "setNotifAliasRingForTest"
	MethodIAudioServiceSetWiredDeviceConnectionState                   = "setWiredDeviceConnectionState"
	MethodIAudioServiceStartWatchingRoutes                             = "startWatchingRoutes"
	MethodIAudioServiceIsCameraSoundForced                             = "isCameraSoundForced"
	MethodIAudioServiceSetVolumeController                             = "setVolumeController"
	MethodIAudioServiceGetVolumeController                             = "getVolumeController"
	MethodIAudioServiceNotifyVolumeControllerVisible                   = "notifyVolumeControllerVisible"
	MethodIAudioServiceIsStreamAffectedByRingerMode                    = "isStreamAffectedByRingerMode"
	MethodIAudioServiceIsStreamAffectedByMute                          = "isStreamAffectedByMute"
	MethodIAudioServiceDisableSafeMediaVolume                          = "disableSafeMediaVolume"
	MethodIAudioServiceLowerVolumeToRs1                                = "lowerVolumeToRs1"
	MethodIAudioServiceGetOutputRs2UpperBound                          = "getOutputRs2UpperBound"
	MethodIAudioServiceSetOutputRs2UpperBound                          = "setOutputRs2UpperBound"
	MethodIAudioServiceGetCsd                                          = "getCsd"
	MethodIAudioServiceSetCsd                                          = "setCsd"
	MethodIAudioServiceForceUseFrameworkMel                            = "forceUseFrameworkMel"
	MethodIAudioServiceForceComputeCsdOnAllDevices                     = "forceComputeCsdOnAllDevices"
	MethodIAudioServiceIsCsdEnabled                                    = "isCsdEnabled"
	MethodIAudioServiceIsCsdAsAFeatureAvailable                        = "isCsdAsAFeatureAvailable"
	MethodIAudioServiceIsCsdAsAFeatureEnabled                          = "isCsdAsAFeatureEnabled"
	MethodIAudioServiceSetCsdAsAFeatureEnabled                         = "setCsdAsAFeatureEnabled"
	MethodIAudioServiceSetBluetoothAudioDeviceCategory_legacy          = "setBluetoothAudioDeviceCategory_legacy"
	MethodIAudioServiceGetBluetoothAudioDeviceCategory_legacy          = "getBluetoothAudioDeviceCategory_legacy"
	MethodIAudioServiceSetBluetoothAudioDeviceCategory                 = "setBluetoothAudioDeviceCategory"
	MethodIAudioServiceGetBluetoothAudioDeviceCategory                 = "getBluetoothAudioDeviceCategory"
	MethodIAudioServiceIsBluetoothAudioDeviceCategoryFixed             = "isBluetoothAudioDeviceCategoryFixed"
	MethodIAudioServiceSetHdmiSystemAudioSupported                     = "setHdmiSystemAudioSupported"
	MethodIAudioServiceIsHdmiSystemAudioSupported                      = "isHdmiSystemAudioSupported"
	MethodIAudioServiceRegisterAudioPolicy                             = "registerAudioPolicy"
	MethodIAudioServiceUnregisterAudioPolicyAsync                      = "unregisterAudioPolicyAsync"
	MethodIAudioServiceGetRegisteredPolicyMixes                        = "getRegisteredPolicyMixes"
	MethodIAudioServiceUnregisterAudioPolicy                           = "unregisterAudioPolicy"
	MethodIAudioServiceAddMixForPolicy                                 = "addMixForPolicy"
	MethodIAudioServiceRemoveMixForPolicy                              = "removeMixForPolicy"
	MethodIAudioServiceUpdateMixingRulesForPolicy                      = "updateMixingRulesForPolicy"
	MethodIAudioServiceSetFocusPropertiesForPolicy                     = "setFocusPropertiesForPolicy"
	MethodIAudioServiceSetVolumePolicy                                 = "setVolumePolicy"
	MethodIAudioServiceHasRegisteredDynamicPolicy                      = "hasRegisteredDynamicPolicy"
	MethodIAudioServiceRegisterRecordingCallback                       = "registerRecordingCallback"
	MethodIAudioServiceUnregisterRecordingCallback                     = "unregisterRecordingCallback"
	MethodIAudioServiceGetActiveRecordingConfigurations                = "getActiveRecordingConfigurations"
	MethodIAudioServiceRegisterPlaybackCallback                        = "registerPlaybackCallback"
	MethodIAudioServiceUnregisterPlaybackCallback                      = "unregisterPlaybackCallback"
	MethodIAudioServiceGetActivePlaybackConfigurations                 = "getActivePlaybackConfigurations"
	MethodIAudioServiceGetFocusRampTimeMs                              = "getFocusRampTimeMs"
	MethodIAudioServiceDispatchFocusChange                             = "dispatchFocusChange"
	MethodIAudioServiceDispatchFocusChangeWithFade                     = "dispatchFocusChangeWithFade"
	MethodIAudioServicePlayerHasOpPlayAudio                            = "playerHasOpPlayAudio"
	MethodIAudioServiceHandleBluetoothActiveDeviceChanged              = "handleBluetoothActiveDeviceChanged"
	MethodIAudioServiceSetFocusRequestResultFromExtPolicy              = "setFocusRequestResultFromExtPolicy"
	MethodIAudioServiceRegisterAudioServerStateDispatcher              = "registerAudioServerStateDispatcher"
	MethodIAudioServiceUnregisterAudioServerStateDispatcher            = "unregisterAudioServerStateDispatcher"
	MethodIAudioServiceIsAudioServerRunning                            = "isAudioServerRunning"
	MethodIAudioServiceSetUidDeviceAffinity                            = "setUidDeviceAffinity"
	MethodIAudioServiceRemoveUidDeviceAffinity                         = "removeUidDeviceAffinity"
	MethodIAudioServiceSetUserIdDeviceAffinity                         = "setUserIdDeviceAffinity"
	MethodIAudioServiceRemoveUserIdDeviceAffinity                      = "removeUserIdDeviceAffinity"
	MethodIAudioServiceHasHapticChannels                               = "hasHapticChannels"
	MethodIAudioServiceIsCallScreeningModeSupported                    = "isCallScreeningModeSupported"
	MethodIAudioServiceSetPreferredDevicesForStrategy                  = "setPreferredDevicesForStrategy"
	MethodIAudioServiceRemovePreferredDevicesForStrategy               = "removePreferredDevicesForStrategy"
	MethodIAudioServiceGetPreferredDevicesForStrategy                  = "getPreferredDevicesForStrategy"
	MethodIAudioServiceSetDeviceAsNonDefaultForStrategy                = "setDeviceAsNonDefaultForStrategy"
	MethodIAudioServiceRemoveDeviceAsNonDefaultForStrategy             = "removeDeviceAsNonDefaultForStrategy"
	MethodIAudioServiceGetNonDefaultDevicesForStrategy                 = "getNonDefaultDevicesForStrategy"
	MethodIAudioServiceGetDevicesForAttributes                         = "getDevicesForAttributes"
	MethodIAudioServiceGetDevicesForAttributesUnprotected              = "getDevicesForAttributesUnprotected"
	MethodIAudioServiceAddOnDevicesForAttributesChangedListener        = "addOnDevicesForAttributesChangedListener"
	MethodIAudioServiceRemoveOnDevicesForAttributesChangedListener     = "removeOnDevicesForAttributesChangedListener"
	MethodIAudioServiceSetAllowedCapturePolicy                         = "setAllowedCapturePolicy"
	MethodIAudioServiceGetAllowedCapturePolicy                         = "getAllowedCapturePolicy"
	MethodIAudioServiceRegisterStrategyPreferredDevicesDispatcher      = "registerStrategyPreferredDevicesDispatcher"
	MethodIAudioServiceUnregisterStrategyPreferredDevicesDispatcher    = "unregisterStrategyPreferredDevicesDispatcher"
	MethodIAudioServiceRegisterStrategyNonDefaultDevicesDispatcher     = "registerStrategyNonDefaultDevicesDispatcher"
	MethodIAudioServiceUnregisterStrategyNonDefaultDevicesDispatcher   = "unregisterStrategyNonDefaultDevicesDispatcher"
	MethodIAudioServiceSetRttEnabled                                   = "setRttEnabled"
	MethodIAudioServiceSetDeviceVolumeBehavior                         = "setDeviceVolumeBehavior"
	MethodIAudioServiceGetDeviceVolumeBehavior                         = "getDeviceVolumeBehavior"
	MethodIAudioServiceSetMultiAudioFocusEnabled                       = "setMultiAudioFocusEnabled"
	MethodIAudioServiceSetPreferredDevicesForCapturePreset             = "setPreferredDevicesForCapturePreset"
	MethodIAudioServiceClearPreferredDevicesForCapturePreset           = "clearPreferredDevicesForCapturePreset"
	MethodIAudioServiceGetPreferredDevicesForCapturePreset             = "getPreferredDevicesForCapturePreset"
	MethodIAudioServiceRegisterCapturePresetDevicesRoleDispatcher      = "registerCapturePresetDevicesRoleDispatcher"
	MethodIAudioServiceUnregisterCapturePresetDevicesRoleDispatcher    = "unregisterCapturePresetDevicesRoleDispatcher"
	MethodIAudioServiceAdjustStreamVolumeForUid                        = "adjustStreamVolumeForUid"
	MethodIAudioServiceAdjustSuggestedStreamVolumeForUid               = "adjustSuggestedStreamVolumeForUid"
	MethodIAudioServiceSetStreamVolumeForUid                           = "setStreamVolumeForUid"
	MethodIAudioServiceAdjustVolume                                    = "adjustVolume"
	MethodIAudioServiceAdjustSuggestedStreamVolume                     = "adjustSuggestedStreamVolume"
	MethodIAudioServiceIsMusicActive                                   = "isMusicActive"
	MethodIAudioServiceGetDeviceMaskForStream                          = "getDeviceMaskForStream"
	MethodIAudioServiceGetAvailableCommunicationDeviceIds              = "getAvailableCommunicationDeviceIds"
	MethodIAudioServiceSetCommunicationDevice                          = "setCommunicationDevice"
	MethodIAudioServiceGetCommunicationDevice                          = "getCommunicationDevice"
	MethodIAudioServiceRegisterCommunicationDeviceDispatcher           = "registerCommunicationDeviceDispatcher"
	MethodIAudioServiceUnregisterCommunicationDeviceDispatcher         = "unregisterCommunicationDeviceDispatcher"
	MethodIAudioServiceAreNavigationRepeatSoundEffectsEnabled          = "areNavigationRepeatSoundEffectsEnabled"
	MethodIAudioServiceSetNavigationRepeatSoundEffectsEnabled          = "setNavigationRepeatSoundEffectsEnabled"
	MethodIAudioServiceIsHomeSoundEffectEnabled                        = "isHomeSoundEffectEnabled"
	MethodIAudioServiceSetHomeSoundEffectEnabled                       = "setHomeSoundEffectEnabled"
	MethodIAudioServiceSetAdditionalOutputDeviceDelay                  = "setAdditionalOutputDeviceDelay"
	MethodIAudioServiceGetAdditionalOutputDeviceDelay                  = "getAdditionalOutputDeviceDelay"
	MethodIAudioServiceGetMaxAdditionalOutputDeviceDelay               = "getMaxAdditionalOutputDeviceDelay"
	MethodIAudioServiceRequestAudioFocusForTest                        = "requestAudioFocusForTest"
	MethodIAudioServiceAbandonAudioFocusForTest                        = "abandonAudioFocusForTest"
	MethodIAudioServiceGetFadeOutDurationOnFocusLossMillis             = "getFadeOutDurationOnFocusLossMillis"
	MethodIAudioServiceGetFocusDuckedUidsForTest                       = "getFocusDuckedUidsForTest"
	MethodIAudioServiceGetFocusFadeOutDurationForTest                  = "getFocusFadeOutDurationForTest"
	MethodIAudioServiceGetFocusUnmuteDelayAfterFadeOutForTest          = "getFocusUnmuteDelayAfterFadeOutForTest"
	MethodIAudioServiceEnterAudioFocusFreezeForTest                    = "enterAudioFocusFreezeForTest"
	MethodIAudioServiceExitAudioFocusFreezeForTest                     = "exitAudioFocusFreezeForTest"
	MethodIAudioServiceRegisterModeDispatcher                          = "registerModeDispatcher"
	MethodIAudioServiceUnregisterModeDispatcher                        = "unregisterModeDispatcher"
	MethodIAudioServiceGetSpatializerImmersiveAudioLevel               = "getSpatializerImmersiveAudioLevel"
	MethodIAudioServiceIsSpatializerEnabled                            = "isSpatializerEnabled"
	MethodIAudioServiceIsSpatializerAvailable                          = "isSpatializerAvailable"
	MethodIAudioServiceIsSpatializerAvailableForDevice                 = "isSpatializerAvailableForDevice"
	MethodIAudioServiceHasHeadTracker                                  = "hasHeadTracker"
	MethodIAudioServiceSetHeadTrackerEnabled                           = "setHeadTrackerEnabled"
	MethodIAudioServiceIsHeadTrackerEnabled                            = "isHeadTrackerEnabled"
	MethodIAudioServiceIsHeadTrackerAvailable                          = "isHeadTrackerAvailable"
	MethodIAudioServiceRegisterSpatializerHeadTrackerAvailableCallback = "registerSpatializerHeadTrackerAvailableCallback"
	MethodIAudioServiceSetSpatializerEnabled                           = "setSpatializerEnabled"
	MethodIAudioServiceCanBeSpatialized                                = "canBeSpatialized"
	MethodIAudioServiceRegisterSpatializerCallback                     = "registerSpatializerCallback"
	MethodIAudioServiceUnregisterSpatializerCallback                   = "unregisterSpatializerCallback"
	MethodIAudioServiceRegisterSpatializerHeadTrackingCallback         = "registerSpatializerHeadTrackingCallback"
	MethodIAudioServiceUnregisterSpatializerHeadTrackingCallback       = "unregisterSpatializerHeadTrackingCallback"
	MethodIAudioServiceRegisterHeadToSoundstagePoseCallback            = "registerHeadToSoundstagePoseCallback"
	MethodIAudioServiceUnregisterHeadToSoundstagePoseCallback          = "unregisterHeadToSoundstagePoseCallback"
	MethodIAudioServiceGetSpatializerCompatibleAudioDevices            = "getSpatializerCompatibleAudioDevices"
	MethodIAudioServiceAddSpatializerCompatibleAudioDevice             = "addSpatializerCompatibleAudioDevice"
	MethodIAudioServiceRemoveSpatializerCompatibleAudioDevice          = "removeSpatializerCompatibleAudioDevice"
	MethodIAudioServiceSetDesiredHeadTrackingMode                      = "setDesiredHeadTrackingMode"
	MethodIAudioServiceGetDesiredHeadTrackingMode                      = "getDesiredHeadTrackingMode"
	MethodIAudioServiceGetSupportedHeadTrackingModes                   = "getSupportedHeadTrackingModes"
	MethodIAudioServiceGetActualHeadTrackingMode                       = "getActualHeadTrackingMode"
	MethodIAudioServiceSetSpatializerGlobalTransform                   = "setSpatializerGlobalTransform"
	MethodIAudioServiceRecenterHeadTracker                             = "recenterHeadTracker"
	MethodIAudioServiceSetSpatializerParameter                         = "setSpatializerParameter"
	MethodIAudioServiceGetSpatializerParameter                         = "getSpatializerParameter"
	MethodIAudioServiceGetSpatializerOutput                            = "getSpatializerOutput"
	MethodIAudioServiceRegisterSpatializerOutputCallback               = "registerSpatializerOutputCallback"
	MethodIAudioServiceUnregisterSpatializerOutputCallback             = "unregisterSpatializerOutputCallback"
	MethodIAudioServiceIsVolumeFixed                                   = "isVolumeFixed"
	MethodIAudioServiceGetDefaultVolumeInfo                            = "getDefaultVolumeInfo"
	MethodIAudioServiceIsPstnCallAudioInterceptable                    = "isPstnCallAudioInterceptable"
	MethodIAudioServiceMuteAwaitConnection                             = "muteAwaitConnection"
	MethodIAudioServiceCancelMuteAwaitConnection                       = "cancelMuteAwaitConnection"
	MethodIAudioServiceGetMutingExpectedDevice                         = "getMutingExpectedDevice"
	MethodIAudioServiceRegisterMuteAwaitConnectionDispatcher           = "registerMuteAwaitConnectionDispatcher"
	MethodIAudioServiceSetTestDeviceConnectionState                    = "setTestDeviceConnectionState"
	MethodIAudioServiceRegisterDeviceVolumeBehaviorDispatcher          = "registerDeviceVolumeBehaviorDispatcher"
	MethodIAudioServiceGetFocusStack                                   = "getFocusStack"
	MethodIAudioServiceSendFocusLoss                                   = "sendFocusLoss"
	MethodIAudioServiceAddAssistantServicesUids                        = "addAssistantServicesUids"
	MethodIAudioServiceRemoveAssistantServicesUids                     = "removeAssistantServicesUids"
	MethodIAudioServiceSetActiveAssistantServiceUids                   = "setActiveAssistantServiceUids"
	MethodIAudioServiceGetAssistantServicesUids                        = "getAssistantServicesUids"
	MethodIAudioServiceGetActiveAssistantServiceUids                   = "getActiveAssistantServiceUids"
	MethodIAudioServiceRegisterDeviceVolumeDispatcherForAbsoluteVolume = "registerDeviceVolumeDispatcherForAbsoluteVolume"
	MethodIAudioServiceGetHalVersion                                   = "getHalVersion"
	MethodIAudioServiceSetPreferredMixerAttributes                     = "setPreferredMixerAttributes"
	MethodIAudioServiceClearPreferredMixerAttributes                   = "clearPreferredMixerAttributes"
	MethodIAudioServiceRegisterPreferredMixerAttributesDispatcher      = "registerPreferredMixerAttributesDispatcher"
	MethodIAudioServiceUnregisterPreferredMixerAttributesDispatcher    = "unregisterPreferredMixerAttributesDispatcher"
	MethodIAudioServiceSupportsBluetoothVariableLatency                = "supportsBluetoothVariableLatency"
	MethodIAudioServiceSetBluetoothVariableLatencyEnabled              = "setBluetoothVariableLatencyEnabled"
	MethodIAudioServiceIsBluetoothVariableLatencyEnabled               = "isBluetoothVariableLatencyEnabled"
	MethodIAudioServiceRegisterLoudnessCodecUpdatesDispatcher          = "registerLoudnessCodecUpdatesDispatcher"
	MethodIAudioServiceUnregisterLoudnessCodecUpdatesDispatcher        = "unregisterLoudnessCodecUpdatesDispatcher"
	MethodIAudioServiceStartLoudnessCodecUpdates                       = "startLoudnessCodecUpdates"
	MethodIAudioServiceStopLoudnessCodecUpdates                        = "stopLoudnessCodecUpdates"
	MethodIAudioServiceAddLoudnessCodecInfo                            = "addLoudnessCodecInfo"
	MethodIAudioServiceRemoveLoudnessCodecInfo                         = "removeLoudnessCodecInfo"
	MethodIAudioServiceGetLoudnessParams                               = "getLoudnessParams"
	MethodIAudioServiceSetFadeManagerConfigurationForFocusLoss         = "setFadeManagerConfigurationForFocusLoss"
	MethodIAudioServiceClearFadeManagerConfigurationForFocusLoss       = "clearFadeManagerConfigurationForFocusLoss"
	MethodIAudioServiceGetFadeManagerConfigurationForFocusLoss         = "getFadeManagerConfigurationForFocusLoss"
	MethodIAudioServiceShouldNotificationSoundPlay                     = "shouldNotificationSoundPlay"
)
View Source
const (
	TransactionIAudioTrackGetCblk                     = binder.FirstCallTransaction + 0
	TransactionIAudioTrackStart                       = binder.FirstCallTransaction + 1
	TransactionIAudioTrackStop                        = binder.FirstCallTransaction + 2
	TransactionIAudioTrackFlush                       = binder.FirstCallTransaction + 3
	TransactionIAudioTrackPause                       = binder.FirstCallTransaction + 4
	TransactionIAudioTrackAttachAuxEffect             = binder.FirstCallTransaction + 5
	TransactionIAudioTrackSetParameters               = binder.FirstCallTransaction + 6
	TransactionIAudioTrackSelectPresentation          = binder.FirstCallTransaction + 7
	TransactionIAudioTrackGetTimestamp                = binder.FirstCallTransaction + 8
	TransactionIAudioTrackSignal                      = binder.FirstCallTransaction + 9
	TransactionIAudioTrackApplyVolumeShaper           = binder.FirstCallTransaction + 10
	TransactionIAudioTrackGetVolumeShaperState        = binder.FirstCallTransaction + 11
	TransactionIAudioTrackGetDualMonoMode             = binder.FirstCallTransaction + 12
	TransactionIAudioTrackSetDualMonoMode             = binder.FirstCallTransaction + 13
	TransactionIAudioTrackGetAudioDescriptionMixLevel = binder.FirstCallTransaction + 14
	TransactionIAudioTrackSetAudioDescriptionMixLevel = binder.FirstCallTransaction + 15
	TransactionIAudioTrackGetPlaybackRateParameters   = binder.FirstCallTransaction + 16
	TransactionIAudioTrackSetPlaybackRateParameters   = binder.FirstCallTransaction + 17
)
View Source
const (
	MethodIAudioTrackGetCblk                     = "getCblk"
	MethodIAudioTrackStart                       = "start"
	MethodIAudioTrackStop                        = "stop"
	MethodIAudioTrackFlush                       = "flush"
	MethodIAudioTrackPause                       = "pause"
	MethodIAudioTrackAttachAuxEffect             = "attachAuxEffect"
	MethodIAudioTrackSetParameters               = "setParameters"
	MethodIAudioTrackSelectPresentation          = "selectPresentation"
	MethodIAudioTrackGetTimestamp                = "getTimestamp"
	MethodIAudioTrackSignal                      = "signal"
	MethodIAudioTrackApplyVolumeShaper           = "applyVolumeShaper"
	MethodIAudioTrackGetVolumeShaperState        = "getVolumeShaperState"
	MethodIAudioTrackGetDualMonoMode             = "getDualMonoMode"
	MethodIAudioTrackSetDualMonoMode             = "setDualMonoMode"
	MethodIAudioTrackGetAudioDescriptionMixLevel = "getAudioDescriptionMixLevel"
	MethodIAudioTrackSetAudioDescriptionMixLevel = "setAudioDescriptionMixLevel"
	MethodIAudioTrackGetPlaybackRateParameters   = "getPlaybackRateParameters"
	MethodIAudioTrackSetPlaybackRateParameters   = "setPlaybackRateParameters"
)
View Source
const (
	TransactionIEffectEnable     = binder.FirstCallTransaction + 0
	TransactionIEffectDisable    = binder.FirstCallTransaction + 1
	TransactionIEffectCommand    = binder.FirstCallTransaction + 2
	TransactionIEffectDisconnect = binder.FirstCallTransaction + 3
	TransactionIEffectGetCblk    = binder.FirstCallTransaction + 4
	TransactionIEffectGetConfig  = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIEffectEnable     = "enable"
	MethodIEffectDisable    = "disable"
	MethodIEffectCommand    = "command"
	MethodIEffectDisconnect = "disconnect"
	MethodIEffectGetCblk    = "getCblk"
	MethodIEffectGetConfig  = "getConfig"
)
View Source
const (
	TransactionIEffectClientControlStatusChanged = binder.FirstCallTransaction + 0
	TransactionIEffectClientEnableStatusChanged  = binder.FirstCallTransaction + 1
	TransactionIEffectClientCommandExecuted      = binder.FirstCallTransaction + 2
	TransactionIEffectClientFramesProcessed      = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIEffectClientControlStatusChanged = "controlStatusChanged"
	MethodIEffectClientEnableStatusChanged  = "enableStatusChanged"
	MethodIEffectClientCommandExecuted      = "commandExecuted"
	MethodIEffectClientFramesProcessed      = "framesProcessed"
)
View Source
const (
	TransactionIMediaHTTPConnectionConnect     = binder.FirstCallTransaction + 0
	TransactionIMediaHTTPConnectionDisconnect  = binder.FirstCallTransaction + 1
	TransactionIMediaHTTPConnectionReadAt      = binder.FirstCallTransaction + 2
	TransactionIMediaHTTPConnectionGetSize     = binder.FirstCallTransaction + 3
	TransactionIMediaHTTPConnectionGetMIMEType = binder.FirstCallTransaction + 4
	TransactionIMediaHTTPConnectionGetUri      = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIMediaHTTPConnectionConnect     = "connect"
	MethodIMediaHTTPConnectionDisconnect  = "disconnect"
	MethodIMediaHTTPConnectionReadAt      = "readAt"
	MethodIMediaHTTPConnectionGetSize     = "getSize"
	MethodIMediaHTTPConnectionGetMIMEType = "getMIMEType"
	MethodIMediaHTTPConnectionGetUri      = "getUri"
)
View Source
const (
	TransactionIMediaRoute2ProviderServiceSetCallback               = binder.FirstCallTransaction + 0
	TransactionIMediaRoute2ProviderServiceUpdateDiscoveryPreference = binder.FirstCallTransaction + 1
	TransactionIMediaRoute2ProviderServiceSetRouteVolume            = binder.FirstCallTransaction + 2
	TransactionIMediaRoute2ProviderServiceRequestCreateSession      = binder.FirstCallTransaction + 3
	TransactionIMediaRoute2ProviderServiceSelectRoute               = binder.FirstCallTransaction + 4
	TransactionIMediaRoute2ProviderServiceDeselectRoute             = binder.FirstCallTransaction + 5
	TransactionIMediaRoute2ProviderServiceTransferToRoute           = binder.FirstCallTransaction + 6
	TransactionIMediaRoute2ProviderServiceSetSessionVolume          = binder.FirstCallTransaction + 7
	TransactionIMediaRoute2ProviderServiceReleaseSession            = binder.FirstCallTransaction + 8
)
View Source
const (
	MethodIMediaRoute2ProviderServiceSetCallback               = "setCallback"
	MethodIMediaRoute2ProviderServiceUpdateDiscoveryPreference = "updateDiscoveryPreference"
	MethodIMediaRoute2ProviderServiceSetRouteVolume            = "setRouteVolume"
	MethodIMediaRoute2ProviderServiceRequestCreateSession      = "requestCreateSession"
	MethodIMediaRoute2ProviderServiceSelectRoute               = "selectRoute"
	MethodIMediaRoute2ProviderServiceDeselectRoute             = "deselectRoute"
	MethodIMediaRoute2ProviderServiceTransferToRoute           = "transferToRoute"
	MethodIMediaRoute2ProviderServiceSetSessionVolume          = "setSessionVolume"
	MethodIMediaRoute2ProviderServiceReleaseSession            = "releaseSession"
)
View Source
const (
	TransactionIMediaRoute2ProviderServiceCallbackNotifyProviderUpdated = binder.FirstCallTransaction + 0
	TransactionIMediaRoute2ProviderServiceCallbackNotifySessionCreated  = binder.FirstCallTransaction + 1
	TransactionIMediaRoute2ProviderServiceCallbackNotifySessionsUpdated = binder.FirstCallTransaction + 2
	TransactionIMediaRoute2ProviderServiceCallbackNotifySessionReleased = binder.FirstCallTransaction + 3
	TransactionIMediaRoute2ProviderServiceCallbackNotifyRequestFailed   = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodIMediaRoute2ProviderServiceCallbackNotifyProviderUpdated = "notifyProviderUpdated"
	MethodIMediaRoute2ProviderServiceCallbackNotifySessionCreated  = "notifySessionCreated"
	MethodIMediaRoute2ProviderServiceCallbackNotifySessionsUpdated = "notifySessionsUpdated"
	MethodIMediaRoute2ProviderServiceCallbackNotifySessionReleased = "notifySessionReleased"
	MethodIMediaRoute2ProviderServiceCallbackNotifyRequestFailed   = "notifyRequestFailed"
)
View Source
const (
	TransactionIMediaRouter2NotifyRouterRegistered        = binder.FirstCallTransaction + 0
	TransactionIMediaRouter2NotifyRoutesUpdated           = binder.FirstCallTransaction + 1
	TransactionIMediaRouter2NotifySessionCreated          = binder.FirstCallTransaction + 2
	TransactionIMediaRouter2NotifySessionInfoChanged      = binder.FirstCallTransaction + 3
	TransactionIMediaRouter2NotifySessionReleased         = binder.FirstCallTransaction + 4
	TransactionIMediaRouter2RequestCreateSessionByManager = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIMediaRouter2NotifyRouterRegistered        = "notifyRouterRegistered"
	MethodIMediaRouter2NotifyRoutesUpdated           = "notifyRoutesUpdated"
	MethodIMediaRouter2NotifySessionCreated          = "notifySessionCreated"
	MethodIMediaRouter2NotifySessionInfoChanged      = "notifySessionInfoChanged"
	MethodIMediaRouter2NotifySessionReleased         = "notifySessionReleased"
	MethodIMediaRouter2RequestCreateSessionByManager = "requestCreateSessionByManager"
)
View Source
const (
	TransactionIMediaRouter2ManagerNotifySessionCreated               = binder.FirstCallTransaction + 0
	TransactionIMediaRouter2ManagerNotifySessionUpdated               = binder.FirstCallTransaction + 1
	TransactionIMediaRouter2ManagerNotifySessionReleased              = binder.FirstCallTransaction + 2
	TransactionIMediaRouter2ManagerNotifyDiscoveryPreferenceChanged   = binder.FirstCallTransaction + 3
	TransactionIMediaRouter2ManagerNotifyRouteListingPreferenceChange = binder.FirstCallTransaction + 4
	TransactionIMediaRouter2ManagerNotifyRoutesUpdated                = binder.FirstCallTransaction + 5
	TransactionIMediaRouter2ManagerNotifyRequestFailed                = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIMediaRouter2ManagerNotifySessionCreated               = "notifySessionCreated"
	MethodIMediaRouter2ManagerNotifySessionUpdated               = "notifySessionUpdated"
	MethodIMediaRouter2ManagerNotifySessionReleased              = "notifySessionReleased"
	MethodIMediaRouter2ManagerNotifyDiscoveryPreferenceChanged   = "notifyDiscoveryPreferenceChanged"
	MethodIMediaRouter2ManagerNotifyRouteListingPreferenceChange = "notifyRouteListingPreferenceChange"
	MethodIMediaRouter2ManagerNotifyRoutesUpdated                = "notifyRoutesUpdated"
	MethodIMediaRouter2ManagerNotifyRequestFailed                = "notifyRequestFailed"
)
View Source
const (
	TransactionIMediaRouterClientOnStateChanged       = binder.FirstCallTransaction + 0
	TransactionIMediaRouterClientOnRestoreRoute       = binder.FirstCallTransaction + 1
	TransactionIMediaRouterClientOnGroupRouteSelected = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodIMediaRouterClientOnStateChanged       = "onStateChanged"
	MethodIMediaRouterClientOnRestoreRoute       = "onRestoreRoute"
	MethodIMediaRouterClientOnGroupRouteSelected = "onGroupRouteSelected"
)
View Source
const (
	TransactionIMediaRouterServiceRegisterClientAsUser            = binder.FirstCallTransaction + 0
	TransactionIMediaRouterServiceUnregisterClient                = binder.FirstCallTransaction + 1
	TransactionIMediaRouterServiceRegisterClientGroupId           = binder.FirstCallTransaction + 2
	TransactionIMediaRouterServiceGetState                        = binder.FirstCallTransaction + 3
	TransactionIMediaRouterServiceIsPlaybackActive                = binder.FirstCallTransaction + 4
	TransactionIMediaRouterServiceSetBluetoothA2dpOn              = binder.FirstCallTransaction + 5
	TransactionIMediaRouterServiceSetDiscoveryRequest             = binder.FirstCallTransaction + 6
	TransactionIMediaRouterServiceSetSelectedRoute                = binder.FirstCallTransaction + 7
	TransactionIMediaRouterServiceRequestSetVolume                = binder.FirstCallTransaction + 8
	TransactionIMediaRouterServiceRequestUpdateVolume             = binder.FirstCallTransaction + 9
	TransactionIMediaRouterServiceGetSystemRoutes                 = binder.FirstCallTransaction + 10
	TransactionIMediaRouterServiceGetSystemSessionInfo            = binder.FirstCallTransaction + 11
	TransactionIMediaRouterServiceRegisterRouter2                 = binder.FirstCallTransaction + 12
	TransactionIMediaRouterServiceUnregisterRouter2               = binder.FirstCallTransaction + 13
	TransactionIMediaRouterServiceUpdateScanningStateWithRouter2  = binder.FirstCallTransaction + 14
	TransactionIMediaRouterServiceSetDiscoveryRequestWithRouter2  = binder.FirstCallTransaction + 15
	TransactionIMediaRouterServiceSetRouteListingPreference       = binder.FirstCallTransaction + 16
	TransactionIMediaRouterServiceSetRouteVolumeWithRouter2       = binder.FirstCallTransaction + 17
	TransactionIMediaRouterServiceRequestCreateSessionWithRouter2 = binder.FirstCallTransaction + 18
	TransactionIMediaRouterServiceSelectRouteWithRouter2          = binder.FirstCallTransaction + 19
	TransactionIMediaRouterServiceDeselectRouteWithRouter2        = binder.FirstCallTransaction + 20
	TransactionIMediaRouterServiceTransferToRouteWithRouter2      = binder.FirstCallTransaction + 21
	TransactionIMediaRouterServiceSetSessionVolumeWithRouter2     = binder.FirstCallTransaction + 22
	TransactionIMediaRouterServiceReleaseSessionWithRouter2       = binder.FirstCallTransaction + 23
	TransactionIMediaRouterServiceGetRemoteSessions               = binder.FirstCallTransaction + 24
	TransactionIMediaRouterServiceGetSystemSessionInfoForPackage  = binder.FirstCallTransaction + 25
	TransactionIMediaRouterServiceRegisterManager                 = binder.FirstCallTransaction + 26
	TransactionIMediaRouterServiceRegisterProxyRouter             = binder.FirstCallTransaction + 27
	TransactionIMediaRouterServiceUnregisterManager               = binder.FirstCallTransaction + 28
	TransactionIMediaRouterServiceSetRouteVolumeWithManager       = binder.FirstCallTransaction + 29
	TransactionIMediaRouterServiceUpdateScanningState             = binder.FirstCallTransaction + 30
	TransactionIMediaRouterServiceRequestCreateSessionWithManager = binder.FirstCallTransaction + 31
	TransactionIMediaRouterServiceSelectRouteWithManager          = binder.FirstCallTransaction + 32
	TransactionIMediaRouterServiceDeselectRouteWithManager        = binder.FirstCallTransaction + 33
	TransactionIMediaRouterServiceTransferToRouteWithManager      = binder.FirstCallTransaction + 34
	TransactionIMediaRouterServiceSetSessionVolumeWithManager     = binder.FirstCallTransaction + 35
	TransactionIMediaRouterServiceReleaseSessionWithManager       = binder.FirstCallTransaction + 36
	TransactionIMediaRouterServiceShowMediaOutputSwitcher         = binder.FirstCallTransaction + 37
)
View Source
const (
	MethodIMediaRouterServiceRegisterClientAsUser            = "registerClientAsUser"
	MethodIMediaRouterServiceUnregisterClient                = "unregisterClient"
	MethodIMediaRouterServiceRegisterClientGroupId           = "registerClientGroupId"
	MethodIMediaRouterServiceGetState                        = "getState"
	MethodIMediaRouterServiceIsPlaybackActive                = "isPlaybackActive"
	MethodIMediaRouterServiceSetBluetoothA2dpOn              = "setBluetoothA2dpOn"
	MethodIMediaRouterServiceSetDiscoveryRequest             = "setDiscoveryRequest"
	MethodIMediaRouterServiceSetSelectedRoute                = "setSelectedRoute"
	MethodIMediaRouterServiceRequestSetVolume                = "requestSetVolume"
	MethodIMediaRouterServiceRequestUpdateVolume             = "requestUpdateVolume"
	MethodIMediaRouterServiceGetSystemRoutes                 = "getSystemRoutes"
	MethodIMediaRouterServiceGetSystemSessionInfo            = "getSystemSessionInfo"
	MethodIMediaRouterServiceRegisterRouter2                 = "registerRouter2"
	MethodIMediaRouterServiceUnregisterRouter2               = "unregisterRouter2"
	MethodIMediaRouterServiceUpdateScanningStateWithRouter2  = "updateScanningStateWithRouter2"
	MethodIMediaRouterServiceSetDiscoveryRequestWithRouter2  = "setDiscoveryRequestWithRouter2"
	MethodIMediaRouterServiceSetRouteListingPreference       = "setRouteListingPreference"
	MethodIMediaRouterServiceSetRouteVolumeWithRouter2       = "setRouteVolumeWithRouter2"
	MethodIMediaRouterServiceRequestCreateSessionWithRouter2 = "requestCreateSessionWithRouter2"
	MethodIMediaRouterServiceSelectRouteWithRouter2          = "selectRouteWithRouter2"
	MethodIMediaRouterServiceDeselectRouteWithRouter2        = "deselectRouteWithRouter2"
	MethodIMediaRouterServiceTransferToRouteWithRouter2      = "transferToRouteWithRouter2"
	MethodIMediaRouterServiceSetSessionVolumeWithRouter2     = "setSessionVolumeWithRouter2"
	MethodIMediaRouterServiceReleaseSessionWithRouter2       = "releaseSessionWithRouter2"
	MethodIMediaRouterServiceGetRemoteSessions               = "getRemoteSessions"
	MethodIMediaRouterServiceGetSystemSessionInfoForPackage  = "getSystemSessionInfoForPackage"
	MethodIMediaRouterServiceRegisterManager                 = "registerManager"
	MethodIMediaRouterServiceRegisterProxyRouter             = "registerProxyRouter"
	MethodIMediaRouterServiceUnregisterManager               = "unregisterManager"
	MethodIMediaRouterServiceSetRouteVolumeWithManager       = "setRouteVolumeWithManager"
	MethodIMediaRouterServiceUpdateScanningState             = "updateScanningState"
	MethodIMediaRouterServiceRequestCreateSessionWithManager = "requestCreateSessionWithManager"
	MethodIMediaRouterServiceSelectRouteWithManager          = "selectRouteWithManager"
	MethodIMediaRouterServiceDeselectRouteWithManager        = "deselectRouteWithManager"
	MethodIMediaRouterServiceTransferToRouteWithManager      = "transferToRouteWithManager"
	MethodIMediaRouterServiceSetSessionVolumeWithManager     = "setSessionVolumeWithManager"
	MethodIMediaRouterServiceReleaseSessionWithManager       = "releaseSessionWithManager"
	MethodIMediaRouterServiceShowMediaOutputSwitcher         = "showMediaOutputSwitcher"
)
View Source
const (
	TransactionIMediaScannerServiceRequestScanFile = binder.FirstCallTransaction + 0
	TransactionIMediaScannerServiceScanFile        = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIMediaScannerServiceRequestScanFile = "requestScanFile"
	MethodIMediaScannerServiceScanFile        = "scanFile"
)
View Source
const (
	TransactionIMediaTranscodingServiceRegisterClient  = binder.FirstCallTransaction + 0
	TransactionIMediaTranscodingServiceGetNumOfClients = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIMediaTranscodingServiceRegisterClient  = "registerClient"
	MethodIMediaTranscodingServiceGetNumOfClients = "getNumOfClients"
)
View Source
const (
	IMediaTranscodingServiceErrorPermissionDenied int32 = 1
	IMediaTranscodingServiceErrorAlreadyExists    int32 = 2
	IMediaTranscodingServiceErrorIllegalArgument  int32 = 3
	IMediaTranscodingServiceErrorDisconnected     int32 = 4
	IMediaTranscodingServiceErrorTimedOut         int32 = 5
	IMediaTranscodingServiceErrorDisabled         int32 = 6
	IMediaTranscodingServiceErrorInvalidOperation int32 = 7
	IMediaTranscodingServiceUseCallingUid         int32 = -1
	IMediaTranscodingServiceUseCallingPid         int32 = -1
)
View Source
const (
	TransactionIMuteAwaitConnectionCallbackDispatchOnMutedUntilConnection = binder.FirstCallTransaction + 0
	TransactionIMuteAwaitConnectionCallbackDispatchOnUnmutedEvent         = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIMuteAwaitConnectionCallbackDispatchOnMutedUntilConnection = "dispatchOnMutedUntilConnection"
	MethodIMuteAwaitConnectionCallbackDispatchOnUnmutedEvent         = "dispatchOnUnmutedEvent"
)
View Source
const (
	TransactionINativeSpatializerCallbackOnLevelChanged  = binder.FirstCallTransaction + 0
	TransactionINativeSpatializerCallbackOnOutputChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodINativeSpatializerCallbackOnLevelChanged  = "onLevelChanged"
	MethodINativeSpatializerCallbackOnOutputChanged = "onOutputChanged"
)
View Source
const (
	TransactionINearbyMediaDevicesProviderRegisterNearbyDevicesCallback   = binder.FirstCallTransaction + 1
	TransactionINearbyMediaDevicesProviderUnregisterNearbyDevicesCallback = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodINearbyMediaDevicesProviderRegisterNearbyDevicesCallback   = "registerNearbyDevicesCallback"
	MethodINearbyMediaDevicesProviderUnregisterNearbyDevicesCallback = "unregisterNearbyDevicesCallback"
)
View Source
const (
	TransactionIPlayerStart             = binder.FirstCallTransaction + 0
	TransactionIPlayerPause             = binder.FirstCallTransaction + 1
	TransactionIPlayerStop              = binder.FirstCallTransaction + 2
	TransactionIPlayerSetVolume         = binder.FirstCallTransaction + 3
	TransactionIPlayerSetPan            = binder.FirstCallTransaction + 4
	TransactionIPlayerSetStartDelayMs   = binder.FirstCallTransaction + 5
	TransactionIPlayerApplyVolumeShaper = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIPlayerStart             = "start"
	MethodIPlayerPause             = "pause"
	MethodIPlayerStop              = "stop"
	MethodIPlayerSetVolume         = "setVolume"
	MethodIPlayerSetPan            = "setPan"
	MethodIPlayerSetStartDelayMs   = "setStartDelayMs"
	MethodIPlayerApplyVolumeShaper = "applyVolumeShaper"
)
View Source
const (
	TransactionIRemoteDisplayProviderSetCallback      = binder.FirstCallTransaction + 0
	TransactionIRemoteDisplayProviderSetDiscoveryMode = binder.FirstCallTransaction + 1
	TransactionIRemoteDisplayProviderConnect          = binder.FirstCallTransaction + 2
	TransactionIRemoteDisplayProviderDisconnect       = binder.FirstCallTransaction + 3
	TransactionIRemoteDisplayProviderSetVolume        = binder.FirstCallTransaction + 4
	TransactionIRemoteDisplayProviderAdjustVolume     = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIRemoteDisplayProviderSetCallback      = "setCallback"
	MethodIRemoteDisplayProviderSetDiscoveryMode = "setDiscoveryMode"
	MethodIRemoteDisplayProviderConnect          = "connect"
	MethodIRemoteDisplayProviderDisconnect       = "disconnect"
	MethodIRemoteDisplayProviderSetVolume        = "setVolume"
	MethodIRemoteDisplayProviderAdjustVolume     = "adjustVolume"
)
View Source
const (
	TransactionIRemoteSessionCallbackOnVolumeChanged  = binder.FirstCallTransaction + 0
	TransactionIRemoteSessionCallbackOnSessionChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIRemoteSessionCallbackOnVolumeChanged  = "onVolumeChanged"
	MethodIRemoteSessionCallbackOnSessionChanged = "onSessionChanged"
)
View Source
const (
	TransactionIResourceManagerClientReclaimResource = binder.FirstCallTransaction + 0
	TransactionIResourceManagerClientGetName         = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIResourceManagerClientReclaimResource = "reclaimResource"
	MethodIResourceManagerClientGetName         = "getName"
)
View Source
const (
	TransactionIResourceManagerServiceConfig                                    = binder.FirstCallTransaction + 0
	TransactionIResourceManagerServiceAddResource                               = binder.FirstCallTransaction + 1
	TransactionIResourceManagerServiceRemoveResource                            = binder.FirstCallTransaction + 2
	TransactionIResourceManagerServiceRemoveClient                              = binder.FirstCallTransaction + 3
	TransactionIResourceManagerServiceReclaimResource                           = binder.FirstCallTransaction + 4
	TransactionIResourceManagerServiceOverridePid                               = binder.FirstCallTransaction + 5
	TransactionIResourceManagerServiceOverrideProcessInfo                       = binder.FirstCallTransaction + 6
	TransactionIResourceManagerServiceMarkClientForPendingRemoval               = binder.FirstCallTransaction + 7
	TransactionIResourceManagerServiceReclaimResourcesFromClientsPendingRemoval = binder.FirstCallTransaction + 8
	TransactionIResourceManagerServiceNotifyClientCreated                       = binder.FirstCallTransaction + 9
	TransactionIResourceManagerServiceNotifyClientStarted                       = binder.FirstCallTransaction + 10
	TransactionIResourceManagerServiceNotifyClientStopped                       = binder.FirstCallTransaction + 11
	TransactionIResourceManagerServiceNotifyClientConfigChanged                 = binder.FirstCallTransaction + 12
)
View Source
const (
	MethodIResourceManagerServiceConfig                                    = "config"
	MethodIResourceManagerServiceAddResource                               = "addResource"
	MethodIResourceManagerServiceRemoveResource                            = "removeResource"
	MethodIResourceManagerServiceRemoveClient                              = "removeClient"
	MethodIResourceManagerServiceReclaimResource                           = "reclaimResource"
	MethodIResourceManagerServiceOverridePid                               = "overridePid"
	MethodIResourceManagerServiceOverrideProcessInfo                       = "overrideProcessInfo"
	MethodIResourceManagerServiceMarkClientForPendingRemoval               = "markClientForPendingRemoval"
	MethodIResourceManagerServiceReclaimResourcesFromClientsPendingRemoval = "reclaimResourcesFromClientsPendingRemoval"
	MethodIResourceManagerServiceNotifyClientCreated                       = "notifyClientCreated"
	MethodIResourceManagerServiceNotifyClientStarted                       = "notifyClientStarted"
	MethodIResourceManagerServiceNotifyClientStopped                       = "notifyClientStopped"
	MethodIResourceManagerServiceNotifyClientConfigChanged                 = "notifyClientConfigChanged"
)
View Source
const (
	IResourceManagerServiceKPolicySupportsMultipleSecureCodecs     string = "supports-multiple-secure-codecs"
	IResourceManagerServiceKPolicySupportsSecureWithNonSecureCodec string = "supports-secure-with-non-secure-codec"
)
View Source
const (
	TransactionIResourceObserverServiceRegisterObserver   = binder.FirstCallTransaction + 0
	TransactionIResourceObserverServiceUnregisterObserver = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIResourceObserverServiceRegisterObserver   = "registerObserver"
	MethodIResourceObserverServiceUnregisterObserver = "unregisterObserver"
)
View Source
const (
	TransactionIRingtonePlayerPlay                  = binder.FirstCallTransaction + 0
	TransactionIRingtonePlayerPlayWithVolumeShaping = binder.FirstCallTransaction + 1
	TransactionIRingtonePlayerStop                  = binder.FirstCallTransaction + 2
	TransactionIRingtonePlayerIsPlaying             = binder.FirstCallTransaction + 3
	TransactionIRingtonePlayerSetPlaybackProperties = binder.FirstCallTransaction + 4
	TransactionIRingtonePlayerPlayAsync             = binder.FirstCallTransaction + 5
	TransactionIRingtonePlayerStopAsync             = binder.FirstCallTransaction + 6
	TransactionIRingtonePlayerGetTitle              = binder.FirstCallTransaction + 7
	TransactionIRingtonePlayerOpenRingtone          = binder.FirstCallTransaction + 8
)
View Source
const (
	MethodIRingtonePlayerPlay                  = "play"
	MethodIRingtonePlayerPlayWithVolumeShaping = "playWithVolumeShaping"
	MethodIRingtonePlayerStop                  = "stop"
	MethodIRingtonePlayerIsPlaying             = "isPlaying"
	MethodIRingtonePlayerSetPlaybackProperties = "setPlaybackProperties"
	MethodIRingtonePlayerPlayAsync             = "playAsync"
	MethodIRingtonePlayerStopAsync             = "stopAsync"
	MethodIRingtonePlayerGetTitle              = "getTitle"
	MethodIRingtonePlayerOpenRingtone          = "openRingtone"
)
View Source
const (
	TransactionISoundDoseSetOutputRs2UpperBound          = binder.FirstCallTransaction + 0
	TransactionISoundDoseResetCsd                        = binder.FirstCallTransaction + 1
	TransactionISoundDoseUpdateAttenuation               = binder.FirstCallTransaction + 2
	TransactionISoundDoseSetCsdEnabled                   = binder.FirstCallTransaction + 3
	TransactionISoundDoseInitCachedAudioDeviceCategories = binder.FirstCallTransaction + 4
	TransactionISoundDoseSetAudioDeviceCategory          = binder.FirstCallTransaction + 5
	TransactionISoundDoseGetOutputRs2UpperBound          = binder.FirstCallTransaction + 6
	TransactionISoundDoseGetCsd                          = binder.FirstCallTransaction + 7
	TransactionISoundDoseIsSoundDoseHalSupported         = binder.FirstCallTransaction + 8
	TransactionISoundDoseForceUseFrameworkMel            = binder.FirstCallTransaction + 9
	TransactionISoundDoseForceComputeCsdOnAllDevices     = binder.FirstCallTransaction + 10
)
View Source
const (
	MethodISoundDoseSetOutputRs2UpperBound          = "setOutputRs2UpperBound"
	MethodISoundDoseResetCsd                        = "resetCsd"
	MethodISoundDoseUpdateAttenuation               = "updateAttenuation"
	MethodISoundDoseSetCsdEnabled                   = "setCsdEnabled"
	MethodISoundDoseInitCachedAudioDeviceCategories = "initCachedAudioDeviceCategories"
	MethodISoundDoseSetAudioDeviceCategory          = "setAudioDeviceCategory"
	MethodISoundDoseGetOutputRs2UpperBound          = "getOutputRs2UpperBound"
	MethodISoundDoseGetCsd                          = "getCsd"
	MethodISoundDoseIsSoundDoseHalSupported         = "isSoundDoseHalSupported"
	MethodISoundDoseForceUseFrameworkMel            = "forceUseFrameworkMel"
	MethodISoundDoseForceComputeCsdOnAllDevices     = "forceComputeCsdOnAllDevices"
)
View Source
const (
	TransactionISoundDoseCallbackOnMomentaryExposure = binder.FirstCallTransaction + 0
	TransactionISoundDoseCallbackOnNewCsdValue       = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodISoundDoseCallbackOnMomentaryExposure = "onMomentaryExposure"
	MethodISoundDoseCallbackOnNewCsdValue       = "onNewCsdValue"
)
View Source
const (
	TransactionISpatializerRelease                       = binder.FirstCallTransaction + 0
	TransactionISpatializerGetSupportedLevels            = binder.FirstCallTransaction + 1
	TransactionISpatializerSetLevel                      = binder.FirstCallTransaction + 2
	TransactionISpatializerGetLevel                      = binder.FirstCallTransaction + 3
	TransactionISpatializerIsHeadTrackingSupported       = binder.FirstCallTransaction + 4
	TransactionISpatializerGetSupportedHeadTrackingModes = binder.FirstCallTransaction + 5
	TransactionISpatializerSetDesiredHeadTrackingMode    = binder.FirstCallTransaction + 6
	TransactionISpatializerGetActualHeadTrackingMode     = binder.FirstCallTransaction + 7
	TransactionISpatializerRecenterHeadTracker           = binder.FirstCallTransaction + 8
	TransactionISpatializerSetGlobalTransform            = binder.FirstCallTransaction + 9
	TransactionISpatializerSetHeadSensor                 = binder.FirstCallTransaction + 10
	TransactionISpatializerSetScreenSensor               = binder.FirstCallTransaction + 11
	TransactionISpatializerSetDisplayOrientation         = binder.FirstCallTransaction + 12
	TransactionISpatializerSetHingeAngle                 = binder.FirstCallTransaction + 13
	TransactionISpatializerSetFoldState                  = binder.FirstCallTransaction + 14
	TransactionISpatializerGetSupportedModes             = binder.FirstCallTransaction + 15
	TransactionISpatializerRegisterHeadTrackingCallback  = binder.FirstCallTransaction + 16
	TransactionISpatializerSetParameter                  = binder.FirstCallTransaction + 17
	TransactionISpatializerGetParameter                  = binder.FirstCallTransaction + 18
	TransactionISpatializerGetOutput                     = binder.FirstCallTransaction + 19
)
View Source
const (
	MethodISpatializerRelease                       = "release"
	MethodISpatializerGetSupportedLevels            = "getSupportedLevels"
	MethodISpatializerSetLevel                      = "setLevel"
	MethodISpatializerGetLevel                      = "getLevel"
	MethodISpatializerIsHeadTrackingSupported       = "isHeadTrackingSupported"
	MethodISpatializerGetSupportedHeadTrackingModes = "getSupportedHeadTrackingModes"
	MethodISpatializerSetDesiredHeadTrackingMode    = "setDesiredHeadTrackingMode"
	MethodISpatializerGetActualHeadTrackingMode     = "getActualHeadTrackingMode"
	MethodISpatializerRecenterHeadTracker           = "recenterHeadTracker"
	MethodISpatializerSetGlobalTransform            = "setGlobalTransform"
	MethodISpatializerSetHeadSensor                 = "setHeadSensor"
	MethodISpatializerSetScreenSensor               = "setScreenSensor"
	MethodISpatializerSetDisplayOrientation         = "setDisplayOrientation"
	MethodISpatializerSetHingeAngle                 = "setHingeAngle"
	MethodISpatializerSetFoldState                  = "setFoldState"
	MethodISpatializerGetSupportedModes             = "getSupportedModes"
	MethodISpatializerRegisterHeadTrackingCallback  = "registerHeadTrackingCallback"
	MethodISpatializerSetParameter                  = "setParameter"
	MethodISpatializerGetParameter                  = "getParameter"
	MethodISpatializerGetOutput                     = "getOutput"
)
View Source
const (
	TransactionISpatializerCallbackDispatchSpatializerEnabledChanged   = binder.FirstCallTransaction + 0
	TransactionISpatializerCallbackDispatchSpatializerAvailableChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodISpatializerCallbackDispatchSpatializerEnabledChanged   = "dispatchSpatializerEnabledChanged"
	MethodISpatializerCallbackDispatchSpatializerAvailableChanged = "dispatchSpatializerAvailableChanged"
)
View Source
const (
	TransactionISpatializerHeadTrackingCallbackOnHeadTrackingModeChanged     = binder.FirstCallTransaction + 0
	TransactionISpatializerHeadTrackingCallbackOnHeadToSoundStagePoseUpdated = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodISpatializerHeadTrackingCallbackOnHeadTrackingModeChanged     = "onHeadTrackingModeChanged"
	MethodISpatializerHeadTrackingCallbackOnHeadToSoundStagePoseUpdated = "onHeadToSoundStagePoseUpdated"
)
View Source
const (
	TransactionISpatializerHeadTrackingModeCallbackDispatchSpatializerActualHeadTrackingModeChanged  = binder.FirstCallTransaction + 0
	TransactionISpatializerHeadTrackingModeCallbackDispatchSpatializerDesiredHeadTrackingModeChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodISpatializerHeadTrackingModeCallbackDispatchSpatializerActualHeadTrackingModeChanged  = "dispatchSpatializerActualHeadTrackingModeChanged"
	MethodISpatializerHeadTrackingModeCallbackDispatchSpatializerDesiredHeadTrackingModeChanged = "dispatchSpatializerDesiredHeadTrackingModeChanged"
)
View Source
const (
	TransactionITranscodingClientSubmitRequest    = binder.FirstCallTransaction + 0
	TransactionITranscodingClientCancelSession    = binder.FirstCallTransaction + 1
	TransactionITranscodingClientGetSessionWithId = binder.FirstCallTransaction + 2
	TransactionITranscodingClientAddClientUid     = binder.FirstCallTransaction + 3
	TransactionITranscodingClientGetClientUids    = binder.FirstCallTransaction + 4
	TransactionITranscodingClientUnregister       = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodITranscodingClientSubmitRequest    = "submitRequest"
	MethodITranscodingClientCancelSession    = "cancelSession"
	MethodITranscodingClientGetSessionWithId = "getSessionWithId"
	MethodITranscodingClientAddClientUid     = "addClientUid"
	MethodITranscodingClientGetClientUids    = "getClientUids"
	MethodITranscodingClientUnregister       = "unregister"
)
View Source
const (
	TransactionITranscodingClientCallbackOpenFileDescriptor             = binder.FirstCallTransaction + 0
	TransactionITranscodingClientCallbackOnTranscodingStarted           = binder.FirstCallTransaction + 1
	TransactionITranscodingClientCallbackOnTranscodingPaused            = binder.FirstCallTransaction + 2
	TransactionITranscodingClientCallbackOnTranscodingResumed           = binder.FirstCallTransaction + 3
	TransactionITranscodingClientCallbackOnTranscodingFinished          = binder.FirstCallTransaction + 4
	TransactionITranscodingClientCallbackOnTranscodingFailed            = binder.FirstCallTransaction + 5
	TransactionITranscodingClientCallbackOnAwaitNumberOfSessionsChanged = binder.FirstCallTransaction + 6
	TransactionITranscodingClientCallbackOnProgressUpdate               = binder.FirstCallTransaction + 7
)
View Source
const (
	MethodITranscodingClientCallbackOpenFileDescriptor             = "openFileDescriptor"
	MethodITranscodingClientCallbackOnTranscodingStarted           = "onTranscodingStarted"
	MethodITranscodingClientCallbackOnTranscodingPaused            = "onTranscodingPaused"
	MethodITranscodingClientCallbackOnTranscodingResumed           = "onTranscodingResumed"
	MethodITranscodingClientCallbackOnTranscodingFinished          = "onTranscodingFinished"
	MethodITranscodingClientCallbackOnTranscodingFailed            = "onTranscodingFailed"
	MethodITranscodingClientCallbackOnAwaitNumberOfSessionsChanged = "onAwaitNumberOfSessionsChanged"
	MethodITranscodingClientCallbackOnProgressUpdate               = "onProgressUpdate"
)
View Source
const (
	TransactionIVolumeControllerDisplaySafeVolumeWarning = binder.FirstCallTransaction + 0
	TransactionIVolumeControllerVolumeChanged            = binder.FirstCallTransaction + 1
	TransactionIVolumeControllerMasterMuteChanged        = binder.FirstCallTransaction + 2
	TransactionIVolumeControllerSetLayoutDirection       = binder.FirstCallTransaction + 3
	TransactionIVolumeControllerDismiss                  = binder.FirstCallTransaction + 4
	TransactionIVolumeControllerSetA11yMode              = binder.FirstCallTransaction + 5
	TransactionIVolumeControllerDisplayCsdWarning        = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIVolumeControllerDisplaySafeVolumeWarning = "displaySafeVolumeWarning"
	MethodIVolumeControllerVolumeChanged            = "volumeChanged"
	MethodIVolumeControllerMasterMuteChanged        = "masterMuteChanged"
	MethodIVolumeControllerSetLayoutDirection       = "setLayoutDirection"
	MethodIVolumeControllerDismiss                  = "dismiss"
	MethodIVolumeControllerSetA11yMode              = "setA11yMode"
	MethodIVolumeControllerDisplayCsdWarning        = "displayCsdWarning"
)
View Source
const DescriptorIAudioDeviceVolumeDispatcher = "android.media.IAudioDeviceVolumeDispatcher"
View Source
const DescriptorIAudioFlingerClient = "android.media.IAudioFlingerClient"
View Source
const DescriptorIAudioFlingerService = "android.media.IAudioFlingerService"
View Source
const DescriptorIAudioFocusDispatcher = "android.media.IAudioFocusDispatcher"
View Source
const DescriptorIAudioModeDispatcher = "android.media.IAudioModeDispatcher"
View Source
const DescriptorIAudioPolicyService = "android.media.IAudioPolicyService"
View Source
const DescriptorIAudioPolicyServiceClient = "android.media.IAudioPolicyServiceClient"
View Source
const DescriptorIAudioRecord = "android.media.IAudioRecord"
View Source
const DescriptorIAudioRoutesObserver = "android.media.IAudioRoutesObserver"
View Source
const DescriptorIAudioServerStateDispatcher = "android.media.IAudioServerStateDispatcher"
View Source
const DescriptorIAudioService = "android.media.IAudioService"
View Source
const DescriptorIAudioTrack = "android.media.IAudioTrack"
View Source
const DescriptorIAudioTrackCallback = "android.media.IAudioTrackCallback"
View Source
const DescriptorICapturePresetDevicesRoleDispatcher = "android.media.ICapturePresetDevicesRoleDispatcher"
View Source
const DescriptorICaptureStateListener = "android.media.ICaptureStateListener"
View Source
const DescriptorICommunicationDeviceDispatcher = "android.media.ICommunicationDeviceDispatcher"
View Source
const DescriptorIDeviceVolumeBehaviorDispatcher = "android.media.IDeviceVolumeBehaviorDispatcher"
View Source
const DescriptorIDevicesForAttributesCallback = "android.media.IDevicesForAttributesCallback"
View Source
const DescriptorIEffect = "android.media.IEffect"
View Source
const DescriptorIEffectClient = "android.media.IEffectClient"
View Source
const DescriptorILoudnessCodecUpdatesDispatcher = "android.media.ILoudnessCodecUpdatesDispatcher"
View Source
const DescriptorIMediaHTTPConnection = "android.media.IMediaHTTPConnection"
View Source
const DescriptorIMediaHTTPService = "android.media.IMediaHTTPService"
View Source
const DescriptorIMediaMetricsService = "android.media.IMediaMetricsService"
View Source
const DescriptorIMediaResourceMonitor = "android.media.IMediaResourceMonitor"
View Source
const DescriptorIMediaRoute2ProviderService = "android.media.IMediaRoute2ProviderService"
View Source
const DescriptorIMediaRoute2ProviderServiceCallback = "android.media.IMediaRoute2ProviderServiceCallback"
View Source
const DescriptorIMediaRouter2 = "android.media.IMediaRouter2"
View Source
const DescriptorIMediaRouter2Manager = "android.media.IMediaRouter2Manager"
View Source
const DescriptorIMediaRouterClient = "android.media.IMediaRouterClient"
View Source
const DescriptorIMediaRouterService = "android.media.IMediaRouterService"
View Source
const DescriptorIMediaScannerListener = "android.media.IMediaScannerListener"
View Source
const DescriptorIMediaScannerService = "android.media.IMediaScannerService"
View Source
const DescriptorIMediaTranscodingService = "android.media.IMediaTranscodingService"
View Source
const DescriptorIMuteAwaitConnectionCallback = "android.media.IMuteAwaitConnectionCallback"
View Source
const DescriptorINativeSpatializerCallback = "android.media.INativeSpatializerCallback"
View Source
const DescriptorINearbyMediaDevicesProvider = "android.media.INearbyMediaDevicesProvider"
View Source
const DescriptorINearbyMediaDevicesUpdateCallback = "android.media.INearbyMediaDevicesUpdateCallback"
View Source
const DescriptorIPlaybackConfigDispatcher = "android.media.IPlaybackConfigDispatcher"
View Source
const DescriptorIPlayer = "android.media.IPlayer"
View Source
const DescriptorIPreferredMixerAttributesDispatcher = "android.media.IPreferredMixerAttributesDispatcher"
View Source
const DescriptorIRecordingConfigDispatcher = "android.media.IRecordingConfigDispatcher"
View Source
const DescriptorIRemoteDisplayCallback = "android.media.IRemoteDisplayCallback"
View Source
const DescriptorIRemoteDisplayProvider = "android.media.IRemoteDisplayProvider"
View Source
const DescriptorIRemoteSessionCallback = "android.media.IRemoteSessionCallback"
View Source
const DescriptorIRemoteVolumeObserver = "android.media.IRemoteVolumeObserver"
View Source
const DescriptorIResourceManagerClient = "android.media.IResourceManagerClient"
View Source
const DescriptorIResourceManagerService = "android.media.IResourceManagerService"
View Source
const DescriptorIResourceObserver = "android.media.IResourceObserver"
View Source
const DescriptorIResourceObserverService = "android.media.IResourceObserverService"
View Source
const DescriptorIRingtonePlayer = "android.media.IRingtonePlayer"
View Source
const DescriptorISoundDose = "android.media.ISoundDose"
View Source
const DescriptorISoundDoseCallback = "android.media.ISoundDoseCallback"
View Source
const DescriptorISpatializer = "android.media.ISpatializer"
View Source
const DescriptorISpatializerCallback = "android.media.ISpatializerCallback"
View Source
const DescriptorISpatializerHeadToSoundStagePoseCallback = "android.media.ISpatializerHeadToSoundStagePoseCallback"
View Source
const DescriptorISpatializerHeadTrackerAvailableCallback = "android.media.ISpatializerHeadTrackerAvailableCallback"
View Source
const DescriptorISpatializerHeadTrackingCallback = "android.media.ISpatializerHeadTrackingCallback"
View Source
const DescriptorISpatializerHeadTrackingModeCallback = "android.media.ISpatializerHeadTrackingModeCallback"
View Source
const DescriptorISpatializerOutputCallback = "android.media.ISpatializerOutputCallback"
View Source
const DescriptorIStrategyNonDefaultDevicesDispatcher = "android.media.IStrategyNonDefaultDevicesDispatcher"
View Source
const DescriptorIStrategyPreferredDevicesDispatcher = "android.media.IStrategyPreferredDevicesDispatcher"
View Source
const DescriptorIStreamAliasingDispatcher = "android.media.IStreamAliasingDispatcher"
View Source
const DescriptorITranscodingClient = "android.media.ITranscodingClient"
View Source
const DescriptorITranscodingClientCallback = "android.media.ITranscodingClientCallback"
View Source
const DescriptorIVolumeController = "android.media.IVolumeController"
View Source
const (
	MethodIAudioModeDispatcherDispatchAudioModeChanged = "dispatchAudioModeChanged"
)
View Source
const (
	MethodIAudioRoutesObserverDispatchAudioRoutesChanged = "dispatchAudioRoutesChanged"
)
View Source
const (
	MethodIAudioServerStateDispatcherDispatchAudioServerStateChange = "dispatchAudioServerStateChange"
)
View Source
const (
	MethodIAudioTrackCallbackOnCodecFormatChanged = "onCodecFormatChanged"
)
View Source
const (
	MethodICapturePresetDevicesRoleDispatcherDispatchDevicesRoleChanged = "dispatchDevicesRoleChanged"
)
View Source
const (
	MethodICaptureStateListenerSetCaptureState = "setCaptureState"
)
View Source
const (
	MethodICommunicationDeviceDispatcherDispatchCommunicationDeviceChanged = "dispatchCommunicationDeviceChanged"
)
View Source
const (
	MethodIDeviceVolumeBehaviorDispatcherDispatchDeviceVolumeBehaviorChanged = "dispatchDeviceVolumeBehaviorChanged"
)
View Source
const (
	MethodIDevicesForAttributesCallbackOnDevicesForAttributesChanged = "onDevicesForAttributesChanged"
)
View Source
const (
	MethodILoudnessCodecUpdatesDispatcherDispatchLoudnessCodecParameterChange = "dispatchLoudnessCodecParameterChange"
)
View Source
const (
	MethodIMediaHTTPServiceMakeHTTPConnection = "makeHTTPConnection"
)
View Source
const (
	MethodIMediaMetricsServiceSubmitBuffer = "submitBuffer"
)
View Source
const (
	MethodIMediaResourceMonitorNotifyResourceGranted = "notifyResourceGranted"
)
View Source
const (
	MethodIMediaScannerListenerScanCompleted = "scanCompleted"
)
View Source
const (
	MethodINearbyMediaDevicesUpdateCallbackOnDevicesUpdated = "onDevicesUpdated"
)
View Source
const (
	MethodIPlaybackConfigDispatcherDispatchPlaybackConfigChange = "dispatchPlaybackConfigChange"
)
View Source
const (
	MethodIPreferredMixerAttributesDispatcherDispatchPrefMixerAttributesChanged = "dispatchPrefMixerAttributesChanged"
)
View Source
const (
	MethodIRecordingConfigDispatcherDispatchRecordingConfigChange = "dispatchRecordingConfigChange"
)
View Source
const (
	MethodIRemoteDisplayCallbackOnStateChanged = "onStateChanged"
)
View Source
const (
	MethodIRemoteVolumeObserverDispatchRemoteVolumeUpdate = "dispatchRemoteVolumeUpdate"
)
View Source
const (
	MethodIResourceObserverOnStatusChanged = "onStatusChanged"
)
View Source
const (
	MethodISpatializerHeadToSoundStagePoseCallbackDispatchPoseChanged = "dispatchPoseChanged"
)
View Source
const (
	MethodISpatializerHeadTrackerAvailableCallbackDispatchSpatializerHeadTrackerAvailable = "dispatchSpatializerHeadTrackerAvailable"
)
View Source
const (
	MethodISpatializerOutputCallbackDispatchSpatializerOutputChanged = "dispatchSpatializerOutputChanged"
)
View Source
const (
	MethodIStrategyNonDefaultDevicesDispatcherDispatchNonDefDevicesChanged = "dispatchNonDefDevicesChanged"
)
View Source
const (
	MethodIStrategyPreferredDevicesDispatcherDispatchPrefDevicesChanged = "dispatchPrefDevicesChanged"
)
View Source
const (
	MethodIStreamAliasingDispatcherDispatchStreamAliasingChanged = "dispatchStreamAliasingChanged"
)
View Source
const (
	TransactionIAudioModeDispatcherDispatchAudioModeChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAudioRoutesObserverDispatchAudioRoutesChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAudioServerStateDispatcherDispatchAudioServerStateChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAudioTrackCallbackOnCodecFormatChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionICapturePresetDevicesRoleDispatcherDispatchDevicesRoleChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionICaptureStateListenerSetCaptureState = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionICommunicationDeviceDispatcherDispatchCommunicationDeviceChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIDeviceVolumeBehaviorDispatcherDispatchDeviceVolumeBehaviorChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIDevicesForAttributesCallbackOnDevicesForAttributesChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionILoudnessCodecUpdatesDispatcherDispatchLoudnessCodecParameterChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIMediaHTTPServiceMakeHTTPConnection = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIMediaMetricsServiceSubmitBuffer = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIMediaResourceMonitorNotifyResourceGranted = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIMediaScannerListenerScanCompleted = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionINearbyMediaDevicesUpdateCallbackOnDevicesUpdated = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIPlaybackConfigDispatcherDispatchPlaybackConfigChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIPreferredMixerAttributesDispatcherDispatchPrefMixerAttributesChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIRecordingConfigDispatcherDispatchRecordingConfigChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIRemoteDisplayCallbackOnStateChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIRemoteVolumeObserverDispatchRemoteVolumeUpdate = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIResourceObserverOnStatusChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionISpatializerHeadToSoundStagePoseCallbackDispatchPoseChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionISpatializerHeadTrackerAvailableCallbackDispatchSpatializerHeadTrackerAvailable = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionISpatializerOutputCallbackDispatchSpatializerOutputChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIStrategyNonDefaultDevicesDispatcherDispatchNonDefDevicesChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIStrategyPreferredDevicesDispatcherDispatchPrefDevicesChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIStreamAliasingDispatcherDispatchStreamAliasingChanged = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioAttributes

type AudioAttributes struct {
	Usage       int32
	ContentType int32
	Source      int32
	Flags       int32
}

func (*AudioAttributes) MarshalParcel

func (s *AudioAttributes) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioAttributes) UnmarshalParcel

func (s *AudioAttributes) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioAttributesEx

type AudioAttributesEx struct {
	Attributes AudioAttributes
	StreamType common.AudioStreamType
	GroupId    int32
}

func (*AudioAttributesEx) MarshalParcel

func (s *AudioAttributesEx) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioAttributesEx) UnmarshalParcel

func (s *AudioAttributesEx) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioClient

type AudioClient struct {
	ClientTid         int32
	AttributionSource content.AttributionSourceState
}

func (*AudioClient) MarshalParcel

func (s *AudioClient) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioClient) UnmarshalParcel

func (s *AudioClient) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioDeviceAttributes

type AudioDeviceAttributes struct {
	Role       int32
	Type       int32
	Address    string
	Name       string
	NativeType int32
}

func (*AudioDeviceAttributes) MarshalParcel

func (s *AudioDeviceAttributes) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioDeviceAttributes) UnmarshalParcel

func (s *AudioDeviceAttributes) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioDeviceVolumeDispatcherProxy

type AudioDeviceVolumeDispatcherProxy struct {
	Remote binder.IBinder
}

func NewAudioDeviceVolumeDispatcherProxy

func NewAudioDeviceVolumeDispatcherProxy(
	remote binder.IBinder,
) *AudioDeviceVolumeDispatcherProxy

func (*AudioDeviceVolumeDispatcherProxy) AsBinder

func (*AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeAdjusted

func (p *AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeAdjusted(
	ctx context.Context,
	device AudioDeviceAttributes,
	vol VolumeInfo,
	direction int32,
	mode int32,
) error

func (*AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeChanged

func (p *AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeChanged(
	ctx context.Context,
	device AudioDeviceAttributes,
	vol VolumeInfo,
) error

type AudioDeviceVolumeDispatcherStub

type AudioDeviceVolumeDispatcherStub struct {
	Impl      IAudioDeviceVolumeDispatcher
	Transport binder.VersionAwareTransport
}

AudioDeviceVolumeDispatcherStub dispatches incoming binder transactions to a typed IAudioDeviceVolumeDispatcher implementation.

func (*AudioDeviceVolumeDispatcherStub) Descriptor

func (s *AudioDeviceVolumeDispatcherStub) Descriptor() string

func (*AudioDeviceVolumeDispatcherStub) OnTransaction

type AudioDirectMode

type AudioDirectMode int32
const (
	AudioDirectModeNONE           AudioDirectMode = 0
	AudioDirectModeOFFLOAD        AudioDirectMode = 1
	AudioDirectModeOffloadGapless AudioDirectMode = 2
	AudioDirectModeBITSTREAM      AudioDirectMode = 4
)

type AudioFlingerClientProxy

type AudioFlingerClientProxy struct {
	Remote binder.IBinder
}

func NewAudioFlingerClientProxy

func NewAudioFlingerClientProxy(
	remote binder.IBinder,
) *AudioFlingerClientProxy

func (*AudioFlingerClientProxy) AsBinder

func (p *AudioFlingerClientProxy) AsBinder() binder.IBinder

func (*AudioFlingerClientProxy) IoConfigChanged

func (p *AudioFlingerClientProxy) IoConfigChanged(
	ctx context.Context,
	event AudioIoConfigEvent,
	ioDesc AudioIoDescriptor,
) error

func (*AudioFlingerClientProxy) OnSupportedLatencyModesChanged

func (p *AudioFlingerClientProxy) OnSupportedLatencyModesChanged(
	ctx context.Context,
	output int32,
	latencyModes []common.AudioLatencyMode,
) error

type AudioFlingerClientStub

type AudioFlingerClientStub struct {
	Impl      IAudioFlingerClient
	Transport binder.VersionAwareTransport
}

AudioFlingerClientStub dispatches incoming binder transactions to a typed IAudioFlingerClient implementation.

func (*AudioFlingerClientStub) Descriptor

func (s *AudioFlingerClientStub) Descriptor() string

func (*AudioFlingerClientStub) OnTransaction

func (s *AudioFlingerClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioFlingerServiceProxy

type AudioFlingerServiceProxy struct {
	Remote binder.IBinder
}

func NewAudioFlingerServiceProxy

func NewAudioFlingerServiceProxy(
	remote binder.IBinder,
) *AudioFlingerServiceProxy

func (*AudioFlingerServiceProxy) AcquireAudioSessionId

func (p *AudioFlingerServiceProxy) AcquireAudioSessionId(
	ctx context.Context,
	audioSession int32,
	pid int32,
	uid int32,
) error

func (*AudioFlingerServiceProxy) AsBinder

func (p *AudioFlingerServiceProxy) AsBinder() binder.IBinder

func (*AudioFlingerServiceProxy) AudioPolicyReady

func (p *AudioFlingerServiceProxy) AudioPolicyReady(
	ctx context.Context,
) error

func (*AudioFlingerServiceProxy) CloseInput

func (p *AudioFlingerServiceProxy) CloseInput(
	ctx context.Context,
	input int32,
) error

func (*AudioFlingerServiceProxy) CloseOutput

func (p *AudioFlingerServiceProxy) CloseOutput(
	ctx context.Context,
	output int32,
) error

func (*AudioFlingerServiceProxy) CreateAudioPatch

func (p *AudioFlingerServiceProxy) CreateAudioPatch(
	ctx context.Context,
	patch AudioPatchFw,
) (int32, error)

func (*AudioFlingerServiceProxy) CreateEffect

func (*AudioFlingerServiceProxy) CreateRecord

func (*AudioFlingerServiceProxy) CreateTrack

func (*AudioFlingerServiceProxy) Format

func (*AudioFlingerServiceProxy) FrameCount

func (p *AudioFlingerServiceProxy) FrameCount(
	ctx context.Context,
	ioHandle int32,
) (int64, error)

func (*AudioFlingerServiceProxy) FrameCountHAL

func (p *AudioFlingerServiceProxy) FrameCountHAL(
	ctx context.Context,
	ioHandle int32,
) (int64, error)

func (*AudioFlingerServiceProxy) GetAAudioHardwareBurstMinUsec

func (p *AudioFlingerServiceProxy) GetAAudioHardwareBurstMinUsec(
	ctx context.Context,
) (int32, error)

func (*AudioFlingerServiceProxy) GetAAudioMixerBurstCount

func (p *AudioFlingerServiceProxy) GetAAudioMixerBurstCount(
	ctx context.Context,
) (int32, error)

func (*AudioFlingerServiceProxy) GetAudioHwSyncForSession

func (p *AudioFlingerServiceProxy) GetAudioHwSyncForSession(
	ctx context.Context,
	sessionId int32,
) (int32, error)

func (*AudioFlingerServiceProxy) GetAudioMixPort

func (p *AudioFlingerServiceProxy) GetAudioMixPort(
	ctx context.Context,
	devicePort AudioPortFw,
	mixPort AudioPortFw,
) (AudioPortFw, error)

func (*AudioFlingerServiceProxy) GetAudioPolicyConfig

func (p *AudioFlingerServiceProxy) GetAudioPolicyConfig(
	ctx context.Context,
) (AudioPolicyConfig, error)

func (*AudioFlingerServiceProxy) GetAudioPort

func (p *AudioFlingerServiceProxy) GetAudioPort(
	ctx context.Context,
	port AudioPortFw,
) (AudioPortFw, error)

func (*AudioFlingerServiceProxy) GetEffectDescriptor

func (p *AudioFlingerServiceProxy) GetEffectDescriptor(
	ctx context.Context,
	effectUUID common.AudioUuid,
	typeUUID common.AudioUuid,
	preferredTypeFlag int32,
) (EffectDescriptor, error)

func (*AudioFlingerServiceProxy) GetInputBufferSize

func (p *AudioFlingerServiceProxy) GetInputBufferSize(
	ctx context.Context,
	sampleRate int32,
	format common.AudioFormatDescription,
	channelMask common.AudioChannelLayout,
) (int64, error)

func (*AudioFlingerServiceProxy) GetInputFramesLost

func (p *AudioFlingerServiceProxy) GetInputFramesLost(
	ctx context.Context,
	ioHandle int32,
) (int32, error)

func (*AudioFlingerServiceProxy) GetMasterBalance

func (p *AudioFlingerServiceProxy) GetMasterBalance(
	ctx context.Context,
) (float32, error)

func (*AudioFlingerServiceProxy) GetMicMute

func (p *AudioFlingerServiceProxy) GetMicMute(
	ctx context.Context,
) (bool, error)

func (*AudioFlingerServiceProxy) GetMicrophones

func (p *AudioFlingerServiceProxy) GetMicrophones(
	ctx context.Context,
) ([]MicrophoneInfoFw, error)

func (*AudioFlingerServiceProxy) GetMmapPolicyInfos

func (p *AudioFlingerServiceProxy) GetMmapPolicyInfos(
	ctx context.Context,
	policyType common.AudioMMapPolicyType,
) ([]common.AudioMMapPolicyInfo, error)

func (*AudioFlingerServiceProxy) GetParameters

func (p *AudioFlingerServiceProxy) GetParameters(
	ctx context.Context,
	ioHandle int32,
	keys string,
) (string, error)

func (*AudioFlingerServiceProxy) GetPrimaryOutputFrameCount

func (p *AudioFlingerServiceProxy) GetPrimaryOutputFrameCount(
	ctx context.Context,
) (int64, error)

func (*AudioFlingerServiceProxy) GetPrimaryOutputSamplingRate

func (p *AudioFlingerServiceProxy) GetPrimaryOutputSamplingRate(
	ctx context.Context,
) (int32, error)

func (*AudioFlingerServiceProxy) GetRenderPosition

func (p *AudioFlingerServiceProxy) GetRenderPosition(
	ctx context.Context,
	output int32,
) (RenderPosition, error)

func (*AudioFlingerServiceProxy) GetSoundDoseInterface

func (p *AudioFlingerServiceProxy) GetSoundDoseInterface(
	ctx context.Context,
	callback ISoundDoseCallback,
) (ISoundDose, error)

func (*AudioFlingerServiceProxy) GetSupportedLatencyModes

func (p *AudioFlingerServiceProxy) GetSupportedLatencyModes(
	ctx context.Context,
	output int32,
) ([]common.AudioLatencyMode, error)

func (*AudioFlingerServiceProxy) InvalidateTracks

func (p *AudioFlingerServiceProxy) InvalidateTracks(
	ctx context.Context,
	portIds []int32,
) error

func (*AudioFlingerServiceProxy) IsBluetoothVariableLatencyEnabled

func (p *AudioFlingerServiceProxy) IsBluetoothVariableLatencyEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioFlingerServiceProxy) Latency

func (p *AudioFlingerServiceProxy) Latency(
	ctx context.Context,
	output int32,
) (int32, error)

func (*AudioFlingerServiceProxy) ListAudioPatches

func (p *AudioFlingerServiceProxy) ListAudioPatches(
	ctx context.Context,
	maxCount int32,
) ([]AudioPatchFw, error)

func (*AudioFlingerServiceProxy) LoadHwModule

func (p *AudioFlingerServiceProxy) LoadHwModule(
	ctx context.Context,
	name string,
) (int32, error)

func (*AudioFlingerServiceProxy) MasterMute

func (p *AudioFlingerServiceProxy) MasterMute(
	ctx context.Context,
) (bool, error)

func (*AudioFlingerServiceProxy) MasterVolume

func (p *AudioFlingerServiceProxy) MasterVolume(
	ctx context.Context,
) (float32, error)

func (*AudioFlingerServiceProxy) MoveEffects

func (p *AudioFlingerServiceProxy) MoveEffects(
	ctx context.Context,
	session int32,
	srcOutput int32,
	dstOutput int32,
) error

func (*AudioFlingerServiceProxy) NewAudioUniqueId

func (p *AudioFlingerServiceProxy) NewAudioUniqueId(
	ctx context.Context,
	use AudioUniqueIdUse,
) (int32, error)

func (*AudioFlingerServiceProxy) OpenDuplicateOutput

func (p *AudioFlingerServiceProxy) OpenDuplicateOutput(
	ctx context.Context,
	output1 int32,
	output2 int32,
) (int32, error)

func (*AudioFlingerServiceProxy) OpenInput

func (*AudioFlingerServiceProxy) OpenOutput

func (*AudioFlingerServiceProxy) QueryEffect

func (p *AudioFlingerServiceProxy) QueryEffect(
	ctx context.Context,
	index int32,
) (EffectDescriptor, error)

func (*AudioFlingerServiceProxy) QueryNumberEffects

func (p *AudioFlingerServiceProxy) QueryNumberEffects(
	ctx context.Context,
) (int32, error)

func (*AudioFlingerServiceProxy) RegisterClient

func (p *AudioFlingerServiceProxy) RegisterClient(
	ctx context.Context,
	client IAudioFlingerClient,
) error

func (*AudioFlingerServiceProxy) ReleaseAudioPatch

func (p *AudioFlingerServiceProxy) ReleaseAudioPatch(
	ctx context.Context,
	handle int32,
) error

func (*AudioFlingerServiceProxy) ReleaseAudioSessionId

func (p *AudioFlingerServiceProxy) ReleaseAudioSessionId(
	ctx context.Context,
	audioSession int32,
	pid int32,
) error

func (*AudioFlingerServiceProxy) RestoreOutput

func (p *AudioFlingerServiceProxy) RestoreOutput(
	ctx context.Context,
	output int32,
) error

func (*AudioFlingerServiceProxy) SampleRate

func (p *AudioFlingerServiceProxy) SampleRate(
	ctx context.Context,
	ioHandle int32,
) (int32, error)

func (*AudioFlingerServiceProxy) SetAudioHalPids

func (p *AudioFlingerServiceProxy) SetAudioHalPids(
	ctx context.Context,
	pids []int32,
) error

func (*AudioFlingerServiceProxy) SetAudioPortConfig

func (p *AudioFlingerServiceProxy) SetAudioPortConfig(
	ctx context.Context,
	config AudioPortConfigFw,
) error

func (*AudioFlingerServiceProxy) SetBluetoothVariableLatencyEnabled

func (p *AudioFlingerServiceProxy) SetBluetoothVariableLatencyEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioFlingerServiceProxy) SetDeviceConnectedState

func (p *AudioFlingerServiceProxy) SetDeviceConnectedState(
	ctx context.Context,
	devicePort AudioPortFw,
	state DeviceConnectedState,
) error

func (*AudioFlingerServiceProxy) SetEffectSuspended

func (p *AudioFlingerServiceProxy) SetEffectSuspended(
	ctx context.Context,
	effectId int32,
	sessionId int32,
	suspended bool,
) error

func (*AudioFlingerServiceProxy) SetLowRamDevice

func (p *AudioFlingerServiceProxy) SetLowRamDevice(
	ctx context.Context,
	isLowRamDevice bool,
	totalMemory int64,
) error

func (*AudioFlingerServiceProxy) SetMasterBalance

func (p *AudioFlingerServiceProxy) SetMasterBalance(
	ctx context.Context,
	balance float32,
) error

func (*AudioFlingerServiceProxy) SetMasterMute

func (p *AudioFlingerServiceProxy) SetMasterMute(
	ctx context.Context,
	muted bool,
) error

func (*AudioFlingerServiceProxy) SetMasterVolume

func (p *AudioFlingerServiceProxy) SetMasterVolume(
	ctx context.Context,
	value float32,
) error

func (*AudioFlingerServiceProxy) SetMicMute

func (p *AudioFlingerServiceProxy) SetMicMute(
	ctx context.Context,
	state bool,
) error

func (*AudioFlingerServiceProxy) SetMode

func (p *AudioFlingerServiceProxy) SetMode(
	ctx context.Context,
	mode common.AudioMode,
) error

func (*AudioFlingerServiceProxy) SetParameters

func (p *AudioFlingerServiceProxy) SetParameters(
	ctx context.Context,
	ioHandle int32,
	keyValuePairs string,
) error

func (*AudioFlingerServiceProxy) SetRecordSilenced

func (p *AudioFlingerServiceProxy) SetRecordSilenced(
	ctx context.Context,
	portId int32,
	silenced bool,
) error

func (*AudioFlingerServiceProxy) SetRequestedLatencyMode

func (p *AudioFlingerServiceProxy) SetRequestedLatencyMode(
	ctx context.Context,
	output int32,
	latencyMode common.AudioLatencyMode,
) error

func (*AudioFlingerServiceProxy) SetSimulateDeviceConnections

func (p *AudioFlingerServiceProxy) SetSimulateDeviceConnections(
	ctx context.Context,
	enabled bool,
) error

func (*AudioFlingerServiceProxy) SetStreamMute

func (p *AudioFlingerServiceProxy) SetStreamMute(
	ctx context.Context,
	stream common.AudioStreamType,
	muted bool,
) error

func (*AudioFlingerServiceProxy) SetStreamVolume

func (p *AudioFlingerServiceProxy) SetStreamVolume(
	ctx context.Context,
	stream common.AudioStreamType,
	value float32,
	output int32,
) error

func (*AudioFlingerServiceProxy) SetVibratorInfos

func (p *AudioFlingerServiceProxy) SetVibratorInfos(
	ctx context.Context,
	vibratorInfos []AudioVibratorInfo,
) error

func (*AudioFlingerServiceProxy) SetVoiceVolume

func (p *AudioFlingerServiceProxy) SetVoiceVolume(
	ctx context.Context,
	volume float32,
) error

func (*AudioFlingerServiceProxy) StreamMute

func (p *AudioFlingerServiceProxy) StreamMute(
	ctx context.Context,
	stream common.AudioStreamType,
) (bool, error)

func (*AudioFlingerServiceProxy) StreamVolume

func (p *AudioFlingerServiceProxy) StreamVolume(
	ctx context.Context,
	stream common.AudioStreamType,
	output int32,
) (float32, error)

func (*AudioFlingerServiceProxy) SupportsBluetoothVariableLatency

func (p *AudioFlingerServiceProxy) SupportsBluetoothVariableLatency(
	ctx context.Context,
) (bool, error)

func (*AudioFlingerServiceProxy) SuspendOutput

func (p *AudioFlingerServiceProxy) SuspendOutput(
	ctx context.Context,
	output int32,
) error

func (*AudioFlingerServiceProxy) SystemReady

func (p *AudioFlingerServiceProxy) SystemReady(
	ctx context.Context,
) error

func (*AudioFlingerServiceProxy) UpdateSecondaryOutputs

func (p *AudioFlingerServiceProxy) UpdateSecondaryOutputs(
	ctx context.Context,
	trackSecondaryOutputInfos []TrackSecondaryOutputInfo,
) error

type AudioFlingerServiceStub

type AudioFlingerServiceStub struct {
	Impl      IAudioFlingerService
	Transport binder.VersionAwareTransport
}

AudioFlingerServiceStub dispatches incoming binder transactions to a typed IAudioFlingerService implementation.

func (*AudioFlingerServiceStub) Descriptor

func (s *AudioFlingerServiceStub) Descriptor() string

func (*AudioFlingerServiceStub) OnTransaction

func (s *AudioFlingerServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioFocusDispatcherProxy

type AudioFocusDispatcherProxy struct {
	Remote binder.IBinder
}

func NewAudioFocusDispatcherProxy

func NewAudioFocusDispatcherProxy(
	remote binder.IBinder,
) *AudioFocusDispatcherProxy

func (*AudioFocusDispatcherProxy) AsBinder

func (*AudioFocusDispatcherProxy) DispatchAudioFocusChange

func (p *AudioFocusDispatcherProxy) DispatchAudioFocusChange(
	ctx context.Context,
	focusChange int32,
	clientId string,
) error

func (*AudioFocusDispatcherProxy) DispatchFocusResultFromExtPolicy

func (p *AudioFocusDispatcherProxy) DispatchFocusResultFromExtPolicy(
	ctx context.Context,
	requestResult int32,
	clientId string,
) error

type AudioFocusDispatcherStub

type AudioFocusDispatcherStub struct {
	Impl      IAudioFocusDispatcher
	Transport binder.VersionAwareTransport
}

AudioFocusDispatcherStub dispatches incoming binder transactions to a typed IAudioFocusDispatcher implementation.

func (*AudioFocusDispatcherStub) Descriptor

func (s *AudioFocusDispatcherStub) Descriptor() string

func (*AudioFocusDispatcherStub) OnTransaction

func (s *AudioFocusDispatcherStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioFocusInfo

type AudioFocusInfo struct {
	ClientUid    int32
	ClientId     string
	PackageName  string
	GainRequest  int32
	LossReceived int32
	Flags        int32
	SdkTarget    int32
	GenCount     int64
}

func (*AudioFocusInfo) MarshalParcel

func (s *AudioFocusInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioFocusInfo) UnmarshalParcel

func (s *AudioFocusInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioFormat

type AudioFormat struct {
	PropertySetMask  int32
	Encoding         int32
	SampleRate       int32
	ChannelMask      int32
	ChannelIndexMask int32
}

func (*AudioFormat) MarshalParcel

func (s *AudioFormat) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioFormat) UnmarshalParcel

func (s *AudioFormat) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioGainSys

type AudioGainSys struct {
	Index   int32
	IsInput bool
}

func (*AudioGainSys) MarshalParcel

func (s *AudioGainSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioGainSys) UnmarshalParcel

func (s *AudioGainSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioHalVersion

type AudioHalVersion struct {
	Type  AudioHalVersionType
	Major int32
	Minor int32
}

func (*AudioHalVersion) MarshalParcel

func (s *AudioHalVersion) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioHalVersion) UnmarshalParcel

func (s *AudioHalVersion) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioHalVersionInfo

type AudioHalVersionInfo struct {
}

func (*AudioHalVersionInfo) MarshalParcel

func (s *AudioHalVersionInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioHalVersionInfo) UnmarshalParcel

func (s *AudioHalVersionInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioHalVersionType

type AudioHalVersionType int32
const (
	AudioHalVersionTypeHIDL AudioHalVersionType = 0
	AudioHalVersionTypeAIDL AudioHalVersionType = 1
)

type AudioHwModule

type AudioHwModule struct {
	Handle int32
	Name   string
	Ports  []common.AudioPort
	Routes []AudioRoute
}

func (*AudioHwModule) MarshalParcel

func (s *AudioHwModule) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioHwModule) UnmarshalParcel

func (s *AudioHwModule) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioIoConfigEvent

type AudioIoConfigEvent int32
const (
	AudioIoConfigEventOutputRegistered    AudioIoConfigEvent = 0
	AudioIoConfigEventOutputOpened        AudioIoConfigEvent = 1
	AudioIoConfigEventOutputClosed        AudioIoConfigEvent = 2
	AudioIoConfigEventOutputConfigChanged AudioIoConfigEvent = 3
	AudioIoConfigEventInputRegistered     AudioIoConfigEvent = 4
	AudioIoConfigEventInputOpened         AudioIoConfigEvent = 5
	AudioIoConfigEventInputClosed         AudioIoConfigEvent = 6
	AudioIoConfigEventInputConfigChanged  AudioIoConfigEvent = 7
	AudioIoConfigEventClientStarted       AudioIoConfigEvent = 8
)

type AudioIoDescriptor

type AudioIoDescriptor struct {
	IoHandle      int32
	Patch         AudioPatchFw
	IsInput       bool
	SamplingRate  int32
	Format        common.AudioFormatDescription
	ChannelMask   common.AudioChannelLayout
	FrameCount    int64
	FrameCountHAL int64
	Latency       int32
	PortId        int32
}

func (*AudioIoDescriptor) MarshalParcel

func (s *AudioIoDescriptor) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioIoDescriptor) UnmarshalParcel

func (s *AudioIoDescriptor) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMix

type AudioMix struct {
	Criteria                            []AudioMixMatchCriterion
	MixType                             AudioMixType
	Format                              common.AudioConfig
	RouteFlags                          int32
	Device                              common.AudioDevice
	CbFlags                             int32
	AllowPrivilegedMediaPlaybackCapture bool
	VoiceCommunicationCaptureAllowed    bool
	MToken                              binder.IBinder
}

func (*AudioMix) MarshalParcel

func (s *AudioMix) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMix) UnmarshalParcel

func (s *AudioMix) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixCallbackFlag

type AudioMixCallbackFlag int32
const (
	AudioMixCallbackFlagNotifyActivity AudioMixCallbackFlag = 0
)

type AudioMixMatchCriterion

type AudioMixMatchCriterion struct {
	Invert bool
	Value  AudioMixMatchCriterionValue
}

func (*AudioMixMatchCriterion) MarshalParcel

func (s *AudioMixMatchCriterion) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMixMatchCriterion) UnmarshalParcel

func (s *AudioMixMatchCriterion) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixMatchCriterionValue

type AudioMixMatchCriterionValue struct {
	Tag            int32
	Usage          common.AudioUsage
	Source         common.AudioSource
	Uid            int32
	UserId         int32
	AudioSessionId int32
}

func (*AudioMixMatchCriterionValue) GetAudioSessionId

func (u *AudioMixMatchCriterionValue) GetAudioSessionId() (int32, bool)

func (*AudioMixMatchCriterionValue) GetSource

func (*AudioMixMatchCriterionValue) GetUid

func (u *AudioMixMatchCriterionValue) GetUid() (int32, bool)

func (*AudioMixMatchCriterionValue) GetUsage

func (*AudioMixMatchCriterionValue) GetUserId

func (u *AudioMixMatchCriterionValue) GetUserId() (int32, bool)

func (*AudioMixMatchCriterionValue) MarshalParcel

func (u *AudioMixMatchCriterionValue) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMixMatchCriterionValue) SetAudioSessionId

func (u *AudioMixMatchCriterionValue) SetAudioSessionId(
	v int32,
)

func (*AudioMixMatchCriterionValue) SetSource

func (u *AudioMixMatchCriterionValue) SetSource(
	v common.AudioSource,
)

func (*AudioMixMatchCriterionValue) SetUid

func (u *AudioMixMatchCriterionValue) SetUid(
	v int32,
)

func (*AudioMixMatchCriterionValue) SetUsage

func (u *AudioMixMatchCriterionValue) SetUsage(
	v common.AudioUsage,
)

func (*AudioMixMatchCriterionValue) SetUserId

func (u *AudioMixMatchCriterionValue) SetUserId(
	v int32,
)

func (*AudioMixMatchCriterionValue) UnmarshalParcel

func (u *AudioMixMatchCriterionValue) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixRouteFlag

type AudioMixRouteFlag int32
const (
	AudioMixRouteFlagRENDER   AudioMixRouteFlag = 0
	AudioMixRouteFlagLoopBack AudioMixRouteFlag = 1
)

type AudioMixType

type AudioMixType int32
const (
	AudioMixTypePLAYERS   AudioMixType = 0
	AudioMixTypeRECORDERS AudioMixType = 1
)

type AudioMixUpdate

type AudioMixUpdate struct {
	AudioMix    AudioMix
	NewCriteria []AudioMixMatchCriterion
}

func (*AudioMixUpdate) MarshalParcel

func (s *AudioMixUpdate) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMixUpdate) UnmarshalParcel

func (s *AudioMixUpdate) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixerAttributes

type AudioMixerAttributes struct {
	MixerBehavior int32
}

func (*AudioMixerAttributes) MarshalParcel

func (s *AudioMixerAttributes) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMixerAttributes) UnmarshalParcel

func (s *AudioMixerAttributes) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixerAttributesInternal

type AudioMixerAttributesInternal struct {
	Config        common.AudioConfigBase
	MixerBehavior AudioMixerBehavior
}

func (*AudioMixerAttributesInternal) MarshalParcel

func (s *AudioMixerAttributesInternal) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioMixerAttributesInternal) UnmarshalParcel

func (s *AudioMixerAttributesInternal) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioMixerBehavior

type AudioMixerBehavior int32
const (
	AudioMixerBehaviorINVALID    AudioMixerBehavior = -1
	AudioMixerBehaviorDEFAULT    AudioMixerBehavior = 0
	AudioMixerBehaviorBitPerfect AudioMixerBehavior = 1
)

type AudioModeDispatcherProxy

type AudioModeDispatcherProxy struct {
	Remote binder.IBinder
}

func NewAudioModeDispatcherProxy

func NewAudioModeDispatcherProxy(
	remote binder.IBinder,
) *AudioModeDispatcherProxy

func (*AudioModeDispatcherProxy) AsBinder

func (p *AudioModeDispatcherProxy) AsBinder() binder.IBinder

func (*AudioModeDispatcherProxy) DispatchAudioModeChanged

func (p *AudioModeDispatcherProxy) DispatchAudioModeChanged(
	ctx context.Context,
	mode int32,
) error

type AudioModeDispatcherStub

type AudioModeDispatcherStub struct {
	Impl      IAudioModeDispatcher
	Transport binder.VersionAwareTransport
}

AudioModeDispatcherStub dispatches incoming binder transactions to a typed IAudioModeDispatcher implementation.

func (*AudioModeDispatcherStub) Descriptor

func (s *AudioModeDispatcherStub) Descriptor() string

func (*AudioModeDispatcherStub) OnTransaction

func (s *AudioModeDispatcherStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioOffloadMode

type AudioOffloadMode int32
const (
	AudioOffloadModeNotSupported     AudioOffloadMode = 0
	AudioOffloadModeSUPPORTED        AudioOffloadMode = 1
	AudioOffloadModeGaplessSupported AudioOffloadMode = 2
)

type AudioPatchFw

type AudioPatchFw struct {
	Id      int32
	Sources []AudioPortConfigFw
	Sinks   []AudioPortConfigFw
}

func (*AudioPatchFw) MarshalParcel

func (s *AudioPatchFw) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPatchFw) UnmarshalParcel

func (s *AudioPatchFw) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPlaybackConfiguration

type AudioPlaybackConfiguration struct {
}

func (*AudioPlaybackConfiguration) MarshalParcel

func (s *AudioPlaybackConfiguration) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPlaybackConfiguration) UnmarshalParcel

func (s *AudioPlaybackConfiguration) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPolicyConfig

type AudioPolicyConfig struct {
	Modules             []AudioHwModule
	SupportedModes      []common.AudioMode
	SurroundSoundConfig SurroundSoundConfig
	EngineConfig        common.AudioHalEngineConfig
}

func (*AudioPolicyConfig) MarshalParcel

func (s *AudioPolicyConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPolicyConfig) UnmarshalParcel

func (s *AudioPolicyConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPolicyDeviceState

type AudioPolicyDeviceState int32
const (
	AudioPolicyDeviceStateUNAVAILABLE AudioPolicyDeviceState = 0
	AudioPolicyDeviceStateAVAILABLE   AudioPolicyDeviceState = 1
)

type AudioPolicyForceUse

type AudioPolicyForceUse int32
const (
	AudioPolicyForceUseCOMMUNICATION   AudioPolicyForceUse = 0
	AudioPolicyForceUseMEDIA           AudioPolicyForceUse = 1
	AudioPolicyForceUseRECORD          AudioPolicyForceUse = 2
	AudioPolicyForceUseDOCK            AudioPolicyForceUse = 3
	AudioPolicyForceUseSYSTEM          AudioPolicyForceUse = 4
	AudioPolicyForceUseHdmiSystemAudio AudioPolicyForceUse = 5
	AudioPolicyForceUseEncodedSurround AudioPolicyForceUse = 6
	AudioPolicyForceUseVibrateRinging  AudioPolicyForceUse = 7
)

type AudioPolicyForcedConfig

type AudioPolicyForcedConfig int32
const (
	AudioPolicyForcedConfigNONE                    AudioPolicyForcedConfig = 0
	AudioPolicyForcedConfigSPEAKER                 AudioPolicyForcedConfig = 1
	AudioPolicyForcedConfigHEADPHONES              AudioPolicyForcedConfig = 2
	AudioPolicyForcedConfigBtSco                   AudioPolicyForcedConfig = 3
	AudioPolicyForcedConfigBtA2dp                  AudioPolicyForcedConfig = 4
	AudioPolicyForcedConfigWiredAccessory          AudioPolicyForcedConfig = 5
	AudioPolicyForcedConfigBtCarDock               AudioPolicyForcedConfig = 6
	AudioPolicyForcedConfigBtDeskDock              AudioPolicyForcedConfig = 7
	AudioPolicyForcedConfigAnalogDock              AudioPolicyForcedConfig = 8
	AudioPolicyForcedConfigDigitalDock             AudioPolicyForcedConfig = 9
	AudioPolicyForcedConfigNoBtA2dp                AudioPolicyForcedConfig = 10
	AudioPolicyForcedConfigSystemEnforced          AudioPolicyForcedConfig = 11
	AudioPolicyForcedConfigHdmiSystemAudioEnforced AudioPolicyForcedConfig = 12
	AudioPolicyForcedConfigEncodedSurroundNever    AudioPolicyForcedConfig = 13
	AudioPolicyForcedConfigEncodedSurroundAlways   AudioPolicyForcedConfig = 14
	AudioPolicyForcedConfigEncodedSurroundManual   AudioPolicyForcedConfig = 15
)

type AudioPolicyServiceClientProxy

type AudioPolicyServiceClientProxy struct {
	Remote binder.IBinder
}

func NewAudioPolicyServiceClientProxy

func NewAudioPolicyServiceClientProxy(
	remote binder.IBinder,
) *AudioPolicyServiceClientProxy

func (*AudioPolicyServiceClientProxy) AsBinder

func (*AudioPolicyServiceClientProxy) OnAudioPatchListUpdate

func (p *AudioPolicyServiceClientProxy) OnAudioPatchListUpdate(
	ctx context.Context,
) error

func (*AudioPolicyServiceClientProxy) OnAudioPortListUpdate

func (p *AudioPolicyServiceClientProxy) OnAudioPortListUpdate(
	ctx context.Context,
) error

func (*AudioPolicyServiceClientProxy) OnAudioVolumeGroupChanged

func (p *AudioPolicyServiceClientProxy) OnAudioVolumeGroupChanged(
	ctx context.Context,
	group int32,
	flags int32,
) error

func (*AudioPolicyServiceClientProxy) OnDynamicPolicyMixStateUpdate

func (p *AudioPolicyServiceClientProxy) OnDynamicPolicyMixStateUpdate(
	ctx context.Context,
	regId string,
	state int32,
) error

func (*AudioPolicyServiceClientProxy) OnRecordingConfigurationUpdate

func (p *AudioPolicyServiceClientProxy) OnRecordingConfigurationUpdate(
	ctx context.Context,
	event int32,
	clientInfo RecordClientInfo,
	clientConfig common.AudioConfigBase,
	clientEffects []EffectDescriptor,
	deviceConfig common.AudioConfigBase,
	effects []EffectDescriptor,
	patchHandle int32,
	source common.AudioSource,
) error

func (*AudioPolicyServiceClientProxy) OnRoutingUpdated

func (p *AudioPolicyServiceClientProxy) OnRoutingUpdated(
	ctx context.Context,
) error

func (*AudioPolicyServiceClientProxy) OnVolumeRangeInitRequest

func (p *AudioPolicyServiceClientProxy) OnVolumeRangeInitRequest(
	ctx context.Context,
) error

type AudioPolicyServiceClientStub

type AudioPolicyServiceClientStub struct {
	Impl      IAudioPolicyServiceClient
	Transport binder.VersionAwareTransport
}

AudioPolicyServiceClientStub dispatches incoming binder transactions to a typed IAudioPolicyServiceClient implementation.

func (*AudioPolicyServiceClientStub) Descriptor

func (s *AudioPolicyServiceClientStub) Descriptor() string

func (*AudioPolicyServiceClientStub) OnTransaction

type AudioPolicyServiceProxy

type AudioPolicyServiceProxy struct {
	Remote binder.IBinder
}

func NewAudioPolicyServiceProxy

func NewAudioPolicyServiceProxy(
	remote binder.IBinder,
) *AudioPolicyServiceProxy

func (*AudioPolicyServiceProxy) AcquireSoundTriggerSession

func (p *AudioPolicyServiceProxy) AcquireSoundTriggerSession(
	ctx context.Context,
) (SoundTriggerSession, error)

func (*AudioPolicyServiceProxy) AddDevicesRoleForCapturePreset

func (p *AudioPolicyServiceProxy) AddDevicesRoleForCapturePreset(
	ctx context.Context,
	audioSource common.AudioSource,
	role DeviceRole,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) AddSourceDefaultEffect

func (p *AudioPolicyServiceProxy) AddSourceDefaultEffect(
	ctx context.Context,
	type_ common.AudioUuid,
	uuid common.AudioUuid,
	priority int32,
	source common.AudioSource,
) (int32, error)

func (*AudioPolicyServiceProxy) AddStreamDefaultEffect

func (p *AudioPolicyServiceProxy) AddStreamDefaultEffect(
	ctx context.Context,
	type_ common.AudioUuid,
	uuid common.AudioUuid,
	priority int32,
	usage common.AudioUsage,
) (int32, error)

func (*AudioPolicyServiceProxy) AsBinder

func (p *AudioPolicyServiceProxy) AsBinder() binder.IBinder

func (*AudioPolicyServiceProxy) CanBeSpatialized

func (p *AudioPolicyServiceProxy) CanBeSpatialized(
	ctx context.Context,
	attr *AudioAttributes,
	config *common.AudioConfig,
	devices []common.AudioDevice,
) (bool, error)

func (*AudioPolicyServiceProxy) ClearDevicesRoleForCapturePreset

func (p *AudioPolicyServiceProxy) ClearDevicesRoleForCapturePreset(
	ctx context.Context,
	audioSource common.AudioSource,
	role DeviceRole,
) error

func (*AudioPolicyServiceProxy) ClearDevicesRoleForStrategy

func (p *AudioPolicyServiceProxy) ClearDevicesRoleForStrategy(
	ctx context.Context,
	strategy int32,
	role DeviceRole,
) error

func (*AudioPolicyServiceProxy) ClearPreferredMixerAttributes

func (p *AudioPolicyServiceProxy) ClearPreferredMixerAttributes(
	ctx context.Context,
	attr AudioAttributes,
	portId int32,
	uid int32,
) error

func (*AudioPolicyServiceProxy) CreateAudioPatch

func (p *AudioPolicyServiceProxy) CreateAudioPatch(
	ctx context.Context,
	patch AudioPatchFw,
	handle int32,
) (int32, error)

func (*AudioPolicyServiceProxy) GetAudioPort

func (p *AudioPolicyServiceProxy) GetAudioPort(
	ctx context.Context,
	portId int32,
) (AudioPortFw, error)

func (*AudioPolicyServiceProxy) GetDeviceConnectionState

func (p *AudioPolicyServiceProxy) GetDeviceConnectionState(
	ctx context.Context,
	device common.AudioDevice,
) (AudioPolicyDeviceState, error)

func (*AudioPolicyServiceProxy) GetDevicesForAttributes

func (p *AudioPolicyServiceProxy) GetDevicesForAttributes(
	ctx context.Context,
	attr AudioAttributes,
	forVolume bool,
) ([]common.AudioDevice, error)

func (*AudioPolicyServiceProxy) GetDevicesForRoleAndCapturePreset

func (p *AudioPolicyServiceProxy) GetDevicesForRoleAndCapturePreset(
	ctx context.Context,
	audioSource common.AudioSource,
	role DeviceRole,
) ([]common.AudioDevice, error)

func (*AudioPolicyServiceProxy) GetDevicesForRoleAndStrategy

func (p *AudioPolicyServiceProxy) GetDevicesForRoleAndStrategy(
	ctx context.Context,
	strategy int32,
	role DeviceRole,
) ([]common.AudioDevice, error)

func (*AudioPolicyServiceProxy) GetDirectPlaybackSupport

func (p *AudioPolicyServiceProxy) GetDirectPlaybackSupport(
	ctx context.Context,
	attr AudioAttributes,
	config common.AudioConfig,
) (AudioDirectMode, error)

func (*AudioPolicyServiceProxy) GetDirectProfilesForAttributes

func (p *AudioPolicyServiceProxy) GetDirectProfilesForAttributes(
	ctx context.Context,
	attr AudioAttributes,
) ([]common.AudioProfile, error)

func (*AudioPolicyServiceProxy) GetForceUse

func (*AudioPolicyServiceProxy) GetHwOffloadFormatsSupportedForBluetoothMedia

func (p *AudioPolicyServiceProxy) GetHwOffloadFormatsSupportedForBluetoothMedia(
	ctx context.Context,
	device common.AudioDeviceDescription,
) ([]common.AudioFormatDescription, error)

func (*AudioPolicyServiceProxy) GetInputForAttr

func (p *AudioPolicyServiceProxy) GetInputForAttr(
	ctx context.Context,
	attr AudioAttributes,
	input int32,
	riid int32,
	session int32,
	attributionSource content.AttributionSourceState,
	config common.AudioConfigBase,
	flags int32,
	selectedDeviceId int32,
) (GetInputForAttrResponse, error)

func (*AudioPolicyServiceProxy) GetMasterMono

func (p *AudioPolicyServiceProxy) GetMasterMono(
	ctx context.Context,
) (bool, error)

func (*AudioPolicyServiceProxy) GetMaxVolumeIndexForAttributes

func (p *AudioPolicyServiceProxy) GetMaxVolumeIndexForAttributes(
	ctx context.Context,
	attr AudioAttributes,
) (int32, error)

func (*AudioPolicyServiceProxy) GetMinVolumeIndexForAttributes

func (p *AudioPolicyServiceProxy) GetMinVolumeIndexForAttributes(
	ctx context.Context,
	attr AudioAttributes,
) (int32, error)

func (*AudioPolicyServiceProxy) GetOffloadSupport

func (*AudioPolicyServiceProxy) GetOutput

func (p *AudioPolicyServiceProxy) GetOutput(
	ctx context.Context,
	stream common.AudioStreamType,
) (int32, error)

func (*AudioPolicyServiceProxy) GetOutputForAttr

func (p *AudioPolicyServiceProxy) GetOutputForAttr(
	ctx context.Context,
	attr AudioAttributes,
	session int32,
	attributionSource content.AttributionSourceState,
	config common.AudioConfig,
	flags int32,
	selectedDeviceId int32,
) (GetOutputForAttrResponse, error)

func (*AudioPolicyServiceProxy) GetOutputForEffect

func (p *AudioPolicyServiceProxy) GetOutputForEffect(
	ctx context.Context,
	desc EffectDescriptor,
) (int32, error)

func (*AudioPolicyServiceProxy) GetPhoneState

func (p *AudioPolicyServiceProxy) GetPhoneState(
	ctx context.Context,
) (common.AudioMode, error)

func (*AudioPolicyServiceProxy) GetPreferredMixerAttributes

func (p *AudioPolicyServiceProxy) GetPreferredMixerAttributes(
	ctx context.Context,
	attr AudioAttributes,
	portId int32,
) (AudioMixerAttributesInternal, error)

func (*AudioPolicyServiceProxy) GetProductStrategyFromAudioAttributes

func (p *AudioPolicyServiceProxy) GetProductStrategyFromAudioAttributes(
	ctx context.Context,
	aa AudioAttributes,
	fallbackOnDefault bool,
) (int32, error)

func (*AudioPolicyServiceProxy) GetRegisteredPolicyMixes

func (p *AudioPolicyServiceProxy) GetRegisteredPolicyMixes(
	ctx context.Context,
) ([]AudioMix, error)

func (*AudioPolicyServiceProxy) GetReportedSurroundFormats

func (p *AudioPolicyServiceProxy) GetReportedSurroundFormats(
	ctx context.Context,
	count common.Int,
	formats []common.AudioFormatDescription,
) error

func (*AudioPolicyServiceProxy) GetSpatializer

func (*AudioPolicyServiceProxy) GetStrategyForStream

func (p *AudioPolicyServiceProxy) GetStrategyForStream(
	ctx context.Context,
	stream common.AudioStreamType,
) (int32, error)

func (*AudioPolicyServiceProxy) GetStreamVolumeDB

func (p *AudioPolicyServiceProxy) GetStreamVolumeDB(
	ctx context.Context,
	stream common.AudioStreamType,
	index int32,
	device common.AudioDeviceDescription,
) (float32, error)

func (*AudioPolicyServiceProxy) GetStreamVolumeIndex

func (p *AudioPolicyServiceProxy) GetStreamVolumeIndex(
	ctx context.Context,
	stream common.AudioStreamType,
	device common.AudioDeviceDescription,
) (int32, error)

func (*AudioPolicyServiceProxy) GetSupportedMixerAttributes

func (p *AudioPolicyServiceProxy) GetSupportedMixerAttributes(
	ctx context.Context,
	portId int32,
) ([]AudioMixerAttributesInternal, error)

func (*AudioPolicyServiceProxy) GetSurroundFormats

func (p *AudioPolicyServiceProxy) GetSurroundFormats(
	ctx context.Context,
	count common.Int,
	formats []common.AudioFormatDescription,
	formatsEnabled []bool,
) error

func (*AudioPolicyServiceProxy) GetVolumeGroupFromAudioAttributes

func (p *AudioPolicyServiceProxy) GetVolumeGroupFromAudioAttributes(
	ctx context.Context,
	aa AudioAttributes,
	fallbackOnDefault bool,
) (int32, error)

func (*AudioPolicyServiceProxy) GetVolumeIndexForAttributes

func (p *AudioPolicyServiceProxy) GetVolumeIndexForAttributes(
	ctx context.Context,
	attr AudioAttributes,
	device common.AudioDeviceDescription,
) (int32, error)

func (*AudioPolicyServiceProxy) HandleDeviceConfigChange

func (p *AudioPolicyServiceProxy) HandleDeviceConfigChange(
	ctx context.Context,
	device common.AudioDevice,
	deviceName string,
	encodedFormat common.AudioFormatDescription,
) error

func (*AudioPolicyServiceProxy) InitStreamVolume

func (p *AudioPolicyServiceProxy) InitStreamVolume(
	ctx context.Context,
	stream common.AudioStreamType,
	indexMin int32,
	indexMax int32,
) error

func (*AudioPolicyServiceProxy) IsCallScreenModeSupported

func (p *AudioPolicyServiceProxy) IsCallScreenModeSupported(
	ctx context.Context,
) (bool, error)

func (*AudioPolicyServiceProxy) IsDirectOutputSupported

func (p *AudioPolicyServiceProxy) IsDirectOutputSupported(
	ctx context.Context,
	config common.AudioConfigBase,
	attributes AudioAttributes,
) (bool, error)

func (*AudioPolicyServiceProxy) IsHapticPlaybackSupported

func (p *AudioPolicyServiceProxy) IsHapticPlaybackSupported(
	ctx context.Context,
) (bool, error)

func (*AudioPolicyServiceProxy) IsHotwordStreamSupported

func (p *AudioPolicyServiceProxy) IsHotwordStreamSupported(
	ctx context.Context,
	lookbackAudio bool,
) (bool, error)

func (*AudioPolicyServiceProxy) IsSourceActive

func (p *AudioPolicyServiceProxy) IsSourceActive(
	ctx context.Context,
	source common.AudioSource,
) (bool, error)

func (*AudioPolicyServiceProxy) IsStreamActive

func (p *AudioPolicyServiceProxy) IsStreamActive(
	ctx context.Context,
	stream common.AudioStreamType,
	inPastMs int32,
) (bool, error)

func (*AudioPolicyServiceProxy) IsStreamActiveRemotely

func (p *AudioPolicyServiceProxy) IsStreamActiveRemotely(
	ctx context.Context,
	stream common.AudioStreamType,
	inPastMs int32,
) (bool, error)

func (*AudioPolicyServiceProxy) IsUltrasoundSupported

func (p *AudioPolicyServiceProxy) IsUltrasoundSupported(
	ctx context.Context,
) (bool, error)

func (*AudioPolicyServiceProxy) ListAudioPatches

func (p *AudioPolicyServiceProxy) ListAudioPatches(
	ctx context.Context,
	count common.Int,
	patches []AudioPatchFw,
) (int32, error)

func (*AudioPolicyServiceProxy) ListAudioPorts

func (p *AudioPolicyServiceProxy) ListAudioPorts(
	ctx context.Context,
	role AudioPortRole,
	type_ AudioPortType,
	count common.Int,
	ports []AudioPortFw,
) (int32, error)

func (*AudioPolicyServiceProxy) ListAudioProductStrategies

func (p *AudioPolicyServiceProxy) ListAudioProductStrategies(
	ctx context.Context,
) ([]AudioProductStrategy, error)

func (*AudioPolicyServiceProxy) ListAudioVolumeGroups

func (p *AudioPolicyServiceProxy) ListAudioVolumeGroups(
	ctx context.Context,
) ([]AudioVolumeGroup, error)

func (*AudioPolicyServiceProxy) ListDeclaredDevicePorts

func (p *AudioPolicyServiceProxy) ListDeclaredDevicePorts(
	ctx context.Context,
	role AudioPortRole,
) ([]AudioPortFw, error)

func (*AudioPolicyServiceProxy) MoveEffectsToIo

func (p *AudioPolicyServiceProxy) MoveEffectsToIo(
	ctx context.Context,
	ids []int32,
	io int32,
) error

func (*AudioPolicyServiceProxy) OnNewAudioModulesAvailable

func (p *AudioPolicyServiceProxy) OnNewAudioModulesAvailable(
	ctx context.Context,
) error

func (*AudioPolicyServiceProxy) QueryDefaultPreProcessing

func (p *AudioPolicyServiceProxy) QueryDefaultPreProcessing(
	ctx context.Context,
	audioSession int32,
	count common.Int,
) ([]EffectDescriptor, error)

func (*AudioPolicyServiceProxy) RegisterClient

func (p *AudioPolicyServiceProxy) RegisterClient(
	ctx context.Context,
	client IAudioPolicyServiceClient,
) error

func (*AudioPolicyServiceProxy) RegisterEffect

func (p *AudioPolicyServiceProxy) RegisterEffect(
	ctx context.Context,
	desc EffectDescriptor,
	io int32,
	strategy int32,
	session int32,
	id int32,
) error

func (*AudioPolicyServiceProxy) RegisterPolicyMixes

func (p *AudioPolicyServiceProxy) RegisterPolicyMixes(
	ctx context.Context,
	mixes []AudioMix,
	registration bool,
) error

func (*AudioPolicyServiceProxy) RegisterSoundTriggerCaptureStateListener

func (p *AudioPolicyServiceProxy) RegisterSoundTriggerCaptureStateListener(
	ctx context.Context,
	listener ICaptureStateListener,
) (bool, error)

func (*AudioPolicyServiceProxy) ReleaseAudioPatch

func (p *AudioPolicyServiceProxy) ReleaseAudioPatch(
	ctx context.Context,
	handle int32,
) error

func (*AudioPolicyServiceProxy) ReleaseInput

func (p *AudioPolicyServiceProxy) ReleaseInput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) ReleaseOutput

func (p *AudioPolicyServiceProxy) ReleaseOutput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) ReleaseSoundTriggerSession

func (p *AudioPolicyServiceProxy) ReleaseSoundTriggerSession(
	ctx context.Context,
	session int32,
) error

func (*AudioPolicyServiceProxy) RemoveDevicesRoleForCapturePreset

func (p *AudioPolicyServiceProxy) RemoveDevicesRoleForCapturePreset(
	ctx context.Context,
	audioSource common.AudioSource,
	role DeviceRole,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) RemoveDevicesRoleForStrategy

func (p *AudioPolicyServiceProxy) RemoveDevicesRoleForStrategy(
	ctx context.Context,
	strategy int32,
	role DeviceRole,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) RemoveSourceDefaultEffect

func (p *AudioPolicyServiceProxy) RemoveSourceDefaultEffect(
	ctx context.Context,
	id int32,
) error

func (*AudioPolicyServiceProxy) RemoveStreamDefaultEffect

func (p *AudioPolicyServiceProxy) RemoveStreamDefaultEffect(
	ctx context.Context,
	id int32,
) error

func (*AudioPolicyServiceProxy) RemoveUidDeviceAffinities

func (p *AudioPolicyServiceProxy) RemoveUidDeviceAffinities(
	ctx context.Context,
	uid int32,
) error

func (*AudioPolicyServiceProxy) RemoveUserIdDeviceAffinities

func (p *AudioPolicyServiceProxy) RemoveUserIdDeviceAffinities(
	ctx context.Context,
) error

func (*AudioPolicyServiceProxy) SetA11yServicesUids

func (p *AudioPolicyServiceProxy) SetA11yServicesUids(
	ctx context.Context,
	uids []int32,
) error

func (*AudioPolicyServiceProxy) SetActiveAssistantServicesUids

func (p *AudioPolicyServiceProxy) SetActiveAssistantServicesUids(
	ctx context.Context,
	activeUids []int32,
) error

func (*AudioPolicyServiceProxy) SetAllowedCapturePolicy

func (p *AudioPolicyServiceProxy) SetAllowedCapturePolicy(
	ctx context.Context,
	uid int32,
	capturePolicy int32,
) error

func (*AudioPolicyServiceProxy) SetAssistantServicesUids

func (p *AudioPolicyServiceProxy) SetAssistantServicesUids(
	ctx context.Context,
	uids []int32,
) error

func (*AudioPolicyServiceProxy) SetAudioPortCallbacksEnabled

func (p *AudioPolicyServiceProxy) SetAudioPortCallbacksEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioPolicyServiceProxy) SetAudioPortConfig

func (p *AudioPolicyServiceProxy) SetAudioPortConfig(
	ctx context.Context,
	config AudioPortConfigFw,
) error

func (*AudioPolicyServiceProxy) SetAudioVolumeGroupCallbacksEnabled

func (p *AudioPolicyServiceProxy) SetAudioVolumeGroupCallbacksEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioPolicyServiceProxy) SetCurrentImeUid

func (p *AudioPolicyServiceProxy) SetCurrentImeUid(
	ctx context.Context,
	uid int32,
) error

func (*AudioPolicyServiceProxy) SetDeviceConnectionState

func (p *AudioPolicyServiceProxy) SetDeviceConnectionState(
	ctx context.Context,
	state AudioPolicyDeviceState,
	port common.AudioPort,
	encodedFormat common.AudioFormatDescription,
) error

func (*AudioPolicyServiceProxy) SetDevicesRoleForCapturePreset

func (p *AudioPolicyServiceProxy) SetDevicesRoleForCapturePreset(
	ctx context.Context,
	audioSource common.AudioSource,
	role DeviceRole,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) SetDevicesRoleForStrategy

func (p *AudioPolicyServiceProxy) SetDevicesRoleForStrategy(
	ctx context.Context,
	strategy int32,
	role DeviceRole,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) SetEffectEnabled

func (p *AudioPolicyServiceProxy) SetEffectEnabled(
	ctx context.Context,
	id int32,
	enabled bool,
) error

func (*AudioPolicyServiceProxy) SetForceUse

func (*AudioPolicyServiceProxy) SetMasterMono

func (p *AudioPolicyServiceProxy) SetMasterMono(
	ctx context.Context,
	mono bool,
) error

func (*AudioPolicyServiceProxy) SetPhoneState

func (p *AudioPolicyServiceProxy) SetPhoneState(
	ctx context.Context,
	state common.AudioMode,
	uid int32,
) error

func (*AudioPolicyServiceProxy) SetPreferredMixerAttributes

func (p *AudioPolicyServiceProxy) SetPreferredMixerAttributes(
	ctx context.Context,
	attr AudioAttributes,
	portId int32,
	uid int32,
	mixerAttr AudioMixerAttributesInternal,
) error

func (*AudioPolicyServiceProxy) SetRttEnabled

func (p *AudioPolicyServiceProxy) SetRttEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioPolicyServiceProxy) SetStreamVolumeIndex

func (p *AudioPolicyServiceProxy) SetStreamVolumeIndex(
	ctx context.Context,
	stream common.AudioStreamType,
	device common.AudioDeviceDescription,
	index int32,
) error

func (*AudioPolicyServiceProxy) SetSupportedSystemUsages

func (p *AudioPolicyServiceProxy) SetSupportedSystemUsages(
	ctx context.Context,
	systemUsages []common.AudioUsage,
) error

func (*AudioPolicyServiceProxy) SetSurroundFormatEnabled

func (p *AudioPolicyServiceProxy) SetSurroundFormatEnabled(
	ctx context.Context,
	audioFormat common.AudioFormatDescription,
	enabled bool,
) error

func (*AudioPolicyServiceProxy) SetUidDeviceAffinities

func (p *AudioPolicyServiceProxy) SetUidDeviceAffinities(
	ctx context.Context,
	uid int32,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) SetUserIdDeviceAffinities

func (p *AudioPolicyServiceProxy) SetUserIdDeviceAffinities(
	ctx context.Context,
	devices []common.AudioDevice,
) error

func (*AudioPolicyServiceProxy) SetVolumeIndexForAttributes

func (p *AudioPolicyServiceProxy) SetVolumeIndexForAttributes(
	ctx context.Context,
	attr AudioAttributes,
	device common.AudioDeviceDescription,
	index int32,
) error

func (*AudioPolicyServiceProxy) StartAudioSource

func (p *AudioPolicyServiceProxy) StartAudioSource(
	ctx context.Context,
	source AudioPortConfigFw,
	attributes AudioAttributes,
) (int32, error)

func (*AudioPolicyServiceProxy) StartInput

func (p *AudioPolicyServiceProxy) StartInput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) StartOutput

func (p *AudioPolicyServiceProxy) StartOutput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) StopAudioSource

func (p *AudioPolicyServiceProxy) StopAudioSource(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) StopInput

func (p *AudioPolicyServiceProxy) StopInput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) StopOutput

func (p *AudioPolicyServiceProxy) StopOutput(
	ctx context.Context,
	portId int32,
) error

func (*AudioPolicyServiceProxy) UnregisterEffect

func (p *AudioPolicyServiceProxy) UnregisterEffect(
	ctx context.Context,
	id int32,
) error

func (*AudioPolicyServiceProxy) UpdatePolicyMixes

func (p *AudioPolicyServiceProxy) UpdatePolicyMixes(
	ctx context.Context,
	updates []AudioMixUpdate,
) error

type AudioPolicyServiceStub

type AudioPolicyServiceStub struct {
	Impl      IAudioPolicyService
	Transport binder.VersionAwareTransport
}

AudioPolicyServiceStub dispatches incoming binder transactions to a typed IAudioPolicyService implementation.

func (*AudioPolicyServiceStub) Descriptor

func (s *AudioPolicyServiceStub) Descriptor() string

func (*AudioPolicyServiceStub) OnTransaction

func (s *AudioPolicyServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioPortConfigFw

type AudioPortConfigFw struct {
	Hal common.AudioPortConfig
	Sys AudioPortConfigSys
}

func (*AudioPortConfigFw) MarshalParcel

func (s *AudioPortConfigFw) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortConfigFw) UnmarshalParcel

func (s *AudioPortConfigFw) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortConfigSys

type AudioPortConfigSys struct {
	Role AudioPortRole
	Type AudioPortType
	Ext  AudioPortExtSys
}

func (*AudioPortConfigSys) MarshalParcel

func (s *AudioPortConfigSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortConfigSys) UnmarshalParcel

func (s *AudioPortConfigSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortDeviceExtSys

type AudioPortDeviceExtSys struct {
	HwModule int32
}

func (*AudioPortDeviceExtSys) MarshalParcel

func (s *AudioPortDeviceExtSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortDeviceExtSys) UnmarshalParcel

func (s *AudioPortDeviceExtSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortExtSys

type AudioPortExtSys struct {
	Tag         int32
	Unspecified bool
	Device      AudioPortDeviceExtSys
	Mix         AudioPortMixExtSys
	Session     int32
}

func (*AudioPortExtSys) GetDevice

func (u *AudioPortExtSys) GetDevice() (AudioPortDeviceExtSys, bool)

func (*AudioPortExtSys) GetMix

func (u *AudioPortExtSys) GetMix() (AudioPortMixExtSys, bool)

func (*AudioPortExtSys) GetSession

func (u *AudioPortExtSys) GetSession() (int32, bool)

func (*AudioPortExtSys) GetUnspecified

func (u *AudioPortExtSys) GetUnspecified() (bool, bool)

func (*AudioPortExtSys) MarshalParcel

func (u *AudioPortExtSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortExtSys) SetDevice

func (u *AudioPortExtSys) SetDevice(
	v AudioPortDeviceExtSys,
)

func (*AudioPortExtSys) SetMix

func (u *AudioPortExtSys) SetMix(
	v AudioPortMixExtSys,
)

func (*AudioPortExtSys) SetSession

func (u *AudioPortExtSys) SetSession(
	v int32,
)

func (*AudioPortExtSys) SetUnspecified

func (u *AudioPortExtSys) SetUnspecified(
	v bool,
)

func (*AudioPortExtSys) UnmarshalParcel

func (u *AudioPortExtSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortFw

type AudioPortFw struct {
	Hal common.AudioPort
	Sys AudioPortSys
}

func (*AudioPortFw) MarshalParcel

func (s *AudioPortFw) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortFw) UnmarshalParcel

func (s *AudioPortFw) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortMixExtSys

type AudioPortMixExtSys struct {
	HwModule int32
}

func (*AudioPortMixExtSys) MarshalParcel

func (s *AudioPortMixExtSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortMixExtSys) UnmarshalParcel

func (s *AudioPortMixExtSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortRole

type AudioPortRole int32
const (
	AudioPortRoleNONE   AudioPortRole = 0
	AudioPortRoleSOURCE AudioPortRole = 1
	AudioPortRoleSINK   AudioPortRole = 2
)

type AudioPortSys

type AudioPortSys struct {
	Role         AudioPortRole
	Type         AudioPortType
	Profiles     []AudioProfileSys
	Gains        []AudioGainSys
	ActiveConfig AudioPortConfigFw
	Ext          AudioPortExtSys
}

func (*AudioPortSys) MarshalParcel

func (s *AudioPortSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPortSys) UnmarshalParcel

func (s *AudioPortSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioPortType

type AudioPortType int32
const (
	AudioPortTypeNONE    AudioPortType = 0
	AudioPortTypeDEVICE  AudioPortType = 1
	AudioPortTypeMIX     AudioPortType = 2
	AudioPortTypeSESSION AudioPortType = 3
)

type AudioPresentation

type AudioPresentation struct {
}

func (*AudioPresentation) MarshalParcel

func (s *AudioPresentation) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioPresentation) UnmarshalParcel

func (s *AudioPresentation) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioProductStrategy

type AudioProductStrategy struct {
	Id              int32
	Name            string
	AudioAttributes []AudioAttributesEx
}

func (*AudioProductStrategy) MarshalParcel

func (s *AudioProductStrategy) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioProductStrategy) UnmarshalParcel

func (s *AudioProductStrategy) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioProfileSys

type AudioProfileSys struct {
	IsDynamicFormat   bool
	IsDynamicChannels bool
	IsDynamicRate     bool
}

func (*AudioProfileSys) MarshalParcel

func (s *AudioProfileSys) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioProfileSys) UnmarshalParcel

func (s *AudioProfileSys) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioRecordProxy

type AudioRecordProxy struct {
	Remote binder.IBinder
}

func NewAudioRecordProxy

func NewAudioRecordProxy(
	remote binder.IBinder,
) *AudioRecordProxy

func (*AudioRecordProxy) AsBinder

func (p *AudioRecordProxy) AsBinder() binder.IBinder

func (*AudioRecordProxy) GetActiveMicrophones

func (p *AudioRecordProxy) GetActiveMicrophones(
	ctx context.Context,
	activeMicrophones []MicrophoneInfoFw,
) error

func (*AudioRecordProxy) SetPreferredMicrophoneDirection

func (p *AudioRecordProxy) SetPreferredMicrophoneDirection(
	ctx context.Context,
	direction int32,
) error

func (*AudioRecordProxy) SetPreferredMicrophoneFieldDimension

func (p *AudioRecordProxy) SetPreferredMicrophoneFieldDimension(
	ctx context.Context,
	zoom float32,
) error

func (*AudioRecordProxy) ShareAudioHistory

func (p *AudioRecordProxy) ShareAudioHistory(
	ctx context.Context,
	sharedAudioPackageName string,
	sharedAudioStartMs int64,
) error

func (*AudioRecordProxy) Start

func (p *AudioRecordProxy) Start(
	ctx context.Context,
	event int32,
	triggerSession int32,
) error

func (*AudioRecordProxy) Stop

func (p *AudioRecordProxy) Stop(
	ctx context.Context,
) error

type AudioRecordStub

type AudioRecordStub struct {
	Impl      IAudioRecord
	Transport binder.VersionAwareTransport
}

AudioRecordStub dispatches incoming binder transactions to a typed IAudioRecord implementation.

func (*AudioRecordStub) Descriptor

func (s *AudioRecordStub) Descriptor() string

func (*AudioRecordStub) OnTransaction

func (s *AudioRecordStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioRecordingConfiguration

type AudioRecordingConfiguration struct {
	ClientSessionId   int32
	ClientSource      int32
	PatchHandle       int32
	ClientPackageName string
	ClientUid         int32
	ClientPortId      int32
	ClientSilenced    bool
	DeviceSource      int32
}

func (*AudioRecordingConfiguration) MarshalParcel

func (s *AudioRecordingConfiguration) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioRecordingConfiguration) UnmarshalParcel

func (s *AudioRecordingConfiguration) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioRoute

type AudioRoute struct {
	SourcePortIds []int32
	SinkPortId    int32
	IsExclusive   bool
}

func (*AudioRoute) MarshalParcel

func (s *AudioRoute) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioRoute) UnmarshalParcel

func (s *AudioRoute) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioRoutesInfo

type AudioRoutesInfo struct {
	MainType int32
}

func (*AudioRoutesInfo) MarshalParcel

func (s *AudioRoutesInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioRoutesInfo) UnmarshalParcel

func (s *AudioRoutesInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioRoutesObserverProxy

type AudioRoutesObserverProxy struct {
	Remote binder.IBinder
}

func NewAudioRoutesObserverProxy

func NewAudioRoutesObserverProxy(
	remote binder.IBinder,
) *AudioRoutesObserverProxy

func (*AudioRoutesObserverProxy) AsBinder

func (p *AudioRoutesObserverProxy) AsBinder() binder.IBinder

func (*AudioRoutesObserverProxy) DispatchAudioRoutesChanged

func (p *AudioRoutesObserverProxy) DispatchAudioRoutesChanged(
	ctx context.Context,
	newRoutes AudioRoutesInfo,
) error

type AudioRoutesObserverStub

type AudioRoutesObserverStub struct {
	Impl      IAudioRoutesObserver
	Transport binder.VersionAwareTransport
}

AudioRoutesObserverStub dispatches incoming binder transactions to a typed IAudioRoutesObserver implementation.

func (*AudioRoutesObserverStub) Descriptor

func (s *AudioRoutesObserverStub) Descriptor() string

func (*AudioRoutesObserverStub) OnTransaction

func (s *AudioRoutesObserverStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioServerStateDispatcherProxy

type AudioServerStateDispatcherProxy struct {
	Remote binder.IBinder
}

func NewAudioServerStateDispatcherProxy

func NewAudioServerStateDispatcherProxy(
	remote binder.IBinder,
) *AudioServerStateDispatcherProxy

func (*AudioServerStateDispatcherProxy) AsBinder

func (*AudioServerStateDispatcherProxy) DispatchAudioServerStateChange

func (p *AudioServerStateDispatcherProxy) DispatchAudioServerStateChange(
	ctx context.Context,
	state bool,
) error

type AudioServerStateDispatcherStub

type AudioServerStateDispatcherStub struct {
	Impl      IAudioServerStateDispatcher
	Transport binder.VersionAwareTransport
}

AudioServerStateDispatcherStub dispatches incoming binder transactions to a typed IAudioServerStateDispatcher implementation.

func (*AudioServerStateDispatcherStub) Descriptor

func (s *AudioServerStateDispatcherStub) Descriptor() string

func (*AudioServerStateDispatcherStub) OnTransaction

type AudioServiceProxy

type AudioServiceProxy struct {
	Remote binder.IBinder
}

func NewAudioServiceProxy

func NewAudioServiceProxy(
	remote binder.IBinder,
) *AudioServiceProxy

func (*AudioServiceProxy) AbandonAudioFocus

func (p *AudioServiceProxy) AbandonAudioFocus(
	ctx context.Context,
	fd IAudioFocusDispatcher,
	clientId string,
	aa AudioAttributes,
	callingPackageName string,
) (int32, error)

func (*AudioServiceProxy) AbandonAudioFocusForTest

func (p *AudioServiceProxy) AbandonAudioFocusForTest(
	ctx context.Context,
	fd IAudioFocusDispatcher,
	clientId string,
	aa AudioAttributes,
	callingPackageName string,
) (int32, error)

func (*AudioServiceProxy) AddAssistantServicesUids

func (p *AudioServiceProxy) AddAssistantServicesUids(
	ctx context.Context,
	assistantUID []int32,
) error

func (*AudioServiceProxy) AddLoudnessCodecInfo

func (p *AudioServiceProxy) AddLoudnessCodecInfo(
	ctx context.Context,
	sessionId int32,
	mediaCodecHash int32,
	codecInfo LoudnessCodecInfo,
) error

func (*AudioServiceProxy) AddMixForPolicy

func (p *AudioServiceProxy) AddMixForPolicy(
	ctx context.Context,
	policyConfig AudioPolicyConfig,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

func (*AudioServiceProxy) AddOnDevicesForAttributesChangedListener

func (p *AudioServiceProxy) AddOnDevicesForAttributesChangedListener(
	ctx context.Context,
	attributes AudioAttributes,
	callback IDevicesForAttributesCallback,
) error

func (*AudioServiceProxy) AddSpatializerCompatibleAudioDevice

func (p *AudioServiceProxy) AddSpatializerCompatibleAudioDevice(
	ctx context.Context,
	ada AudioDeviceAttributes,
) error

func (*AudioServiceProxy) AdjustStreamVolume

func (p *AudioServiceProxy) AdjustStreamVolume(
	ctx context.Context,
	streamType int32,
	direction int32,
	flags int32,
) error

func (*AudioServiceProxy) AdjustStreamVolumeForUid

func (p *AudioServiceProxy) AdjustStreamVolumeForUid(
	ctx context.Context,
	streamType int32,
	direction int32,
	flags int32,
	packageName string,
	uid int32,
	pid int32,
	userHandle os.UserHandle,
	targetSdkVersion int32,
) error

func (*AudioServiceProxy) AdjustStreamVolumeWithAttribution

func (p *AudioServiceProxy) AdjustStreamVolumeWithAttribution(
	ctx context.Context,
	streamType int32,
	direction int32,
	flags int32,
) error

func (*AudioServiceProxy) AdjustSuggestedStreamVolume

func (p *AudioServiceProxy) AdjustSuggestedStreamVolume(
	ctx context.Context,
	direction int32,
	suggestedStreamType int32,
	flags int32,
) error

func (*AudioServiceProxy) AdjustSuggestedStreamVolumeForUid

func (p *AudioServiceProxy) AdjustSuggestedStreamVolumeForUid(
	ctx context.Context,
	streamType int32,
	direction int32,
	flags int32,
	packageName string,
	uid int32,
	pid int32,
	userHandle os.UserHandle,
	targetSdkVersion int32,
) error

func (*AudioServiceProxy) AdjustVolume

func (p *AudioServiceProxy) AdjustVolume(
	ctx context.Context,
	direction int32,
	flags int32,
) error

func (*AudioServiceProxy) AdjustVolumeGroupVolume

func (p *AudioServiceProxy) AdjustVolumeGroupVolume(
	ctx context.Context,
	groupId int32,
	direction int32,
	flags int32,
) error

func (*AudioServiceProxy) AreNavigationRepeatSoundEffectsEnabled

func (p *AudioServiceProxy) AreNavigationRepeatSoundEffectsEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) AsBinder

func (p *AudioServiceProxy) AsBinder() binder.IBinder

func (*AudioServiceProxy) CanBeSpatialized

func (p *AudioServiceProxy) CanBeSpatialized(
	ctx context.Context,
	aa AudioAttributes,
	af AudioFormat,
) (bool, error)

func (*AudioServiceProxy) CancelMuteAwaitConnection

func (p *AudioServiceProxy) CancelMuteAwaitConnection(
	ctx context.Context,
	dev AudioDeviceAttributes,
) error

func (*AudioServiceProxy) ClearFadeManagerConfigurationForFocusLoss

func (p *AudioServiceProxy) ClearFadeManagerConfigurationForFocusLoss(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) ClearPreferredDevicesForCapturePreset

func (p *AudioServiceProxy) ClearPreferredDevicesForCapturePreset(
	ctx context.Context,
	capturePreset int32,
) (int32, error)

func (*AudioServiceProxy) ClearPreferredMixerAttributes

func (p *AudioServiceProxy) ClearPreferredMixerAttributes(
	ctx context.Context,
	aa AudioAttributes,
	portId int32,
) (int32, error)

func (*AudioServiceProxy) DisableSafeMediaVolume

func (p *AudioServiceProxy) DisableSafeMediaVolume(
	ctx context.Context,
) error

func (*AudioServiceProxy) DispatchFocusChange

func (p *AudioServiceProxy) DispatchFocusChange(
	ctx context.Context,
	afi AudioFocusInfo,
	focusChange int32,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

func (*AudioServiceProxy) DispatchFocusChangeWithFade

func (p *AudioServiceProxy) DispatchFocusChangeWithFade(
	ctx context.Context,
	afi AudioFocusInfo,
	focusChange int32,
	pcb audiopolicy.IAudioPolicyCallback,
	otherActiveAfis []AudioFocusInfo,
	transientFadeMgrConfig FadeManagerConfiguration,
) (int32, error)

func (*AudioServiceProxy) EnterAudioFocusFreezeForTest

func (p *AudioServiceProxy) EnterAudioFocusFreezeForTest(
	ctx context.Context,
	cb binder.IBinder,
	uids []int32,
) (bool, error)

func (*AudioServiceProxy) ExitAudioFocusFreezeForTest

func (p *AudioServiceProxy) ExitAudioFocusFreezeForTest(
	ctx context.Context,
	cb binder.IBinder,
) (bool, error)

func (*AudioServiceProxy) ForceComputeCsdOnAllDevices

func (p *AudioServiceProxy) ForceComputeCsdOnAllDevices(
	ctx context.Context,
	computeCsdOnAllDevices bool,
) error

func (*AudioServiceProxy) ForceRemoteSubmixFullVolume

func (p *AudioServiceProxy) ForceRemoteSubmixFullVolume(
	ctx context.Context,
	startForcing bool,
	cb binder.IBinder,
) error

func (*AudioServiceProxy) ForceUseFrameworkMel

func (p *AudioServiceProxy) ForceUseFrameworkMel(
	ctx context.Context,
	useFrameworkMel bool,
) error

func (*AudioServiceProxy) ForceVolumeControlStream

func (p *AudioServiceProxy) ForceVolumeControlStream(
	ctx context.Context,
	streamType int32,
	cb binder.IBinder,
) error

func (*AudioServiceProxy) GetActiveAssistantServiceUids

func (p *AudioServiceProxy) GetActiveAssistantServiceUids(
	ctx context.Context,
) ([]int32, error)

func (*AudioServiceProxy) GetActivePlaybackConfigurations

func (p *AudioServiceProxy) GetActivePlaybackConfigurations(
	ctx context.Context,
) ([]AudioPlaybackConfiguration, error)

func (*AudioServiceProxy) GetActiveRecordingConfigurations

func (p *AudioServiceProxy) GetActiveRecordingConfigurations(
	ctx context.Context,
) ([]AudioRecordingConfiguration, error)

func (*AudioServiceProxy) GetActualHeadTrackingMode

func (p *AudioServiceProxy) GetActualHeadTrackingMode(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetAdditionalOutputDeviceDelay

func (p *AudioServiceProxy) GetAdditionalOutputDeviceDelay(
	ctx context.Context,
	device AudioDeviceAttributes,
) (int64, error)

func (*AudioServiceProxy) GetAllowedCapturePolicy

func (p *AudioServiceProxy) GetAllowedCapturePolicy(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetAssistantServicesUids

func (p *AudioServiceProxy) GetAssistantServicesUids(
	ctx context.Context,
) ([]int32, error)

func (*AudioServiceProxy) GetAudioProductStrategies

func (p *AudioServiceProxy) GetAudioProductStrategies(
	ctx context.Context,
) ([]AudioProductStrategy, error)

func (*AudioServiceProxy) GetAudioVolumeGroups

func (p *AudioServiceProxy) GetAudioVolumeGroups(
	ctx context.Context,
) ([]AudioVolumeGroup, error)

func (*AudioServiceProxy) GetAvailableCommunicationDeviceIds

func (p *AudioServiceProxy) GetAvailableCommunicationDeviceIds(
	ctx context.Context,
) ([]int32, error)

func (*AudioServiceProxy) GetBluetoothAudioDeviceCategory

func (p *AudioServiceProxy) GetBluetoothAudioDeviceCategory(
	ctx context.Context,
	address string,
) (int32, error)

func (*AudioServiceProxy) GetBluetoothAudioDeviceCategory_legacy

func (p *AudioServiceProxy) GetBluetoothAudioDeviceCategory_legacy(
	ctx context.Context,
	address string,
	isBle bool,
) (int32, error)

func (*AudioServiceProxy) GetCommunicationDevice

func (p *AudioServiceProxy) GetCommunicationDevice(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetCsd

func (p *AudioServiceProxy) GetCsd(
	ctx context.Context,
) (float32, error)

func (*AudioServiceProxy) GetCurrentAudioFocus

func (p *AudioServiceProxy) GetCurrentAudioFocus(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetDefaultVolumeInfo

func (p *AudioServiceProxy) GetDefaultVolumeInfo(
	ctx context.Context,
) (VolumeInfo, error)

func (*AudioServiceProxy) GetDesiredHeadTrackingMode

func (p *AudioServiceProxy) GetDesiredHeadTrackingMode(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetDeviceMaskForStream

func (p *AudioServiceProxy) GetDeviceMaskForStream(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetDeviceVolume

func (p *AudioServiceProxy) GetDeviceVolume(
	ctx context.Context,
	vi VolumeInfo,
	ada AudioDeviceAttributes,
) (VolumeInfo, error)

func (*AudioServiceProxy) GetDeviceVolumeBehavior

func (p *AudioServiceProxy) GetDeviceVolumeBehavior(
	ctx context.Context,
	device AudioDeviceAttributes,
) (int32, error)

func (*AudioServiceProxy) GetDevicesForAttributes

func (p *AudioServiceProxy) GetDevicesForAttributes(
	ctx context.Context,
	attributes AudioAttributes,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetDevicesForAttributesUnprotected

func (p *AudioServiceProxy) GetDevicesForAttributesUnprotected(
	ctx context.Context,
	attributes AudioAttributes,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetEncodedSurroundMode

func (p *AudioServiceProxy) GetEncodedSurroundMode(
	ctx context.Context,
	targetSdkVersion int32,
) (int32, error)

func (*AudioServiceProxy) GetFadeManagerConfigurationForFocusLoss

func (p *AudioServiceProxy) GetFadeManagerConfigurationForFocusLoss(
	ctx context.Context,
) (FadeManagerConfiguration, error)

func (*AudioServiceProxy) GetFadeOutDurationOnFocusLossMillis

func (p *AudioServiceProxy) GetFadeOutDurationOnFocusLossMillis(
	ctx context.Context,
	aa AudioAttributes,
) (int64, error)

func (*AudioServiceProxy) GetFocusDuckedUidsForTest

func (p *AudioServiceProxy) GetFocusDuckedUidsForTest(
	ctx context.Context,
) ([]any, error)

func (*AudioServiceProxy) GetFocusFadeOutDurationForTest

func (p *AudioServiceProxy) GetFocusFadeOutDurationForTest(
	ctx context.Context,
) (int64, error)

func (*AudioServiceProxy) GetFocusRampTimeMs

func (p *AudioServiceProxy) GetFocusRampTimeMs(
	ctx context.Context,
	focusGain int32,
	attr AudioAttributes,
) (int32, error)

func (*AudioServiceProxy) GetFocusStack

func (p *AudioServiceProxy) GetFocusStack(
	ctx context.Context,
) ([]AudioFocusInfo, error)

func (*AudioServiceProxy) GetFocusUnmuteDelayAfterFadeOutForTest

func (p *AudioServiceProxy) GetFocusUnmuteDelayAfterFadeOutForTest(
	ctx context.Context,
) (int64, error)

func (*AudioServiceProxy) GetHalVersion

func (p *AudioServiceProxy) GetHalVersion(
	ctx context.Context,
) (AudioHalVersionInfo, error)

func (*AudioServiceProxy) GetIndependentStreamTypes

func (p *AudioServiceProxy) GetIndependentStreamTypes(
	ctx context.Context,
) ([]any, error)

func (*AudioServiceProxy) GetLastAudibleStreamVolume

func (p *AudioServiceProxy) GetLastAudibleStreamVolume(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetLastAudibleVolumeForVolumeGroup

func (p *AudioServiceProxy) GetLastAudibleVolumeForVolumeGroup(
	ctx context.Context,
	groupId int32,
) (int32, error)

func (*AudioServiceProxy) GetLoudnessParams

func (p *AudioServiceProxy) GetLoudnessParams(
	ctx context.Context,
	codecInfo LoudnessCodecInfo,
) (os.PersistableBundle, error)

func (*AudioServiceProxy) GetMaxAdditionalOutputDeviceDelay

func (p *AudioServiceProxy) GetMaxAdditionalOutputDeviceDelay(
	ctx context.Context,
	device AudioDeviceAttributes,
) (int64, error)

func (*AudioServiceProxy) GetMode

func (p *AudioServiceProxy) GetMode(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetMutingExpectedDevice

func (p *AudioServiceProxy) GetMutingExpectedDevice(
	ctx context.Context,
) (AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetNonDefaultDevicesForStrategy

func (p *AudioServiceProxy) GetNonDefaultDevicesForStrategy(
	ctx context.Context,
	strategy int32,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetOutputRs2UpperBound

func (p *AudioServiceProxy) GetOutputRs2UpperBound(
	ctx context.Context,
) (float32, error)

func (*AudioServiceProxy) GetPreferredDevicesForCapturePreset

func (p *AudioServiceProxy) GetPreferredDevicesForCapturePreset(
	ctx context.Context,
	capturePreset int32,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetPreferredDevicesForStrategy

func (p *AudioServiceProxy) GetPreferredDevicesForStrategy(
	ctx context.Context,
	strategy int32,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetRegisteredPolicyMixes

func (p *AudioServiceProxy) GetRegisteredPolicyMixes(
	ctx context.Context,
) ([]AudioMix, error)

func (*AudioServiceProxy) GetReportedSurroundFormats

func (p *AudioServiceProxy) GetReportedSurroundFormats(
	ctx context.Context,
) ([]any, error)

func (*AudioServiceProxy) GetRingerModeExternal

func (p *AudioServiceProxy) GetRingerModeExternal(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetRingerModeInternal

func (p *AudioServiceProxy) GetRingerModeInternal(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetRingtonePlayer

func (p *AudioServiceProxy) GetRingtonePlayer(
	ctx context.Context,
) (IRingtonePlayer, error)

func (*AudioServiceProxy) GetSpatializerCompatibleAudioDevices

func (p *AudioServiceProxy) GetSpatializerCompatibleAudioDevices(
	ctx context.Context,
) ([]AudioDeviceAttributes, error)

func (*AudioServiceProxy) GetSpatializerImmersiveAudioLevel

func (p *AudioServiceProxy) GetSpatializerImmersiveAudioLevel(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetSpatializerOutput

func (p *AudioServiceProxy) GetSpatializerOutput(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetSpatializerParameter

func (p *AudioServiceProxy) GetSpatializerParameter(
	ctx context.Context,
	key int32,
	value []byte,
) error

func (*AudioServiceProxy) GetStreamMaxVolume

func (p *AudioServiceProxy) GetStreamMaxVolume(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetStreamMinVolume

func (p *AudioServiceProxy) GetStreamMinVolume(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetStreamTypeAlias

func (p *AudioServiceProxy) GetStreamTypeAlias(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetStreamVolume

func (p *AudioServiceProxy) GetStreamVolume(
	ctx context.Context,
	streamType int32,
) (int32, error)

func (*AudioServiceProxy) GetSupportedHeadTrackingModes

func (p *AudioServiceProxy) GetSupportedHeadTrackingModes(
	ctx context.Context,
) ([]int32, error)

func (*AudioServiceProxy) GetSupportedSystemUsages

func (p *AudioServiceProxy) GetSupportedSystemUsages(
	ctx context.Context,
) ([]int32, error)

func (*AudioServiceProxy) GetSurroundFormats

func (p *AudioServiceProxy) GetSurroundFormats(
	ctx context.Context,
) (map[any]any, error)

func (*AudioServiceProxy) GetUiSoundsStreamType

func (p *AudioServiceProxy) GetUiSoundsStreamType(
	ctx context.Context,
) (int32, error)

func (*AudioServiceProxy) GetVibrateSetting

func (p *AudioServiceProxy) GetVibrateSetting(
	ctx context.Context,
	vibrateType int32,
) (int32, error)

func (*AudioServiceProxy) GetVolumeController

func (p *AudioServiceProxy) GetVolumeController(
	ctx context.Context,
) (IVolumeController, error)

func (*AudioServiceProxy) GetVolumeGroupMaxVolumeIndex

func (p *AudioServiceProxy) GetVolumeGroupMaxVolumeIndex(
	ctx context.Context,
	groupId int32,
) (int32, error)

func (*AudioServiceProxy) GetVolumeGroupMinVolumeIndex

func (p *AudioServiceProxy) GetVolumeGroupMinVolumeIndex(
	ctx context.Context,
	groupId int32,
) (int32, error)

func (*AudioServiceProxy) GetVolumeGroupVolumeIndex

func (p *AudioServiceProxy) GetVolumeGroupVolumeIndex(
	ctx context.Context,
	groupId int32,
) (int32, error)

func (*AudioServiceProxy) HandleBluetoothActiveDeviceChanged

func (p *AudioServiceProxy) HandleBluetoothActiveDeviceChanged(
	ctx context.Context,
	newDevice bluetooth.BluetoothDevice,
	previousDevice bluetooth.BluetoothDevice,
	info BluetoothProfileConnectionInfo,
) error

func (*AudioServiceProxy) HandleVolumeKey

func (p *AudioServiceProxy) HandleVolumeKey(
	ctx context.Context,
	event view.KeyEvent,
	isOnTv bool,
	caller string,
) error

func (*AudioServiceProxy) HasHapticChannels

func (p *AudioServiceProxy) HasHapticChannels(
	ctx context.Context,
	uri net.Uri,
) (bool, error)

func (*AudioServiceProxy) HasHeadTracker

func (p *AudioServiceProxy) HasHeadTracker(
	ctx context.Context,
	device AudioDeviceAttributes,
) (bool, error)

func (*AudioServiceProxy) HasRegisteredDynamicPolicy

func (p *AudioServiceProxy) HasRegisteredDynamicPolicy(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsAudioServerRunning

func (p *AudioServiceProxy) IsAudioServerRunning(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsBluetoothA2dpOn

func (p *AudioServiceProxy) IsBluetoothA2dpOn(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsBluetoothAudioDeviceCategoryFixed

func (p *AudioServiceProxy) IsBluetoothAudioDeviceCategoryFixed(
	ctx context.Context,
	address string,
) (bool, error)

func (*AudioServiceProxy) IsBluetoothScoOn

func (p *AudioServiceProxy) IsBluetoothScoOn(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsBluetoothVariableLatencyEnabled

func (p *AudioServiceProxy) IsBluetoothVariableLatencyEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsCallScreeningModeSupported

func (p *AudioServiceProxy) IsCallScreeningModeSupported(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsCameraSoundForced

func (p *AudioServiceProxy) IsCameraSoundForced(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsCsdAsAFeatureAvailable

func (p *AudioServiceProxy) IsCsdAsAFeatureAvailable(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsCsdAsAFeatureEnabled

func (p *AudioServiceProxy) IsCsdAsAFeatureEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsCsdEnabled

func (p *AudioServiceProxy) IsCsdEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsHdmiSystemAudioSupported

func (p *AudioServiceProxy) IsHdmiSystemAudioSupported(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsHeadTrackerAvailable

func (p *AudioServiceProxy) IsHeadTrackerAvailable(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsHeadTrackerEnabled

func (p *AudioServiceProxy) IsHeadTrackerEnabled(
	ctx context.Context,
	device AudioDeviceAttributes,
) (bool, error)

func (*AudioServiceProxy) IsHomeSoundEffectEnabled

func (p *AudioServiceProxy) IsHomeSoundEffectEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsHotwordStreamSupported

func (p *AudioServiceProxy) IsHotwordStreamSupported(
	ctx context.Context,
	lookbackAudio bool,
) (bool, error)

func (*AudioServiceProxy) IsMasterMute

func (p *AudioServiceProxy) IsMasterMute(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsMicrophoneMuted

func (p *AudioServiceProxy) IsMicrophoneMuted(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsMusicActive

func (p *AudioServiceProxy) IsMusicActive(
	ctx context.Context,
	remotely bool,
) (bool, error)

func (*AudioServiceProxy) IsPstnCallAudioInterceptable

func (p *AudioServiceProxy) IsPstnCallAudioInterceptable(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsSpatializerAvailable

func (p *AudioServiceProxy) IsSpatializerAvailable(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsSpatializerAvailableForDevice

func (p *AudioServiceProxy) IsSpatializerAvailableForDevice(
	ctx context.Context,
	device AudioDeviceAttributes,
) (bool, error)

func (*AudioServiceProxy) IsSpatializerEnabled

func (p *AudioServiceProxy) IsSpatializerEnabled(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsSpeakerphoneOn

func (p *AudioServiceProxy) IsSpeakerphoneOn(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsStreamAffectedByMute

func (p *AudioServiceProxy) IsStreamAffectedByMute(
	ctx context.Context,
	streamType int32,
) (bool, error)

func (*AudioServiceProxy) IsStreamAffectedByRingerMode

func (p *AudioServiceProxy) IsStreamAffectedByRingerMode(
	ctx context.Context,
	streamType int32,
) (bool, error)

func (*AudioServiceProxy) IsStreamMute

func (p *AudioServiceProxy) IsStreamMute(
	ctx context.Context,
	streamType int32,
) (bool, error)

func (*AudioServiceProxy) IsSurroundFormatEnabled

func (p *AudioServiceProxy) IsSurroundFormatEnabled(
	ctx context.Context,
	audioFormat int32,
) (bool, error)

func (*AudioServiceProxy) IsUltrasoundSupported

func (p *AudioServiceProxy) IsUltrasoundSupported(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsValidRingerMode

func (p *AudioServiceProxy) IsValidRingerMode(
	ctx context.Context,
	ringerMode int32,
) (bool, error)

func (*AudioServiceProxy) IsVolumeControlUsingVolumeGroups

func (p *AudioServiceProxy) IsVolumeControlUsingVolumeGroups(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsVolumeFixed

func (p *AudioServiceProxy) IsVolumeFixed(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) IsVolumeGroupMuted

func (p *AudioServiceProxy) IsVolumeGroupMuted(
	ctx context.Context,
	groupId int32,
) (bool, error)

func (*AudioServiceProxy) LoadSoundEffects

func (p *AudioServiceProxy) LoadSoundEffects(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) LowerVolumeToRs1

func (p *AudioServiceProxy) LowerVolumeToRs1(
	ctx context.Context,
) error

func (*AudioServiceProxy) MuteAwaitConnection

func (p *AudioServiceProxy) MuteAwaitConnection(
	ctx context.Context,
	usagesToMute []int32,
	dev AudioDeviceAttributes,
	timeOutMs int64,
) error

func (*AudioServiceProxy) NotifyVolumeControllerVisible

func (p *AudioServiceProxy) NotifyVolumeControllerVisible(
	ctx context.Context,
	controller IVolumeController,
	visible bool,
) error

func (*AudioServiceProxy) PlaySoundEffect

func (p *AudioServiceProxy) PlaySoundEffect(
	ctx context.Context,
	effectType int32,
) error

func (*AudioServiceProxy) PlaySoundEffectVolume

func (p *AudioServiceProxy) PlaySoundEffectVolume(
	ctx context.Context,
	effectType int32,
	volume float32,
) error

func (*AudioServiceProxy) PlayerAttributes

func (p *AudioServiceProxy) PlayerAttributes(
	ctx context.Context,
	piid int32,
	attr AudioAttributes,
) error

func (*AudioServiceProxy) PlayerEvent

func (p *AudioServiceProxy) PlayerEvent(
	ctx context.Context,
	piid int32,
	event int32,
	eventId int32,
) error

func (*AudioServiceProxy) PlayerHasOpPlayAudio

func (p *AudioServiceProxy) PlayerHasOpPlayAudio(
	ctx context.Context,
	piid int32,
	hasOpPlayAudio bool,
) error

func (*AudioServiceProxy) PlayerSessionId

func (p *AudioServiceProxy) PlayerSessionId(
	ctx context.Context,
	piid int32,
	sessionId int32,
) error

func (*AudioServiceProxy) PortEvent

func (p *AudioServiceProxy) PortEvent(
	ctx context.Context,
	portId int32,
	event int32,
	extras *os.PersistableBundle,
) error

func (*AudioServiceProxy) RecenterHeadTracker

func (p *AudioServiceProxy) RecenterHeadTracker(
	ctx context.Context,
) error

func (*AudioServiceProxy) RecorderEvent

func (p *AudioServiceProxy) RecorderEvent(
	ctx context.Context,
	riid int32,
	event int32,
) error

func (*AudioServiceProxy) RegisterAudioPolicy

func (p *AudioServiceProxy) RegisterAudioPolicy(
	ctx context.Context,
	policyConfig AudioPolicyConfig,
	pcb audiopolicy.IAudioPolicyCallback,
	hasFocusListener bool,
	isFocusPolicy bool,
	isTestFocusPolicy bool,
	isVolumeController bool,
	projection mediaProjection.IMediaProjection,
) (string, error)

func (*AudioServiceProxy) RegisterAudioServerStateDispatcher

func (p *AudioServiceProxy) RegisterAudioServerStateDispatcher(
	ctx context.Context,
	asd IAudioServerStateDispatcher,
) error

func (*AudioServiceProxy) RegisterCapturePresetDevicesRoleDispatcher

func (p *AudioServiceProxy) RegisterCapturePresetDevicesRoleDispatcher(
	ctx context.Context,
	dispatcher ICapturePresetDevicesRoleDispatcher,
) error

func (*AudioServiceProxy) RegisterCommunicationDeviceDispatcher

func (p *AudioServiceProxy) RegisterCommunicationDeviceDispatcher(
	ctx context.Context,
	dispatcher ICommunicationDeviceDispatcher,
) error

func (*AudioServiceProxy) RegisterDeviceVolumeBehaviorDispatcher

func (p *AudioServiceProxy) RegisterDeviceVolumeBehaviorDispatcher(
	ctx context.Context,
	register bool,
	dispatcher IDeviceVolumeBehaviorDispatcher,
) error

func (*AudioServiceProxy) RegisterDeviceVolumeDispatcherForAbsoluteVolume

func (p *AudioServiceProxy) RegisterDeviceVolumeDispatcherForAbsoluteVolume(
	ctx context.Context,
	register bool,
	cb IAudioDeviceVolumeDispatcher,
	packageName string,
	device AudioDeviceAttributes,
	volumes []VolumeInfo,
	handlesvolumeAdjustment bool,
	volumeBehavior int32,
) error

func (*AudioServiceProxy) RegisterHeadToSoundstagePoseCallback

func (p *AudioServiceProxy) RegisterHeadToSoundstagePoseCallback(
	ctx context.Context,
	cb ISpatializerHeadToSoundStagePoseCallback,
) error

func (*AudioServiceProxy) RegisterLoudnessCodecUpdatesDispatcher

func (p *AudioServiceProxy) RegisterLoudnessCodecUpdatesDispatcher(
	ctx context.Context,
	dispatcher ILoudnessCodecUpdatesDispatcher,
) error

func (*AudioServiceProxy) RegisterModeDispatcher

func (p *AudioServiceProxy) RegisterModeDispatcher(
	ctx context.Context,
	dispatcher IAudioModeDispatcher,
) error

func (*AudioServiceProxy) RegisterMuteAwaitConnectionDispatcher

func (p *AudioServiceProxy) RegisterMuteAwaitConnectionDispatcher(
	ctx context.Context,
	cb IMuteAwaitConnectionCallback,
	register bool,
) error

func (*AudioServiceProxy) RegisterPlaybackCallback

func (p *AudioServiceProxy) RegisterPlaybackCallback(
	ctx context.Context,
	pcdb IPlaybackConfigDispatcher,
) error

func (*AudioServiceProxy) RegisterPreferredMixerAttributesDispatcher

func (p *AudioServiceProxy) RegisterPreferredMixerAttributesDispatcher(
	ctx context.Context,
	dispatcher IPreferredMixerAttributesDispatcher,
) error

func (*AudioServiceProxy) RegisterRecordingCallback

func (p *AudioServiceProxy) RegisterRecordingCallback(
	ctx context.Context,
	rcdb IRecordingConfigDispatcher,
) error

func (*AudioServiceProxy) RegisterSpatializerCallback

func (p *AudioServiceProxy) RegisterSpatializerCallback(
	ctx context.Context,
	cb ISpatializerCallback,
) error

func (*AudioServiceProxy) RegisterSpatializerHeadTrackerAvailableCallback

func (p *AudioServiceProxy) RegisterSpatializerHeadTrackerAvailableCallback(
	ctx context.Context,
	cb ISpatializerHeadTrackerAvailableCallback,
	register bool,
) error

func (*AudioServiceProxy) RegisterSpatializerHeadTrackingCallback

func (p *AudioServiceProxy) RegisterSpatializerHeadTrackingCallback(
	ctx context.Context,
	cb ISpatializerHeadTrackingModeCallback,
) error

func (*AudioServiceProxy) RegisterSpatializerOutputCallback

func (p *AudioServiceProxy) RegisterSpatializerOutputCallback(
	ctx context.Context,
	cb ISpatializerOutputCallback,
) error

func (*AudioServiceProxy) RegisterStrategyNonDefaultDevicesDispatcher

func (p *AudioServiceProxy) RegisterStrategyNonDefaultDevicesDispatcher(
	ctx context.Context,
	dispatcher IStrategyNonDefaultDevicesDispatcher,
) error

func (*AudioServiceProxy) RegisterStrategyPreferredDevicesDispatcher

func (p *AudioServiceProxy) RegisterStrategyPreferredDevicesDispatcher(
	ctx context.Context,
	dispatcher IStrategyPreferredDevicesDispatcher,
) error

func (*AudioServiceProxy) RegisterStreamAliasingDispatcher

func (p *AudioServiceProxy) RegisterStreamAliasingDispatcher(
	ctx context.Context,
	isad IStreamAliasingDispatcher,
	register bool,
) error

func (*AudioServiceProxy) ReleasePlayer

func (p *AudioServiceProxy) ReleasePlayer(
	ctx context.Context,
	piid int32,
) error

func (*AudioServiceProxy) ReleaseRecorder

func (p *AudioServiceProxy) ReleaseRecorder(
	ctx context.Context,
	riid int32,
) error

func (*AudioServiceProxy) ReloadAudioSettings

func (p *AudioServiceProxy) ReloadAudioSettings(
	ctx context.Context,
) error

func (*AudioServiceProxy) RemoveAssistantServicesUids

func (p *AudioServiceProxy) RemoveAssistantServicesUids(
	ctx context.Context,
	assistantUID []int32,
) error

func (*AudioServiceProxy) RemoveDeviceAsNonDefaultForStrategy

func (p *AudioServiceProxy) RemoveDeviceAsNonDefaultForStrategy(
	ctx context.Context,
	strategy int32,
	device AudioDeviceAttributes,
) (int32, error)

func (*AudioServiceProxy) RemoveLoudnessCodecInfo

func (p *AudioServiceProxy) RemoveLoudnessCodecInfo(
	ctx context.Context,
	sessionId int32,
	codecInfo LoudnessCodecInfo,
) error

func (*AudioServiceProxy) RemoveMixForPolicy

func (p *AudioServiceProxy) RemoveMixForPolicy(
	ctx context.Context,
	policyConfig AudioPolicyConfig,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

func (*AudioServiceProxy) RemoveOnDevicesForAttributesChangedListener

func (p *AudioServiceProxy) RemoveOnDevicesForAttributesChangedListener(
	ctx context.Context,
	callback IDevicesForAttributesCallback,
) error

func (*AudioServiceProxy) RemovePreferredDevicesForStrategy

func (p *AudioServiceProxy) RemovePreferredDevicesForStrategy(
	ctx context.Context,
	strategy int32,
) (int32, error)

func (*AudioServiceProxy) RemoveSpatializerCompatibleAudioDevice

func (p *AudioServiceProxy) RemoveSpatializerCompatibleAudioDevice(
	ctx context.Context,
	ada AudioDeviceAttributes,
) error

func (*AudioServiceProxy) RemoveUidDeviceAffinity

func (p *AudioServiceProxy) RemoveUidDeviceAffinity(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
	uid int32,
) (int32, error)

func (*AudioServiceProxy) RemoveUserIdDeviceAffinity

func (p *AudioServiceProxy) RemoveUserIdDeviceAffinity(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

func (*AudioServiceProxy) RequestAudioFocus

func (p *AudioServiceProxy) RequestAudioFocus(
	ctx context.Context,
	aa AudioAttributes,
	durationHint int32,
	cb binder.IBinder,
	fd IAudioFocusDispatcher,
	clientId string,
	callingPackageName string,
	flags int32,
	pcb audiopolicy.IAudioPolicyCallback,
	sdk int32,
) (int32, error)

func (*AudioServiceProxy) RequestAudioFocusForTest

func (p *AudioServiceProxy) RequestAudioFocusForTest(
	ctx context.Context,
	aa AudioAttributes,
	durationHint int32,
	cb binder.IBinder,
	fd IAudioFocusDispatcher,
	clientId string,
	callingPackageName string,
	flags int32,
	uid int32,
	sdk int32,
) (int32, error)

func (*AudioServiceProxy) SendFocusLoss

func (p *AudioServiceProxy) SendFocusLoss(
	ctx context.Context,
	focusLoser AudioFocusInfo,
	apcb audiopolicy.IAudioPolicyCallback,
) (bool, error)

func (*AudioServiceProxy) SetA2dpSuspended

func (p *AudioServiceProxy) SetA2dpSuspended(
	ctx context.Context,
	on bool,
) error

func (*AudioServiceProxy) SetActiveAssistantServiceUids

func (p *AudioServiceProxy) SetActiveAssistantServiceUids(
	ctx context.Context,
	activeUids []int32,
) error

func (*AudioServiceProxy) SetAdditionalOutputDeviceDelay

func (p *AudioServiceProxy) SetAdditionalOutputDeviceDelay(
	ctx context.Context,
	device AudioDeviceAttributes,
	delayMillis int64,
) (bool, error)

func (*AudioServiceProxy) SetAllowedCapturePolicy

func (p *AudioServiceProxy) SetAllowedCapturePolicy(
	ctx context.Context,
	capturePolicy int32,
) (int32, error)

func (*AudioServiceProxy) SetBluetoothA2dpOn

func (p *AudioServiceProxy) SetBluetoothA2dpOn(
	ctx context.Context,
	on bool,
) error

func (*AudioServiceProxy) SetBluetoothAudioDeviceCategory

func (p *AudioServiceProxy) SetBluetoothAudioDeviceCategory(
	ctx context.Context,
	address string,
	deviceCategory int32,
) (bool, error)

func (*AudioServiceProxy) SetBluetoothAudioDeviceCategory_legacy

func (p *AudioServiceProxy) SetBluetoothAudioDeviceCategory_legacy(
	ctx context.Context,
	address string,
	isBle bool,
	deviceCategory int32,
) error

func (*AudioServiceProxy) SetBluetoothScoOn

func (p *AudioServiceProxy) SetBluetoothScoOn(
	ctx context.Context,
	on bool,
) error

func (*AudioServiceProxy) SetBluetoothVariableLatencyEnabled

func (p *AudioServiceProxy) SetBluetoothVariableLatencyEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioServiceProxy) SetCommunicationDevice

func (p *AudioServiceProxy) SetCommunicationDevice(
	ctx context.Context,
	cb binder.IBinder,
	portId int32,
) (bool, error)

func (*AudioServiceProxy) SetCsd

func (p *AudioServiceProxy) SetCsd(
	ctx context.Context,
	csd float32,
) error

func (*AudioServiceProxy) SetCsdAsAFeatureEnabled

func (p *AudioServiceProxy) SetCsdAsAFeatureEnabled(
	ctx context.Context,
	csdToggleValue bool,
) error

func (*AudioServiceProxy) SetDesiredHeadTrackingMode

func (p *AudioServiceProxy) SetDesiredHeadTrackingMode(
	ctx context.Context,
	mode int32,
) error

func (*AudioServiceProxy) SetDeviceAsNonDefaultForStrategy

func (p *AudioServiceProxy) SetDeviceAsNonDefaultForStrategy(
	ctx context.Context,
	strategy int32,
	device AudioDeviceAttributes,
) (int32, error)

func (*AudioServiceProxy) SetDeviceVolume

func (p *AudioServiceProxy) SetDeviceVolume(
	ctx context.Context,
	vi VolumeInfo,
	ada AudioDeviceAttributes,
) error

func (*AudioServiceProxy) SetDeviceVolumeBehavior

func (p *AudioServiceProxy) SetDeviceVolumeBehavior(
	ctx context.Context,
	device AudioDeviceAttributes,
	deviceVolumeBehavior int32,
	pkgName string,
) error

func (*AudioServiceProxy) SetEncodedSurroundMode

func (p *AudioServiceProxy) SetEncodedSurroundMode(
	ctx context.Context,
	mode int32,
) (bool, error)

func (*AudioServiceProxy) SetFadeManagerConfigurationForFocusLoss

func (p *AudioServiceProxy) SetFadeManagerConfigurationForFocusLoss(
	ctx context.Context,
	fmcForFocusLoss FadeManagerConfiguration,
) (int32, error)

func (*AudioServiceProxy) SetFocusPropertiesForPolicy

func (p *AudioServiceProxy) SetFocusPropertiesForPolicy(
	ctx context.Context,
	duckingBehavior int32,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

func (*AudioServiceProxy) SetFocusRequestResultFromExtPolicy

func (p *AudioServiceProxy) SetFocusRequestResultFromExtPolicy(
	ctx context.Context,
	afi AudioFocusInfo,
	requestResult int32,
	pcb audiopolicy.IAudioPolicyCallback,
) error

func (*AudioServiceProxy) SetHdmiSystemAudioSupported

func (p *AudioServiceProxy) SetHdmiSystemAudioSupported(
	ctx context.Context,
	on bool,
) (int32, error)

func (*AudioServiceProxy) SetHeadTrackerEnabled

func (p *AudioServiceProxy) SetHeadTrackerEnabled(
	ctx context.Context,
	enabled bool,
	device AudioDeviceAttributes,
) error

func (*AudioServiceProxy) SetHomeSoundEffectEnabled

func (p *AudioServiceProxy) SetHomeSoundEffectEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioServiceProxy) SetLeAudioSuspended

func (p *AudioServiceProxy) SetLeAudioSuspended(
	ctx context.Context,
	enable bool,
) error

func (*AudioServiceProxy) SetMasterMute

func (p *AudioServiceProxy) SetMasterMute(
	ctx context.Context,
	mute bool,
	flags int32,
) error

func (*AudioServiceProxy) SetMicrophoneMute

func (p *AudioServiceProxy) SetMicrophoneMute(
	ctx context.Context,
	on bool,
) error

func (*AudioServiceProxy) SetMicrophoneMuteFromSwitch

func (p *AudioServiceProxy) SetMicrophoneMuteFromSwitch(
	ctx context.Context,
	on bool,
) error

func (*AudioServiceProxy) SetMode

func (p *AudioServiceProxy) SetMode(
	ctx context.Context,
	mode int32,
	cb binder.IBinder,
) error

func (*AudioServiceProxy) SetMultiAudioFocusEnabled

func (p *AudioServiceProxy) SetMultiAudioFocusEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioServiceProxy) SetNavigationRepeatSoundEffectsEnabled

func (p *AudioServiceProxy) SetNavigationRepeatSoundEffectsEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioServiceProxy) SetNotifAliasRingForTest

func (p *AudioServiceProxy) SetNotifAliasRingForTest(
	ctx context.Context,
	alias bool,
) error

func (*AudioServiceProxy) SetOutputRs2UpperBound

func (p *AudioServiceProxy) SetOutputRs2UpperBound(
	ctx context.Context,
	rs2Value float32,
) error

func (*AudioServiceProxy) SetPreferredDevicesForCapturePreset

func (p *AudioServiceProxy) SetPreferredDevicesForCapturePreset(
	ctx context.Context,
	capturePreset int32,
	devices []AudioDeviceAttributes,
) (int32, error)

func (*AudioServiceProxy) SetPreferredDevicesForStrategy

func (p *AudioServiceProxy) SetPreferredDevicesForStrategy(
	ctx context.Context,
	strategy int32,
	devices []AudioDeviceAttributes,
) (int32, error)

func (*AudioServiceProxy) SetPreferredMixerAttributes

func (p *AudioServiceProxy) SetPreferredMixerAttributes(
	ctx context.Context,
	aa AudioAttributes,
	portId int32,
	mixerAttributes AudioMixerAttributes,
) (int32, error)

func (*AudioServiceProxy) SetRingerModeExternal

func (p *AudioServiceProxy) SetRingerModeExternal(
	ctx context.Context,
	ringerMode int32,
	caller string,
) error

func (*AudioServiceProxy) SetRingerModeInternal

func (p *AudioServiceProxy) SetRingerModeInternal(
	ctx context.Context,
	ringerMode int32,
	caller string,
) error

func (*AudioServiceProxy) SetRingtonePlayer

func (p *AudioServiceProxy) SetRingtonePlayer(
	ctx context.Context,
	player IRingtonePlayer,
) error

func (*AudioServiceProxy) SetRttEnabled

func (p *AudioServiceProxy) SetRttEnabled(
	ctx context.Context,
	rttEnabled bool,
) error

func (*AudioServiceProxy) SetSpatializerEnabled

func (p *AudioServiceProxy) SetSpatializerEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*AudioServiceProxy) SetSpatializerGlobalTransform

func (p *AudioServiceProxy) SetSpatializerGlobalTransform(
	ctx context.Context,
	transform []float32,
) error

func (*AudioServiceProxy) SetSpatializerParameter

func (p *AudioServiceProxy) SetSpatializerParameter(
	ctx context.Context,
	key int32,
	value []byte,
) error

func (*AudioServiceProxy) SetSpeakerphoneOn

func (p *AudioServiceProxy) SetSpeakerphoneOn(
	ctx context.Context,
	cb binder.IBinder,
	on bool,
) error

func (*AudioServiceProxy) SetStreamVolume

func (p *AudioServiceProxy) SetStreamVolume(
	ctx context.Context,
	streamType int32,
	index int32,
	flags int32,
) error

func (*AudioServiceProxy) SetStreamVolumeForUid

func (p *AudioServiceProxy) SetStreamVolumeForUid(
	ctx context.Context,
	streamType int32,
	direction int32,
	flags int32,
	packageName string,
	uid int32,
	pid int32,
	userHandle os.UserHandle,
	targetSdkVersion int32,
) error

func (*AudioServiceProxy) SetStreamVolumeWithAttribution

func (p *AudioServiceProxy) SetStreamVolumeWithAttribution(
	ctx context.Context,
	streamType int32,
	index int32,
	flags int32,
) error

func (*AudioServiceProxy) SetSupportedSystemUsages

func (p *AudioServiceProxy) SetSupportedSystemUsages(
	ctx context.Context,
	systemUsages []int32,
) error

func (*AudioServiceProxy) SetSurroundFormatEnabled

func (p *AudioServiceProxy) SetSurroundFormatEnabled(
	ctx context.Context,
	audioFormat int32,
	enabled bool,
) (bool, error)

func (*AudioServiceProxy) SetTestDeviceConnectionState

func (p *AudioServiceProxy) SetTestDeviceConnectionState(
	ctx context.Context,
	device AudioDeviceAttributes,
	connected bool,
) error

func (*AudioServiceProxy) SetUidDeviceAffinity

func (p *AudioServiceProxy) SetUidDeviceAffinity(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
	uid int32,
	deviceTypes []int32,
	deviceAddresses []string,
) (int32, error)

func (*AudioServiceProxy) SetUserIdDeviceAffinity

func (p *AudioServiceProxy) SetUserIdDeviceAffinity(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
	deviceTypes []int32,
	deviceAddresses []string,
) (int32, error)

func (*AudioServiceProxy) SetVibrateSetting

func (p *AudioServiceProxy) SetVibrateSetting(
	ctx context.Context,
	vibrateType int32,
	vibrateSetting int32,
) error

func (*AudioServiceProxy) SetVolumeController

func (p *AudioServiceProxy) SetVolumeController(
	ctx context.Context,
	controller IVolumeController,
) error

func (*AudioServiceProxy) SetVolumeGroupVolumeIndex

func (p *AudioServiceProxy) SetVolumeGroupVolumeIndex(
	ctx context.Context,
	groupId int32,
	index int32,
	flags int32,
) error

func (*AudioServiceProxy) SetVolumePolicy

func (p *AudioServiceProxy) SetVolumePolicy(
	ctx context.Context,
	policy VolumePolicy,
) error

func (*AudioServiceProxy) SetWiredDeviceConnectionState

func (p *AudioServiceProxy) SetWiredDeviceConnectionState(
	ctx context.Context,
	aa AudioDeviceAttributes,
	state int32,
	caller string,
) error

func (*AudioServiceProxy) ShouldNotificationSoundPlay

func (p *AudioServiceProxy) ShouldNotificationSoundPlay(
	ctx context.Context,
	aa AudioAttributes,
) (bool, error)

func (*AudioServiceProxy) ShouldVibrate

func (p *AudioServiceProxy) ShouldVibrate(
	ctx context.Context,
	vibrateType int32,
) (bool, error)

func (*AudioServiceProxy) StartBluetoothSco

func (p *AudioServiceProxy) StartBluetoothSco(
	ctx context.Context,
	cb binder.IBinder,
	targetSdkVersion int32,
) error

func (*AudioServiceProxy) StartBluetoothScoVirtualCall

func (p *AudioServiceProxy) StartBluetoothScoVirtualCall(
	ctx context.Context,
	cb binder.IBinder,
) error

func (*AudioServiceProxy) StartLoudnessCodecUpdates

func (p *AudioServiceProxy) StartLoudnessCodecUpdates(
	ctx context.Context,
	sessionId int32,
) error

func (*AudioServiceProxy) StartWatchingRoutes

func (p *AudioServiceProxy) StartWatchingRoutes(
	ctx context.Context,
	observer IAudioRoutesObserver,
) (AudioRoutesInfo, error)

func (*AudioServiceProxy) StopBluetoothSco

func (p *AudioServiceProxy) StopBluetoothSco(
	ctx context.Context,
	cb binder.IBinder,
) error

func (*AudioServiceProxy) StopLoudnessCodecUpdates

func (p *AudioServiceProxy) StopLoudnessCodecUpdates(
	ctx context.Context,
	sessionId int32,
) error

func (*AudioServiceProxy) SupportsBluetoothVariableLatency

func (p *AudioServiceProxy) SupportsBluetoothVariableLatency(
	ctx context.Context,
) (bool, error)

func (*AudioServiceProxy) TrackPlayer

func (p *AudioServiceProxy) TrackPlayer(
	ctx context.Context,
	pic PlayerBasePlayerIdCard,
) (int32, error)

func (*AudioServiceProxy) TrackRecorder

func (p *AudioServiceProxy) TrackRecorder(
	ctx context.Context,
	recorder binder.IBinder,
) (int32, error)

func (*AudioServiceProxy) UnloadSoundEffects

func (p *AudioServiceProxy) UnloadSoundEffects(
	ctx context.Context,
) error

func (*AudioServiceProxy) UnregisterAudioFocusClient

func (p *AudioServiceProxy) UnregisterAudioFocusClient(
	ctx context.Context,
	clientId string,
) error

func (*AudioServiceProxy) UnregisterAudioPolicy

func (p *AudioServiceProxy) UnregisterAudioPolicy(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
) error

func (*AudioServiceProxy) UnregisterAudioPolicyAsync

func (p *AudioServiceProxy) UnregisterAudioPolicyAsync(
	ctx context.Context,
	pcb audiopolicy.IAudioPolicyCallback,
) error

func (*AudioServiceProxy) UnregisterAudioServerStateDispatcher

func (p *AudioServiceProxy) UnregisterAudioServerStateDispatcher(
	ctx context.Context,
	asd IAudioServerStateDispatcher,
) error

func (*AudioServiceProxy) UnregisterCapturePresetDevicesRoleDispatcher

func (p *AudioServiceProxy) UnregisterCapturePresetDevicesRoleDispatcher(
	ctx context.Context,
	dispatcher ICapturePresetDevicesRoleDispatcher,
) error

func (*AudioServiceProxy) UnregisterCommunicationDeviceDispatcher

func (p *AudioServiceProxy) UnregisterCommunicationDeviceDispatcher(
	ctx context.Context,
	dispatcher ICommunicationDeviceDispatcher,
) error

func (*AudioServiceProxy) UnregisterHeadToSoundstagePoseCallback

func (p *AudioServiceProxy) UnregisterHeadToSoundstagePoseCallback(
	ctx context.Context,
	cb ISpatializerHeadToSoundStagePoseCallback,
) error

func (*AudioServiceProxy) UnregisterLoudnessCodecUpdatesDispatcher

func (p *AudioServiceProxy) UnregisterLoudnessCodecUpdatesDispatcher(
	ctx context.Context,
	dispatcher ILoudnessCodecUpdatesDispatcher,
) error

func (*AudioServiceProxy) UnregisterModeDispatcher

func (p *AudioServiceProxy) UnregisterModeDispatcher(
	ctx context.Context,
	dispatcher IAudioModeDispatcher,
) error

func (*AudioServiceProxy) UnregisterPlaybackCallback

func (p *AudioServiceProxy) UnregisterPlaybackCallback(
	ctx context.Context,
	pcdb IPlaybackConfigDispatcher,
) error

func (*AudioServiceProxy) UnregisterPreferredMixerAttributesDispatcher

func (p *AudioServiceProxy) UnregisterPreferredMixerAttributesDispatcher(
	ctx context.Context,
	dispatcher IPreferredMixerAttributesDispatcher,
) error

func (*AudioServiceProxy) UnregisterRecordingCallback

func (p *AudioServiceProxy) UnregisterRecordingCallback(
	ctx context.Context,
	rcdb IRecordingConfigDispatcher,
) error

func (*AudioServiceProxy) UnregisterSpatializerCallback

func (p *AudioServiceProxy) UnregisterSpatializerCallback(
	ctx context.Context,
	cb ISpatializerCallback,
) error

func (*AudioServiceProxy) UnregisterSpatializerHeadTrackingCallback

func (p *AudioServiceProxy) UnregisterSpatializerHeadTrackingCallback(
	ctx context.Context,
	cb ISpatializerHeadTrackingModeCallback,
) error

func (*AudioServiceProxy) UnregisterSpatializerOutputCallback

func (p *AudioServiceProxy) UnregisterSpatializerOutputCallback(
	ctx context.Context,
	cb ISpatializerOutputCallback,
) error

func (*AudioServiceProxy) UnregisterStrategyNonDefaultDevicesDispatcher

func (p *AudioServiceProxy) UnregisterStrategyNonDefaultDevicesDispatcher(
	ctx context.Context,
	dispatcher IStrategyNonDefaultDevicesDispatcher,
) error

func (*AudioServiceProxy) UnregisterStrategyPreferredDevicesDispatcher

func (p *AudioServiceProxy) UnregisterStrategyPreferredDevicesDispatcher(
	ctx context.Context,
	dispatcher IStrategyPreferredDevicesDispatcher,
) error

func (*AudioServiceProxy) UpdateMixingRulesForPolicy

func (p *AudioServiceProxy) UpdateMixingRulesForPolicy(
	ctx context.Context,
	mixesToUpdate []AudioMix,
	updatedMixingRules []audiopolicy.AudioMixingRule,
	pcb audiopolicy.IAudioPolicyCallback,
) (int32, error)

type AudioServiceStub

type AudioServiceStub struct {
	Impl      IAudioService
	Transport binder.VersionAwareTransport
}

AudioServiceStub dispatches incoming binder transactions to a typed IAudioService implementation.

func (*AudioServiceStub) Descriptor

func (s *AudioServiceStub) Descriptor() string

func (*AudioServiceStub) OnTransaction

func (s *AudioServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioTimestamp

type AudioTimestamp struct {
	FramePosition int64
	NanoTime      int64
}

func (*AudioTimestamp) MarshalParcel

func (s *AudioTimestamp) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioTimestamp) UnmarshalParcel

func (s *AudioTimestamp) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioTimestampInternal

type AudioTimestampInternal struct {
	Position int64
	Sec      int64
	Nsec     int32
}

func (*AudioTimestampInternal) MarshalParcel

func (s *AudioTimestampInternal) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioTimestampInternal) UnmarshalParcel

func (s *AudioTimestampInternal) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioTrackCallbackProxy

type AudioTrackCallbackProxy struct {
	Remote binder.IBinder
}

func NewAudioTrackCallbackProxy

func NewAudioTrackCallbackProxy(
	remote binder.IBinder,
) *AudioTrackCallbackProxy

func (*AudioTrackCallbackProxy) AsBinder

func (p *AudioTrackCallbackProxy) AsBinder() binder.IBinder

func (*AudioTrackCallbackProxy) OnCodecFormatChanged

func (p *AudioTrackCallbackProxy) OnCodecFormatChanged(
	ctx context.Context,
	audioMetadata []byte,
) error

type AudioTrackCallbackStub

type AudioTrackCallbackStub struct {
	Impl      IAudioTrackCallback
	Transport binder.VersionAwareTransport
}

AudioTrackCallbackStub dispatches incoming binder transactions to a typed IAudioTrackCallback implementation.

func (*AudioTrackCallbackStub) Descriptor

func (s *AudioTrackCallbackStub) Descriptor() string

func (*AudioTrackCallbackStub) OnTransaction

func (s *AudioTrackCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioTrackProxy

type AudioTrackProxy struct {
	Remote binder.IBinder
}

func NewAudioTrackProxy

func NewAudioTrackProxy(
	remote binder.IBinder,
) *AudioTrackProxy

func (*AudioTrackProxy) ApplyVolumeShaper

func (p *AudioTrackProxy) ApplyVolumeShaper(
	ctx context.Context,
	configuration VolumeShaperConfiguration,
	operation VolumeShaperOperation,
) (int32, error)

func (*AudioTrackProxy) AsBinder

func (p *AudioTrackProxy) AsBinder() binder.IBinder

func (*AudioTrackProxy) AttachAuxEffect

func (p *AudioTrackProxy) AttachAuxEffect(
	ctx context.Context,
	effectId int32,
) (int32, error)

func (*AudioTrackProxy) Flush

func (p *AudioTrackProxy) Flush(
	ctx context.Context,
) error

func (*AudioTrackProxy) GetAudioDescriptionMixLevel

func (p *AudioTrackProxy) GetAudioDescriptionMixLevel(
	ctx context.Context,
) (float32, error)

func (*AudioTrackProxy) GetCblk

func (p *AudioTrackProxy) GetCblk(
	ctx context.Context,
) (SharedFileRegion, error)

func (*AudioTrackProxy) GetDualMonoMode

func (p *AudioTrackProxy) GetDualMonoMode(
	ctx context.Context,
) (common.AudioDualMonoMode, error)

func (*AudioTrackProxy) GetPlaybackRateParameters

func (p *AudioTrackProxy) GetPlaybackRateParameters(
	ctx context.Context,
) (common.AudioPlaybackRate, error)

func (*AudioTrackProxy) GetTimestamp

func (p *AudioTrackProxy) GetTimestamp(
	ctx context.Context,
	timestamp AudioTimestampInternal,
) (int32, error)

func (*AudioTrackProxy) GetVolumeShaperState

func (p *AudioTrackProxy) GetVolumeShaperState(
	ctx context.Context,
	id int32,
) (VolumeShaperState, error)

func (*AudioTrackProxy) Pause

func (p *AudioTrackProxy) Pause(
	ctx context.Context,
) error

func (*AudioTrackProxy) SelectPresentation

func (p *AudioTrackProxy) SelectPresentation(
	ctx context.Context,
	presentationId int32,
	programId int32,
) (int32, error)

func (*AudioTrackProxy) SetAudioDescriptionMixLevel

func (p *AudioTrackProxy) SetAudioDescriptionMixLevel(
	ctx context.Context,
	leveldB float32,
) error

func (*AudioTrackProxy) SetDualMonoMode

func (p *AudioTrackProxy) SetDualMonoMode(
	ctx context.Context,
	mode common.AudioDualMonoMode,
) error

func (*AudioTrackProxy) SetParameters

func (p *AudioTrackProxy) SetParameters(
	ctx context.Context,
	keyValuePairs string,
) (int32, error)

func (*AudioTrackProxy) SetPlaybackRateParameters

func (p *AudioTrackProxy) SetPlaybackRateParameters(
	ctx context.Context,
	playbackRate common.AudioPlaybackRate,
) error

func (*AudioTrackProxy) Signal

func (p *AudioTrackProxy) Signal(
	ctx context.Context,
) error

func (*AudioTrackProxy) Start

func (p *AudioTrackProxy) Start(
	ctx context.Context,
) (int32, error)

func (*AudioTrackProxy) Stop

func (p *AudioTrackProxy) Stop(
	ctx context.Context,
) error

type AudioTrackStub

type AudioTrackStub struct {
	Impl      IAudioTrack
	Transport binder.VersionAwareTransport
}

AudioTrackStub dispatches incoming binder transactions to a typed IAudioTrack implementation.

func (*AudioTrackStub) Descriptor

func (s *AudioTrackStub) Descriptor() string

func (*AudioTrackStub) OnTransaction

func (s *AudioTrackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AudioUniqueIdUse

type AudioUniqueIdUse int32
const (
	AudioUniqueIdUseUNSPECIFIED AudioUniqueIdUse = 0
	AudioUniqueIdUseSESSION     AudioUniqueIdUse = 1
	AudioUniqueIdUseMODULE      AudioUniqueIdUse = 2
	AudioUniqueIdUseEFFECT      AudioUniqueIdUse = 3
	AudioUniqueIdUsePATCH       AudioUniqueIdUse = 4
	AudioUniqueIdUseOUTPUT      AudioUniqueIdUse = 5
	AudioUniqueIdUseINPUT       AudioUniqueIdUse = 6
	AudioUniqueIdUseCLIENT      AudioUniqueIdUse = 7
)

type AudioVibratorInfo

type AudioVibratorInfo struct {
	Id                int32
	ResonantFrequency float32
	QFactor           float32
	MaxAmplitude      float32
}

func (*AudioVibratorInfo) MarshalParcel

func (s *AudioVibratorInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioVibratorInfo) UnmarshalParcel

func (s *AudioVibratorInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type AudioVolumeGroup

type AudioVolumeGroup struct {
	GroupId         int32
	Name            string
	AudioAttributes []AudioAttributes
	Streams         []common.AudioStreamType
}

func (*AudioVolumeGroup) MarshalParcel

func (s *AudioVolumeGroup) MarshalParcel(
	p *parcel.Parcel,
) error

func (*AudioVolumeGroup) UnmarshalParcel

func (s *AudioVolumeGroup) UnmarshalParcel(
	p *parcel.Parcel,
) error

type BluetoothProfileConnectionInfo

type BluetoothProfileConnectionInfo struct {
	Profile    int32
	SupprNoisy bool
	Volume     int32
	IsLeOutput bool
}

func (*BluetoothProfileConnectionInfo) MarshalParcel

func (s *BluetoothProfileConnectionInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*BluetoothProfileConnectionInfo) UnmarshalParcel

func (s *BluetoothProfileConnectionInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type BufferingParams

type BufferingParams struct {
}

func (*BufferingParams) MarshalParcel

func (s *BufferingParams) MarshalParcel(
	p *parcel.Parcel,
) error

func (*BufferingParams) UnmarshalParcel

func (s *BufferingParams) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CapturePresetDevicesRoleDispatcherProxy

type CapturePresetDevicesRoleDispatcherProxy struct {
	Remote binder.IBinder
}

func NewCapturePresetDevicesRoleDispatcherProxy

func NewCapturePresetDevicesRoleDispatcherProxy(
	remote binder.IBinder,
) *CapturePresetDevicesRoleDispatcherProxy

func (*CapturePresetDevicesRoleDispatcherProxy) AsBinder

func (*CapturePresetDevicesRoleDispatcherProxy) DispatchDevicesRoleChanged

func (p *CapturePresetDevicesRoleDispatcherProxy) DispatchDevicesRoleChanged(
	ctx context.Context,
	capturePreset int32,
	role int32,
	devices []AudioDeviceAttributes,
) error

type CapturePresetDevicesRoleDispatcherStub

type CapturePresetDevicesRoleDispatcherStub struct {
	Impl      ICapturePresetDevicesRoleDispatcher
	Transport binder.VersionAwareTransport
}

CapturePresetDevicesRoleDispatcherStub dispatches incoming binder transactions to a typed ICapturePresetDevicesRoleDispatcher implementation.

func (*CapturePresetDevicesRoleDispatcherStub) Descriptor

func (*CapturePresetDevicesRoleDispatcherStub) OnTransaction

type CaptureStateListenerProxy

type CaptureStateListenerProxy struct {
	Remote binder.IBinder
}

func NewCaptureStateListenerProxy

func NewCaptureStateListenerProxy(
	remote binder.IBinder,
) *CaptureStateListenerProxy

func (*CaptureStateListenerProxy) AsBinder

func (*CaptureStateListenerProxy) SetCaptureState

func (p *CaptureStateListenerProxy) SetCaptureState(
	ctx context.Context,
	active bool,
) error

type CaptureStateListenerStub

type CaptureStateListenerStub struct {
	Impl      ICaptureStateListener
	Transport binder.VersionAwareTransport
}

CaptureStateListenerStub dispatches incoming binder transactions to a typed ICaptureStateListener implementation.

func (*CaptureStateListenerStub) Descriptor

func (s *CaptureStateListenerStub) Descriptor() string

func (*CaptureStateListenerStub) OnTransaction

func (s *CaptureStateListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type ClientConfigParcel

type ClientConfigParcel struct {
	ClientInfo ClientInfoParcel
	CodecType  MediaResourceSubType
	IsEncoder  bool
	Width      int32
	Height     int32
	TimeStamp  int64
	Id         int64
}

func (*ClientConfigParcel) MarshalParcel

func (s *ClientConfigParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ClientConfigParcel) UnmarshalParcel

func (s *ClientConfigParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ClientInfoParcel

type ClientInfoParcel struct {
	Pid        int32
	Uid        int32
	Id         int64
	Name       string
	Importance int32
}

func (*ClientInfoParcel) MarshalParcel

func (s *ClientInfoParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ClientInfoParcel) UnmarshalParcel

func (s *ClientInfoParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CommunicationDeviceDispatcherProxy

type CommunicationDeviceDispatcherProxy struct {
	Remote binder.IBinder
}

func NewCommunicationDeviceDispatcherProxy

func NewCommunicationDeviceDispatcherProxy(
	remote binder.IBinder,
) *CommunicationDeviceDispatcherProxy

func (*CommunicationDeviceDispatcherProxy) AsBinder

func (*CommunicationDeviceDispatcherProxy) DispatchCommunicationDeviceChanged

func (p *CommunicationDeviceDispatcherProxy) DispatchCommunicationDeviceChanged(
	ctx context.Context,
	portId int32,
) error

type CommunicationDeviceDispatcherStub

type CommunicationDeviceDispatcherStub struct {
	Impl      ICommunicationDeviceDispatcher
	Transport binder.VersionAwareTransport
}

CommunicationDeviceDispatcherStub dispatches incoming binder transactions to a typed ICommunicationDeviceDispatcher implementation.

func (*CommunicationDeviceDispatcherStub) Descriptor

func (s *CommunicationDeviceDispatcherStub) Descriptor() string

func (*CommunicationDeviceDispatcherStub) OnTransaction

type CreateEffectRequest

type CreateEffectRequest struct {
	Desc                  EffectDescriptor
	Client                IEffectClient
	Priority              int32
	Output                int32
	SessionId             int32
	Device                common.AudioDevice
	AttributionSource     content.AttributionSourceState
	Probe                 bool
	NotifyFramesProcessed bool
}

func (*CreateEffectRequest) MarshalParcel

func (s *CreateEffectRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateEffectRequest) UnmarshalParcel

func (s *CreateEffectRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CreateEffectResponse

type CreateEffectResponse struct {
	Id            int32
	Enabled       bool
	Effect        IEffect
	Desc          EffectDescriptor
	AlreadyExists bool
}

func (*CreateEffectResponse) MarshalParcel

func (s *CreateEffectResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateEffectResponse) UnmarshalParcel

func (s *CreateEffectResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CreateRecordRequest

type CreateRecordRequest struct {
	Attr                    AudioAttributes
	Config                  common.AudioConfigBase
	ClientInfo              AudioClient
	Riid                    int32
	MaxSharedAudioHistoryMs int32
	Flags                   int32
	FrameCount              int64
	NotificationFrameCount  int64
	SelectedDeviceId        int32
	SessionId               int32
}

func (*CreateRecordRequest) MarshalParcel

func (s *CreateRecordRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateRecordRequest) UnmarshalParcel

func (s *CreateRecordRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CreateRecordResponse

type CreateRecordResponse struct {
	Flags                  int32
	FrameCount             int64
	NotificationFrameCount int64
	SelectedDeviceId       int32
	SessionId              int32
	SampleRate             int32
	InputId                int32
	Cblk                   *SharedFileRegion
	Buffers                *SharedFileRegion
	PortId                 int32
	AudioRecord            IAudioRecord
	ServerConfig           common.AudioConfigBase
	HalConfig              common.AudioConfigBase
}

func (*CreateRecordResponse) MarshalParcel

func (s *CreateRecordResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateRecordResponse) UnmarshalParcel

func (s *CreateRecordResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CreateTrackRequest

type CreateTrackRequest struct {
	Attr                   AudioAttributes
	Config                 common.AudioConfig
	ClientInfo             AudioClient
	SharedBuffer           *SharedFileRegion
	NotificationsPerBuffer int32
	Speed                  float32
	AudioTrackCallback     IAudioTrackCallback
	OpPackageName          string
	Flags                  int32
	FrameCount             int64
	NotificationFrameCount int64
	SelectedDeviceId       int32
	SessionId              int32
}

func (*CreateTrackRequest) MarshalParcel

func (s *CreateTrackRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateTrackRequest) UnmarshalParcel

func (s *CreateTrackRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CreateTrackResponse

type CreateTrackResponse struct {
	Flags                  int32
	FrameCount             int64
	NotificationFrameCount int64
	SelectedDeviceId       int32
	SessionId              int32
	SampleRate             int32
	StreamType             common.AudioStreamType
	AfFrameCount           int64
	AfSampleRate           int32
	AfChannelMask          common.AudioChannelLayout
	AfFormat               common.AudioFormatDescription
	AfLatencyMs            int32
	AfTrackFlags           int32
	OutputId               int32
	PortId                 int32
	AudioTrack             IAudioTrack
}

func (*CreateTrackResponse) MarshalParcel

func (s *CreateTrackResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CreateTrackResponse) UnmarshalParcel

func (s *CreateTrackResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type DeviceConnectedState

type DeviceConnectedState int32
const (
	DeviceConnectedStateCONNECTED           DeviceConnectedState = 0
	DeviceConnectedStateDISCONNECTED        DeviceConnectedState = 1
	DeviceConnectedStatePrepareToDisconnect DeviceConnectedState = 2
)

type DeviceRole

type DeviceRole int32
const (
	DeviceRoleNONE      DeviceRole = 0
	DeviceRolePREFERRED DeviceRole = 1
	DeviceRoleDISABLED  DeviceRole = 2
)

type DeviceVolumeBehaviorDispatcherProxy

type DeviceVolumeBehaviorDispatcherProxy struct {
	Remote binder.IBinder
}

func NewDeviceVolumeBehaviorDispatcherProxy

func NewDeviceVolumeBehaviorDispatcherProxy(
	remote binder.IBinder,
) *DeviceVolumeBehaviorDispatcherProxy

func (*DeviceVolumeBehaviorDispatcherProxy) AsBinder

func (*DeviceVolumeBehaviorDispatcherProxy) DispatchDeviceVolumeBehaviorChanged

func (p *DeviceVolumeBehaviorDispatcherProxy) DispatchDeviceVolumeBehaviorChanged(
	ctx context.Context,
	device AudioDeviceAttributes,
	deviceVolumeBehavior int32,
) error

type DeviceVolumeBehaviorDispatcherStub

type DeviceVolumeBehaviorDispatcherStub struct {
	Impl      IDeviceVolumeBehaviorDispatcher
	Transport binder.VersionAwareTransport
}

DeviceVolumeBehaviorDispatcherStub dispatches incoming binder transactions to a typed IDeviceVolumeBehaviorDispatcher implementation.

func (*DeviceVolumeBehaviorDispatcherStub) Descriptor

func (*DeviceVolumeBehaviorDispatcherStub) OnTransaction

type DevicesForAttributesCallbackProxy

type DevicesForAttributesCallbackProxy struct {
	Remote binder.IBinder
}

func NewDevicesForAttributesCallbackProxy

func NewDevicesForAttributesCallbackProxy(
	remote binder.IBinder,
) *DevicesForAttributesCallbackProxy

func (*DevicesForAttributesCallbackProxy) AsBinder

func (*DevicesForAttributesCallbackProxy) OnDevicesForAttributesChanged

func (p *DevicesForAttributesCallbackProxy) OnDevicesForAttributesChanged(
	ctx context.Context,
	attributes AudioAttributes,
	forVolume bool,
	devices []AudioDeviceAttributes,
) error

type DevicesForAttributesCallbackStub

type DevicesForAttributesCallbackStub struct {
	Impl      IDevicesForAttributesCallback
	Transport binder.VersionAwareTransport
}

DevicesForAttributesCallbackStub dispatches incoming binder transactions to a typed IDevicesForAttributesCallback implementation.

func (*DevicesForAttributesCallbackStub) Descriptor

func (s *DevicesForAttributesCallbackStub) Descriptor() string

func (*DevicesForAttributesCallbackStub) OnTransaction

type EffectClientProxy

type EffectClientProxy struct {
	Remote binder.IBinder
}

func NewEffectClientProxy

func NewEffectClientProxy(
	remote binder.IBinder,
) *EffectClientProxy

func (*EffectClientProxy) AsBinder

func (p *EffectClientProxy) AsBinder() binder.IBinder

func (*EffectClientProxy) CommandExecuted

func (p *EffectClientProxy) CommandExecuted(
	ctx context.Context,
	cmdCode int32,
	cmdData []byte,
	replyData []byte,
) error

func (*EffectClientProxy) ControlStatusChanged

func (p *EffectClientProxy) ControlStatusChanged(
	ctx context.Context,
	controlGranted bool,
) error

func (*EffectClientProxy) EnableStatusChanged

func (p *EffectClientProxy) EnableStatusChanged(
	ctx context.Context,
	enabled bool,
) error

func (*EffectClientProxy) FramesProcessed

func (p *EffectClientProxy) FramesProcessed(
	ctx context.Context,
	frames int32,
) error

type EffectClientStub

type EffectClientStub struct {
	Impl      IEffectClient
	Transport binder.VersionAwareTransport
}

EffectClientStub dispatches incoming binder transactions to a typed IEffectClient implementation.

func (*EffectClientStub) Descriptor

func (s *EffectClientStub) Descriptor() string

func (*EffectClientStub) OnTransaction

func (s *EffectClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type EffectConfig

type EffectConfig struct {
	InputCfg        common.AudioConfigBase
	OutputCfg       common.AudioConfigBase
	IsOnInputStream bool
}

func (*EffectConfig) MarshalParcel

func (s *EffectConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*EffectConfig) UnmarshalParcel

func (s *EffectConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type EffectDescriptor

type EffectDescriptor struct {
	Type        common.AudioUuid
	Uuid        common.AudioUuid
	ApiVersion  int32
	Flags       int32
	CpuLoad     int32
	MemoryUsage int32
	Name        string
	Implementor string
}

func (*EffectDescriptor) MarshalParcel

func (s *EffectDescriptor) MarshalParcel(
	p *parcel.Parcel,
) error

func (*EffectDescriptor) UnmarshalParcel

func (s *EffectDescriptor) UnmarshalParcel(
	p *parcel.Parcel,
) error

type EffectProxy

type EffectProxy struct {
	Remote binder.IBinder
}

func NewEffectProxy

func NewEffectProxy(
	remote binder.IBinder,
) *EffectProxy

func (*EffectProxy) AsBinder

func (p *EffectProxy) AsBinder() binder.IBinder

func (*EffectProxy) Command

func (p *EffectProxy) Command(
	ctx context.Context,
	cmdCode int32,
	cmdData []byte,
	maxResponseSize int32,
	response []byte,
) (int32, error)

func (*EffectProxy) Disable

func (p *EffectProxy) Disable(
	ctx context.Context,
) (int32, error)

func (*EffectProxy) Disconnect

func (p *EffectProxy) Disconnect(
	ctx context.Context,
) error

func (*EffectProxy) Enable

func (p *EffectProxy) Enable(
	ctx context.Context,
) (int32, error)

func (*EffectProxy) GetCblk

func (p *EffectProxy) GetCblk(
	ctx context.Context,
) (SharedFileRegion, error)

func (*EffectProxy) GetConfig

func (p *EffectProxy) GetConfig(
	ctx context.Context,
	config EffectConfig,
) (int32, error)

type EffectStub

type EffectStub struct {
	Impl      IEffect
	Transport binder.VersionAwareTransport
}

EffectStub dispatches incoming binder transactions to a typed IEffect implementation.

func (*EffectStub) Descriptor

func (s *EffectStub) Descriptor() string

func (*EffectStub) OnTransaction

func (s *EffectStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type FadeManagerConfiguration

type FadeManagerConfiguration struct {
	FadeState                     int32
	FadeOutDurationMillis         int64
	FadeInDurationMillis          int64
	FadeInDelayForOffendersMillis int64
}

func (*FadeManagerConfiguration) MarshalParcel

func (s *FadeManagerConfiguration) MarshalParcel(
	p *parcel.Parcel,
) error

func (*FadeManagerConfiguration) UnmarshalParcel

func (s *FadeManagerConfiguration) UnmarshalParcel(
	p *parcel.Parcel,
) error

type GetInputForAttrResponse

type GetInputForAttrResponse struct {
	Input            int32
	SelectedDeviceId int32
	PortId           int32
	Config           common.AudioConfigBase
}

func (*GetInputForAttrResponse) MarshalParcel

func (s *GetInputForAttrResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*GetInputForAttrResponse) UnmarshalParcel

func (s *GetInputForAttrResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type GetOutputForAttrResponse

type GetOutputForAttrResponse struct {
	Output           int32
	Stream           common.AudioStreamType
	SelectedDeviceId int32
	PortId           int32
	SecondaryOutputs []int32
	IsSpatialized    bool
	ConfigBase       common.AudioConfigBase
	IsBitPerfect     bool
	Attr             AudioAttributes
}

func (*GetOutputForAttrResponse) MarshalParcel

func (s *GetOutputForAttrResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*GetOutputForAttrResponse) UnmarshalParcel

func (s *GetOutputForAttrResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type GetSpatializerResponse

type GetSpatializerResponse struct {
	Spatializer ISpatializer
}

func (*GetSpatializerResponse) MarshalParcel

func (s *GetSpatializerResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*GetSpatializerResponse) UnmarshalParcel

func (s *GetSpatializerResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type IAudioDeviceVolumeDispatcher

type IAudioDeviceVolumeDispatcher interface {
	AsBinder() binder.IBinder
	DispatchDeviceVolumeChanged(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo) error
	DispatchDeviceVolumeAdjusted(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo, direction int32, mode int32) error
}

func NewAudioDeviceVolumeDispatcherStub

func NewAudioDeviceVolumeDispatcherStub(
	impl IAudioDeviceVolumeDispatcherServer,
) IAudioDeviceVolumeDispatcher

NewAudioDeviceVolumeDispatcherStub creates a server-side IAudioDeviceVolumeDispatcher wrapping the given server implementation. The returned value satisfies IAudioDeviceVolumeDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioDeviceVolumeDispatcherServer

type IAudioDeviceVolumeDispatcherServer interface {
	DispatchDeviceVolumeChanged(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo) error
	DispatchDeviceVolumeAdjusted(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo, direction int32, mode int32) error
}

IAudioDeviceVolumeDispatcherServer is the server-side interface that user implementations provide to NewAudioDeviceVolumeDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioFlingerClient

type IAudioFlingerClient interface {
	AsBinder() binder.IBinder
	IoConfigChanged(ctx context.Context, event AudioIoConfigEvent, ioDesc AudioIoDescriptor) error
	OnSupportedLatencyModesChanged(ctx context.Context, output int32, latencyModes []common.AudioLatencyMode) error
}

func NewAudioFlingerClientStub

func NewAudioFlingerClientStub(
	impl IAudioFlingerClientServer,
) IAudioFlingerClient

NewAudioFlingerClientStub creates a server-side IAudioFlingerClient wrapping the given server implementation. The returned value satisfies IAudioFlingerClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioFlingerClientServer

type IAudioFlingerClientServer interface {
	IoConfigChanged(ctx context.Context, event AudioIoConfigEvent, ioDesc AudioIoDescriptor) error
	OnSupportedLatencyModesChanged(ctx context.Context, output int32, latencyModes []common.AudioLatencyMode) error
}

IAudioFlingerClientServer is the server-side interface that user implementations provide to NewAudioFlingerClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioFlingerService

type IAudioFlingerService interface {
	AsBinder() binder.IBinder
	CreateTrack(ctx context.Context, request CreateTrackRequest) (CreateTrackResponse, error)
	CreateRecord(ctx context.Context, request CreateRecordRequest) (CreateRecordResponse, error)
	SampleRate(ctx context.Context, ioHandle int32) (int32, error)
	Format(ctx context.Context, output int32) (common.AudioFormatDescription, error)
	FrameCount(ctx context.Context, ioHandle int32) (int64, error)
	Latency(ctx context.Context, output int32) (int32, error)
	SetMasterVolume(ctx context.Context, value float32) error
	SetMasterMute(ctx context.Context, muted bool) error
	MasterVolume(ctx context.Context) (float32, error)
	MasterMute(ctx context.Context) (bool, error)
	SetMasterBalance(ctx context.Context, balance float32) error
	GetMasterBalance(ctx context.Context) (float32, error)
	SetStreamVolume(ctx context.Context, stream common.AudioStreamType, value float32, output int32) error
	SetStreamMute(ctx context.Context, stream common.AudioStreamType, muted bool) error
	StreamVolume(ctx context.Context, stream common.AudioStreamType, output int32) (float32, error)
	StreamMute(ctx context.Context, stream common.AudioStreamType) (bool, error)
	SetMode(ctx context.Context, mode common.AudioMode) error
	SetMicMute(ctx context.Context, state bool) error
	GetMicMute(ctx context.Context) (bool, error)
	SetRecordSilenced(ctx context.Context, portId int32, silenced bool) error
	SetParameters(ctx context.Context, ioHandle int32, keyValuePairs string) error
	GetParameters(ctx context.Context, ioHandle int32, keys string) (string, error)
	RegisterClient(ctx context.Context, client IAudioFlingerClient) error
	GetInputBufferSize(ctx context.Context, sampleRate int32, format common.AudioFormatDescription, channelMask common.AudioChannelLayout) (int64, error)
	OpenOutput(ctx context.Context, request OpenOutputRequest) (OpenOutputResponse, error)
	OpenDuplicateOutput(ctx context.Context, output1 int32, output2 int32) (int32, error)
	CloseOutput(ctx context.Context, output int32) error
	SuspendOutput(ctx context.Context, output int32) error
	RestoreOutput(ctx context.Context, output int32) error
	OpenInput(ctx context.Context, request OpenInputRequest) (OpenInputResponse, error)
	CloseInput(ctx context.Context, input int32) error
	SetVoiceVolume(ctx context.Context, volume float32) error
	GetRenderPosition(ctx context.Context, output int32) (RenderPosition, error)
	GetInputFramesLost(ctx context.Context, ioHandle int32) (int32, error)
	NewAudioUniqueId(ctx context.Context, use AudioUniqueIdUse) (int32, error)
	AcquireAudioSessionId(ctx context.Context, audioSession int32, pid int32, uid int32) error
	ReleaseAudioSessionId(ctx context.Context, audioSession int32, pid int32) error
	QueryNumberEffects(ctx context.Context) (int32, error)
	QueryEffect(ctx context.Context, index int32) (EffectDescriptor, error)
	GetEffectDescriptor(ctx context.Context, effectUUID common.AudioUuid, typeUUID common.AudioUuid, preferredTypeFlag int32) (EffectDescriptor, error)
	CreateEffect(ctx context.Context, request CreateEffectRequest) (CreateEffectResponse, error)
	MoveEffects(ctx context.Context, session int32, srcOutput int32, dstOutput int32) error
	SetEffectSuspended(ctx context.Context, effectId int32, sessionId int32, suspended bool) error
	LoadHwModule(ctx context.Context, name string) (int32, error)
	GetPrimaryOutputSamplingRate(ctx context.Context) (int32, error)
	GetPrimaryOutputFrameCount(ctx context.Context) (int64, error)
	SetLowRamDevice(ctx context.Context, isLowRamDevice bool, totalMemory int64) error
	GetAudioPort(ctx context.Context, port AudioPortFw) (AudioPortFw, error)
	CreateAudioPatch(ctx context.Context, patch AudioPatchFw) (int32, error)
	ReleaseAudioPatch(ctx context.Context, handle int32) error
	ListAudioPatches(ctx context.Context, maxCount int32) ([]AudioPatchFw, error)
	SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
	GetAudioHwSyncForSession(ctx context.Context, sessionId int32) (int32, error)
	SystemReady(ctx context.Context) error
	AudioPolicyReady(ctx context.Context) error
	FrameCountHAL(ctx context.Context, ioHandle int32) (int64, error)
	GetMicrophones(ctx context.Context) ([]MicrophoneInfoFw, error)
	SetAudioHalPids(ctx context.Context, pids []int32) error
	SetVibratorInfos(ctx context.Context, vibratorInfos []AudioVibratorInfo) error
	UpdateSecondaryOutputs(ctx context.Context, trackSecondaryOutputInfos []TrackSecondaryOutputInfo) error
	GetMmapPolicyInfos(ctx context.Context, policyType common.AudioMMapPolicyType) ([]common.AudioMMapPolicyInfo, error)
	GetAAudioMixerBurstCount(ctx context.Context) (int32, error)
	GetAAudioHardwareBurstMinUsec(ctx context.Context) (int32, error)
	SetDeviceConnectedState(ctx context.Context, devicePort AudioPortFw, state DeviceConnectedState) error
	SetSimulateDeviceConnections(ctx context.Context, enabled bool) error
	SetRequestedLatencyMode(ctx context.Context, output int32, latencyMode common.AudioLatencyMode) error
	GetSupportedLatencyModes(ctx context.Context, output int32) ([]common.AudioLatencyMode, error)
	SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
	SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
	IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
	GetSoundDoseInterface(ctx context.Context, callback ISoundDoseCallback) (ISoundDose, error)
	InvalidateTracks(ctx context.Context, portIds []int32) error
	GetAudioPolicyConfig(ctx context.Context) (AudioPolicyConfig, error)
	GetAudioMixPort(ctx context.Context, devicePort AudioPortFw, mixPort AudioPortFw) (AudioPortFw, error)
}

func NewAudioFlingerServiceStub

func NewAudioFlingerServiceStub(
	impl IAudioFlingerServiceServer,
) IAudioFlingerService

NewAudioFlingerServiceStub creates a server-side IAudioFlingerService wrapping the given server implementation. The returned value satisfies IAudioFlingerService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioFlingerServiceServer

type IAudioFlingerServiceServer interface {
	CreateTrack(ctx context.Context, request CreateTrackRequest) (CreateTrackResponse, error)
	CreateRecord(ctx context.Context, request CreateRecordRequest) (CreateRecordResponse, error)
	SampleRate(ctx context.Context, ioHandle int32) (int32, error)
	Format(ctx context.Context, output int32) (common.AudioFormatDescription, error)
	FrameCount(ctx context.Context, ioHandle int32) (int64, error)
	Latency(ctx context.Context, output int32) (int32, error)
	SetMasterVolume(ctx context.Context, value float32) error
	SetMasterMute(ctx context.Context, muted bool) error
	MasterVolume(ctx context.Context) (float32, error)
	MasterMute(ctx context.Context) (bool, error)
	SetMasterBalance(ctx context.Context, balance float32) error
	GetMasterBalance(ctx context.Context) (float32, error)
	SetStreamVolume(ctx context.Context, stream common.AudioStreamType, value float32, output int32) error
	SetStreamMute(ctx context.Context, stream common.AudioStreamType, muted bool) error
	StreamVolume(ctx context.Context, stream common.AudioStreamType, output int32) (float32, error)
	StreamMute(ctx context.Context, stream common.AudioStreamType) (bool, error)
	SetMode(ctx context.Context, mode common.AudioMode) error
	SetMicMute(ctx context.Context, state bool) error
	GetMicMute(ctx context.Context) (bool, error)
	SetRecordSilenced(ctx context.Context, portId int32, silenced bool) error
	SetParameters(ctx context.Context, ioHandle int32, keyValuePairs string) error
	GetParameters(ctx context.Context, ioHandle int32, keys string) (string, error)
	RegisterClient(ctx context.Context, client IAudioFlingerClient) error
	GetInputBufferSize(ctx context.Context, sampleRate int32, format common.AudioFormatDescription, channelMask common.AudioChannelLayout) (int64, error)
	OpenOutput(ctx context.Context, request OpenOutputRequest) (OpenOutputResponse, error)
	OpenDuplicateOutput(ctx context.Context, output1 int32, output2 int32) (int32, error)
	CloseOutput(ctx context.Context, output int32) error
	SuspendOutput(ctx context.Context, output int32) error
	RestoreOutput(ctx context.Context, output int32) error
	OpenInput(ctx context.Context, request OpenInputRequest) (OpenInputResponse, error)
	CloseInput(ctx context.Context, input int32) error
	SetVoiceVolume(ctx context.Context, volume float32) error
	GetRenderPosition(ctx context.Context, output int32) (RenderPosition, error)
	GetInputFramesLost(ctx context.Context, ioHandle int32) (int32, error)
	NewAudioUniqueId(ctx context.Context, use AudioUniqueIdUse) (int32, error)
	AcquireAudioSessionId(ctx context.Context, audioSession int32, pid int32, uid int32) error
	ReleaseAudioSessionId(ctx context.Context, audioSession int32, pid int32) error
	QueryNumberEffects(ctx context.Context) (int32, error)
	QueryEffect(ctx context.Context, index int32) (EffectDescriptor, error)
	GetEffectDescriptor(ctx context.Context, effectUUID common.AudioUuid, typeUUID common.AudioUuid, preferredTypeFlag int32) (EffectDescriptor, error)
	CreateEffect(ctx context.Context, request CreateEffectRequest) (CreateEffectResponse, error)
	MoveEffects(ctx context.Context, session int32, srcOutput int32, dstOutput int32) error
	SetEffectSuspended(ctx context.Context, effectId int32, sessionId int32, suspended bool) error
	LoadHwModule(ctx context.Context, name string) (int32, error)
	GetPrimaryOutputSamplingRate(ctx context.Context) (int32, error)
	GetPrimaryOutputFrameCount(ctx context.Context) (int64, error)
	SetLowRamDevice(ctx context.Context, isLowRamDevice bool, totalMemory int64) error
	GetAudioPort(ctx context.Context, port AudioPortFw) (AudioPortFw, error)
	CreateAudioPatch(ctx context.Context, patch AudioPatchFw) (int32, error)
	ReleaseAudioPatch(ctx context.Context, handle int32) error
	ListAudioPatches(ctx context.Context, maxCount int32) ([]AudioPatchFw, error)
	SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
	GetAudioHwSyncForSession(ctx context.Context, sessionId int32) (int32, error)
	SystemReady(ctx context.Context) error
	AudioPolicyReady(ctx context.Context) error
	FrameCountHAL(ctx context.Context, ioHandle int32) (int64, error)
	GetMicrophones(ctx context.Context) ([]MicrophoneInfoFw, error)
	SetAudioHalPids(ctx context.Context, pids []int32) error
	SetVibratorInfos(ctx context.Context, vibratorInfos []AudioVibratorInfo) error
	UpdateSecondaryOutputs(ctx context.Context, trackSecondaryOutputInfos []TrackSecondaryOutputInfo) error
	GetMmapPolicyInfos(ctx context.Context, policyType common.AudioMMapPolicyType) ([]common.AudioMMapPolicyInfo, error)
	GetAAudioMixerBurstCount(ctx context.Context) (int32, error)
	GetAAudioHardwareBurstMinUsec(ctx context.Context) (int32, error)
	SetDeviceConnectedState(ctx context.Context, devicePort AudioPortFw, state DeviceConnectedState) error
	SetSimulateDeviceConnections(ctx context.Context, enabled bool) error
	SetRequestedLatencyMode(ctx context.Context, output int32, latencyMode common.AudioLatencyMode) error
	GetSupportedLatencyModes(ctx context.Context, output int32) ([]common.AudioLatencyMode, error)
	SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
	SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
	IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
	GetSoundDoseInterface(ctx context.Context, callback ISoundDoseCallback) (ISoundDose, error)
	InvalidateTracks(ctx context.Context, portIds []int32) error
	GetAudioPolicyConfig(ctx context.Context) (AudioPolicyConfig, error)
	GetAudioMixPort(ctx context.Context, devicePort AudioPortFw, mixPort AudioPortFw) (AudioPortFw, error)
}

IAudioFlingerServiceServer is the server-side interface that user implementations provide to NewAudioFlingerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioFocusDispatcher

type IAudioFocusDispatcher interface {
	AsBinder() binder.IBinder
	DispatchAudioFocusChange(ctx context.Context, focusChange int32, clientId string) error
	DispatchFocusResultFromExtPolicy(ctx context.Context, requestResult int32, clientId string) error
}

func NewAudioFocusDispatcherStub

func NewAudioFocusDispatcherStub(
	impl IAudioFocusDispatcherServer,
) IAudioFocusDispatcher

NewAudioFocusDispatcherStub creates a server-side IAudioFocusDispatcher wrapping the given server implementation. The returned value satisfies IAudioFocusDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioFocusDispatcherServer

type IAudioFocusDispatcherServer interface {
	DispatchAudioFocusChange(ctx context.Context, focusChange int32, clientId string) error
	DispatchFocusResultFromExtPolicy(ctx context.Context, requestResult int32, clientId string) error
}

IAudioFocusDispatcherServer is the server-side interface that user implementations provide to NewAudioFocusDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioModeDispatcher

type IAudioModeDispatcher interface {
	AsBinder() binder.IBinder
	DispatchAudioModeChanged(ctx context.Context, mode int32) error
}

func NewAudioModeDispatcherStub

func NewAudioModeDispatcherStub(
	impl IAudioModeDispatcherServer,
) IAudioModeDispatcher

NewAudioModeDispatcherStub creates a server-side IAudioModeDispatcher wrapping the given server implementation. The returned value satisfies IAudioModeDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioModeDispatcherServer

type IAudioModeDispatcherServer interface {
	DispatchAudioModeChanged(ctx context.Context, mode int32) error
}

IAudioModeDispatcherServer is the server-side interface that user implementations provide to NewAudioModeDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioPolicyService

type IAudioPolicyService interface {
	AsBinder() binder.IBinder
	OnNewAudioModulesAvailable(ctx context.Context) error
	SetDeviceConnectionState(ctx context.Context, state AudioPolicyDeviceState, port common.AudioPort, encodedFormat common.AudioFormatDescription) error
	GetDeviceConnectionState(ctx context.Context, device common.AudioDevice) (AudioPolicyDeviceState, error)
	HandleDeviceConfigChange(ctx context.Context, device common.AudioDevice, deviceName string, encodedFormat common.AudioFormatDescription) error
	SetPhoneState(ctx context.Context, state common.AudioMode, uid int32) error
	SetForceUse(ctx context.Context, usage AudioPolicyForceUse, config AudioPolicyForcedConfig) error
	GetForceUse(ctx context.Context, usage AudioPolicyForceUse) (AudioPolicyForcedConfig, error)
	GetOutput(ctx context.Context, stream common.AudioStreamType) (int32, error)
	GetOutputForAttr(ctx context.Context, attr AudioAttributes, session int32, attributionSource content.AttributionSourceState, config common.AudioConfig, flags int32, selectedDeviceId int32) (GetOutputForAttrResponse, error)
	StartOutput(ctx context.Context, portId int32) error
	StopOutput(ctx context.Context, portId int32) error
	ReleaseOutput(ctx context.Context, portId int32) error
	GetInputForAttr(ctx context.Context, attr AudioAttributes, input int32, riid int32, session int32, attributionSource content.AttributionSourceState, config common.AudioConfigBase, flags int32, selectedDeviceId int32) (GetInputForAttrResponse, error)
	StartInput(ctx context.Context, portId int32) error
	StopInput(ctx context.Context, portId int32) error
	ReleaseInput(ctx context.Context, portId int32) error
	InitStreamVolume(ctx context.Context, stream common.AudioStreamType, indexMin int32, indexMax int32) error
	SetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, device common.AudioDeviceDescription, index int32) error
	GetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, device common.AudioDeviceDescription) (int32, error)
	SetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, device common.AudioDeviceDescription, index int32) error
	GetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, device common.AudioDeviceDescription) (int32, error)
	GetMaxVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
	GetMinVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
	GetStrategyForStream(ctx context.Context, stream common.AudioStreamType) (int32, error)
	GetDevicesForAttributes(ctx context.Context, attr AudioAttributes, forVolume bool) ([]common.AudioDevice, error)
	GetOutputForEffect(ctx context.Context, desc EffectDescriptor) (int32, error)
	RegisterEffect(ctx context.Context, desc EffectDescriptor, io int32, strategy int32, session int32, id int32) error
	UnregisterEffect(ctx context.Context, id int32) error
	SetEffectEnabled(ctx context.Context, id int32, enabled bool) error
	MoveEffectsToIo(ctx context.Context, ids []int32, io int32) error
	IsStreamActive(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
	IsStreamActiveRemotely(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
	IsSourceActive(ctx context.Context, source common.AudioSource) (bool, error)
	QueryDefaultPreProcessing(ctx context.Context, audioSession int32, count common.Int) ([]EffectDescriptor, error)
	AddSourceDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, priority int32, source common.AudioSource) (int32, error)
	AddStreamDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, priority int32, usage common.AudioUsage) (int32, error)
	RemoveSourceDefaultEffect(ctx context.Context, id int32) error
	RemoveStreamDefaultEffect(ctx context.Context, id int32) error
	SetSupportedSystemUsages(ctx context.Context, systemUsages []common.AudioUsage) error
	SetAllowedCapturePolicy(ctx context.Context, uid int32, capturePolicy int32) error
	GetOffloadSupport(ctx context.Context, info common.AudioOffloadInfo) (AudioOffloadMode, error)
	IsDirectOutputSupported(ctx context.Context, config common.AudioConfigBase, attributes AudioAttributes) (bool, error)
	ListAudioPorts(ctx context.Context, role AudioPortRole, type_ AudioPortType, count common.Int, ports []AudioPortFw) (int32, error)
	ListDeclaredDevicePorts(ctx context.Context, role AudioPortRole) ([]AudioPortFw, error)
	GetAudioPort(ctx context.Context, portId int32) (AudioPortFw, error)
	CreateAudioPatch(ctx context.Context, patch AudioPatchFw, handle int32) (int32, error)
	ReleaseAudioPatch(ctx context.Context, handle int32) error
	ListAudioPatches(ctx context.Context, count common.Int, patches []AudioPatchFw) (int32, error)
	SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
	RegisterClient(ctx context.Context, client IAudioPolicyServiceClient) error
	SetAudioPortCallbacksEnabled(ctx context.Context, enabled bool) error
	SetAudioVolumeGroupCallbacksEnabled(ctx context.Context, enabled bool) error
	AcquireSoundTriggerSession(ctx context.Context) (SoundTriggerSession, error)
	ReleaseSoundTriggerSession(ctx context.Context, session int32) error
	GetPhoneState(ctx context.Context) (common.AudioMode, error)
	RegisterPolicyMixes(ctx context.Context, mixes []AudioMix, registration bool) error
	GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
	UpdatePolicyMixes(ctx context.Context, updates []AudioMixUpdate) error
	SetUidDeviceAffinities(ctx context.Context, uid int32, devices []common.AudioDevice) error
	RemoveUidDeviceAffinities(ctx context.Context, uid int32) error
	SetUserIdDeviceAffinities(ctx context.Context, devices []common.AudioDevice) error
	RemoveUserIdDeviceAffinities(ctx context.Context) error
	StartAudioSource(ctx context.Context, source AudioPortConfigFw, attributes AudioAttributes) (int32, error)
	StopAudioSource(ctx context.Context, portId int32) error
	SetMasterMono(ctx context.Context, mono bool) error
	GetMasterMono(ctx context.Context) (bool, error)
	GetStreamVolumeDB(ctx context.Context, stream common.AudioStreamType, index int32, device common.AudioDeviceDescription) (float32, error)
	GetSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription, formatsEnabled []bool) error
	GetReportedSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription) error
	GetHwOffloadFormatsSupportedForBluetoothMedia(ctx context.Context, device common.AudioDeviceDescription) ([]common.AudioFormatDescription, error)
	SetSurroundFormatEnabled(ctx context.Context, audioFormat common.AudioFormatDescription, enabled bool) error
	SetAssistantServicesUids(ctx context.Context, uids []int32) error
	SetActiveAssistantServicesUids(ctx context.Context, activeUids []int32) error
	SetA11yServicesUids(ctx context.Context, uids []int32) error
	SetCurrentImeUid(ctx context.Context, uid int32) error
	IsHapticPlaybackSupported(ctx context.Context) (bool, error)
	IsUltrasoundSupported(ctx context.Context) (bool, error)
	IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
	ListAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
	GetProductStrategyFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
	ListAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
	GetVolumeGroupFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
	SetRttEnabled(ctx context.Context, enabled bool) error
	IsCallScreenModeSupported(ctx context.Context) (bool, error)
	SetDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, devices []common.AudioDevice) error
	RemoveDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, devices []common.AudioDevice) error
	ClearDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole) error
	GetDevicesForRoleAndStrategy(ctx context.Context, strategy int32, role DeviceRole) ([]common.AudioDevice, error)
	SetDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	AddDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	RemoveDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	ClearDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) error
	GetDevicesForRoleAndCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) ([]common.AudioDevice, error)
	RegisterSoundTriggerCaptureStateListener(ctx context.Context, listener ICaptureStateListener) (bool, error)
	GetSpatializer(ctx context.Context, callback INativeSpatializerCallback) (GetSpatializerResponse, error)
	CanBeSpatialized(ctx context.Context, attr *AudioAttributes, config *common.AudioConfig, devices []common.AudioDevice) (bool, error)
	GetDirectPlaybackSupport(ctx context.Context, attr AudioAttributes, config common.AudioConfig) (AudioDirectMode, error)
	GetDirectProfilesForAttributes(ctx context.Context, attr AudioAttributes) ([]common.AudioProfile, error)
	GetSupportedMixerAttributes(ctx context.Context, portId int32) ([]AudioMixerAttributesInternal, error)
	SetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32, mixerAttr AudioMixerAttributesInternal) error
	GetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32) (AudioMixerAttributesInternal, error)
	ClearPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32) error
}

func NewAudioPolicyServiceStub

func NewAudioPolicyServiceStub(
	impl IAudioPolicyServiceServer,
) IAudioPolicyService

NewAudioPolicyServiceStub creates a server-side IAudioPolicyService wrapping the given server implementation. The returned value satisfies IAudioPolicyService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioPolicyServiceClient

type IAudioPolicyServiceClient interface {
	AsBinder() binder.IBinder
	OnAudioVolumeGroupChanged(ctx context.Context, group int32, flags int32) error
	OnAudioPortListUpdate(ctx context.Context) error
	OnAudioPatchListUpdate(ctx context.Context) error
	OnDynamicPolicyMixStateUpdate(ctx context.Context, regId string, state int32) error
	OnRecordingConfigurationUpdate(ctx context.Context, event int32, clientInfo RecordClientInfo, clientConfig common.AudioConfigBase, clientEffects []EffectDescriptor, deviceConfig common.AudioConfigBase, effects []EffectDescriptor, patchHandle int32, source common.AudioSource) error
	OnRoutingUpdated(ctx context.Context) error
	OnVolumeRangeInitRequest(ctx context.Context) error
}

func NewAudioPolicyServiceClientStub

func NewAudioPolicyServiceClientStub(
	impl IAudioPolicyServiceClientServer,
) IAudioPolicyServiceClient

NewAudioPolicyServiceClientStub creates a server-side IAudioPolicyServiceClient wrapping the given server implementation. The returned value satisfies IAudioPolicyServiceClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioPolicyServiceClientServer

type IAudioPolicyServiceClientServer interface {
	OnAudioVolumeGroupChanged(ctx context.Context, group int32, flags int32) error
	OnAudioPortListUpdate(ctx context.Context) error
	OnAudioPatchListUpdate(ctx context.Context) error
	OnDynamicPolicyMixStateUpdate(ctx context.Context, regId string, state int32) error
	OnRecordingConfigurationUpdate(ctx context.Context, event int32, clientInfo RecordClientInfo, clientConfig common.AudioConfigBase, clientEffects []EffectDescriptor, deviceConfig common.AudioConfigBase, effects []EffectDescriptor, patchHandle int32, source common.AudioSource) error
	OnRoutingUpdated(ctx context.Context) error
	OnVolumeRangeInitRequest(ctx context.Context) error
}

IAudioPolicyServiceClientServer is the server-side interface that user implementations provide to NewAudioPolicyServiceClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioPolicyServiceServer

type IAudioPolicyServiceServer interface {
	OnNewAudioModulesAvailable(ctx context.Context) error
	SetDeviceConnectionState(ctx context.Context, state AudioPolicyDeviceState, port common.AudioPort, encodedFormat common.AudioFormatDescription) error
	GetDeviceConnectionState(ctx context.Context, device common.AudioDevice) (AudioPolicyDeviceState, error)
	HandleDeviceConfigChange(ctx context.Context, device common.AudioDevice, deviceName string, encodedFormat common.AudioFormatDescription) error
	SetPhoneState(ctx context.Context, state common.AudioMode, uid int32) error
	SetForceUse(ctx context.Context, usage AudioPolicyForceUse, config AudioPolicyForcedConfig) error
	GetForceUse(ctx context.Context, usage AudioPolicyForceUse) (AudioPolicyForcedConfig, error)
	GetOutput(ctx context.Context, stream common.AudioStreamType) (int32, error)
	GetOutputForAttr(ctx context.Context, attr AudioAttributes, session int32, attributionSource content.AttributionSourceState, config common.AudioConfig, flags int32, selectedDeviceId int32) (GetOutputForAttrResponse, error)
	StartOutput(ctx context.Context, portId int32) error
	StopOutput(ctx context.Context, portId int32) error
	ReleaseOutput(ctx context.Context, portId int32) error
	GetInputForAttr(ctx context.Context, attr AudioAttributes, input int32, riid int32, session int32, attributionSource content.AttributionSourceState, config common.AudioConfigBase, flags int32, selectedDeviceId int32) (GetInputForAttrResponse, error)
	StartInput(ctx context.Context, portId int32) error
	StopInput(ctx context.Context, portId int32) error
	ReleaseInput(ctx context.Context, portId int32) error
	InitStreamVolume(ctx context.Context, stream common.AudioStreamType, indexMin int32, indexMax int32) error
	SetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, device common.AudioDeviceDescription, index int32) error
	GetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, device common.AudioDeviceDescription) (int32, error)
	SetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, device common.AudioDeviceDescription, index int32) error
	GetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, device common.AudioDeviceDescription) (int32, error)
	GetMaxVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
	GetMinVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
	GetStrategyForStream(ctx context.Context, stream common.AudioStreamType) (int32, error)
	GetDevicesForAttributes(ctx context.Context, attr AudioAttributes, forVolume bool) ([]common.AudioDevice, error)
	GetOutputForEffect(ctx context.Context, desc EffectDescriptor) (int32, error)
	RegisterEffect(ctx context.Context, desc EffectDescriptor, io int32, strategy int32, session int32, id int32) error
	UnregisterEffect(ctx context.Context, id int32) error
	SetEffectEnabled(ctx context.Context, id int32, enabled bool) error
	MoveEffectsToIo(ctx context.Context, ids []int32, io int32) error
	IsStreamActive(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
	IsStreamActiveRemotely(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
	IsSourceActive(ctx context.Context, source common.AudioSource) (bool, error)
	QueryDefaultPreProcessing(ctx context.Context, audioSession int32, count common.Int) ([]EffectDescriptor, error)
	AddSourceDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, priority int32, source common.AudioSource) (int32, error)
	AddStreamDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, priority int32, usage common.AudioUsage) (int32, error)
	RemoveSourceDefaultEffect(ctx context.Context, id int32) error
	RemoveStreamDefaultEffect(ctx context.Context, id int32) error
	SetSupportedSystemUsages(ctx context.Context, systemUsages []common.AudioUsage) error
	SetAllowedCapturePolicy(ctx context.Context, uid int32, capturePolicy int32) error
	GetOffloadSupport(ctx context.Context, info common.AudioOffloadInfo) (AudioOffloadMode, error)
	IsDirectOutputSupported(ctx context.Context, config common.AudioConfigBase, attributes AudioAttributes) (bool, error)
	ListAudioPorts(ctx context.Context, role AudioPortRole, type_ AudioPortType, count common.Int, ports []AudioPortFw) (int32, error)
	ListDeclaredDevicePorts(ctx context.Context, role AudioPortRole) ([]AudioPortFw, error)
	GetAudioPort(ctx context.Context, portId int32) (AudioPortFw, error)
	CreateAudioPatch(ctx context.Context, patch AudioPatchFw, handle int32) (int32, error)
	ReleaseAudioPatch(ctx context.Context, handle int32) error
	ListAudioPatches(ctx context.Context, count common.Int, patches []AudioPatchFw) (int32, error)
	SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
	RegisterClient(ctx context.Context, client IAudioPolicyServiceClient) error
	SetAudioPortCallbacksEnabled(ctx context.Context, enabled bool) error
	SetAudioVolumeGroupCallbacksEnabled(ctx context.Context, enabled bool) error
	AcquireSoundTriggerSession(ctx context.Context) (SoundTriggerSession, error)
	ReleaseSoundTriggerSession(ctx context.Context, session int32) error
	GetPhoneState(ctx context.Context) (common.AudioMode, error)
	RegisterPolicyMixes(ctx context.Context, mixes []AudioMix, registration bool) error
	GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
	UpdatePolicyMixes(ctx context.Context, updates []AudioMixUpdate) error
	SetUidDeviceAffinities(ctx context.Context, uid int32, devices []common.AudioDevice) error
	RemoveUidDeviceAffinities(ctx context.Context, uid int32) error
	SetUserIdDeviceAffinities(ctx context.Context, devices []common.AudioDevice) error
	RemoveUserIdDeviceAffinities(ctx context.Context) error
	StartAudioSource(ctx context.Context, source AudioPortConfigFw, attributes AudioAttributes) (int32, error)
	StopAudioSource(ctx context.Context, portId int32) error
	SetMasterMono(ctx context.Context, mono bool) error
	GetMasterMono(ctx context.Context) (bool, error)
	GetStreamVolumeDB(ctx context.Context, stream common.AudioStreamType, index int32, device common.AudioDeviceDescription) (float32, error)
	GetSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription, formatsEnabled []bool) error
	GetReportedSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription) error
	GetHwOffloadFormatsSupportedForBluetoothMedia(ctx context.Context, device common.AudioDeviceDescription) ([]common.AudioFormatDescription, error)
	SetSurroundFormatEnabled(ctx context.Context, audioFormat common.AudioFormatDescription, enabled bool) error
	SetAssistantServicesUids(ctx context.Context, uids []int32) error
	SetActiveAssistantServicesUids(ctx context.Context, activeUids []int32) error
	SetA11yServicesUids(ctx context.Context, uids []int32) error
	SetCurrentImeUid(ctx context.Context, uid int32) error
	IsHapticPlaybackSupported(ctx context.Context) (bool, error)
	IsUltrasoundSupported(ctx context.Context) (bool, error)
	IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
	ListAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
	GetProductStrategyFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
	ListAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
	GetVolumeGroupFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
	SetRttEnabled(ctx context.Context, enabled bool) error
	IsCallScreenModeSupported(ctx context.Context) (bool, error)
	SetDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, devices []common.AudioDevice) error
	RemoveDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, devices []common.AudioDevice) error
	ClearDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole) error
	GetDevicesForRoleAndStrategy(ctx context.Context, strategy int32, role DeviceRole) ([]common.AudioDevice, error)
	SetDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	AddDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	RemoveDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, devices []common.AudioDevice) error
	ClearDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) error
	GetDevicesForRoleAndCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) ([]common.AudioDevice, error)
	RegisterSoundTriggerCaptureStateListener(ctx context.Context, listener ICaptureStateListener) (bool, error)
	GetSpatializer(ctx context.Context, callback INativeSpatializerCallback) (GetSpatializerResponse, error)
	CanBeSpatialized(ctx context.Context, attr *AudioAttributes, config *common.AudioConfig, devices []common.AudioDevice) (bool, error)
	GetDirectPlaybackSupport(ctx context.Context, attr AudioAttributes, config common.AudioConfig) (AudioDirectMode, error)
	GetDirectProfilesForAttributes(ctx context.Context, attr AudioAttributes) ([]common.AudioProfile, error)
	GetSupportedMixerAttributes(ctx context.Context, portId int32) ([]AudioMixerAttributesInternal, error)
	SetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32, mixerAttr AudioMixerAttributesInternal) error
	GetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32) (AudioMixerAttributesInternal, error)
	ClearPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32) error
}

IAudioPolicyServiceServer is the server-side interface that user implementations provide to NewAudioPolicyServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioRecord

type IAudioRecord interface {
	AsBinder() binder.IBinder
	Start(ctx context.Context, event int32, triggerSession int32) error
	Stop(ctx context.Context) error
	GetActiveMicrophones(ctx context.Context, activeMicrophones []MicrophoneInfoFw) error
	SetPreferredMicrophoneDirection(ctx context.Context, direction int32) error
	SetPreferredMicrophoneFieldDimension(ctx context.Context, zoom float32) error
	ShareAudioHistory(ctx context.Context, sharedAudioPackageName string, sharedAudioStartMs int64) error
}

func NewAudioRecordStub

func NewAudioRecordStub(
	impl IAudioRecordServer,
) IAudioRecord

NewAudioRecordStub creates a server-side IAudioRecord wrapping the given server implementation. The returned value satisfies IAudioRecord and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioRecordServer

type IAudioRecordServer interface {
	Start(ctx context.Context, event int32, triggerSession int32) error
	Stop(ctx context.Context) error
	GetActiveMicrophones(ctx context.Context, activeMicrophones []MicrophoneInfoFw) error
	SetPreferredMicrophoneDirection(ctx context.Context, direction int32) error
	SetPreferredMicrophoneFieldDimension(ctx context.Context, zoom float32) error
	ShareAudioHistory(ctx context.Context, sharedAudioPackageName string, sharedAudioStartMs int64) error
}

IAudioRecordServer is the server-side interface that user implementations provide to NewAudioRecordStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioRoutesObserver

type IAudioRoutesObserver interface {
	AsBinder() binder.IBinder
	DispatchAudioRoutesChanged(ctx context.Context, newRoutes AudioRoutesInfo) error
}

func NewAudioRoutesObserverStub

func NewAudioRoutesObserverStub(
	impl IAudioRoutesObserverServer,
) IAudioRoutesObserver

NewAudioRoutesObserverStub creates a server-side IAudioRoutesObserver wrapping the given server implementation. The returned value satisfies IAudioRoutesObserver and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioRoutesObserverServer

type IAudioRoutesObserverServer interface {
	DispatchAudioRoutesChanged(ctx context.Context, newRoutes AudioRoutesInfo) error
}

IAudioRoutesObserverServer is the server-side interface that user implementations provide to NewAudioRoutesObserverStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioServerStateDispatcher

type IAudioServerStateDispatcher interface {
	AsBinder() binder.IBinder
	DispatchAudioServerStateChange(ctx context.Context, state bool) error
}

func NewAudioServerStateDispatcherStub

func NewAudioServerStateDispatcherStub(
	impl IAudioServerStateDispatcherServer,
) IAudioServerStateDispatcher

NewAudioServerStateDispatcherStub creates a server-side IAudioServerStateDispatcher wrapping the given server implementation. The returned value satisfies IAudioServerStateDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioServerStateDispatcherServer

type IAudioServerStateDispatcherServer interface {
	DispatchAudioServerStateChange(ctx context.Context, state bool) error
}

IAudioServerStateDispatcherServer is the server-side interface that user implementations provide to NewAudioServerStateDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioService

type IAudioService interface {
	AsBinder() binder.IBinder
	TrackPlayer(ctx context.Context, pic PlayerBasePlayerIdCard) (int32, error)
	PlayerAttributes(ctx context.Context, piid int32, attr AudioAttributes) error
	PlayerEvent(ctx context.Context, piid int32, event int32, eventId int32) error
	ReleasePlayer(ctx context.Context, piid int32) error
	TrackRecorder(ctx context.Context, recorder binder.IBinder) (int32, error)
	RecorderEvent(ctx context.Context, riid int32, event int32) error
	ReleaseRecorder(ctx context.Context, riid int32) error
	PlayerSessionId(ctx context.Context, piid int32, sessionId int32) error
	PortEvent(ctx context.Context, portId int32, event int32, extras *os.PersistableBundle) error
	AdjustStreamVolume(ctx context.Context, streamType int32, direction int32, flags int32) error
	AdjustStreamVolumeWithAttribution(ctx context.Context, streamType int32, direction int32, flags int32) error
	SetStreamVolume(ctx context.Context, streamType int32, index int32, flags int32) error
	SetStreamVolumeWithAttribution(ctx context.Context, streamType int32, index int32, flags int32) error
	SetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) error
	GetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) (VolumeInfo, error)
	HandleVolumeKey(ctx context.Context, event view.KeyEvent, isOnTv bool, caller string) error
	IsStreamMute(ctx context.Context, streamType int32) (bool, error)
	ForceRemoteSubmixFullVolume(ctx context.Context, startForcing bool, cb binder.IBinder) error
	IsMasterMute(ctx context.Context) (bool, error)
	SetMasterMute(ctx context.Context, mute bool, flags int32) error
	GetStreamVolume(ctx context.Context, streamType int32) (int32, error)
	GetStreamMinVolume(ctx context.Context, streamType int32) (int32, error)
	GetStreamMaxVolume(ctx context.Context, streamType int32) (int32, error)
	GetAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
	SetVolumeGroupVolumeIndex(ctx context.Context, groupId int32, index int32, flags int32) error
	GetVolumeGroupVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetVolumeGroupMaxVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetVolumeGroupMinVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetLastAudibleVolumeForVolumeGroup(ctx context.Context, groupId int32) (int32, error)
	IsVolumeGroupMuted(ctx context.Context, groupId int32) (bool, error)
	AdjustVolumeGroupVolume(ctx context.Context, groupId int32, direction int32, flags int32) error
	GetLastAudibleStreamVolume(ctx context.Context, streamType int32) (int32, error)
	SetSupportedSystemUsages(ctx context.Context, systemUsages []int32) error
	GetSupportedSystemUsages(ctx context.Context) ([]int32, error)
	GetAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
	IsMicrophoneMuted(ctx context.Context) (bool, error)
	IsUltrasoundSupported(ctx context.Context) (bool, error)
	IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
	SetMicrophoneMute(ctx context.Context, on bool) error
	SetMicrophoneMuteFromSwitch(ctx context.Context, on bool) error
	SetRingerModeExternal(ctx context.Context, ringerMode int32, caller string) error
	SetRingerModeInternal(ctx context.Context, ringerMode int32, caller string) error
	GetRingerModeExternal(ctx context.Context) (int32, error)
	GetRingerModeInternal(ctx context.Context) (int32, error)
	IsValidRingerMode(ctx context.Context, ringerMode int32) (bool, error)
	SetVibrateSetting(ctx context.Context, vibrateType int32, vibrateSetting int32) error
	GetVibrateSetting(ctx context.Context, vibrateType int32) (int32, error)
	ShouldVibrate(ctx context.Context, vibrateType int32) (bool, error)
	SetMode(ctx context.Context, mode int32, cb binder.IBinder) error
	GetMode(ctx context.Context) (int32, error)
	PlaySoundEffect(ctx context.Context, effectType int32) error
	PlaySoundEffectVolume(ctx context.Context, effectType int32, volume float32) error
	LoadSoundEffects(ctx context.Context) (bool, error)
	UnloadSoundEffects(ctx context.Context) error
	ReloadAudioSettings(ctx context.Context) error
	GetSurroundFormats(ctx context.Context) (map[any]any, error)
	GetReportedSurroundFormats(ctx context.Context) ([]any, error)
	SetSurroundFormatEnabled(ctx context.Context, audioFormat int32, enabled bool) (bool, error)
	IsSurroundFormatEnabled(ctx context.Context, audioFormat int32) (bool, error)
	SetEncodedSurroundMode(ctx context.Context, mode int32) (bool, error)
	GetEncodedSurroundMode(ctx context.Context, targetSdkVersion int32) (int32, error)
	SetSpeakerphoneOn(ctx context.Context, cb binder.IBinder, on bool) error
	IsSpeakerphoneOn(ctx context.Context) (bool, error)
	SetBluetoothScoOn(ctx context.Context, on bool) error
	SetA2dpSuspended(ctx context.Context, on bool) error
	SetLeAudioSuspended(ctx context.Context, enable bool) error
	IsBluetoothScoOn(ctx context.Context) (bool, error)
	SetBluetoothA2dpOn(ctx context.Context, on bool) error
	IsBluetoothA2dpOn(ctx context.Context) (bool, error)
	RequestAudioFocus(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, fd IAudioFocusDispatcher, clientId string, callingPackageName string, flags int32, pcb audiopolicy.IAudioPolicyCallback, sdk int32) (int32, error)
	AbandonAudioFocus(ctx context.Context, fd IAudioFocusDispatcher, clientId string, aa AudioAttributes, callingPackageName string) (int32, error)
	UnregisterAudioFocusClient(ctx context.Context, clientId string) error
	GetCurrentAudioFocus(ctx context.Context) (int32, error)
	StartBluetoothSco(ctx context.Context, cb binder.IBinder, targetSdkVersion int32) error
	StartBluetoothScoVirtualCall(ctx context.Context, cb binder.IBinder) error
	StopBluetoothSco(ctx context.Context, cb binder.IBinder) error
	ForceVolumeControlStream(ctx context.Context, streamType int32, cb binder.IBinder) error
	SetRingtonePlayer(ctx context.Context, player IRingtonePlayer) error
	GetRingtonePlayer(ctx context.Context) (IRingtonePlayer, error)
	GetUiSoundsStreamType(ctx context.Context) (int32, error)
	GetIndependentStreamTypes(ctx context.Context) ([]any, error)
	GetStreamTypeAlias(ctx context.Context, streamType int32) (int32, error)
	IsVolumeControlUsingVolumeGroups(ctx context.Context) (bool, error)
	RegisterStreamAliasingDispatcher(ctx context.Context, isad IStreamAliasingDispatcher, register bool) error
	SetNotifAliasRingForTest(ctx context.Context, alias bool) error
	SetWiredDeviceConnectionState(ctx context.Context, aa AudioDeviceAttributes, state int32, caller string) error
	StartWatchingRoutes(ctx context.Context, observer IAudioRoutesObserver) (AudioRoutesInfo, error)
	IsCameraSoundForced(ctx context.Context) (bool, error)
	SetVolumeController(ctx context.Context, controller IVolumeController) error
	GetVolumeController(ctx context.Context) (IVolumeController, error)
	NotifyVolumeControllerVisible(ctx context.Context, controller IVolumeController, visible bool) error
	IsStreamAffectedByRingerMode(ctx context.Context, streamType int32) (bool, error)
	IsStreamAffectedByMute(ctx context.Context, streamType int32) (bool, error)
	DisableSafeMediaVolume(ctx context.Context) error
	LowerVolumeToRs1(ctx context.Context) error
	GetOutputRs2UpperBound(ctx context.Context) (float32, error)
	SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
	GetCsd(ctx context.Context) (float32, error)
	SetCsd(ctx context.Context, csd float32) error
	ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
	ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
	IsCsdEnabled(ctx context.Context) (bool, error)
	IsCsdAsAFeatureAvailable(ctx context.Context) (bool, error)
	IsCsdAsAFeatureEnabled(ctx context.Context) (bool, error)
	SetCsdAsAFeatureEnabled(ctx context.Context, csdToggleValue bool) error
	SetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool, deviceCategory int32) error
	GetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool) (int32, error)
	SetBluetoothAudioDeviceCategory(ctx context.Context, address string, deviceCategory int32) (bool, error)
	GetBluetoothAudioDeviceCategory(ctx context.Context, address string) (int32, error)
	IsBluetoothAudioDeviceCategoryFixed(ctx context.Context, address string) (bool, error)
	SetHdmiSystemAudioSupported(ctx context.Context, on bool) (int32, error)
	IsHdmiSystemAudioSupported(ctx context.Context) (bool, error)
	RegisterAudioPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback, hasFocusListener bool, isFocusPolicy bool, isTestFocusPolicy bool, isVolumeController bool, projection mediaProjection.IMediaProjection) (string, error)
	UnregisterAudioPolicyAsync(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
	GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
	UnregisterAudioPolicy(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
	AddMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	RemoveMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	UpdateMixingRulesForPolicy(ctx context.Context, mixesToUpdate []AudioMix, updatedMixingRules []audiopolicy.AudioMixingRule, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	SetFocusPropertiesForPolicy(ctx context.Context, duckingBehavior int32, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	SetVolumePolicy(ctx context.Context, policy VolumePolicy) error
	HasRegisteredDynamicPolicy(ctx context.Context) (bool, error)
	RegisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
	UnregisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
	GetActiveRecordingConfigurations(ctx context.Context) ([]AudioRecordingConfiguration, error)
	RegisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
	UnregisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
	GetActivePlaybackConfigurations(ctx context.Context) ([]AudioPlaybackConfiguration, error)
	GetFocusRampTimeMs(ctx context.Context, focusGain int32, attr AudioAttributes) (int32, error)
	DispatchFocusChange(ctx context.Context, afi AudioFocusInfo, focusChange int32, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	DispatchFocusChangeWithFade(ctx context.Context, afi AudioFocusInfo, focusChange int32, pcb audiopolicy.IAudioPolicyCallback, otherActiveAfis []AudioFocusInfo, transientFadeMgrConfig FadeManagerConfiguration) (int32, error)
	PlayerHasOpPlayAudio(ctx context.Context, piid int32, hasOpPlayAudio bool) error
	HandleBluetoothActiveDeviceChanged(ctx context.Context, newDevice bluetooth.BluetoothDevice, previousDevice bluetooth.BluetoothDevice, info BluetoothProfileConnectionInfo) error
	SetFocusRequestResultFromExtPolicy(ctx context.Context, afi AudioFocusInfo, requestResult int32, pcb audiopolicy.IAudioPolicyCallback) error
	RegisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
	UnregisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
	IsAudioServerRunning(ctx context.Context) (bool, error)
	SetUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32, deviceTypes []int32, deviceAddresses []string) (int32, error)
	RemoveUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32) (int32, error)
	SetUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, deviceTypes []int32, deviceAddresses []string) (int32, error)
	RemoveUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	HasHapticChannels(ctx context.Context, uri net.Uri) (bool, error)
	IsCallScreeningModeSupported(ctx context.Context) (bool, error)
	SetPreferredDevicesForStrategy(ctx context.Context, strategy int32, devices []AudioDeviceAttributes) (int32, error)
	RemovePreferredDevicesForStrategy(ctx context.Context, strategy int32) (int32, error)
	GetPreferredDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
	SetDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
	RemoveDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
	GetNonDefaultDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
	GetDevicesForAttributes(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
	GetDevicesForAttributesUnprotected(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
	AddOnDevicesForAttributesChangedListener(ctx context.Context, attributes AudioAttributes, callback IDevicesForAttributesCallback) error
	RemoveOnDevicesForAttributesChangedListener(ctx context.Context, callback IDevicesForAttributesCallback) error
	SetAllowedCapturePolicy(ctx context.Context, capturePolicy int32) (int32, error)
	GetAllowedCapturePolicy(ctx context.Context) (int32, error)
	RegisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
	UnregisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
	RegisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
	UnregisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
	SetRttEnabled(ctx context.Context, rttEnabled bool) error
	SetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes, deviceVolumeBehavior int32, pkgName string) error
	GetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes) (int32, error)
	SetMultiAudioFocusEnabled(ctx context.Context, enabled bool) error
	SetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32, devices []AudioDeviceAttributes) (int32, error)
	ClearPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) (int32, error)
	GetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) ([]AudioDeviceAttributes, error)
	RegisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
	UnregisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
	AdjustStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	AdjustSuggestedStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	SetStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	AdjustVolume(ctx context.Context, direction int32, flags int32) error
	AdjustSuggestedStreamVolume(ctx context.Context, direction int32, suggestedStreamType int32, flags int32) error
	IsMusicActive(ctx context.Context, remotely bool) (bool, error)
	GetDeviceMaskForStream(ctx context.Context, streamType int32) (int32, error)
	GetAvailableCommunicationDeviceIds(ctx context.Context) ([]int32, error)
	SetCommunicationDevice(ctx context.Context, cb binder.IBinder, portId int32) (bool, error)
	GetCommunicationDevice(ctx context.Context) (int32, error)
	RegisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
	UnregisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
	AreNavigationRepeatSoundEffectsEnabled(ctx context.Context) (bool, error)
	SetNavigationRepeatSoundEffectsEnabled(ctx context.Context, enabled bool) error
	IsHomeSoundEffectEnabled(ctx context.Context) (bool, error)
	SetHomeSoundEffectEnabled(ctx context.Context, enabled bool) error
	SetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes, delayMillis int64) (bool, error)
	GetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
	GetMaxAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
	RequestAudioFocusForTest(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, fd IAudioFocusDispatcher, clientId string, callingPackageName string, flags int32, uid int32, sdk int32) (int32, error)
	AbandonAudioFocusForTest(ctx context.Context, fd IAudioFocusDispatcher, clientId string, aa AudioAttributes, callingPackageName string) (int32, error)
	GetFadeOutDurationOnFocusLossMillis(ctx context.Context, aa AudioAttributes) (int64, error)
	GetFocusDuckedUidsForTest(ctx context.Context) ([]any, error)
	GetFocusFadeOutDurationForTest(ctx context.Context) (int64, error)
	GetFocusUnmuteDelayAfterFadeOutForTest(ctx context.Context) (int64, error)
	EnterAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder, uids []int32) (bool, error)
	ExitAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder) (bool, error)
	RegisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
	UnregisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
	GetSpatializerImmersiveAudioLevel(ctx context.Context) (int32, error)
	IsSpatializerEnabled(ctx context.Context) (bool, error)
	IsSpatializerAvailable(ctx context.Context) (bool, error)
	IsSpatializerAvailableForDevice(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	HasHeadTracker(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	SetHeadTrackerEnabled(ctx context.Context, enabled bool, device AudioDeviceAttributes) error
	IsHeadTrackerEnabled(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	IsHeadTrackerAvailable(ctx context.Context) (bool, error)
	RegisterSpatializerHeadTrackerAvailableCallback(ctx context.Context, cb ISpatializerHeadTrackerAvailableCallback, register bool) error
	SetSpatializerEnabled(ctx context.Context, enabled bool) error
	CanBeSpatialized(ctx context.Context, aa AudioAttributes, af AudioFormat) (bool, error)
	RegisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
	UnregisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
	RegisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
	UnregisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
	RegisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
	UnregisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
	GetSpatializerCompatibleAudioDevices(ctx context.Context) ([]AudioDeviceAttributes, error)
	AddSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
	RemoveSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
	SetDesiredHeadTrackingMode(ctx context.Context, mode int32) error
	GetDesiredHeadTrackingMode(ctx context.Context) (int32, error)
	GetSupportedHeadTrackingModes(ctx context.Context) ([]int32, error)
	GetActualHeadTrackingMode(ctx context.Context) (int32, error)
	SetSpatializerGlobalTransform(ctx context.Context, transform []float32) error
	RecenterHeadTracker(ctx context.Context) error
	SetSpatializerParameter(ctx context.Context, key int32, value []byte) error
	GetSpatializerParameter(ctx context.Context, key int32, value []byte) error
	GetSpatializerOutput(ctx context.Context) (int32, error)
	RegisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
	UnregisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
	IsVolumeFixed(ctx context.Context) (bool, error)
	GetDefaultVolumeInfo(ctx context.Context) (VolumeInfo, error)
	IsPstnCallAudioInterceptable(ctx context.Context) (bool, error)
	MuteAwaitConnection(ctx context.Context, usagesToMute []int32, dev AudioDeviceAttributes, timeOutMs int64) error
	CancelMuteAwaitConnection(ctx context.Context, dev AudioDeviceAttributes) error
	GetMutingExpectedDevice(ctx context.Context) (AudioDeviceAttributes, error)
	RegisterMuteAwaitConnectionDispatcher(ctx context.Context, cb IMuteAwaitConnectionCallback, register bool) error
	SetTestDeviceConnectionState(ctx context.Context, device AudioDeviceAttributes, connected bool) error
	RegisterDeviceVolumeBehaviorDispatcher(ctx context.Context, register bool, dispatcher IDeviceVolumeBehaviorDispatcher) error
	GetFocusStack(ctx context.Context) ([]AudioFocusInfo, error)
	SendFocusLoss(ctx context.Context, focusLoser AudioFocusInfo, apcb audiopolicy.IAudioPolicyCallback) (bool, error)
	AddAssistantServicesUids(ctx context.Context, assistantUID []int32) error
	RemoveAssistantServicesUids(ctx context.Context, assistantUID []int32) error
	SetActiveAssistantServiceUids(ctx context.Context, activeUids []int32) error
	GetAssistantServicesUids(ctx context.Context) ([]int32, error)
	GetActiveAssistantServiceUids(ctx context.Context) ([]int32, error)
	RegisterDeviceVolumeDispatcherForAbsoluteVolume(ctx context.Context, register bool, cb IAudioDeviceVolumeDispatcher, packageName string, device AudioDeviceAttributes, volumes []VolumeInfo, handlesvolumeAdjustment bool, volumeBehavior int32) error
	GetHalVersion(ctx context.Context) (AudioHalVersionInfo, error)
	SetPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32, mixerAttributes AudioMixerAttributes) (int32, error)
	ClearPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32) (int32, error)
	RegisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
	UnregisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
	SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
	SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
	IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
	RegisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
	UnregisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
	StartLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
	StopLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
	AddLoudnessCodecInfo(ctx context.Context, sessionId int32, mediaCodecHash int32, codecInfo LoudnessCodecInfo) error
	RemoveLoudnessCodecInfo(ctx context.Context, sessionId int32, codecInfo LoudnessCodecInfo) error
	GetLoudnessParams(ctx context.Context, codecInfo LoudnessCodecInfo) (os.PersistableBundle, error)
	SetFadeManagerConfigurationForFocusLoss(ctx context.Context, fmcForFocusLoss FadeManagerConfiguration) (int32, error)
	ClearFadeManagerConfigurationForFocusLoss(ctx context.Context) (int32, error)
	GetFadeManagerConfigurationForFocusLoss(ctx context.Context) (FadeManagerConfiguration, error)
	ShouldNotificationSoundPlay(ctx context.Context, aa AudioAttributes) (bool, error)
}

func NewAudioServiceStub

func NewAudioServiceStub(
	impl IAudioServiceServer,
) IAudioService

NewAudioServiceStub creates a server-side IAudioService wrapping the given server implementation. The returned value satisfies IAudioService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioServiceServer

type IAudioServiceServer interface {
	TrackPlayer(ctx context.Context, pic PlayerBasePlayerIdCard) (int32, error)
	PlayerAttributes(ctx context.Context, piid int32, attr AudioAttributes) error
	PlayerEvent(ctx context.Context, piid int32, event int32, eventId int32) error
	ReleasePlayer(ctx context.Context, piid int32) error
	TrackRecorder(ctx context.Context, recorder binder.IBinder) (int32, error)
	RecorderEvent(ctx context.Context, riid int32, event int32) error
	ReleaseRecorder(ctx context.Context, riid int32) error
	PlayerSessionId(ctx context.Context, piid int32, sessionId int32) error
	PortEvent(ctx context.Context, portId int32, event int32, extras *os.PersistableBundle) error
	AdjustStreamVolume(ctx context.Context, streamType int32, direction int32, flags int32) error
	AdjustStreamVolumeWithAttribution(ctx context.Context, streamType int32, direction int32, flags int32) error
	SetStreamVolume(ctx context.Context, streamType int32, index int32, flags int32) error
	SetStreamVolumeWithAttribution(ctx context.Context, streamType int32, index int32, flags int32) error
	SetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) error
	GetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) (VolumeInfo, error)
	HandleVolumeKey(ctx context.Context, event view.KeyEvent, isOnTv bool, caller string) error
	IsStreamMute(ctx context.Context, streamType int32) (bool, error)
	ForceRemoteSubmixFullVolume(ctx context.Context, startForcing bool, cb binder.IBinder) error
	IsMasterMute(ctx context.Context) (bool, error)
	SetMasterMute(ctx context.Context, mute bool, flags int32) error
	GetStreamVolume(ctx context.Context, streamType int32) (int32, error)
	GetStreamMinVolume(ctx context.Context, streamType int32) (int32, error)
	GetStreamMaxVolume(ctx context.Context, streamType int32) (int32, error)
	GetAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
	SetVolumeGroupVolumeIndex(ctx context.Context, groupId int32, index int32, flags int32) error
	GetVolumeGroupVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetVolumeGroupMaxVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetVolumeGroupMinVolumeIndex(ctx context.Context, groupId int32) (int32, error)
	GetLastAudibleVolumeForVolumeGroup(ctx context.Context, groupId int32) (int32, error)
	IsVolumeGroupMuted(ctx context.Context, groupId int32) (bool, error)
	AdjustVolumeGroupVolume(ctx context.Context, groupId int32, direction int32, flags int32) error
	GetLastAudibleStreamVolume(ctx context.Context, streamType int32) (int32, error)
	SetSupportedSystemUsages(ctx context.Context, systemUsages []int32) error
	GetSupportedSystemUsages(ctx context.Context) ([]int32, error)
	GetAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
	IsMicrophoneMuted(ctx context.Context) (bool, error)
	IsUltrasoundSupported(ctx context.Context) (bool, error)
	IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
	SetMicrophoneMute(ctx context.Context, on bool) error
	SetMicrophoneMuteFromSwitch(ctx context.Context, on bool) error
	SetRingerModeExternal(ctx context.Context, ringerMode int32, caller string) error
	SetRingerModeInternal(ctx context.Context, ringerMode int32, caller string) error
	GetRingerModeExternal(ctx context.Context) (int32, error)
	GetRingerModeInternal(ctx context.Context) (int32, error)
	IsValidRingerMode(ctx context.Context, ringerMode int32) (bool, error)
	SetVibrateSetting(ctx context.Context, vibrateType int32, vibrateSetting int32) error
	GetVibrateSetting(ctx context.Context, vibrateType int32) (int32, error)
	ShouldVibrate(ctx context.Context, vibrateType int32) (bool, error)
	SetMode(ctx context.Context, mode int32, cb binder.IBinder) error
	GetMode(ctx context.Context) (int32, error)
	PlaySoundEffect(ctx context.Context, effectType int32) error
	PlaySoundEffectVolume(ctx context.Context, effectType int32, volume float32) error
	LoadSoundEffects(ctx context.Context) (bool, error)
	UnloadSoundEffects(ctx context.Context) error
	ReloadAudioSettings(ctx context.Context) error
	GetSurroundFormats(ctx context.Context) (map[any]any, error)
	GetReportedSurroundFormats(ctx context.Context) ([]any, error)
	SetSurroundFormatEnabled(ctx context.Context, audioFormat int32, enabled bool) (bool, error)
	IsSurroundFormatEnabled(ctx context.Context, audioFormat int32) (bool, error)
	SetEncodedSurroundMode(ctx context.Context, mode int32) (bool, error)
	GetEncodedSurroundMode(ctx context.Context, targetSdkVersion int32) (int32, error)
	SetSpeakerphoneOn(ctx context.Context, cb binder.IBinder, on bool) error
	IsSpeakerphoneOn(ctx context.Context) (bool, error)
	SetBluetoothScoOn(ctx context.Context, on bool) error
	SetA2dpSuspended(ctx context.Context, on bool) error
	SetLeAudioSuspended(ctx context.Context, enable bool) error
	IsBluetoothScoOn(ctx context.Context) (bool, error)
	SetBluetoothA2dpOn(ctx context.Context, on bool) error
	IsBluetoothA2dpOn(ctx context.Context) (bool, error)
	RequestAudioFocus(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, fd IAudioFocusDispatcher, clientId string, callingPackageName string, flags int32, pcb audiopolicy.IAudioPolicyCallback, sdk int32) (int32, error)
	AbandonAudioFocus(ctx context.Context, fd IAudioFocusDispatcher, clientId string, aa AudioAttributes, callingPackageName string) (int32, error)
	UnregisterAudioFocusClient(ctx context.Context, clientId string) error
	GetCurrentAudioFocus(ctx context.Context) (int32, error)
	StartBluetoothSco(ctx context.Context, cb binder.IBinder, targetSdkVersion int32) error
	StartBluetoothScoVirtualCall(ctx context.Context, cb binder.IBinder) error
	StopBluetoothSco(ctx context.Context, cb binder.IBinder) error
	ForceVolumeControlStream(ctx context.Context, streamType int32, cb binder.IBinder) error
	SetRingtonePlayer(ctx context.Context, player IRingtonePlayer) error
	GetRingtonePlayer(ctx context.Context) (IRingtonePlayer, error)
	GetUiSoundsStreamType(ctx context.Context) (int32, error)
	GetIndependentStreamTypes(ctx context.Context) ([]any, error)
	GetStreamTypeAlias(ctx context.Context, streamType int32) (int32, error)
	IsVolumeControlUsingVolumeGroups(ctx context.Context) (bool, error)
	RegisterStreamAliasingDispatcher(ctx context.Context, isad IStreamAliasingDispatcher, register bool) error
	SetNotifAliasRingForTest(ctx context.Context, alias bool) error
	SetWiredDeviceConnectionState(ctx context.Context, aa AudioDeviceAttributes, state int32, caller string) error
	StartWatchingRoutes(ctx context.Context, observer IAudioRoutesObserver) (AudioRoutesInfo, error)
	IsCameraSoundForced(ctx context.Context) (bool, error)
	SetVolumeController(ctx context.Context, controller IVolumeController) error
	GetVolumeController(ctx context.Context) (IVolumeController, error)
	NotifyVolumeControllerVisible(ctx context.Context, controller IVolumeController, visible bool) error
	IsStreamAffectedByRingerMode(ctx context.Context, streamType int32) (bool, error)
	IsStreamAffectedByMute(ctx context.Context, streamType int32) (bool, error)
	DisableSafeMediaVolume(ctx context.Context) error
	LowerVolumeToRs1(ctx context.Context) error
	GetOutputRs2UpperBound(ctx context.Context) (float32, error)
	SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
	GetCsd(ctx context.Context) (float32, error)
	SetCsd(ctx context.Context, csd float32) error
	ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
	ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
	IsCsdEnabled(ctx context.Context) (bool, error)
	IsCsdAsAFeatureAvailable(ctx context.Context) (bool, error)
	IsCsdAsAFeatureEnabled(ctx context.Context) (bool, error)
	SetCsdAsAFeatureEnabled(ctx context.Context, csdToggleValue bool) error
	SetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool, deviceCategory int32) error
	GetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool) (int32, error)
	SetBluetoothAudioDeviceCategory(ctx context.Context, address string, deviceCategory int32) (bool, error)
	GetBluetoothAudioDeviceCategory(ctx context.Context, address string) (int32, error)
	IsBluetoothAudioDeviceCategoryFixed(ctx context.Context, address string) (bool, error)
	SetHdmiSystemAudioSupported(ctx context.Context, on bool) (int32, error)
	IsHdmiSystemAudioSupported(ctx context.Context) (bool, error)
	RegisterAudioPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback, hasFocusListener bool, isFocusPolicy bool, isTestFocusPolicy bool, isVolumeController bool, projection mediaProjection.IMediaProjection) (string, error)
	UnregisterAudioPolicyAsync(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
	GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
	UnregisterAudioPolicy(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
	AddMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	RemoveMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	UpdateMixingRulesForPolicy(ctx context.Context, mixesToUpdate []AudioMix, updatedMixingRules []audiopolicy.AudioMixingRule, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	SetFocusPropertiesForPolicy(ctx context.Context, duckingBehavior int32, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	SetVolumePolicy(ctx context.Context, policy VolumePolicy) error
	HasRegisteredDynamicPolicy(ctx context.Context) (bool, error)
	RegisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
	UnregisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
	GetActiveRecordingConfigurations(ctx context.Context) ([]AudioRecordingConfiguration, error)
	RegisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
	UnregisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
	GetActivePlaybackConfigurations(ctx context.Context) ([]AudioPlaybackConfiguration, error)
	GetFocusRampTimeMs(ctx context.Context, focusGain int32, attr AudioAttributes) (int32, error)
	DispatchFocusChange(ctx context.Context, afi AudioFocusInfo, focusChange int32, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	DispatchFocusChangeWithFade(ctx context.Context, afi AudioFocusInfo, focusChange int32, pcb audiopolicy.IAudioPolicyCallback, otherActiveAfis []AudioFocusInfo, transientFadeMgrConfig FadeManagerConfiguration) (int32, error)
	PlayerHasOpPlayAudio(ctx context.Context, piid int32, hasOpPlayAudio bool) error
	HandleBluetoothActiveDeviceChanged(ctx context.Context, newDevice bluetooth.BluetoothDevice, previousDevice bluetooth.BluetoothDevice, info BluetoothProfileConnectionInfo) error
	SetFocusRequestResultFromExtPolicy(ctx context.Context, afi AudioFocusInfo, requestResult int32, pcb audiopolicy.IAudioPolicyCallback) error
	RegisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
	UnregisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
	IsAudioServerRunning(ctx context.Context) (bool, error)
	SetUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32, deviceTypes []int32, deviceAddresses []string) (int32, error)
	RemoveUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32) (int32, error)
	SetUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, deviceTypes []int32, deviceAddresses []string) (int32, error)
	RemoveUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
	HasHapticChannels(ctx context.Context, uri net.Uri) (bool, error)
	IsCallScreeningModeSupported(ctx context.Context) (bool, error)
	SetPreferredDevicesForStrategy(ctx context.Context, strategy int32, devices []AudioDeviceAttributes) (int32, error)
	RemovePreferredDevicesForStrategy(ctx context.Context, strategy int32) (int32, error)
	GetPreferredDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
	SetDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
	RemoveDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
	GetNonDefaultDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
	GetDevicesForAttributes(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
	GetDevicesForAttributesUnprotected(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
	AddOnDevicesForAttributesChangedListener(ctx context.Context, attributes AudioAttributes, callback IDevicesForAttributesCallback) error
	RemoveOnDevicesForAttributesChangedListener(ctx context.Context, callback IDevicesForAttributesCallback) error
	SetAllowedCapturePolicy(ctx context.Context, capturePolicy int32) (int32, error)
	GetAllowedCapturePolicy(ctx context.Context) (int32, error)
	RegisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
	UnregisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
	RegisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
	UnregisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
	SetRttEnabled(ctx context.Context, rttEnabled bool) error
	SetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes, deviceVolumeBehavior int32, pkgName string) error
	GetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes) (int32, error)
	SetMultiAudioFocusEnabled(ctx context.Context, enabled bool) error
	SetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32, devices []AudioDeviceAttributes) (int32, error)
	ClearPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) (int32, error)
	GetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) ([]AudioDeviceAttributes, error)
	RegisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
	UnregisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
	AdjustStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	AdjustSuggestedStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	SetStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, packageName string, uid int32, pid int32, userHandle os.UserHandle, targetSdkVersion int32) error
	AdjustVolume(ctx context.Context, direction int32, flags int32) error
	AdjustSuggestedStreamVolume(ctx context.Context, direction int32, suggestedStreamType int32, flags int32) error
	IsMusicActive(ctx context.Context, remotely bool) (bool, error)
	GetDeviceMaskForStream(ctx context.Context, streamType int32) (int32, error)
	GetAvailableCommunicationDeviceIds(ctx context.Context) ([]int32, error)
	SetCommunicationDevice(ctx context.Context, cb binder.IBinder, portId int32) (bool, error)
	GetCommunicationDevice(ctx context.Context) (int32, error)
	RegisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
	UnregisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
	AreNavigationRepeatSoundEffectsEnabled(ctx context.Context) (bool, error)
	SetNavigationRepeatSoundEffectsEnabled(ctx context.Context, enabled bool) error
	IsHomeSoundEffectEnabled(ctx context.Context) (bool, error)
	SetHomeSoundEffectEnabled(ctx context.Context, enabled bool) error
	SetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes, delayMillis int64) (bool, error)
	GetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
	GetMaxAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
	RequestAudioFocusForTest(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, fd IAudioFocusDispatcher, clientId string, callingPackageName string, flags int32, uid int32, sdk int32) (int32, error)
	AbandonAudioFocusForTest(ctx context.Context, fd IAudioFocusDispatcher, clientId string, aa AudioAttributes, callingPackageName string) (int32, error)
	GetFadeOutDurationOnFocusLossMillis(ctx context.Context, aa AudioAttributes) (int64, error)
	GetFocusDuckedUidsForTest(ctx context.Context) ([]any, error)
	GetFocusFadeOutDurationForTest(ctx context.Context) (int64, error)
	GetFocusUnmuteDelayAfterFadeOutForTest(ctx context.Context) (int64, error)
	EnterAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder, uids []int32) (bool, error)
	ExitAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder) (bool, error)
	RegisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
	UnregisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
	GetSpatializerImmersiveAudioLevel(ctx context.Context) (int32, error)
	IsSpatializerEnabled(ctx context.Context) (bool, error)
	IsSpatializerAvailable(ctx context.Context) (bool, error)
	IsSpatializerAvailableForDevice(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	HasHeadTracker(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	SetHeadTrackerEnabled(ctx context.Context, enabled bool, device AudioDeviceAttributes) error
	IsHeadTrackerEnabled(ctx context.Context, device AudioDeviceAttributes) (bool, error)
	IsHeadTrackerAvailable(ctx context.Context) (bool, error)
	RegisterSpatializerHeadTrackerAvailableCallback(ctx context.Context, cb ISpatializerHeadTrackerAvailableCallback, register bool) error
	SetSpatializerEnabled(ctx context.Context, enabled bool) error
	CanBeSpatialized(ctx context.Context, aa AudioAttributes, af AudioFormat) (bool, error)
	RegisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
	UnregisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
	RegisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
	UnregisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
	RegisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
	UnregisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
	GetSpatializerCompatibleAudioDevices(ctx context.Context) ([]AudioDeviceAttributes, error)
	AddSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
	RemoveSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
	SetDesiredHeadTrackingMode(ctx context.Context, mode int32) error
	GetDesiredHeadTrackingMode(ctx context.Context) (int32, error)
	GetSupportedHeadTrackingModes(ctx context.Context) ([]int32, error)
	GetActualHeadTrackingMode(ctx context.Context) (int32, error)
	SetSpatializerGlobalTransform(ctx context.Context, transform []float32) error
	RecenterHeadTracker(ctx context.Context) error
	SetSpatializerParameter(ctx context.Context, key int32, value []byte) error
	GetSpatializerParameter(ctx context.Context, key int32, value []byte) error
	GetSpatializerOutput(ctx context.Context) (int32, error)
	RegisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
	UnregisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
	IsVolumeFixed(ctx context.Context) (bool, error)
	GetDefaultVolumeInfo(ctx context.Context) (VolumeInfo, error)
	IsPstnCallAudioInterceptable(ctx context.Context) (bool, error)
	MuteAwaitConnection(ctx context.Context, usagesToMute []int32, dev AudioDeviceAttributes, timeOutMs int64) error
	CancelMuteAwaitConnection(ctx context.Context, dev AudioDeviceAttributes) error
	GetMutingExpectedDevice(ctx context.Context) (AudioDeviceAttributes, error)
	RegisterMuteAwaitConnectionDispatcher(ctx context.Context, cb IMuteAwaitConnectionCallback, register bool) error
	SetTestDeviceConnectionState(ctx context.Context, device AudioDeviceAttributes, connected bool) error
	RegisterDeviceVolumeBehaviorDispatcher(ctx context.Context, register bool, dispatcher IDeviceVolumeBehaviorDispatcher) error
	GetFocusStack(ctx context.Context) ([]AudioFocusInfo, error)
	SendFocusLoss(ctx context.Context, focusLoser AudioFocusInfo, apcb audiopolicy.IAudioPolicyCallback) (bool, error)
	AddAssistantServicesUids(ctx context.Context, assistantUID []int32) error
	RemoveAssistantServicesUids(ctx context.Context, assistantUID []int32) error
	SetActiveAssistantServiceUids(ctx context.Context, activeUids []int32) error
	GetAssistantServicesUids(ctx context.Context) ([]int32, error)
	GetActiveAssistantServiceUids(ctx context.Context) ([]int32, error)
	RegisterDeviceVolumeDispatcherForAbsoluteVolume(ctx context.Context, register bool, cb IAudioDeviceVolumeDispatcher, packageName string, device AudioDeviceAttributes, volumes []VolumeInfo, handlesvolumeAdjustment bool, volumeBehavior int32) error
	GetHalVersion(ctx context.Context) (AudioHalVersionInfo, error)
	SetPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32, mixerAttributes AudioMixerAttributes) (int32, error)
	ClearPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32) (int32, error)
	RegisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
	UnregisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
	SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
	SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
	IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
	RegisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
	UnregisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
	StartLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
	StopLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
	AddLoudnessCodecInfo(ctx context.Context, sessionId int32, mediaCodecHash int32, codecInfo LoudnessCodecInfo) error
	RemoveLoudnessCodecInfo(ctx context.Context, sessionId int32, codecInfo LoudnessCodecInfo) error
	GetLoudnessParams(ctx context.Context, codecInfo LoudnessCodecInfo) (os.PersistableBundle, error)
	SetFadeManagerConfigurationForFocusLoss(ctx context.Context, fmcForFocusLoss FadeManagerConfiguration) (int32, error)
	ClearFadeManagerConfigurationForFocusLoss(ctx context.Context) (int32, error)
	GetFadeManagerConfigurationForFocusLoss(ctx context.Context) (FadeManagerConfiguration, error)
	ShouldNotificationSoundPlay(ctx context.Context, aa AudioAttributes) (bool, error)
}

IAudioServiceServer is the server-side interface that user implementations provide to NewAudioServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioTrack

type IAudioTrack interface {
	AsBinder() binder.IBinder
	GetCblk(ctx context.Context) (SharedFileRegion, error)
	Start(ctx context.Context) (int32, error)
	Stop(ctx context.Context) error
	Flush(ctx context.Context) error
	Pause(ctx context.Context) error
	AttachAuxEffect(ctx context.Context, effectId int32) (int32, error)
	SetParameters(ctx context.Context, keyValuePairs string) (int32, error)
	SelectPresentation(ctx context.Context, presentationId int32, programId int32) (int32, error)
	GetTimestamp(ctx context.Context, timestamp AudioTimestampInternal) (int32, error)
	Signal(ctx context.Context) error
	ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, operation VolumeShaperOperation) (int32, error)
	GetVolumeShaperState(ctx context.Context, id int32) (VolumeShaperState, error)
	GetDualMonoMode(ctx context.Context) (common.AudioDualMonoMode, error)
	SetDualMonoMode(ctx context.Context, mode common.AudioDualMonoMode) error
	GetAudioDescriptionMixLevel(ctx context.Context) (float32, error)
	SetAudioDescriptionMixLevel(ctx context.Context, leveldB float32) error
	GetPlaybackRateParameters(ctx context.Context) (common.AudioPlaybackRate, error)
	SetPlaybackRateParameters(ctx context.Context, playbackRate common.AudioPlaybackRate) error
}

func NewAudioTrackStub

func NewAudioTrackStub(
	impl IAudioTrackServer,
) IAudioTrack

NewAudioTrackStub creates a server-side IAudioTrack wrapping the given server implementation. The returned value satisfies IAudioTrack and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioTrackCallback

type IAudioTrackCallback interface {
	AsBinder() binder.IBinder
	OnCodecFormatChanged(ctx context.Context, audioMetadata []byte) error
}

func NewAudioTrackCallbackStub

func NewAudioTrackCallbackStub(
	impl IAudioTrackCallbackServer,
) IAudioTrackCallback

NewAudioTrackCallbackStub creates a server-side IAudioTrackCallback wrapping the given server implementation. The returned value satisfies IAudioTrackCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAudioTrackCallbackServer

type IAudioTrackCallbackServer interface {
	OnCodecFormatChanged(ctx context.Context, audioMetadata []byte) error
}

IAudioTrackCallbackServer is the server-side interface that user implementations provide to NewAudioTrackCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAudioTrackServer

type IAudioTrackServer interface {
	GetCblk(ctx context.Context) (SharedFileRegion, error)
	Start(ctx context.Context) (int32, error)
	Stop(ctx context.Context) error
	Flush(ctx context.Context) error
	Pause(ctx context.Context) error
	AttachAuxEffect(ctx context.Context, effectId int32) (int32, error)
	SetParameters(ctx context.Context, keyValuePairs string) (int32, error)
	SelectPresentation(ctx context.Context, presentationId int32, programId int32) (int32, error)
	GetTimestamp(ctx context.Context, timestamp AudioTimestampInternal) (int32, error)
	Signal(ctx context.Context) error
	ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, operation VolumeShaperOperation) (int32, error)
	GetVolumeShaperState(ctx context.Context, id int32) (VolumeShaperState, error)
	GetDualMonoMode(ctx context.Context) (common.AudioDualMonoMode, error)
	SetDualMonoMode(ctx context.Context, mode common.AudioDualMonoMode) error
	GetAudioDescriptionMixLevel(ctx context.Context) (float32, error)
	SetAudioDescriptionMixLevel(ctx context.Context, leveldB float32) error
	GetPlaybackRateParameters(ctx context.Context) (common.AudioPlaybackRate, error)
	SetPlaybackRateParameters(ctx context.Context, playbackRate common.AudioPlaybackRate) error
}

IAudioTrackServer is the server-side interface that user implementations provide to NewAudioTrackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICapturePresetDevicesRoleDispatcher

type ICapturePresetDevicesRoleDispatcher interface {
	AsBinder() binder.IBinder
	DispatchDevicesRoleChanged(ctx context.Context, capturePreset int32, role int32, devices []AudioDeviceAttributes) error
}

func NewCapturePresetDevicesRoleDispatcherStub

func NewCapturePresetDevicesRoleDispatcherStub(
	impl ICapturePresetDevicesRoleDispatcherServer,
) ICapturePresetDevicesRoleDispatcher

NewCapturePresetDevicesRoleDispatcherStub creates a server-side ICapturePresetDevicesRoleDispatcher wrapping the given server implementation. The returned value satisfies ICapturePresetDevicesRoleDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICapturePresetDevicesRoleDispatcherServer

type ICapturePresetDevicesRoleDispatcherServer interface {
	DispatchDevicesRoleChanged(ctx context.Context, capturePreset int32, role int32, devices []AudioDeviceAttributes) error
}

ICapturePresetDevicesRoleDispatcherServer is the server-side interface that user implementations provide to NewCapturePresetDevicesRoleDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICaptureStateListener

type ICaptureStateListener interface {
	AsBinder() binder.IBinder
	SetCaptureState(ctx context.Context, active bool) error
}

func NewCaptureStateListenerStub

func NewCaptureStateListenerStub(
	impl ICaptureStateListenerServer,
) ICaptureStateListener

NewCaptureStateListenerStub creates a server-side ICaptureStateListener wrapping the given server implementation. The returned value satisfies ICaptureStateListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICaptureStateListenerServer

type ICaptureStateListenerServer interface {
	SetCaptureState(ctx context.Context, active bool) error
}

ICaptureStateListenerServer is the server-side interface that user implementations provide to NewCaptureStateListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICommunicationDeviceDispatcher

type ICommunicationDeviceDispatcher interface {
	AsBinder() binder.IBinder
	DispatchCommunicationDeviceChanged(ctx context.Context, portId int32) error
}

func NewCommunicationDeviceDispatcherStub

func NewCommunicationDeviceDispatcherStub(
	impl ICommunicationDeviceDispatcherServer,
) ICommunicationDeviceDispatcher

NewCommunicationDeviceDispatcherStub creates a server-side ICommunicationDeviceDispatcher wrapping the given server implementation. The returned value satisfies ICommunicationDeviceDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICommunicationDeviceDispatcherServer

type ICommunicationDeviceDispatcherServer interface {
	DispatchCommunicationDeviceChanged(ctx context.Context, portId int32) error
}

ICommunicationDeviceDispatcherServer is the server-side interface that user implementations provide to NewCommunicationDeviceDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IDeviceVolumeBehaviorDispatcher

type IDeviceVolumeBehaviorDispatcher interface {
	AsBinder() binder.IBinder
	DispatchDeviceVolumeBehaviorChanged(ctx context.Context, device AudioDeviceAttributes, deviceVolumeBehavior int32) error
}

func NewDeviceVolumeBehaviorDispatcherStub

func NewDeviceVolumeBehaviorDispatcherStub(
	impl IDeviceVolumeBehaviorDispatcherServer,
) IDeviceVolumeBehaviorDispatcher

NewDeviceVolumeBehaviorDispatcherStub creates a server-side IDeviceVolumeBehaviorDispatcher wrapping the given server implementation. The returned value satisfies IDeviceVolumeBehaviorDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IDeviceVolumeBehaviorDispatcherServer

type IDeviceVolumeBehaviorDispatcherServer interface {
	DispatchDeviceVolumeBehaviorChanged(ctx context.Context, device AudioDeviceAttributes, deviceVolumeBehavior int32) error
}

IDeviceVolumeBehaviorDispatcherServer is the server-side interface that user implementations provide to NewDeviceVolumeBehaviorDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IDevicesForAttributesCallback

type IDevicesForAttributesCallback interface {
	AsBinder() binder.IBinder
	OnDevicesForAttributesChanged(ctx context.Context, attributes AudioAttributes, forVolume bool, devices []AudioDeviceAttributes) error
}

func NewDevicesForAttributesCallbackStub

func NewDevicesForAttributesCallbackStub(
	impl IDevicesForAttributesCallbackServer,
) IDevicesForAttributesCallback

NewDevicesForAttributesCallbackStub creates a server-side IDevicesForAttributesCallback wrapping the given server implementation. The returned value satisfies IDevicesForAttributesCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IDevicesForAttributesCallbackServer

type IDevicesForAttributesCallbackServer interface {
	OnDevicesForAttributesChanged(ctx context.Context, attributes AudioAttributes, forVolume bool, devices []AudioDeviceAttributes) error
}

IDevicesForAttributesCallbackServer is the server-side interface that user implementations provide to NewDevicesForAttributesCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IEffect

type IEffect interface {
	AsBinder() binder.IBinder
	Enable(ctx context.Context) (int32, error)
	Disable(ctx context.Context) (int32, error)
	Command(ctx context.Context, cmdCode int32, cmdData []byte, maxResponseSize int32, response []byte) (int32, error)
	Disconnect(ctx context.Context) error
	GetCblk(ctx context.Context) (SharedFileRegion, error)
	GetConfig(ctx context.Context, config EffectConfig) (int32, error)
}

func NewEffectStub

func NewEffectStub(
	impl IEffectServer,
) IEffect

NewEffectStub creates a server-side IEffect wrapping the given server implementation. The returned value satisfies IEffect and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IEffectClient

type IEffectClient interface {
	AsBinder() binder.IBinder
	ControlStatusChanged(ctx context.Context, controlGranted bool) error
	EnableStatusChanged(ctx context.Context, enabled bool) error
	CommandExecuted(ctx context.Context, cmdCode int32, cmdData []byte, replyData []byte) error
	FramesProcessed(ctx context.Context, frames int32) error
}

func NewEffectClientStub

func NewEffectClientStub(
	impl IEffectClientServer,
) IEffectClient

NewEffectClientStub creates a server-side IEffectClient wrapping the given server implementation. The returned value satisfies IEffectClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IEffectClientServer

type IEffectClientServer interface {
	ControlStatusChanged(ctx context.Context, controlGranted bool) error
	EnableStatusChanged(ctx context.Context, enabled bool) error
	CommandExecuted(ctx context.Context, cmdCode int32, cmdData []byte, replyData []byte) error
	FramesProcessed(ctx context.Context, frames int32) error
}

IEffectClientServer is the server-side interface that user implementations provide to NewEffectClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IEffectServer

type IEffectServer interface {
	Enable(ctx context.Context) (int32, error)
	Disable(ctx context.Context) (int32, error)
	Command(ctx context.Context, cmdCode int32, cmdData []byte, maxResponseSize int32, response []byte) (int32, error)
	Disconnect(ctx context.Context) error
	GetCblk(ctx context.Context) (SharedFileRegion, error)
	GetConfig(ctx context.Context, config EffectConfig) (int32, error)
}

IEffectServer is the server-side interface that user implementations provide to NewEffectStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ILoudnessCodecUpdatesDispatcher

type ILoudnessCodecUpdatesDispatcher interface {
	AsBinder() binder.IBinder
	DispatchLoudnessCodecParameterChange(ctx context.Context, sessionId int32, params os.PersistableBundle) error
}

func NewLoudnessCodecUpdatesDispatcherStub

func NewLoudnessCodecUpdatesDispatcherStub(
	impl ILoudnessCodecUpdatesDispatcherServer,
) ILoudnessCodecUpdatesDispatcher

NewLoudnessCodecUpdatesDispatcherStub creates a server-side ILoudnessCodecUpdatesDispatcher wrapping the given server implementation. The returned value satisfies ILoudnessCodecUpdatesDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ILoudnessCodecUpdatesDispatcherServer

type ILoudnessCodecUpdatesDispatcherServer interface {
	DispatchLoudnessCodecParameterChange(ctx context.Context, sessionId int32, params os.PersistableBundle) error
}

ILoudnessCodecUpdatesDispatcherServer is the server-side interface that user implementations provide to NewLoudnessCodecUpdatesDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaHTTPConnection

type IMediaHTTPConnection interface {
	AsBinder() binder.IBinder
	Connect(ctx context.Context, uri string, headers string) (binder.IBinder, error)
	Disconnect(ctx context.Context) error
	ReadAt(ctx context.Context, offset int64, size int32) (int32, error)
	GetSize(ctx context.Context) (int64, error)
	GetMIMEType(ctx context.Context) (string, error)
	GetUri(ctx context.Context) (string, error)
}

func NewMediaHTTPConnectionStub

func NewMediaHTTPConnectionStub(
	impl IMediaHTTPConnectionServer,
) IMediaHTTPConnection

NewMediaHTTPConnectionStub creates a server-side IMediaHTTPConnection wrapping the given server implementation. The returned value satisfies IMediaHTTPConnection and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaHTTPConnectionServer

type IMediaHTTPConnectionServer interface {
	Connect(ctx context.Context, uri string, headers string) (binder.IBinder, error)
	Disconnect(ctx context.Context) error
	ReadAt(ctx context.Context, offset int64, size int32) (int32, error)
	GetSize(ctx context.Context) (int64, error)
	GetMIMEType(ctx context.Context) (string, error)
	GetUri(ctx context.Context) (string, error)
}

IMediaHTTPConnectionServer is the server-side interface that user implementations provide to NewMediaHTTPConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaHTTPService

type IMediaHTTPService interface {
	AsBinder() binder.IBinder
	MakeHTTPConnection(ctx context.Context) (IMediaHTTPConnection, error)
}

func NewMediaHTTPServiceStub

func NewMediaHTTPServiceStub(
	impl IMediaHTTPServiceServer,
) IMediaHTTPService

NewMediaHTTPServiceStub creates a server-side IMediaHTTPService wrapping the given server implementation. The returned value satisfies IMediaHTTPService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaHTTPServiceServer

type IMediaHTTPServiceServer interface {
	MakeHTTPConnection(ctx context.Context) (IMediaHTTPConnection, error)
}

IMediaHTTPServiceServer is the server-side interface that user implementations provide to NewMediaHTTPServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaMetricsService

type IMediaMetricsService interface {
	AsBinder() binder.IBinder
	SubmitBuffer(ctx context.Context, buffer []byte) error
}

func NewMediaMetricsServiceStub

func NewMediaMetricsServiceStub(
	impl IMediaMetricsServiceServer,
) IMediaMetricsService

NewMediaMetricsServiceStub creates a server-side IMediaMetricsService wrapping the given server implementation. The returned value satisfies IMediaMetricsService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaMetricsServiceServer

type IMediaMetricsServiceServer interface {
	SubmitBuffer(ctx context.Context, buffer []byte) error
}

IMediaMetricsServiceServer is the server-side interface that user implementations provide to NewMediaMetricsServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaResourceMonitor

type IMediaResourceMonitor interface {
	AsBinder() binder.IBinder
	NotifyResourceGranted(ctx context.Context, pid int32, type_ int32) error
}

func NewMediaResourceMonitorStub

func NewMediaResourceMonitorStub(
	impl IMediaResourceMonitorServer,
) IMediaResourceMonitor

NewMediaResourceMonitorStub creates a server-side IMediaResourceMonitor wrapping the given server implementation. The returned value satisfies IMediaResourceMonitor and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaResourceMonitorServer

type IMediaResourceMonitorServer interface {
	NotifyResourceGranted(ctx context.Context, pid int32, type_ int32) error
}

IMediaResourceMonitorServer is the server-side interface that user implementations provide to NewMediaResourceMonitorStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRoute2ProviderService

type IMediaRoute2ProviderService interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IMediaRoute2ProviderServiceCallback) error
	UpdateDiscoveryPreference(ctx context.Context, discoveryPreference RouteDiscoveryPreference) error
	SetRouteVolume(ctx context.Context, requestId int64, routeId string, volume int32) error
	RequestCreateSession(ctx context.Context, requestId int64, packageName string, routeId string, sessionHints *os.Bundle) error
	SelectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	DeselectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	TransferToRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	SetSessionVolume(ctx context.Context, requestId int64, sessionId string, volume int32) error
	ReleaseSession(ctx context.Context, requestId int64, sessionId string) error
}

func NewMediaRoute2ProviderServiceStub

func NewMediaRoute2ProviderServiceStub(
	impl IMediaRoute2ProviderServiceServer,
) IMediaRoute2ProviderService

NewMediaRoute2ProviderServiceStub creates a server-side IMediaRoute2ProviderService wrapping the given server implementation. The returned value satisfies IMediaRoute2ProviderService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRoute2ProviderServiceCallback

type IMediaRoute2ProviderServiceCallback interface {
	AsBinder() binder.IBinder
	NotifyProviderUpdated(ctx context.Context, providerInfo MediaRoute2ProviderInfo) error
	NotifySessionCreated(ctx context.Context, requestId int64, sessionInfo RoutingSessionInfo) error
	NotifySessionsUpdated(ctx context.Context, sessionInfo []RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
	NotifyRequestFailed(ctx context.Context, requestId int64, reason int32) error
}

func NewMediaRoute2ProviderServiceCallbackStub

func NewMediaRoute2ProviderServiceCallbackStub(
	impl IMediaRoute2ProviderServiceCallbackServer,
) IMediaRoute2ProviderServiceCallback

NewMediaRoute2ProviderServiceCallbackStub creates a server-side IMediaRoute2ProviderServiceCallback wrapping the given server implementation. The returned value satisfies IMediaRoute2ProviderServiceCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRoute2ProviderServiceCallbackServer

type IMediaRoute2ProviderServiceCallbackServer interface {
	NotifyProviderUpdated(ctx context.Context, providerInfo MediaRoute2ProviderInfo) error
	NotifySessionCreated(ctx context.Context, requestId int64, sessionInfo RoutingSessionInfo) error
	NotifySessionsUpdated(ctx context.Context, sessionInfo []RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
	NotifyRequestFailed(ctx context.Context, requestId int64, reason int32) error
}

IMediaRoute2ProviderServiceCallbackServer is the server-side interface that user implementations provide to NewMediaRoute2ProviderServiceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRoute2ProviderServiceServer

type IMediaRoute2ProviderServiceServer interface {
	SetCallback(ctx context.Context, callback IMediaRoute2ProviderServiceCallback) error
	UpdateDiscoveryPreference(ctx context.Context, discoveryPreference RouteDiscoveryPreference) error
	SetRouteVolume(ctx context.Context, requestId int64, routeId string, volume int32) error
	RequestCreateSession(ctx context.Context, requestId int64, packageName string, routeId string, sessionHints *os.Bundle) error
	SelectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	DeselectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	TransferToRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
	SetSessionVolume(ctx context.Context, requestId int64, sessionId string, volume int32) error
	ReleaseSession(ctx context.Context, requestId int64, sessionId string) error
}

IMediaRoute2ProviderServiceServer is the server-side interface that user implementations provide to NewMediaRoute2ProviderServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRouter2

type IMediaRouter2 interface {
	AsBinder() binder.IBinder
	NotifyRouterRegistered(ctx context.Context, currentRoutes []MediaRoute2Info, currentSystemSessionInfo RoutingSessionInfo) error
	NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
	NotifySessionCreated(ctx context.Context, requestId int32, sessionInfo *RoutingSessionInfo) error
	NotifySessionInfoChanged(ctx context.Context, sessionInfo RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
	RequestCreateSessionByManager(ctx context.Context, uniqueRequestId int64, oldSession RoutingSessionInfo, route MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
}

func NewMediaRouter2Stub

func NewMediaRouter2Stub(
	impl IMediaRouter2Server,
) IMediaRouter2

NewMediaRouter2Stub creates a server-side IMediaRouter2 wrapping the given server implementation. The returned value satisfies IMediaRouter2 and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRouter2Manager

type IMediaRouter2Manager interface {
	AsBinder() binder.IBinder
	NotifySessionCreated(ctx context.Context, requestId int32, session RoutingSessionInfo) error
	NotifySessionUpdated(ctx context.Context, session RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, session RoutingSessionInfo) error
	NotifyDiscoveryPreferenceChanged(ctx context.Context, packageName string, discoveryPreference RouteDiscoveryPreference) error
	NotifyRouteListingPreferenceChange(ctx context.Context, packageName string, routeListingPreference *RouteListingPreference) error
	NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
	NotifyRequestFailed(ctx context.Context, requestId int32, reason int32) error
}

func NewMediaRouter2ManagerStub

func NewMediaRouter2ManagerStub(
	impl IMediaRouter2ManagerServer,
) IMediaRouter2Manager

NewMediaRouter2ManagerStub creates a server-side IMediaRouter2Manager wrapping the given server implementation. The returned value satisfies IMediaRouter2Manager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRouter2ManagerServer

type IMediaRouter2ManagerServer interface {
	NotifySessionCreated(ctx context.Context, requestId int32, session RoutingSessionInfo) error
	NotifySessionUpdated(ctx context.Context, session RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, session RoutingSessionInfo) error
	NotifyDiscoveryPreferenceChanged(ctx context.Context, packageName string, discoveryPreference RouteDiscoveryPreference) error
	NotifyRouteListingPreferenceChange(ctx context.Context, packageName string, routeListingPreference *RouteListingPreference) error
	NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
	NotifyRequestFailed(ctx context.Context, requestId int32, reason int32) error
}

IMediaRouter2ManagerServer is the server-side interface that user implementations provide to NewMediaRouter2ManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRouter2Server

type IMediaRouter2Server interface {
	NotifyRouterRegistered(ctx context.Context, currentRoutes []MediaRoute2Info, currentSystemSessionInfo RoutingSessionInfo) error
	NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
	NotifySessionCreated(ctx context.Context, requestId int32, sessionInfo *RoutingSessionInfo) error
	NotifySessionInfoChanged(ctx context.Context, sessionInfo RoutingSessionInfo) error
	NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
	RequestCreateSessionByManager(ctx context.Context, uniqueRequestId int64, oldSession RoutingSessionInfo, route MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
}

IMediaRouter2Server is the server-side interface that user implementations provide to NewMediaRouter2Stub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRouterClient

type IMediaRouterClient interface {
	AsBinder() binder.IBinder
	OnStateChanged(ctx context.Context) error
	OnRestoreRoute(ctx context.Context) error
	OnGroupRouteSelected(ctx context.Context, routeId string) error
}

func NewMediaRouterClientStub

func NewMediaRouterClientStub(
	impl IMediaRouterClientServer,
) IMediaRouterClient

NewMediaRouterClientStub creates a server-side IMediaRouterClient wrapping the given server implementation. The returned value satisfies IMediaRouterClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRouterClientServer

type IMediaRouterClientServer interface {
	OnStateChanged(ctx context.Context) error
	OnRestoreRoute(ctx context.Context) error
	OnGroupRouteSelected(ctx context.Context, routeId string) error
}

IMediaRouterClientServer is the server-side interface that user implementations provide to NewMediaRouterClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaRouterService

type IMediaRouterService interface {
	AsBinder() binder.IBinder
	RegisterClientAsUser(ctx context.Context, client IMediaRouterClient, packageName string) error
	UnregisterClient(ctx context.Context, client IMediaRouterClient) error
	RegisterClientGroupId(ctx context.Context, client IMediaRouterClient, groupId string) error
	GetState(ctx context.Context, client IMediaRouterClient) (MediaRouterClientState, error)
	IsPlaybackActive(ctx context.Context, client IMediaRouterClient) (bool, error)
	SetBluetoothA2dpOn(ctx context.Context, client IMediaRouterClient, on bool) error
	SetDiscoveryRequest(ctx context.Context, client IMediaRouterClient, routeTypes int32, activeScan bool) error
	SetSelectedRoute(ctx context.Context, client IMediaRouterClient, routeId string, explicit bool) error
	RequestSetVolume(ctx context.Context, client IMediaRouterClient, routeId string, volume int32) error
	RequestUpdateVolume(ctx context.Context, client IMediaRouterClient, routeId string, direction int32) error
	GetSystemRoutes(ctx context.Context) ([]MediaRoute2Info, error)
	GetSystemSessionInfo(ctx context.Context) (RoutingSessionInfo, error)
	RegisterRouter2(ctx context.Context, router IMediaRouter2, packageName string) error
	UnregisterRouter2(ctx context.Context, router IMediaRouter2) error
	UpdateScanningStateWithRouter2(ctx context.Context, router IMediaRouter2, scanningState int32) error
	SetDiscoveryRequestWithRouter2(ctx context.Context, router IMediaRouter2, preference RouteDiscoveryPreference) error
	SetRouteListingPreference(ctx context.Context, router IMediaRouter2, routeListingPreference *RouteListingPreference) error
	SetRouteVolumeWithRouter2(ctx context.Context, router IMediaRouter2, route MediaRoute2Info, volume int32) error
	RequestCreateSessionWithRouter2(ctx context.Context, router IMediaRouter2, requestId int32, managerRequestId int64, oldSession RoutingSessionInfo, route MediaRoute2Info, sessionHints *os.Bundle, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SelectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	DeselectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	TransferToRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	SetSessionVolumeWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, volume int32) error
	ReleaseSessionWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string) error
	GetRemoteSessions(ctx context.Context, manager IMediaRouter2Manager) ([]RoutingSessionInfo, error)
	GetSystemSessionInfoForPackage(ctx context.Context, packageName string) (RoutingSessionInfo, error)
	RegisterManager(ctx context.Context, manager IMediaRouter2Manager, packageName string) error
	RegisterProxyRouter(ctx context.Context, manager IMediaRouter2Manager, callingPackageName string, targetPackageName string, targetUser os.UserHandle) error
	UnregisterManager(ctx context.Context, manager IMediaRouter2Manager) error
	SetRouteVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, route MediaRoute2Info, volume int32) error
	UpdateScanningState(ctx context.Context, manager IMediaRouter2Manager, scanningState int32) error
	RequestCreateSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, oldSession RoutingSessionInfo, route *MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SelectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info) error
	DeselectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info) error
	TransferToRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SetSessionVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, volume int32) error
	ReleaseSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string) error
	ShowMediaOutputSwitcher(ctx context.Context, packageName string) (bool, error)
}

func NewMediaRouterServiceStub

func NewMediaRouterServiceStub(
	impl IMediaRouterServiceServer,
) IMediaRouterService

NewMediaRouterServiceStub creates a server-side IMediaRouterService wrapping the given server implementation. The returned value satisfies IMediaRouterService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaRouterServiceServer

type IMediaRouterServiceServer interface {
	RegisterClientAsUser(ctx context.Context, client IMediaRouterClient, packageName string) error
	UnregisterClient(ctx context.Context, client IMediaRouterClient) error
	RegisterClientGroupId(ctx context.Context, client IMediaRouterClient, groupId string) error
	GetState(ctx context.Context, client IMediaRouterClient) (MediaRouterClientState, error)
	IsPlaybackActive(ctx context.Context, client IMediaRouterClient) (bool, error)
	SetBluetoothA2dpOn(ctx context.Context, client IMediaRouterClient, on bool) error
	SetDiscoveryRequest(ctx context.Context, client IMediaRouterClient, routeTypes int32, activeScan bool) error
	SetSelectedRoute(ctx context.Context, client IMediaRouterClient, routeId string, explicit bool) error
	RequestSetVolume(ctx context.Context, client IMediaRouterClient, routeId string, volume int32) error
	RequestUpdateVolume(ctx context.Context, client IMediaRouterClient, routeId string, direction int32) error
	GetSystemRoutes(ctx context.Context) ([]MediaRoute2Info, error)
	GetSystemSessionInfo(ctx context.Context) (RoutingSessionInfo, error)
	RegisterRouter2(ctx context.Context, router IMediaRouter2, packageName string) error
	UnregisterRouter2(ctx context.Context, router IMediaRouter2) error
	UpdateScanningStateWithRouter2(ctx context.Context, router IMediaRouter2, scanningState int32) error
	SetDiscoveryRequestWithRouter2(ctx context.Context, router IMediaRouter2, preference RouteDiscoveryPreference) error
	SetRouteListingPreference(ctx context.Context, router IMediaRouter2, routeListingPreference *RouteListingPreference) error
	SetRouteVolumeWithRouter2(ctx context.Context, router IMediaRouter2, route MediaRoute2Info, volume int32) error
	RequestCreateSessionWithRouter2(ctx context.Context, router IMediaRouter2, requestId int32, managerRequestId int64, oldSession RoutingSessionInfo, route MediaRoute2Info, sessionHints *os.Bundle, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SelectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	DeselectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	TransferToRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, route MediaRoute2Info) error
	SetSessionVolumeWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, volume int32) error
	ReleaseSessionWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string) error
	GetRemoteSessions(ctx context.Context, manager IMediaRouter2Manager) ([]RoutingSessionInfo, error)
	GetSystemSessionInfoForPackage(ctx context.Context, packageName string) (RoutingSessionInfo, error)
	RegisterManager(ctx context.Context, manager IMediaRouter2Manager, packageName string) error
	RegisterProxyRouter(ctx context.Context, manager IMediaRouter2Manager, callingPackageName string, targetPackageName string, targetUser os.UserHandle) error
	UnregisterManager(ctx context.Context, manager IMediaRouter2Manager) error
	SetRouteVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, route MediaRoute2Info, volume int32) error
	UpdateScanningState(ctx context.Context, manager IMediaRouter2Manager, scanningState int32) error
	RequestCreateSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, oldSession RoutingSessionInfo, route *MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SelectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info) error
	DeselectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info) error
	TransferToRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, route MediaRoute2Info, transferInitiatorUserHandle os.UserHandle, transferInitiatorPackageName string) error
	SetSessionVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string, volume int32) error
	ReleaseSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, sessionId string) error
	ShowMediaOutputSwitcher(ctx context.Context, packageName string) (bool, error)
}

IMediaRouterServiceServer is the server-side interface that user implementations provide to NewMediaRouterServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaScannerListener

type IMediaScannerListener interface {
	AsBinder() binder.IBinder
	ScanCompleted(ctx context.Context, path string, uri net.Uri) error
}

func NewMediaScannerListenerStub

func NewMediaScannerListenerStub(
	impl IMediaScannerListenerServer,
) IMediaScannerListener

NewMediaScannerListenerStub creates a server-side IMediaScannerListener wrapping the given server implementation. The returned value satisfies IMediaScannerListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaScannerListenerServer

type IMediaScannerListenerServer interface {
	ScanCompleted(ctx context.Context, path string, uri net.Uri) error
}

IMediaScannerListenerServer is the server-side interface that user implementations provide to NewMediaScannerListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaScannerService

type IMediaScannerService interface {
	AsBinder() binder.IBinder
	RequestScanFile(ctx context.Context, path string, mimeType string, listener IMediaScannerListener) error
	ScanFile(ctx context.Context, path string, mimeType string) error
}

func NewMediaScannerServiceStub

func NewMediaScannerServiceStub(
	impl IMediaScannerServiceServer,
) IMediaScannerService

NewMediaScannerServiceStub creates a server-side IMediaScannerService wrapping the given server implementation. The returned value satisfies IMediaScannerService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaScannerServiceServer

type IMediaScannerServiceServer interface {
	RequestScanFile(ctx context.Context, path string, mimeType string, listener IMediaScannerListener) error
	ScanFile(ctx context.Context, path string, mimeType string) error
}

IMediaScannerServiceServer is the server-side interface that user implementations provide to NewMediaScannerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMediaTranscodingService

type IMediaTranscodingService interface {
	AsBinder() binder.IBinder
	RegisterClient(ctx context.Context, callback ITranscodingClientCallback, clientName string) (ITranscodingClient, error)
	GetNumOfClients(ctx context.Context) (int32, error)
}

func NewMediaTranscodingServiceStub

func NewMediaTranscodingServiceStub(
	impl IMediaTranscodingServiceServer,
) IMediaTranscodingService

NewMediaTranscodingServiceStub creates a server-side IMediaTranscodingService wrapping the given server implementation. The returned value satisfies IMediaTranscodingService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMediaTranscodingServiceServer

type IMediaTranscodingServiceServer interface {
	RegisterClient(ctx context.Context, callback ITranscodingClientCallback, clientName string) (ITranscodingClient, error)
	GetNumOfClients(ctx context.Context) (int32, error)
}

IMediaTranscodingServiceServer is the server-side interface that user implementations provide to NewMediaTranscodingServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IMuteAwaitConnectionCallback

type IMuteAwaitConnectionCallback interface {
	AsBinder() binder.IBinder
	DispatchOnMutedUntilConnection(ctx context.Context, device AudioDeviceAttributes, mutedUsages []int32) error
	DispatchOnUnmutedEvent(ctx context.Context, event int32, device AudioDeviceAttributes, mutedUsages []int32) error
}

func NewMuteAwaitConnectionCallbackStub

func NewMuteAwaitConnectionCallbackStub(
	impl IMuteAwaitConnectionCallbackServer,
) IMuteAwaitConnectionCallback

NewMuteAwaitConnectionCallbackStub creates a server-side IMuteAwaitConnectionCallback wrapping the given server implementation. The returned value satisfies IMuteAwaitConnectionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IMuteAwaitConnectionCallbackServer

type IMuteAwaitConnectionCallbackServer interface {
	DispatchOnMutedUntilConnection(ctx context.Context, device AudioDeviceAttributes, mutedUsages []int32) error
	DispatchOnUnmutedEvent(ctx context.Context, event int32, device AudioDeviceAttributes, mutedUsages []int32) error
}

IMuteAwaitConnectionCallbackServer is the server-side interface that user implementations provide to NewMuteAwaitConnectionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type INativeSpatializerCallback

type INativeSpatializerCallback interface {
	AsBinder() binder.IBinder
	OnLevelChanged(ctx context.Context, level common.SpatializationLevel) error
	OnOutputChanged(ctx context.Context, output int32) error
}

func NewNativeSpatializerCallbackStub

func NewNativeSpatializerCallbackStub(
	impl INativeSpatializerCallbackServer,
) INativeSpatializerCallback

NewNativeSpatializerCallbackStub creates a server-side INativeSpatializerCallback wrapping the given server implementation. The returned value satisfies INativeSpatializerCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type INativeSpatializerCallbackServer

type INativeSpatializerCallbackServer interface {
	OnLevelChanged(ctx context.Context, level common.SpatializationLevel) error
	OnOutputChanged(ctx context.Context, output int32) error
}

INativeSpatializerCallbackServer is the server-side interface that user implementations provide to NewNativeSpatializerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type INearbyMediaDevicesProvider

type INearbyMediaDevicesProvider interface {
	AsBinder() binder.IBinder
	RegisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
	UnregisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
}

func NewNearbyMediaDevicesProviderStub

func NewNearbyMediaDevicesProviderStub(
	impl INearbyMediaDevicesProviderServer,
) INearbyMediaDevicesProvider

NewNearbyMediaDevicesProviderStub creates a server-side INearbyMediaDevicesProvider wrapping the given server implementation. The returned value satisfies INearbyMediaDevicesProvider and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type INearbyMediaDevicesProviderServer

type INearbyMediaDevicesProviderServer interface {
	RegisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
	UnregisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
}

INearbyMediaDevicesProviderServer is the server-side interface that user implementations provide to NewNearbyMediaDevicesProviderStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type INearbyMediaDevicesUpdateCallback

type INearbyMediaDevicesUpdateCallback interface {
	AsBinder() binder.IBinder
	OnDevicesUpdated(ctx context.Context, nearbyDevices []NearbyDevice) error
}

func NewNearbyMediaDevicesUpdateCallbackStub

func NewNearbyMediaDevicesUpdateCallbackStub(
	impl INearbyMediaDevicesUpdateCallbackServer,
) INearbyMediaDevicesUpdateCallback

NewNearbyMediaDevicesUpdateCallbackStub creates a server-side INearbyMediaDevicesUpdateCallback wrapping the given server implementation. The returned value satisfies INearbyMediaDevicesUpdateCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type INearbyMediaDevicesUpdateCallbackServer

type INearbyMediaDevicesUpdateCallbackServer interface {
	OnDevicesUpdated(ctx context.Context, nearbyDevices []NearbyDevice) error
}

INearbyMediaDevicesUpdateCallbackServer is the server-side interface that user implementations provide to NewNearbyMediaDevicesUpdateCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IPlaybackConfigDispatcher

type IPlaybackConfigDispatcher interface {
	AsBinder() binder.IBinder
	DispatchPlaybackConfigChange(ctx context.Context, configs []AudioPlaybackConfiguration, flush bool) error
}

func NewPlaybackConfigDispatcherStub

func NewPlaybackConfigDispatcherStub(
	impl IPlaybackConfigDispatcherServer,
) IPlaybackConfigDispatcher

NewPlaybackConfigDispatcherStub creates a server-side IPlaybackConfigDispatcher wrapping the given server implementation. The returned value satisfies IPlaybackConfigDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IPlaybackConfigDispatcherServer

type IPlaybackConfigDispatcherServer interface {
	DispatchPlaybackConfigChange(ctx context.Context, configs []AudioPlaybackConfiguration, flush bool) error
}

IPlaybackConfigDispatcherServer is the server-side interface that user implementations provide to NewPlaybackConfigDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IPlayer

type IPlayer interface {
	AsBinder() binder.IBinder
	Start(ctx context.Context) error
	Pause(ctx context.Context) error
	Stop(ctx context.Context) error
	SetVolume(ctx context.Context, vol float32) error
	SetPan(ctx context.Context, pan float32) error
	SetStartDelayMs(ctx context.Context, delayMs int32) error
	ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, operation VolumeShaperOperation) error
}

func NewPlayerStub

func NewPlayerStub(
	impl IPlayerServer,
) IPlayer

NewPlayerStub creates a server-side IPlayer wrapping the given server implementation. The returned value satisfies IPlayer and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IPlayerServer

type IPlayerServer interface {
	Start(ctx context.Context) error
	Pause(ctx context.Context) error
	Stop(ctx context.Context) error
	SetVolume(ctx context.Context, vol float32) error
	SetPan(ctx context.Context, pan float32) error
	SetStartDelayMs(ctx context.Context, delayMs int32) error
	ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, operation VolumeShaperOperation) error
}

IPlayerServer is the server-side interface that user implementations provide to NewPlayerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IPreferredMixerAttributesDispatcher

type IPreferredMixerAttributesDispatcher interface {
	AsBinder() binder.IBinder
	DispatchPrefMixerAttributesChanged(ctx context.Context, attributes AudioAttributes, deviceId int32, mixerAttributes *AudioMixerAttributes) error
}

func NewPreferredMixerAttributesDispatcherStub

func NewPreferredMixerAttributesDispatcherStub(
	impl IPreferredMixerAttributesDispatcherServer,
) IPreferredMixerAttributesDispatcher

NewPreferredMixerAttributesDispatcherStub creates a server-side IPreferredMixerAttributesDispatcher wrapping the given server implementation. The returned value satisfies IPreferredMixerAttributesDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IPreferredMixerAttributesDispatcherServer

type IPreferredMixerAttributesDispatcherServer interface {
	DispatchPrefMixerAttributesChanged(ctx context.Context, attributes AudioAttributes, deviceId int32, mixerAttributes *AudioMixerAttributes) error
}

IPreferredMixerAttributesDispatcherServer is the server-side interface that user implementations provide to NewPreferredMixerAttributesDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRecordingConfigDispatcher

type IRecordingConfigDispatcher interface {
	AsBinder() binder.IBinder
	DispatchRecordingConfigChange(ctx context.Context, configs []AudioRecordingConfiguration) error
}

func NewRecordingConfigDispatcherStub

func NewRecordingConfigDispatcherStub(
	impl IRecordingConfigDispatcherServer,
) IRecordingConfigDispatcher

NewRecordingConfigDispatcherStub creates a server-side IRecordingConfigDispatcher wrapping the given server implementation. The returned value satisfies IRecordingConfigDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRecordingConfigDispatcherServer

type IRecordingConfigDispatcherServer interface {
	DispatchRecordingConfigChange(ctx context.Context, configs []AudioRecordingConfiguration) error
}

IRecordingConfigDispatcherServer is the server-side interface that user implementations provide to NewRecordingConfigDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRemoteDisplayCallback

type IRemoteDisplayCallback interface {
	AsBinder() binder.IBinder
	OnStateChanged(ctx context.Context, state RemoteDisplayState) error
}

func NewRemoteDisplayCallbackStub

func NewRemoteDisplayCallbackStub(
	impl IRemoteDisplayCallbackServer,
) IRemoteDisplayCallback

NewRemoteDisplayCallbackStub creates a server-side IRemoteDisplayCallback wrapping the given server implementation. The returned value satisfies IRemoteDisplayCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRemoteDisplayCallbackServer

type IRemoteDisplayCallbackServer interface {
	OnStateChanged(ctx context.Context, state RemoteDisplayState) error
}

IRemoteDisplayCallbackServer is the server-side interface that user implementations provide to NewRemoteDisplayCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRemoteDisplayProvider

type IRemoteDisplayProvider interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IRemoteDisplayCallback) error
	SetDiscoveryMode(ctx context.Context, mode int32) error
	Connect(ctx context.Context, id string) error
	Disconnect(ctx context.Context, id string) error
	SetVolume(ctx context.Context, id string, volume int32) error
	AdjustVolume(ctx context.Context, id string, delta int32) error
}

func NewRemoteDisplayProviderStub

func NewRemoteDisplayProviderStub(
	impl IRemoteDisplayProviderServer,
) IRemoteDisplayProvider

NewRemoteDisplayProviderStub creates a server-side IRemoteDisplayProvider wrapping the given server implementation. The returned value satisfies IRemoteDisplayProvider and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRemoteDisplayProviderServer

type IRemoteDisplayProviderServer interface {
	SetCallback(ctx context.Context, callback IRemoteDisplayCallback) error
	SetDiscoveryMode(ctx context.Context, mode int32) error
	Connect(ctx context.Context, id string) error
	Disconnect(ctx context.Context, id string) error
	SetVolume(ctx context.Context, id string, volume int32) error
	AdjustVolume(ctx context.Context, id string, delta int32) error
}

IRemoteDisplayProviderServer is the server-side interface that user implementations provide to NewRemoteDisplayProviderStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRemoteSessionCallback

type IRemoteSessionCallback interface {
	AsBinder() binder.IBinder
	OnVolumeChanged(ctx context.Context, sessionToken session.MediaSessionToken, flags int32) error
	OnSessionChanged(ctx context.Context, sessionToken session.MediaSessionToken) error
}

func NewRemoteSessionCallbackStub

func NewRemoteSessionCallbackStub(
	impl IRemoteSessionCallbackServer,
) IRemoteSessionCallback

NewRemoteSessionCallbackStub creates a server-side IRemoteSessionCallback wrapping the given server implementation. The returned value satisfies IRemoteSessionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRemoteSessionCallbackServer

type IRemoteSessionCallbackServer interface {
	OnVolumeChanged(ctx context.Context, sessionToken session.MediaSessionToken, flags int32) error
	OnSessionChanged(ctx context.Context, sessionToken session.MediaSessionToken) error
}

IRemoteSessionCallbackServer is the server-side interface that user implementations provide to NewRemoteSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRemoteVolumeObserver

type IRemoteVolumeObserver interface {
	AsBinder() binder.IBinder
	DispatchRemoteVolumeUpdate(ctx context.Context, direction int32, value int32) error
}

func NewRemoteVolumeObserverStub

func NewRemoteVolumeObserverStub(
	impl IRemoteVolumeObserverServer,
) IRemoteVolumeObserver

NewRemoteVolumeObserverStub creates a server-side IRemoteVolumeObserver wrapping the given server implementation. The returned value satisfies IRemoteVolumeObserver and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRemoteVolumeObserverServer

type IRemoteVolumeObserverServer interface {
	DispatchRemoteVolumeUpdate(ctx context.Context, direction int32, value int32) error
}

IRemoteVolumeObserverServer is the server-side interface that user implementations provide to NewRemoteVolumeObserverStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IResourceManagerClient

type IResourceManagerClient interface {
	AsBinder() binder.IBinder
	ReclaimResource(ctx context.Context) (bool, error)
	GetName(ctx context.Context) (string, error)
}

func NewResourceManagerClientStub

func NewResourceManagerClientStub(
	impl IResourceManagerClientServer,
) IResourceManagerClient

NewResourceManagerClientStub creates a server-side IResourceManagerClient wrapping the given server implementation. The returned value satisfies IResourceManagerClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IResourceManagerClientServer

type IResourceManagerClientServer interface {
	ReclaimResource(ctx context.Context) (bool, error)
	GetName(ctx context.Context) (string, error)
}

IResourceManagerClientServer is the server-side interface that user implementations provide to NewResourceManagerClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IResourceManagerService

type IResourceManagerService interface {
	AsBinder() binder.IBinder
	Config(ctx context.Context, policies []MediaResourcePolicyParcel) error
	AddResource(ctx context.Context, clientInfo ClientInfoParcel, client IResourceManagerClient, resources []MediaResourceParcel) error
	RemoveResource(ctx context.Context, clientInfo ClientInfoParcel, resources []MediaResourceParcel) error
	RemoveClient(ctx context.Context, clientInfo ClientInfoParcel) error
	ReclaimResource(ctx context.Context, clientInfo ClientInfoParcel, resources []MediaResourceParcel) (bool, error)
	OverridePid(ctx context.Context, originalPid int32, newPid int32) error
	OverrideProcessInfo(ctx context.Context, client IResourceManagerClient, pid int32, procState int32, oomScore int32) error
	MarkClientForPendingRemoval(ctx context.Context, clientInfo ClientInfoParcel) error
	ReclaimResourcesFromClientsPendingRemoval(ctx context.Context, pid int32) error
	NotifyClientCreated(ctx context.Context, clientInfo ClientInfoParcel) error
	NotifyClientStarted(ctx context.Context, clientConfig ClientConfigParcel) error
	NotifyClientStopped(ctx context.Context, clientConfig ClientConfigParcel) error
	NotifyClientConfigChanged(ctx context.Context, clientConfig ClientConfigParcel) error
}

func NewResourceManagerServiceStub

func NewResourceManagerServiceStub(
	impl IResourceManagerServiceServer,
) IResourceManagerService

NewResourceManagerServiceStub creates a server-side IResourceManagerService wrapping the given server implementation. The returned value satisfies IResourceManagerService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IResourceManagerServiceServer

type IResourceManagerServiceServer interface {
	Config(ctx context.Context, policies []MediaResourcePolicyParcel) error
	AddResource(ctx context.Context, clientInfo ClientInfoParcel, client IResourceManagerClient, resources []MediaResourceParcel) error
	RemoveResource(ctx context.Context, clientInfo ClientInfoParcel, resources []MediaResourceParcel) error
	RemoveClient(ctx context.Context, clientInfo ClientInfoParcel) error
	ReclaimResource(ctx context.Context, clientInfo ClientInfoParcel, resources []MediaResourceParcel) (bool, error)
	OverridePid(ctx context.Context, originalPid int32, newPid int32) error
	OverrideProcessInfo(ctx context.Context, client IResourceManagerClient, pid int32, procState int32, oomScore int32) error
	MarkClientForPendingRemoval(ctx context.Context, clientInfo ClientInfoParcel) error
	ReclaimResourcesFromClientsPendingRemoval(ctx context.Context, pid int32) error
	NotifyClientCreated(ctx context.Context, clientInfo ClientInfoParcel) error
	NotifyClientStarted(ctx context.Context, clientConfig ClientConfigParcel) error
	NotifyClientStopped(ctx context.Context, clientConfig ClientConfigParcel) error
	NotifyClientConfigChanged(ctx context.Context, clientConfig ClientConfigParcel) error
}

IResourceManagerServiceServer is the server-side interface that user implementations provide to NewResourceManagerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IResourceObserver

type IResourceObserver interface {
	AsBinder() binder.IBinder
	OnStatusChanged(ctx context.Context, event MediaObservableEvent, uid int32, pid int32, observables []MediaObservableParcel) error
}

func NewResourceObserverStub

func NewResourceObserverStub(
	impl IResourceObserverServer,
) IResourceObserver

NewResourceObserverStub creates a server-side IResourceObserver wrapping the given server implementation. The returned value satisfies IResourceObserver and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IResourceObserverServer

type IResourceObserverServer interface {
	OnStatusChanged(ctx context.Context, event MediaObservableEvent, uid int32, pid int32, observables []MediaObservableParcel) error
}

IResourceObserverServer is the server-side interface that user implementations provide to NewResourceObserverStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IResourceObserverService

type IResourceObserverService interface {
	AsBinder() binder.IBinder
	RegisterObserver(ctx context.Context, observer IResourceObserver, filters []MediaObservableFilter) error
	UnregisterObserver(ctx context.Context, observer IResourceObserver) error
}

func NewResourceObserverServiceStub

func NewResourceObserverServiceStub(
	impl IResourceObserverServiceServer,
) IResourceObserverService

NewResourceObserverServiceStub creates a server-side IResourceObserverService wrapping the given server implementation. The returned value satisfies IResourceObserverService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IResourceObserverServiceServer

type IResourceObserverServiceServer interface {
	RegisterObserver(ctx context.Context, observer IResourceObserver, filters []MediaObservableFilter) error
	UnregisterObserver(ctx context.Context, observer IResourceObserver) error
}

IResourceObserverServiceServer is the server-side interface that user implementations provide to NewResourceObserverServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRingtonePlayer

type IRingtonePlayer interface {
	AsBinder() binder.IBinder
	Play(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, volume float32, looping bool) error
	PlayWithVolumeShaping(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, volume float32, looping bool, volumeShaperConfig *VolumeShaperConfiguration) error
	Stop(ctx context.Context, token binder.IBinder) error
	IsPlaying(ctx context.Context, token binder.IBinder) (bool, error)
	SetPlaybackProperties(ctx context.Context, token binder.IBinder, volume float32, looping bool, hapticGeneratorEnabled bool) error
	PlayAsync(ctx context.Context, uri net.Uri, user os.UserHandle, looping bool, aa AudioAttributes, volume float32) error
	StopAsync(ctx context.Context) error
	GetTitle(ctx context.Context, uri net.Uri) (string, error)
	OpenRingtone(ctx context.Context, uri net.Uri) (int32, error)
}

func NewRingtonePlayerStub

func NewRingtonePlayerStub(
	impl IRingtonePlayerServer,
) IRingtonePlayer

NewRingtonePlayerStub creates a server-side IRingtonePlayer wrapping the given server implementation. The returned value satisfies IRingtonePlayer and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRingtonePlayerServer

type IRingtonePlayerServer interface {
	Play(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, volume float32, looping bool) error
	PlayWithVolumeShaping(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, volume float32, looping bool, volumeShaperConfig *VolumeShaperConfiguration) error
	Stop(ctx context.Context, token binder.IBinder) error
	IsPlaying(ctx context.Context, token binder.IBinder) (bool, error)
	SetPlaybackProperties(ctx context.Context, token binder.IBinder, volume float32, looping bool, hapticGeneratorEnabled bool) error
	PlayAsync(ctx context.Context, uri net.Uri, user os.UserHandle, looping bool, aa AudioAttributes, volume float32) error
	StopAsync(ctx context.Context) error
	GetTitle(ctx context.Context, uri net.Uri) (string, error)
	OpenRingtone(ctx context.Context, uri net.Uri) (int32, error)
}

IRingtonePlayerServer is the server-side interface that user implementations provide to NewRingtonePlayerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISoundDose

type ISoundDose interface {
	AsBinder() binder.IBinder
	SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
	ResetCsd(ctx context.Context, currentCsd float32, records []SoundDoseRecord) error
	UpdateAttenuation(ctx context.Context, attenuationDB float32, device int32) error
	SetCsdEnabled(ctx context.Context, enabled bool) error
	InitCachedAudioDeviceCategories(ctx context.Context, audioDevices []ISoundDoseAudioDeviceCategory) error
	SetAudioDeviceCategory(ctx context.Context, audioDevice ISoundDoseAudioDeviceCategory) error
	GetOutputRs2UpperBound(ctx context.Context) (float32, error)
	GetCsd(ctx context.Context) (float32, error)
	IsSoundDoseHalSupported(ctx context.Context) (bool, error)
	ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
	ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
}

func NewSoundDoseStub

func NewSoundDoseStub(
	impl ISoundDoseServer,
) ISoundDose

NewSoundDoseStub creates a server-side ISoundDose wrapping the given server implementation. The returned value satisfies ISoundDose and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISoundDoseAudioDeviceCategory

type ISoundDoseAudioDeviceCategory struct {
	Address           string
	InternalAudioType int32
	CsdCompatible     bool
}

func (*ISoundDoseAudioDeviceCategory) MarshalParcel

func (s *ISoundDoseAudioDeviceCategory) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ISoundDoseAudioDeviceCategory) UnmarshalParcel

func (s *ISoundDoseAudioDeviceCategory) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ISoundDoseCallback

type ISoundDoseCallback interface {
	AsBinder() binder.IBinder
	OnMomentaryExposure(ctx context.Context, currentMel float32, deviceId int32) error
	OnNewCsdValue(ctx context.Context, currentCsd float32, records []SoundDoseRecord) error
}

func NewSoundDoseCallbackStub

func NewSoundDoseCallbackStub(
	impl ISoundDoseCallbackServer,
) ISoundDoseCallback

NewSoundDoseCallbackStub creates a server-side ISoundDoseCallback wrapping the given server implementation. The returned value satisfies ISoundDoseCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISoundDoseCallbackServer

type ISoundDoseCallbackServer interface {
	OnMomentaryExposure(ctx context.Context, currentMel float32, deviceId int32) error
	OnNewCsdValue(ctx context.Context, currentCsd float32, records []SoundDoseRecord) error
}

ISoundDoseCallbackServer is the server-side interface that user implementations provide to NewSoundDoseCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISoundDoseServer

type ISoundDoseServer interface {
	SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
	ResetCsd(ctx context.Context, currentCsd float32, records []SoundDoseRecord) error
	UpdateAttenuation(ctx context.Context, attenuationDB float32, device int32) error
	SetCsdEnabled(ctx context.Context, enabled bool) error
	InitCachedAudioDeviceCategories(ctx context.Context, audioDevices []ISoundDoseAudioDeviceCategory) error
	SetAudioDeviceCategory(ctx context.Context, audioDevice ISoundDoseAudioDeviceCategory) error
	GetOutputRs2UpperBound(ctx context.Context) (float32, error)
	GetCsd(ctx context.Context) (float32, error)
	IsSoundDoseHalSupported(ctx context.Context) (bool, error)
	ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
	ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
}

ISoundDoseServer is the server-side interface that user implementations provide to NewSoundDoseStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializer

type ISpatializer interface {
	AsBinder() binder.IBinder
	Release(ctx context.Context) error
	GetSupportedLevels(ctx context.Context) ([]common.SpatializationLevel, error)
	SetLevel(ctx context.Context, level common.SpatializationLevel) error
	GetLevel(ctx context.Context) (common.SpatializationLevel, error)
	IsHeadTrackingSupported(ctx context.Context) (bool, error)
	GetSupportedHeadTrackingModes(ctx context.Context) ([]common.HeadTrackingMode, error)
	SetDesiredHeadTrackingMode(ctx context.Context, mode common.HeadTrackingMode) error
	GetActualHeadTrackingMode(ctx context.Context) (common.HeadTrackingMode, error)
	RecenterHeadTracker(ctx context.Context) error
	SetGlobalTransform(ctx context.Context, screenToStage []float32) error
	SetHeadSensor(ctx context.Context, sensorHandle int32) error
	SetScreenSensor(ctx context.Context, sensorHandle int32) error
	SetDisplayOrientation(ctx context.Context, physicalToLogicalAngle float32) error
	SetHingeAngle(ctx context.Context, hingeAngle float32) error
	SetFoldState(ctx context.Context, folded bool) error
	GetSupportedModes(ctx context.Context) ([]common.SpatializationMode, error)
	RegisterHeadTrackingCallback(ctx context.Context, callback ISpatializerHeadTrackingCallback) error
	SetParameter(ctx context.Context, key int32, value []byte) error
	GetParameter(ctx context.Context, key int32, value []byte) error
	GetOutput(ctx context.Context) (int32, error)
}

func NewSpatializerStub

func NewSpatializerStub(
	impl ISpatializerServer,
) ISpatializer

NewSpatializerStub creates a server-side ISpatializer wrapping the given server implementation. The returned value satisfies ISpatializer and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerCallback

type ISpatializerCallback interface {
	AsBinder() binder.IBinder
	DispatchSpatializerEnabledChanged(ctx context.Context, enabled bool) error
	DispatchSpatializerAvailableChanged(ctx context.Context, available bool) error
}

func NewSpatializerCallbackStub

func NewSpatializerCallbackStub(
	impl ISpatializerCallbackServer,
) ISpatializerCallback

NewSpatializerCallbackStub creates a server-side ISpatializerCallback wrapping the given server implementation. The returned value satisfies ISpatializerCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerCallbackServer

type ISpatializerCallbackServer interface {
	DispatchSpatializerEnabledChanged(ctx context.Context, enabled bool) error
	DispatchSpatializerAvailableChanged(ctx context.Context, available bool) error
}

ISpatializerCallbackServer is the server-side interface that user implementations provide to NewSpatializerCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerHeadToSoundStagePoseCallback

type ISpatializerHeadToSoundStagePoseCallback interface {
	AsBinder() binder.IBinder
	DispatchPoseChanged(ctx context.Context, pose []float32) error
}

func NewSpatializerHeadToSoundStagePoseCallbackStub

func NewSpatializerHeadToSoundStagePoseCallbackStub(
	impl ISpatializerHeadToSoundStagePoseCallbackServer,
) ISpatializerHeadToSoundStagePoseCallback

NewSpatializerHeadToSoundStagePoseCallbackStub creates a server-side ISpatializerHeadToSoundStagePoseCallback wrapping the given server implementation. The returned value satisfies ISpatializerHeadToSoundStagePoseCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerHeadToSoundStagePoseCallbackServer

type ISpatializerHeadToSoundStagePoseCallbackServer interface {
	DispatchPoseChanged(ctx context.Context, pose []float32) error
}

ISpatializerHeadToSoundStagePoseCallbackServer is the server-side interface that user implementations provide to NewSpatializerHeadToSoundStagePoseCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerHeadTrackerAvailableCallback

type ISpatializerHeadTrackerAvailableCallback interface {
	AsBinder() binder.IBinder
	DispatchSpatializerHeadTrackerAvailable(ctx context.Context, available bool) error
}

func NewSpatializerHeadTrackerAvailableCallbackStub

func NewSpatializerHeadTrackerAvailableCallbackStub(
	impl ISpatializerHeadTrackerAvailableCallbackServer,
) ISpatializerHeadTrackerAvailableCallback

NewSpatializerHeadTrackerAvailableCallbackStub creates a server-side ISpatializerHeadTrackerAvailableCallback wrapping the given server implementation. The returned value satisfies ISpatializerHeadTrackerAvailableCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerHeadTrackerAvailableCallbackServer

type ISpatializerHeadTrackerAvailableCallbackServer interface {
	DispatchSpatializerHeadTrackerAvailable(ctx context.Context, available bool) error
}

ISpatializerHeadTrackerAvailableCallbackServer is the server-side interface that user implementations provide to NewSpatializerHeadTrackerAvailableCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerHeadTrackingCallback

type ISpatializerHeadTrackingCallback interface {
	AsBinder() binder.IBinder
	OnHeadTrackingModeChanged(ctx context.Context, mode common.HeadTrackingMode) error
	OnHeadToSoundStagePoseUpdated(ctx context.Context, headToStage []float32) error
}

func NewSpatializerHeadTrackingCallbackStub

func NewSpatializerHeadTrackingCallbackStub(
	impl ISpatializerHeadTrackingCallbackServer,
) ISpatializerHeadTrackingCallback

NewSpatializerHeadTrackingCallbackStub creates a server-side ISpatializerHeadTrackingCallback wrapping the given server implementation. The returned value satisfies ISpatializerHeadTrackingCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerHeadTrackingCallbackServer

type ISpatializerHeadTrackingCallbackServer interface {
	OnHeadTrackingModeChanged(ctx context.Context, mode common.HeadTrackingMode) error
	OnHeadToSoundStagePoseUpdated(ctx context.Context, headToStage []float32) error
}

ISpatializerHeadTrackingCallbackServer is the server-side interface that user implementations provide to NewSpatializerHeadTrackingCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerHeadTrackingModeCallback

type ISpatializerHeadTrackingModeCallback interface {
	AsBinder() binder.IBinder
	DispatchSpatializerActualHeadTrackingModeChanged(ctx context.Context, mode int32) error
	DispatchSpatializerDesiredHeadTrackingModeChanged(ctx context.Context, mode int32) error
}

func NewSpatializerHeadTrackingModeCallbackStub

func NewSpatializerHeadTrackingModeCallbackStub(
	impl ISpatializerHeadTrackingModeCallbackServer,
) ISpatializerHeadTrackingModeCallback

NewSpatializerHeadTrackingModeCallbackStub creates a server-side ISpatializerHeadTrackingModeCallback wrapping the given server implementation. The returned value satisfies ISpatializerHeadTrackingModeCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerHeadTrackingModeCallbackServer

type ISpatializerHeadTrackingModeCallbackServer interface {
	DispatchSpatializerActualHeadTrackingModeChanged(ctx context.Context, mode int32) error
	DispatchSpatializerDesiredHeadTrackingModeChanged(ctx context.Context, mode int32) error
}

ISpatializerHeadTrackingModeCallbackServer is the server-side interface that user implementations provide to NewSpatializerHeadTrackingModeCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerOutputCallback

type ISpatializerOutputCallback interface {
	AsBinder() binder.IBinder
	DispatchSpatializerOutputChanged(ctx context.Context, output int32) error
}

func NewSpatializerOutputCallbackStub

func NewSpatializerOutputCallbackStub(
	impl ISpatializerOutputCallbackServer,
) ISpatializerOutputCallback

NewSpatializerOutputCallbackStub creates a server-side ISpatializerOutputCallback wrapping the given server implementation. The returned value satisfies ISpatializerOutputCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISpatializerOutputCallbackServer

type ISpatializerOutputCallbackServer interface {
	DispatchSpatializerOutputChanged(ctx context.Context, output int32) error
}

ISpatializerOutputCallbackServer is the server-side interface that user implementations provide to NewSpatializerOutputCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISpatializerServer

type ISpatializerServer interface {
	Release(ctx context.Context) error
	GetSupportedLevels(ctx context.Context) ([]common.SpatializationLevel, error)
	SetLevel(ctx context.Context, level common.SpatializationLevel) error
	GetLevel(ctx context.Context) (common.SpatializationLevel, error)
	IsHeadTrackingSupported(ctx context.Context) (bool, error)
	GetSupportedHeadTrackingModes(ctx context.Context) ([]common.HeadTrackingMode, error)
	SetDesiredHeadTrackingMode(ctx context.Context, mode common.HeadTrackingMode) error
	GetActualHeadTrackingMode(ctx context.Context) (common.HeadTrackingMode, error)
	RecenterHeadTracker(ctx context.Context) error
	SetGlobalTransform(ctx context.Context, screenToStage []float32) error
	SetHeadSensor(ctx context.Context, sensorHandle int32) error
	SetScreenSensor(ctx context.Context, sensorHandle int32) error
	SetDisplayOrientation(ctx context.Context, physicalToLogicalAngle float32) error
	SetHingeAngle(ctx context.Context, hingeAngle float32) error
	SetFoldState(ctx context.Context, folded bool) error
	GetSupportedModes(ctx context.Context) ([]common.SpatializationMode, error)
	RegisterHeadTrackingCallback(ctx context.Context, callback ISpatializerHeadTrackingCallback) error
	SetParameter(ctx context.Context, key int32, value []byte) error
	GetParameter(ctx context.Context, key int32, value []byte) error
	GetOutput(ctx context.Context) (int32, error)
}

ISpatializerServer is the server-side interface that user implementations provide to NewSpatializerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IStrategyNonDefaultDevicesDispatcher

type IStrategyNonDefaultDevicesDispatcher interface {
	AsBinder() binder.IBinder
	DispatchNonDefDevicesChanged(ctx context.Context, strategyId int32, devices []AudioDeviceAttributes) error
}

func NewStrategyNonDefaultDevicesDispatcherStub

func NewStrategyNonDefaultDevicesDispatcherStub(
	impl IStrategyNonDefaultDevicesDispatcherServer,
) IStrategyNonDefaultDevicesDispatcher

NewStrategyNonDefaultDevicesDispatcherStub creates a server-side IStrategyNonDefaultDevicesDispatcher wrapping the given server implementation. The returned value satisfies IStrategyNonDefaultDevicesDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IStrategyNonDefaultDevicesDispatcherServer

type IStrategyNonDefaultDevicesDispatcherServer interface {
	DispatchNonDefDevicesChanged(ctx context.Context, strategyId int32, devices []AudioDeviceAttributes) error
}

IStrategyNonDefaultDevicesDispatcherServer is the server-side interface that user implementations provide to NewStrategyNonDefaultDevicesDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IStrategyPreferredDevicesDispatcher

type IStrategyPreferredDevicesDispatcher interface {
	AsBinder() binder.IBinder
	DispatchPrefDevicesChanged(ctx context.Context, strategyId int32, devices []AudioDeviceAttributes) error
}

func NewStrategyPreferredDevicesDispatcherStub

func NewStrategyPreferredDevicesDispatcherStub(
	impl IStrategyPreferredDevicesDispatcherServer,
) IStrategyPreferredDevicesDispatcher

NewStrategyPreferredDevicesDispatcherStub creates a server-side IStrategyPreferredDevicesDispatcher wrapping the given server implementation. The returned value satisfies IStrategyPreferredDevicesDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IStrategyPreferredDevicesDispatcherServer

type IStrategyPreferredDevicesDispatcherServer interface {
	DispatchPrefDevicesChanged(ctx context.Context, strategyId int32, devices []AudioDeviceAttributes) error
}

IStrategyPreferredDevicesDispatcherServer is the server-side interface that user implementations provide to NewStrategyPreferredDevicesDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IStreamAliasingDispatcher

type IStreamAliasingDispatcher interface {
	AsBinder() binder.IBinder
	DispatchStreamAliasingChanged(ctx context.Context) error
}

func NewStreamAliasingDispatcherStub

func NewStreamAliasingDispatcherStub(
	impl IStreamAliasingDispatcherServer,
) IStreamAliasingDispatcher

NewStreamAliasingDispatcherStub creates a server-side IStreamAliasingDispatcher wrapping the given server implementation. The returned value satisfies IStreamAliasingDispatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IStreamAliasingDispatcherServer

type IStreamAliasingDispatcherServer interface {
	DispatchStreamAliasingChanged(ctx context.Context) error
}

IStreamAliasingDispatcherServer is the server-side interface that user implementations provide to NewStreamAliasingDispatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITranscodingClient

type ITranscodingClient interface {
	AsBinder() binder.IBinder
	SubmitRequest(ctx context.Context, request TranscodingRequestParcel, session TranscodingSessionParcel) (bool, error)
	CancelSession(ctx context.Context, sessionId int32) (bool, error)
	GetSessionWithId(ctx context.Context, sessionId int32, session TranscodingSessionParcel) (bool, error)
	AddClientUid(ctx context.Context, sessionId int32, clientUid int32) (bool, error)
	GetClientUids(ctx context.Context, sessionId int32) ([]int32, error)
	Unregister(ctx context.Context) error
}

func NewTranscodingClientStub

func NewTranscodingClientStub(
	impl ITranscodingClientServer,
) ITranscodingClient

NewTranscodingClientStub creates a server-side ITranscodingClient wrapping the given server implementation. The returned value satisfies ITranscodingClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITranscodingClientCallback

type ITranscodingClientCallback interface {
	AsBinder() binder.IBinder
	OpenFileDescriptor(ctx context.Context, fileUri string, mode string) (int32, error)
	OnTranscodingStarted(ctx context.Context, sessionId int32) error
	OnTranscodingPaused(ctx context.Context, sessionId int32) error
	OnTranscodingResumed(ctx context.Context, sessionId int32) error
	OnTranscodingFinished(ctx context.Context, sessionId int32, result TranscodingResultParcel) error
	OnTranscodingFailed(ctx context.Context, sessionId int32, errorCode TranscodingErrorCode) error
	OnAwaitNumberOfSessionsChanged(ctx context.Context, sessionId int32, oldAwaitNumber int32, newAwaitNumber int32) error
	OnProgressUpdate(ctx context.Context, sessionId int32, progress int32) error
}

func NewTranscodingClientCallbackStub

func NewTranscodingClientCallbackStub(
	impl ITranscodingClientCallbackServer,
) ITranscodingClientCallback

NewTranscodingClientCallbackStub creates a server-side ITranscodingClientCallback wrapping the given server implementation. The returned value satisfies ITranscodingClientCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ITranscodingClientCallbackServer

type ITranscodingClientCallbackServer interface {
	OpenFileDescriptor(ctx context.Context, fileUri string, mode string) (int32, error)
	OnTranscodingStarted(ctx context.Context, sessionId int32) error
	OnTranscodingPaused(ctx context.Context, sessionId int32) error
	OnTranscodingResumed(ctx context.Context, sessionId int32) error
	OnTranscodingFinished(ctx context.Context, sessionId int32, result TranscodingResultParcel) error
	OnTranscodingFailed(ctx context.Context, sessionId int32, errorCode TranscodingErrorCode) error
	OnAwaitNumberOfSessionsChanged(ctx context.Context, sessionId int32, oldAwaitNumber int32, newAwaitNumber int32) error
	OnProgressUpdate(ctx context.Context, sessionId int32, progress int32) error
}

ITranscodingClientCallbackServer is the server-side interface that user implementations provide to NewTranscodingClientCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ITranscodingClientServer

type ITranscodingClientServer interface {
	SubmitRequest(ctx context.Context, request TranscodingRequestParcel, session TranscodingSessionParcel) (bool, error)
	CancelSession(ctx context.Context, sessionId int32) (bool, error)
	GetSessionWithId(ctx context.Context, sessionId int32, session TranscodingSessionParcel) (bool, error)
	AddClientUid(ctx context.Context, sessionId int32, clientUid int32) (bool, error)
	GetClientUids(ctx context.Context, sessionId int32) ([]int32, error)
	Unregister(ctx context.Context) error
}

ITranscodingClientServer is the server-side interface that user implementations provide to NewTranscodingClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IVolumeController

type IVolumeController interface {
	AsBinder() binder.IBinder
	DisplaySafeVolumeWarning(ctx context.Context, flags int32) error
	VolumeChanged(ctx context.Context, streamType int32, flags int32) error
	MasterMuteChanged(ctx context.Context, flags int32) error
	SetLayoutDirection(ctx context.Context, layoutDirection int32) error
	Dismiss(ctx context.Context) error
	SetA11yMode(ctx context.Context, mode int32) error
	DisplayCsdWarning(ctx context.Context, warning int32, displayDurationMs int32) error
}

func NewVolumeControllerStub

func NewVolumeControllerStub(
	impl IVolumeControllerServer,
) IVolumeController

NewVolumeControllerStub creates a server-side IVolumeController wrapping the given server implementation. The returned value satisfies IVolumeController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IVolumeControllerServer

type IVolumeControllerServer interface {
	DisplaySafeVolumeWarning(ctx context.Context, flags int32) error
	VolumeChanged(ctx context.Context, streamType int32, flags int32) error
	MasterMuteChanged(ctx context.Context, flags int32) error
	SetLayoutDirection(ctx context.Context, layoutDirection int32) error
	Dismiss(ctx context.Context) error
	SetA11yMode(ctx context.Context, mode int32) error
	DisplayCsdWarning(ctx context.Context, warning int32, displayDurationMs int32) error
}

IVolumeControllerServer is the server-side interface that user implementations provide to NewVolumeControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type InterpolatorConfig

type InterpolatorConfig struct {
	Type       InterpolatorType
	FirstSlope float32
	LastSlope  float32
	Xy         []float32
}

func (*InterpolatorConfig) MarshalParcel

func (s *InterpolatorConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*InterpolatorConfig) UnmarshalParcel

func (s *InterpolatorConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type InterpolatorType

type InterpolatorType int32
const (
	InterpolatorTypeSTEP           InterpolatorType = 0
	InterpolatorTypeLINEAR         InterpolatorType = 1
	InterpolatorTypeCUBIC          InterpolatorType = 2
	InterpolatorTypeCubicMonotonic InterpolatorType = 3
)

type LoudnessCodecInfo

type LoudnessCodecInfo struct {
	MetadataType LoudnessCodecInfoCodecMetadataType
	IsDownmixing bool
}

func (*LoudnessCodecInfo) MarshalParcel

func (s *LoudnessCodecInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*LoudnessCodecInfo) UnmarshalParcel

func (s *LoudnessCodecInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type LoudnessCodecInfoCodecMetadataType

type LoudnessCodecInfoCodecMetadataType int32
const (
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeInvalid LoudnessCodecInfoCodecMetadataType = 0
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeMpeg4   LoudnessCodecInfoCodecMetadataType = 1
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeMpegD   LoudnessCodecInfoCodecMetadataType = 2
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeAc3     LoudnessCodecInfoCodecMetadataType = 3
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeAc4     LoudnessCodecInfoCodecMetadataType = 4
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeDtsHd   LoudnessCodecInfoCodecMetadataType = 5
	LoudnessCodecInfoCodecMetadataTypeCodecMetadataTypeDtsUhd  LoudnessCodecInfoCodecMetadataType = 6
)

type LoudnessCodecUpdatesDispatcherProxy

type LoudnessCodecUpdatesDispatcherProxy struct {
	Remote binder.IBinder
}

func NewLoudnessCodecUpdatesDispatcherProxy

func NewLoudnessCodecUpdatesDispatcherProxy(
	remote binder.IBinder,
) *LoudnessCodecUpdatesDispatcherProxy

func (*LoudnessCodecUpdatesDispatcherProxy) AsBinder

func (*LoudnessCodecUpdatesDispatcherProxy) DispatchLoudnessCodecParameterChange

func (p *LoudnessCodecUpdatesDispatcherProxy) DispatchLoudnessCodecParameterChange(
	ctx context.Context,
	sessionId int32,
	params os.PersistableBundle,
) error

type LoudnessCodecUpdatesDispatcherStub

type LoudnessCodecUpdatesDispatcherStub struct {
	Impl      ILoudnessCodecUpdatesDispatcher
	Transport binder.VersionAwareTransport
}

LoudnessCodecUpdatesDispatcherStub dispatches incoming binder transactions to a typed ILoudnessCodecUpdatesDispatcher implementation.

func (*LoudnessCodecUpdatesDispatcherStub) Descriptor

func (*LoudnessCodecUpdatesDispatcherStub) OnTransaction

type MediaDescription

type MediaDescription struct {
	MediaId string
	Icon    *drawable.Icon
}

func (*MediaDescription) MarshalParcel

func (s *MediaDescription) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaDescription) UnmarshalParcel

func (s *MediaDescription) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaHTTPConnectionProxy

type MediaHTTPConnectionProxy struct {
	Remote binder.IBinder
}

func NewMediaHTTPConnectionProxy

func NewMediaHTTPConnectionProxy(
	remote binder.IBinder,
) *MediaHTTPConnectionProxy

func (*MediaHTTPConnectionProxy) AsBinder

func (p *MediaHTTPConnectionProxy) AsBinder() binder.IBinder

func (*MediaHTTPConnectionProxy) Connect

func (p *MediaHTTPConnectionProxy) Connect(
	ctx context.Context,
	uri string,
	headers string,
) (binder.IBinder, error)

func (*MediaHTTPConnectionProxy) Disconnect

func (p *MediaHTTPConnectionProxy) Disconnect(
	ctx context.Context,
) error

func (*MediaHTTPConnectionProxy) GetMIMEType

func (p *MediaHTTPConnectionProxy) GetMIMEType(
	ctx context.Context,
) (string, error)

func (*MediaHTTPConnectionProxy) GetSize

func (p *MediaHTTPConnectionProxy) GetSize(
	ctx context.Context,
) (int64, error)

func (*MediaHTTPConnectionProxy) GetUri

func (p *MediaHTTPConnectionProxy) GetUri(
	ctx context.Context,
) (string, error)

func (*MediaHTTPConnectionProxy) ReadAt

func (p *MediaHTTPConnectionProxy) ReadAt(
	ctx context.Context,
	offset int64,
	size int32,
) (int32, error)

type MediaHTTPConnectionStub

type MediaHTTPConnectionStub struct {
	Impl      IMediaHTTPConnection
	Transport binder.VersionAwareTransport
}

MediaHTTPConnectionStub dispatches incoming binder transactions to a typed IMediaHTTPConnection implementation.

func (*MediaHTTPConnectionStub) Descriptor

func (s *MediaHTTPConnectionStub) Descriptor() string

func (*MediaHTTPConnectionStub) OnTransaction

func (s *MediaHTTPConnectionStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaHTTPServiceProxy

type MediaHTTPServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaHTTPServiceProxy

func NewMediaHTTPServiceProxy(
	remote binder.IBinder,
) *MediaHTTPServiceProxy

func (*MediaHTTPServiceProxy) AsBinder

func (p *MediaHTTPServiceProxy) AsBinder() binder.IBinder

func (*MediaHTTPServiceProxy) MakeHTTPConnection

func (p *MediaHTTPServiceProxy) MakeHTTPConnection(
	ctx context.Context,
) (IMediaHTTPConnection, error)

type MediaHTTPServiceStub

type MediaHTTPServiceStub struct {
	Impl      IMediaHTTPService
	Transport binder.VersionAwareTransport
}

MediaHTTPServiceStub dispatches incoming binder transactions to a typed IMediaHTTPService implementation.

func (*MediaHTTPServiceStub) Descriptor

func (s *MediaHTTPServiceStub) Descriptor() string

func (*MediaHTTPServiceStub) OnTransaction

func (s *MediaHTTPServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaMetadata

type MediaMetadata struct {
	BitmapDimensionLimit int32
}

func (*MediaMetadata) MarshalParcel

func (s *MediaMetadata) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaMetadata) UnmarshalParcel

func (s *MediaMetadata) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaMetricsServiceProxy

type MediaMetricsServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaMetricsServiceProxy

func NewMediaMetricsServiceProxy(
	remote binder.IBinder,
) *MediaMetricsServiceProxy

func (*MediaMetricsServiceProxy) AsBinder

func (p *MediaMetricsServiceProxy) AsBinder() binder.IBinder

func (*MediaMetricsServiceProxy) SubmitBuffer

func (p *MediaMetricsServiceProxy) SubmitBuffer(
	ctx context.Context,
	buffer []byte,
) error

type MediaMetricsServiceStub

type MediaMetricsServiceStub struct {
	Impl      IMediaMetricsService
	Transport binder.VersionAwareTransport
}

MediaMetricsServiceStub dispatches incoming binder transactions to a typed IMediaMetricsService implementation.

func (*MediaMetricsServiceStub) Descriptor

func (s *MediaMetricsServiceStub) Descriptor() string

func (*MediaMetricsServiceStub) OnTransaction

func (s *MediaMetricsServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaObservableEvent

type MediaObservableEvent int64
const (
	MediaObservableEventKBusy MediaObservableEvent = 1
	MediaObservableEventKIdle MediaObservableEvent = 2
	MediaObservableEventKAll  MediaObservableEvent = ^0
)

type MediaObservableFilter

type MediaObservableFilter struct {
	Type        MediaObservableType
	EventFilter MediaObservableEvent
}

func (*MediaObservableFilter) MarshalParcel

func (s *MediaObservableFilter) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaObservableFilter) UnmarshalParcel

func (s *MediaObservableFilter) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaObservableParcel

type MediaObservableParcel struct {
	Type  MediaObservableType
	Value int64
}

func (*MediaObservableParcel) MarshalParcel

func (s *MediaObservableParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaObservableParcel) UnmarshalParcel

func (s *MediaObservableParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaObservableType

type MediaObservableType int32
const (
	MediaObservableTypeKInvalid             MediaObservableType = 0
	MediaObservableTypeKVideoSecureCodec    MediaObservableType = 1000
	MediaObservableTypeKVideoNonSecureCodec MediaObservableType = 1001
)

type MediaResourceMonitorProxy

type MediaResourceMonitorProxy struct {
	Remote binder.IBinder
}

func NewMediaResourceMonitorProxy

func NewMediaResourceMonitorProxy(
	remote binder.IBinder,
) *MediaResourceMonitorProxy

func (*MediaResourceMonitorProxy) AsBinder

func (*MediaResourceMonitorProxy) NotifyResourceGranted

func (p *MediaResourceMonitorProxy) NotifyResourceGranted(
	ctx context.Context,
	pid int32,
	type_ int32,
) error

type MediaResourceMonitorStub

type MediaResourceMonitorStub struct {
	Impl      IMediaResourceMonitor
	Transport binder.VersionAwareTransport
}

MediaResourceMonitorStub dispatches incoming binder transactions to a typed IMediaResourceMonitor implementation.

func (*MediaResourceMonitorStub) Descriptor

func (s *MediaResourceMonitorStub) Descriptor() string

func (*MediaResourceMonitorStub) OnTransaction

func (s *MediaResourceMonitorStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaResourceParcel

type MediaResourceParcel struct {
	Type    MediaResourceType
	SubType MediaResourceSubType
	Id      []byte
	Value   int64
}

func (*MediaResourceParcel) MarshalParcel

func (s *MediaResourceParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaResourceParcel) UnmarshalParcel

func (s *MediaResourceParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaResourcePolicyParcel

type MediaResourcePolicyParcel struct {
	Type  string
	Value string
}

func (*MediaResourcePolicyParcel) MarshalParcel

func (s *MediaResourcePolicyParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaResourcePolicyParcel) UnmarshalParcel

func (s *MediaResourcePolicyParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaResourceSubType

type MediaResourceSubType int32
const (
	MediaResourceSubTypeKUnspecifiedSubType MediaResourceSubType = 0
	MediaResourceSubTypeKHwAudioCodec       MediaResourceSubType = 1
	MediaResourceSubTypeKSwAudioCodec       MediaResourceSubType = 2
	MediaResourceSubTypeKHwVideoCodec       MediaResourceSubType = 3
	MediaResourceSubTypeKSwVideoCodec       MediaResourceSubType = 4
	MediaResourceSubTypeKHwImageCodec       MediaResourceSubType = 5
	MediaResourceSubTypeKSwImageCodec       MediaResourceSubType = 6
)

type MediaResourceType

type MediaResourceType int32
const (
	MediaResourceTypeKUnspecified    MediaResourceType = 0
	MediaResourceTypeKSecureCodec    MediaResourceType = 1
	MediaResourceTypeKNonSecureCodec MediaResourceType = 2
	MediaResourceTypeKGraphicMemory  MediaResourceType = 3
	MediaResourceTypeKCpuBoost       MediaResourceType = 4
	MediaResourceTypeKBattery        MediaResourceType = 5
	MediaResourceTypeKDrmSession     MediaResourceType = 6
)

type MediaRoute2Info

type MediaRoute2Info struct {
	Id                     string
	Type                   int32
	IsSystem               bool
	ConnectionState        int32
	ClientPackageName      string
	PackageName            string
	VolumeHandling         int32
	VolumeMax              int32
	Volume                 int32
	Address                string
	ProviderId             string
	IsVisibilityRestricted bool
	SuitabilityStatus      int32
}

func (*MediaRoute2Info) MarshalParcel

func (s *MediaRoute2Info) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaRoute2Info) UnmarshalParcel

func (s *MediaRoute2Info) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaRoute2ProviderInfo

type MediaRoute2ProviderInfo struct {
	UniqueId string
}

func (*MediaRoute2ProviderInfo) MarshalParcel

func (s *MediaRoute2ProviderInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaRoute2ProviderInfo) UnmarshalParcel

func (s *MediaRoute2ProviderInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaRoute2ProviderServiceCallbackProxy

type MediaRoute2ProviderServiceCallbackProxy struct {
	Remote binder.IBinder
}

func NewMediaRoute2ProviderServiceCallbackProxy

func NewMediaRoute2ProviderServiceCallbackProxy(
	remote binder.IBinder,
) *MediaRoute2ProviderServiceCallbackProxy

func (*MediaRoute2ProviderServiceCallbackProxy) AsBinder

func (*MediaRoute2ProviderServiceCallbackProxy) NotifyProviderUpdated

func (p *MediaRoute2ProviderServiceCallbackProxy) NotifyProviderUpdated(
	ctx context.Context,
	providerInfo MediaRoute2ProviderInfo,
) error

func (*MediaRoute2ProviderServiceCallbackProxy) NotifyRequestFailed

func (p *MediaRoute2ProviderServiceCallbackProxy) NotifyRequestFailed(
	ctx context.Context,
	requestId int64,
	reason int32,
) error

func (*MediaRoute2ProviderServiceCallbackProxy) NotifySessionCreated

func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionCreated(
	ctx context.Context,
	requestId int64,
	sessionInfo RoutingSessionInfo,
) error

func (*MediaRoute2ProviderServiceCallbackProxy) NotifySessionReleased

func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionReleased(
	ctx context.Context,
	sessionInfo RoutingSessionInfo,
) error

func (*MediaRoute2ProviderServiceCallbackProxy) NotifySessionsUpdated

func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionsUpdated(
	ctx context.Context,
	sessionInfo []RoutingSessionInfo,
) error

type MediaRoute2ProviderServiceCallbackStub

type MediaRoute2ProviderServiceCallbackStub struct {
	Impl      IMediaRoute2ProviderServiceCallback
	Transport binder.VersionAwareTransport
}

MediaRoute2ProviderServiceCallbackStub dispatches incoming binder transactions to a typed IMediaRoute2ProviderServiceCallback implementation.

func (*MediaRoute2ProviderServiceCallbackStub) Descriptor

func (*MediaRoute2ProviderServiceCallbackStub) OnTransaction

type MediaRoute2ProviderServiceProxy

type MediaRoute2ProviderServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaRoute2ProviderServiceProxy

func NewMediaRoute2ProviderServiceProxy(
	remote binder.IBinder,
) *MediaRoute2ProviderServiceProxy

func (*MediaRoute2ProviderServiceProxy) AsBinder

func (*MediaRoute2ProviderServiceProxy) DeselectRoute

func (p *MediaRoute2ProviderServiceProxy) DeselectRoute(
	ctx context.Context,
	requestId int64,
	sessionId string,
	routeId string,
) error

func (*MediaRoute2ProviderServiceProxy) ReleaseSession

func (p *MediaRoute2ProviderServiceProxy) ReleaseSession(
	ctx context.Context,
	requestId int64,
	sessionId string,
) error

func (*MediaRoute2ProviderServiceProxy) RequestCreateSession

func (p *MediaRoute2ProviderServiceProxy) RequestCreateSession(
	ctx context.Context,
	requestId int64,
	packageName string,
	routeId string,
	sessionHints *os.Bundle,
) error

func (*MediaRoute2ProviderServiceProxy) SelectRoute

func (p *MediaRoute2ProviderServiceProxy) SelectRoute(
	ctx context.Context,
	requestId int64,
	sessionId string,
	routeId string,
) error

func (*MediaRoute2ProviderServiceProxy) SetCallback

func (*MediaRoute2ProviderServiceProxy) SetRouteVolume

func (p *MediaRoute2ProviderServiceProxy) SetRouteVolume(
	ctx context.Context,
	requestId int64,
	routeId string,
	volume int32,
) error

func (*MediaRoute2ProviderServiceProxy) SetSessionVolume

func (p *MediaRoute2ProviderServiceProxy) SetSessionVolume(
	ctx context.Context,
	requestId int64,
	sessionId string,
	volume int32,
) error

func (*MediaRoute2ProviderServiceProxy) TransferToRoute

func (p *MediaRoute2ProviderServiceProxy) TransferToRoute(
	ctx context.Context,
	requestId int64,
	sessionId string,
	routeId string,
) error

func (*MediaRoute2ProviderServiceProxy) UpdateDiscoveryPreference

func (p *MediaRoute2ProviderServiceProxy) UpdateDiscoveryPreference(
	ctx context.Context,
	discoveryPreference RouteDiscoveryPreference,
) error

type MediaRoute2ProviderServiceStub

type MediaRoute2ProviderServiceStub struct {
	Impl      IMediaRoute2ProviderService
	Transport binder.VersionAwareTransport
}

MediaRoute2ProviderServiceStub dispatches incoming binder transactions to a typed IMediaRoute2ProviderService implementation.

func (*MediaRoute2ProviderServiceStub) Descriptor

func (s *MediaRoute2ProviderServiceStub) Descriptor() string

func (*MediaRoute2ProviderServiceStub) OnTransaction

type MediaRouter2ManagerProxy

type MediaRouter2ManagerProxy struct {
	Remote binder.IBinder
}

func NewMediaRouter2ManagerProxy

func NewMediaRouter2ManagerProxy(
	remote binder.IBinder,
) *MediaRouter2ManagerProxy

func (*MediaRouter2ManagerProxy) AsBinder

func (p *MediaRouter2ManagerProxy) AsBinder() binder.IBinder

func (*MediaRouter2ManagerProxy) NotifyDiscoveryPreferenceChanged

func (p *MediaRouter2ManagerProxy) NotifyDiscoveryPreferenceChanged(
	ctx context.Context,
	packageName string,
	discoveryPreference RouteDiscoveryPreference,
) error

func (*MediaRouter2ManagerProxy) NotifyRequestFailed

func (p *MediaRouter2ManagerProxy) NotifyRequestFailed(
	ctx context.Context,
	requestId int32,
	reason int32,
) error

func (*MediaRouter2ManagerProxy) NotifyRouteListingPreferenceChange

func (p *MediaRouter2ManagerProxy) NotifyRouteListingPreferenceChange(
	ctx context.Context,
	packageName string,
	routeListingPreference *RouteListingPreference,
) error

func (*MediaRouter2ManagerProxy) NotifyRoutesUpdated

func (p *MediaRouter2ManagerProxy) NotifyRoutesUpdated(
	ctx context.Context,
	routes []MediaRoute2Info,
) error

func (*MediaRouter2ManagerProxy) NotifySessionCreated

func (p *MediaRouter2ManagerProxy) NotifySessionCreated(
	ctx context.Context,
	requestId int32,
	session RoutingSessionInfo,
) error

func (*MediaRouter2ManagerProxy) NotifySessionReleased

func (p *MediaRouter2ManagerProxy) NotifySessionReleased(
	ctx context.Context,
	session RoutingSessionInfo,
) error

func (*MediaRouter2ManagerProxy) NotifySessionUpdated

func (p *MediaRouter2ManagerProxy) NotifySessionUpdated(
	ctx context.Context,
	session RoutingSessionInfo,
) error

type MediaRouter2ManagerStub

type MediaRouter2ManagerStub struct {
	Impl      IMediaRouter2Manager
	Transport binder.VersionAwareTransport
}

MediaRouter2ManagerStub dispatches incoming binder transactions to a typed IMediaRouter2Manager implementation.

func (*MediaRouter2ManagerStub) Descriptor

func (s *MediaRouter2ManagerStub) Descriptor() string

func (*MediaRouter2ManagerStub) OnTransaction

func (s *MediaRouter2ManagerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaRouter2Proxy

type MediaRouter2Proxy struct {
	Remote binder.IBinder
}

func NewMediaRouter2Proxy

func NewMediaRouter2Proxy(
	remote binder.IBinder,
) *MediaRouter2Proxy

func (*MediaRouter2Proxy) AsBinder

func (p *MediaRouter2Proxy) AsBinder() binder.IBinder

func (*MediaRouter2Proxy) NotifyRouterRegistered

func (p *MediaRouter2Proxy) NotifyRouterRegistered(
	ctx context.Context,
	currentRoutes []MediaRoute2Info,
	currentSystemSessionInfo RoutingSessionInfo,
) error

func (*MediaRouter2Proxy) NotifyRoutesUpdated

func (p *MediaRouter2Proxy) NotifyRoutesUpdated(
	ctx context.Context,
	routes []MediaRoute2Info,
) error

func (*MediaRouter2Proxy) NotifySessionCreated

func (p *MediaRouter2Proxy) NotifySessionCreated(
	ctx context.Context,
	requestId int32,
	sessionInfo *RoutingSessionInfo,
) error

func (*MediaRouter2Proxy) NotifySessionInfoChanged

func (p *MediaRouter2Proxy) NotifySessionInfoChanged(
	ctx context.Context,
	sessionInfo RoutingSessionInfo,
) error

func (*MediaRouter2Proxy) NotifySessionReleased

func (p *MediaRouter2Proxy) NotifySessionReleased(
	ctx context.Context,
	sessionInfo RoutingSessionInfo,
) error

func (*MediaRouter2Proxy) RequestCreateSessionByManager

func (p *MediaRouter2Proxy) RequestCreateSessionByManager(
	ctx context.Context,
	uniqueRequestId int64,
	oldSession RoutingSessionInfo,
	route MediaRoute2Info,
	transferInitiatorUserHandle os.UserHandle,
	transferInitiatorPackageName string,
) error

type MediaRouter2Stub

type MediaRouter2Stub struct {
	Impl      IMediaRouter2
	Transport binder.VersionAwareTransport
}

MediaRouter2Stub dispatches incoming binder transactions to a typed IMediaRouter2 implementation.

func (*MediaRouter2Stub) Descriptor

func (s *MediaRouter2Stub) Descriptor() string

func (*MediaRouter2Stub) OnTransaction

func (s *MediaRouter2Stub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaRouterClientProxy

type MediaRouterClientProxy struct {
	Remote binder.IBinder
}

func NewMediaRouterClientProxy

func NewMediaRouterClientProxy(
	remote binder.IBinder,
) *MediaRouterClientProxy

func (*MediaRouterClientProxy) AsBinder

func (p *MediaRouterClientProxy) AsBinder() binder.IBinder

func (*MediaRouterClientProxy) OnGroupRouteSelected

func (p *MediaRouterClientProxy) OnGroupRouteSelected(
	ctx context.Context,
	routeId string,
) error

func (*MediaRouterClientProxy) OnRestoreRoute

func (p *MediaRouterClientProxy) OnRestoreRoute(
	ctx context.Context,
) error

func (*MediaRouterClientProxy) OnStateChanged

func (p *MediaRouterClientProxy) OnStateChanged(
	ctx context.Context,
) error

type MediaRouterClientState

type MediaRouterClientState struct {
}

func (*MediaRouterClientState) MarshalParcel

func (s *MediaRouterClientState) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MediaRouterClientState) UnmarshalParcel

func (s *MediaRouterClientState) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MediaRouterClientStub

type MediaRouterClientStub struct {
	Impl      IMediaRouterClient
	Transport binder.VersionAwareTransport
}

MediaRouterClientStub dispatches incoming binder transactions to a typed IMediaRouterClient implementation.

func (*MediaRouterClientStub) Descriptor

func (s *MediaRouterClientStub) Descriptor() string

func (*MediaRouterClientStub) OnTransaction

func (s *MediaRouterClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaRouterServiceProxy

type MediaRouterServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaRouterServiceProxy

func NewMediaRouterServiceProxy(
	remote binder.IBinder,
) *MediaRouterServiceProxy

func (*MediaRouterServiceProxy) AsBinder

func (p *MediaRouterServiceProxy) AsBinder() binder.IBinder

func (*MediaRouterServiceProxy) DeselectRouteWithManager

func (p *MediaRouterServiceProxy) DeselectRouteWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	sessionId string,
	route MediaRoute2Info,
) error

func (*MediaRouterServiceProxy) DeselectRouteWithRouter2

func (p *MediaRouterServiceProxy) DeselectRouteWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	sessionId string,
	route MediaRoute2Info,
) error

func (*MediaRouterServiceProxy) GetRemoteSessions

func (p *MediaRouterServiceProxy) GetRemoteSessions(
	ctx context.Context,
	manager IMediaRouter2Manager,
) ([]RoutingSessionInfo, error)

func (*MediaRouterServiceProxy) GetState

func (*MediaRouterServiceProxy) GetSystemRoutes

func (p *MediaRouterServiceProxy) GetSystemRoutes(
	ctx context.Context,
) ([]MediaRoute2Info, error)

func (*MediaRouterServiceProxy) GetSystemSessionInfo

func (p *MediaRouterServiceProxy) GetSystemSessionInfo(
	ctx context.Context,
) (RoutingSessionInfo, error)

func (*MediaRouterServiceProxy) GetSystemSessionInfoForPackage

func (p *MediaRouterServiceProxy) GetSystemSessionInfoForPackage(
	ctx context.Context,
	packageName string,
) (RoutingSessionInfo, error)

func (*MediaRouterServiceProxy) IsPlaybackActive

func (p *MediaRouterServiceProxy) IsPlaybackActive(
	ctx context.Context,
	client IMediaRouterClient,
) (bool, error)

func (*MediaRouterServiceProxy) RegisterClientAsUser

func (p *MediaRouterServiceProxy) RegisterClientAsUser(
	ctx context.Context,
	client IMediaRouterClient,
	packageName string,
) error

func (*MediaRouterServiceProxy) RegisterClientGroupId

func (p *MediaRouterServiceProxy) RegisterClientGroupId(
	ctx context.Context,
	client IMediaRouterClient,
	groupId string,
) error

func (*MediaRouterServiceProxy) RegisterManager

func (p *MediaRouterServiceProxy) RegisterManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	packageName string,
) error

func (*MediaRouterServiceProxy) RegisterProxyRouter

func (p *MediaRouterServiceProxy) RegisterProxyRouter(
	ctx context.Context,
	manager IMediaRouter2Manager,
	callingPackageName string,
	targetPackageName string,
	targetUser os.UserHandle,
) error

func (*MediaRouterServiceProxy) RegisterRouter2

func (p *MediaRouterServiceProxy) RegisterRouter2(
	ctx context.Context,
	router IMediaRouter2,
	packageName string,
) error

func (*MediaRouterServiceProxy) ReleaseSessionWithManager

func (p *MediaRouterServiceProxy) ReleaseSessionWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	sessionId string,
) error

func (*MediaRouterServiceProxy) ReleaseSessionWithRouter2

func (p *MediaRouterServiceProxy) ReleaseSessionWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	sessionId string,
) error

func (*MediaRouterServiceProxy) RequestCreateSessionWithManager

func (p *MediaRouterServiceProxy) RequestCreateSessionWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	oldSession RoutingSessionInfo,
	route *MediaRoute2Info,
	transferInitiatorUserHandle os.UserHandle,
	transferInitiatorPackageName string,
) error

func (*MediaRouterServiceProxy) RequestCreateSessionWithRouter2

func (p *MediaRouterServiceProxy) RequestCreateSessionWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	requestId int32,
	managerRequestId int64,
	oldSession RoutingSessionInfo,
	route MediaRoute2Info,
	sessionHints *os.Bundle,
	transferInitiatorUserHandle os.UserHandle,
	transferInitiatorPackageName string,
) error

func (*MediaRouterServiceProxy) RequestSetVolume

func (p *MediaRouterServiceProxy) RequestSetVolume(
	ctx context.Context,
	client IMediaRouterClient,
	routeId string,
	volume int32,
) error

func (*MediaRouterServiceProxy) RequestUpdateVolume

func (p *MediaRouterServiceProxy) RequestUpdateVolume(
	ctx context.Context,
	client IMediaRouterClient,
	routeId string,
	direction int32,
) error

func (*MediaRouterServiceProxy) SelectRouteWithManager

func (p *MediaRouterServiceProxy) SelectRouteWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	sessionId string,
	route MediaRoute2Info,
) error

func (*MediaRouterServiceProxy) SelectRouteWithRouter2

func (p *MediaRouterServiceProxy) SelectRouteWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	sessionId string,
	route MediaRoute2Info,
) error

func (*MediaRouterServiceProxy) SetBluetoothA2dpOn

func (p *MediaRouterServiceProxy) SetBluetoothA2dpOn(
	ctx context.Context,
	client IMediaRouterClient,
	on bool,
) error

func (*MediaRouterServiceProxy) SetDiscoveryRequest

func (p *MediaRouterServiceProxy) SetDiscoveryRequest(
	ctx context.Context,
	client IMediaRouterClient,
	routeTypes int32,
	activeScan bool,
) error

func (*MediaRouterServiceProxy) SetDiscoveryRequestWithRouter2

func (p *MediaRouterServiceProxy) SetDiscoveryRequestWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	preference RouteDiscoveryPreference,
) error

func (*MediaRouterServiceProxy) SetRouteListingPreference

func (p *MediaRouterServiceProxy) SetRouteListingPreference(
	ctx context.Context,
	router IMediaRouter2,
	routeListingPreference *RouteListingPreference,
) error

func (*MediaRouterServiceProxy) SetRouteVolumeWithManager

func (p *MediaRouterServiceProxy) SetRouteVolumeWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	route MediaRoute2Info,
	volume int32,
) error

func (*MediaRouterServiceProxy) SetRouteVolumeWithRouter2

func (p *MediaRouterServiceProxy) SetRouteVolumeWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	route MediaRoute2Info,
	volume int32,
) error

func (*MediaRouterServiceProxy) SetSelectedRoute

func (p *MediaRouterServiceProxy) SetSelectedRoute(
	ctx context.Context,
	client IMediaRouterClient,
	routeId string,
	explicit bool,
) error

func (*MediaRouterServiceProxy) SetSessionVolumeWithManager

func (p *MediaRouterServiceProxy) SetSessionVolumeWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	sessionId string,
	volume int32,
) error

func (*MediaRouterServiceProxy) SetSessionVolumeWithRouter2

func (p *MediaRouterServiceProxy) SetSessionVolumeWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	sessionId string,
	volume int32,
) error

func (*MediaRouterServiceProxy) ShowMediaOutputSwitcher

func (p *MediaRouterServiceProxy) ShowMediaOutputSwitcher(
	ctx context.Context,
	packageName string,
) (bool, error)

func (*MediaRouterServiceProxy) TransferToRouteWithManager

func (p *MediaRouterServiceProxy) TransferToRouteWithManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
	requestId int32,
	sessionId string,
	route MediaRoute2Info,
	transferInitiatorUserHandle os.UserHandle,
	transferInitiatorPackageName string,
) error

func (*MediaRouterServiceProxy) TransferToRouteWithRouter2

func (p *MediaRouterServiceProxy) TransferToRouteWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	sessionId string,
	route MediaRoute2Info,
) error

func (*MediaRouterServiceProxy) UnregisterClient

func (p *MediaRouterServiceProxy) UnregisterClient(
	ctx context.Context,
	client IMediaRouterClient,
) error

func (*MediaRouterServiceProxy) UnregisterManager

func (p *MediaRouterServiceProxy) UnregisterManager(
	ctx context.Context,
	manager IMediaRouter2Manager,
) error

func (*MediaRouterServiceProxy) UnregisterRouter2

func (p *MediaRouterServiceProxy) UnregisterRouter2(
	ctx context.Context,
	router IMediaRouter2,
) error

func (*MediaRouterServiceProxy) UpdateScanningState

func (p *MediaRouterServiceProxy) UpdateScanningState(
	ctx context.Context,
	manager IMediaRouter2Manager,
	scanningState int32,
) error

func (*MediaRouterServiceProxy) UpdateScanningStateWithRouter2

func (p *MediaRouterServiceProxy) UpdateScanningStateWithRouter2(
	ctx context.Context,
	router IMediaRouter2,
	scanningState int32,
) error

type MediaRouterServiceStub

type MediaRouterServiceStub struct {
	Impl      IMediaRouterService
	Transport binder.VersionAwareTransport
}

MediaRouterServiceStub dispatches incoming binder transactions to a typed IMediaRouterService implementation.

func (*MediaRouterServiceStub) Descriptor

func (s *MediaRouterServiceStub) Descriptor() string

func (*MediaRouterServiceStub) OnTransaction

func (s *MediaRouterServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaScannerListenerProxy

type MediaScannerListenerProxy struct {
	Remote binder.IBinder
}

func NewMediaScannerListenerProxy

func NewMediaScannerListenerProxy(
	remote binder.IBinder,
) *MediaScannerListenerProxy

func (*MediaScannerListenerProxy) AsBinder

func (*MediaScannerListenerProxy) ScanCompleted

func (p *MediaScannerListenerProxy) ScanCompleted(
	ctx context.Context,
	path string,
	uri net.Uri,
) error

type MediaScannerListenerStub

type MediaScannerListenerStub struct {
	Impl      IMediaScannerListener
	Transport binder.VersionAwareTransport
}

MediaScannerListenerStub dispatches incoming binder transactions to a typed IMediaScannerListener implementation.

func (*MediaScannerListenerStub) Descriptor

func (s *MediaScannerListenerStub) Descriptor() string

func (*MediaScannerListenerStub) OnTransaction

func (s *MediaScannerListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaScannerServiceProxy

type MediaScannerServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaScannerServiceProxy

func NewMediaScannerServiceProxy(
	remote binder.IBinder,
) *MediaScannerServiceProxy

func (*MediaScannerServiceProxy) AsBinder

func (p *MediaScannerServiceProxy) AsBinder() binder.IBinder

func (*MediaScannerServiceProxy) RequestScanFile

func (p *MediaScannerServiceProxy) RequestScanFile(
	ctx context.Context,
	path string,
	mimeType string,
	listener IMediaScannerListener,
) error

func (*MediaScannerServiceProxy) ScanFile

func (p *MediaScannerServiceProxy) ScanFile(
	ctx context.Context,
	path string,
	mimeType string,
) error

type MediaScannerServiceStub

type MediaScannerServiceStub struct {
	Impl      IMediaScannerService
	Transport binder.VersionAwareTransport
}

MediaScannerServiceStub dispatches incoming binder transactions to a typed IMediaScannerService implementation.

func (*MediaScannerServiceStub) Descriptor

func (s *MediaScannerServiceStub) Descriptor() string

func (*MediaScannerServiceStub) OnTransaction

func (s *MediaScannerServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MediaTranscodingServiceProxy

type MediaTranscodingServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaTranscodingServiceProxy

func NewMediaTranscodingServiceProxy(
	remote binder.IBinder,
) *MediaTranscodingServiceProxy

func (*MediaTranscodingServiceProxy) AsBinder

func (*MediaTranscodingServiceProxy) GetNumOfClients

func (p *MediaTranscodingServiceProxy) GetNumOfClients(
	ctx context.Context,
) (int32, error)

func (*MediaTranscodingServiceProxy) RegisterClient

func (p *MediaTranscodingServiceProxy) RegisterClient(
	ctx context.Context,
	callback ITranscodingClientCallback,
	clientName string,
) (ITranscodingClient, error)

type MediaTranscodingServiceStub

type MediaTranscodingServiceStub struct {
	Impl      IMediaTranscodingService
	Transport binder.VersionAwareTransport
}

MediaTranscodingServiceStub dispatches incoming binder transactions to a typed IMediaTranscodingService implementation.

func (*MediaTranscodingServiceStub) Descriptor

func (s *MediaTranscodingServiceStub) Descriptor() string

func (*MediaTranscodingServiceStub) OnTransaction

func (s *MediaTranscodingServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type MicrophoneInfoFw

type MicrophoneInfoFw struct {
	Info    common.MicrophoneInfo
	Dynamic common.MicrophoneDynamicInfo
	PortId  int32
}

func (*MicrophoneInfoFw) MarshalParcel

func (s *MicrophoneInfoFw) MarshalParcel(
	p *parcel.Parcel,
) error

func (*MicrophoneInfoFw) UnmarshalParcel

func (s *MicrophoneInfoFw) UnmarshalParcel(
	p *parcel.Parcel,
) error

type MuteAwaitConnectionCallbackProxy

type MuteAwaitConnectionCallbackProxy struct {
	Remote binder.IBinder
}

func NewMuteAwaitConnectionCallbackProxy

func NewMuteAwaitConnectionCallbackProxy(
	remote binder.IBinder,
) *MuteAwaitConnectionCallbackProxy

func (*MuteAwaitConnectionCallbackProxy) AsBinder

func (*MuteAwaitConnectionCallbackProxy) DispatchOnMutedUntilConnection

func (p *MuteAwaitConnectionCallbackProxy) DispatchOnMutedUntilConnection(
	ctx context.Context,
	device AudioDeviceAttributes,
	mutedUsages []int32,
) error

func (*MuteAwaitConnectionCallbackProxy) DispatchOnUnmutedEvent

func (p *MuteAwaitConnectionCallbackProxy) DispatchOnUnmutedEvent(
	ctx context.Context,
	event int32,
	device AudioDeviceAttributes,
	mutedUsages []int32,
) error

type MuteAwaitConnectionCallbackStub

type MuteAwaitConnectionCallbackStub struct {
	Impl      IMuteAwaitConnectionCallback
	Transport binder.VersionAwareTransport
}

MuteAwaitConnectionCallbackStub dispatches incoming binder transactions to a typed IMuteAwaitConnectionCallback implementation.

func (*MuteAwaitConnectionCallbackStub) Descriptor

func (s *MuteAwaitConnectionCallbackStub) Descriptor() string

func (*MuteAwaitConnectionCallbackStub) OnTransaction

type NativeSpatializerCallbackProxy

type NativeSpatializerCallbackProxy struct {
	Remote binder.IBinder
}

func NewNativeSpatializerCallbackProxy

func NewNativeSpatializerCallbackProxy(
	remote binder.IBinder,
) *NativeSpatializerCallbackProxy

func (*NativeSpatializerCallbackProxy) AsBinder

func (*NativeSpatializerCallbackProxy) OnLevelChanged

func (*NativeSpatializerCallbackProxy) OnOutputChanged

func (p *NativeSpatializerCallbackProxy) OnOutputChanged(
	ctx context.Context,
	output int32,
) error

type NativeSpatializerCallbackStub

type NativeSpatializerCallbackStub struct {
	Impl      INativeSpatializerCallback
	Transport binder.VersionAwareTransport
}

NativeSpatializerCallbackStub dispatches incoming binder transactions to a typed INativeSpatializerCallback implementation.

func (*NativeSpatializerCallbackStub) Descriptor

func (s *NativeSpatializerCallbackStub) Descriptor() string

func (*NativeSpatializerCallbackStub) OnTransaction

type NearbyDevice

type NearbyDevice struct {
	MediaRoute2Id string
	RangeZone     int32
}

func (*NearbyDevice) MarshalParcel

func (s *NearbyDevice) MarshalParcel(
	p *parcel.Parcel,
) error

func (*NearbyDevice) UnmarshalParcel

func (s *NearbyDevice) UnmarshalParcel(
	p *parcel.Parcel,
) error

type NearbyMediaDevicesProviderProxy

type NearbyMediaDevicesProviderProxy struct {
	Remote binder.IBinder
}

func NewNearbyMediaDevicesProviderProxy

func NewNearbyMediaDevicesProviderProxy(
	remote binder.IBinder,
) *NearbyMediaDevicesProviderProxy

func (*NearbyMediaDevicesProviderProxy) AsBinder

func (*NearbyMediaDevicesProviderProxy) RegisterNearbyDevicesCallback

func (p *NearbyMediaDevicesProviderProxy) RegisterNearbyDevicesCallback(
	ctx context.Context,
	callback INearbyMediaDevicesUpdateCallback,
) error

func (*NearbyMediaDevicesProviderProxy) UnregisterNearbyDevicesCallback

func (p *NearbyMediaDevicesProviderProxy) UnregisterNearbyDevicesCallback(
	ctx context.Context,
	callback INearbyMediaDevicesUpdateCallback,
) error

type NearbyMediaDevicesProviderStub

type NearbyMediaDevicesProviderStub struct {
	Impl      INearbyMediaDevicesProvider
	Transport binder.VersionAwareTransport
}

NearbyMediaDevicesProviderStub dispatches incoming binder transactions to a typed INearbyMediaDevicesProvider implementation.

func (*NearbyMediaDevicesProviderStub) Descriptor

func (s *NearbyMediaDevicesProviderStub) Descriptor() string

func (*NearbyMediaDevicesProviderStub) OnTransaction

type NearbyMediaDevicesUpdateCallbackProxy

type NearbyMediaDevicesUpdateCallbackProxy struct {
	Remote binder.IBinder
}

func NewNearbyMediaDevicesUpdateCallbackProxy

func NewNearbyMediaDevicesUpdateCallbackProxy(
	remote binder.IBinder,
) *NearbyMediaDevicesUpdateCallbackProxy

func (*NearbyMediaDevicesUpdateCallbackProxy) AsBinder

func (*NearbyMediaDevicesUpdateCallbackProxy) OnDevicesUpdated

func (p *NearbyMediaDevicesUpdateCallbackProxy) OnDevicesUpdated(
	ctx context.Context,
	nearbyDevices []NearbyDevice,
) error

type NearbyMediaDevicesUpdateCallbackStub

type NearbyMediaDevicesUpdateCallbackStub struct {
	Impl      INearbyMediaDevicesUpdateCallback
	Transport binder.VersionAwareTransport
}

NearbyMediaDevicesUpdateCallbackStub dispatches incoming binder transactions to a typed INearbyMediaDevicesUpdateCallback implementation.

func (*NearbyMediaDevicesUpdateCallbackStub) Descriptor

func (*NearbyMediaDevicesUpdateCallbackStub) OnTransaction

type OpenInputRequest

type OpenInputRequest struct {
	Module int32
	Input  int32
	Config common.AudioConfig
	Device common.AudioDevice
	Source common.AudioSource
	Flags  int32
}

func (*OpenInputRequest) MarshalParcel

func (s *OpenInputRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OpenInputRequest) UnmarshalParcel

func (s *OpenInputRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OpenInputResponse

type OpenInputResponse struct {
	Input  int32
	Config common.AudioConfig
	Device common.AudioDevice
}

func (*OpenInputResponse) MarshalParcel

func (s *OpenInputResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OpenInputResponse) UnmarshalParcel

func (s *OpenInputResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OpenOutputRequest

type OpenOutputRequest struct {
	Module      int32
	HalConfig   common.AudioConfig
	MixerConfig common.AudioConfigBase
	Device      AudioPortFw
	Flags       int32
}

func (*OpenOutputRequest) MarshalParcel

func (s *OpenOutputRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OpenOutputRequest) UnmarshalParcel

func (s *OpenOutputRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OpenOutputResponse

type OpenOutputResponse struct {
	Output    int32
	Config    common.AudioConfig
	LatencyMs int32
	Flags     int32
}

func (*OpenOutputResponse) MarshalParcel

func (s *OpenOutputResponse) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OpenOutputResponse) UnmarshalParcel

func (s *OpenOutputResponse) UnmarshalParcel(
	p *parcel.Parcel,
) error

type PlaybackConfigDispatcherProxy

type PlaybackConfigDispatcherProxy struct {
	Remote binder.IBinder
}

func NewPlaybackConfigDispatcherProxy

func NewPlaybackConfigDispatcherProxy(
	remote binder.IBinder,
) *PlaybackConfigDispatcherProxy

func (*PlaybackConfigDispatcherProxy) AsBinder

func (*PlaybackConfigDispatcherProxy) DispatchPlaybackConfigChange

func (p *PlaybackConfigDispatcherProxy) DispatchPlaybackConfigChange(
	ctx context.Context,
	configs []AudioPlaybackConfiguration,
	flush bool,
) error

type PlaybackConfigDispatcherStub

type PlaybackConfigDispatcherStub struct {
	Impl      IPlaybackConfigDispatcher
	Transport binder.VersionAwareTransport
}

PlaybackConfigDispatcherStub dispatches incoming binder transactions to a typed IPlaybackConfigDispatcher implementation.

func (*PlaybackConfigDispatcherStub) Descriptor

func (s *PlaybackConfigDispatcherStub) Descriptor() string

func (*PlaybackConfigDispatcherStub) OnTransaction

type PlaybackParams

type PlaybackParams struct {
	Set               int32
	AudioFallbackMode int32
	AudioStretchMode  int32
	Pitch             float32
	Speed             float32
}

func (*PlaybackParams) MarshalParcel

func (s *PlaybackParams) MarshalParcel(
	p *parcel.Parcel,
) error

func (*PlaybackParams) UnmarshalParcel

func (s *PlaybackParams) UnmarshalParcel(
	p *parcel.Parcel,
) error

type PlayerBasePlayerIdCard

type PlayerBasePlayerIdCard struct {
}

func (*PlayerBasePlayerIdCard) MarshalParcel

func (s *PlayerBasePlayerIdCard) MarshalParcel(
	p *parcel.Parcel,
) error

func (*PlayerBasePlayerIdCard) UnmarshalParcel

func (s *PlayerBasePlayerIdCard) UnmarshalParcel(
	p *parcel.Parcel,
) error

type PlayerProxy

type PlayerProxy struct {
	Remote binder.IBinder
}

func NewPlayerProxy

func NewPlayerProxy(
	remote binder.IBinder,
) *PlayerProxy

func (*PlayerProxy) ApplyVolumeShaper

func (p *PlayerProxy) ApplyVolumeShaper(
	ctx context.Context,
	configuration VolumeShaperConfiguration,
	operation VolumeShaperOperation,
) error

func (*PlayerProxy) AsBinder

func (p *PlayerProxy) AsBinder() binder.IBinder

func (*PlayerProxy) Pause

func (p *PlayerProxy) Pause(
	ctx context.Context,
) error

func (*PlayerProxy) SetPan

func (p *PlayerProxy) SetPan(
	ctx context.Context,
	pan float32,
) error

func (*PlayerProxy) SetStartDelayMs

func (p *PlayerProxy) SetStartDelayMs(
	ctx context.Context,
	delayMs int32,
) error

func (*PlayerProxy) SetVolume

func (p *PlayerProxy) SetVolume(
	ctx context.Context,
	vol float32,
) error

func (*PlayerProxy) Start

func (p *PlayerProxy) Start(
	ctx context.Context,
) error

func (*PlayerProxy) Stop

func (p *PlayerProxy) Stop(
	ctx context.Context,
) error

type PlayerStub

type PlayerStub struct {
	Impl      IPlayer
	Transport binder.VersionAwareTransport
}

PlayerStub dispatches incoming binder transactions to a typed IPlayer implementation.

func (*PlayerStub) Descriptor

func (s *PlayerStub) Descriptor() string

func (*PlayerStub) OnTransaction

func (s *PlayerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type PreferredMixerAttributesDispatcherProxy

type PreferredMixerAttributesDispatcherProxy struct {
	Remote binder.IBinder
}

func NewPreferredMixerAttributesDispatcherProxy

func NewPreferredMixerAttributesDispatcherProxy(
	remote binder.IBinder,
) *PreferredMixerAttributesDispatcherProxy

func (*PreferredMixerAttributesDispatcherProxy) AsBinder

func (*PreferredMixerAttributesDispatcherProxy) DispatchPrefMixerAttributesChanged

func (p *PreferredMixerAttributesDispatcherProxy) DispatchPrefMixerAttributesChanged(
	ctx context.Context,
	attributes AudioAttributes,
	deviceId int32,
	mixerAttributes *AudioMixerAttributes,
) error

type PreferredMixerAttributesDispatcherStub

type PreferredMixerAttributesDispatcherStub struct {
	Impl      IPreferredMixerAttributesDispatcher
	Transport binder.VersionAwareTransport
}

PreferredMixerAttributesDispatcherStub dispatches incoming binder transactions to a typed IPreferredMixerAttributesDispatcher implementation.

func (*PreferredMixerAttributesDispatcherStub) Descriptor

func (*PreferredMixerAttributesDispatcherStub) OnTransaction

type Rating

type Rating struct {
	RatingStyle int32
	RatingValue float32
}

func (*Rating) MarshalParcel

func (s *Rating) MarshalParcel(
	p *parcel.Parcel,
) error

func (*Rating) UnmarshalParcel

func (s *Rating) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RecordClientInfo

type RecordClientInfo struct {
	Riid     int32
	Uid      int32
	Session  int32
	Source   common.AudioSource
	PortId   int32
	Silenced bool
}

func (*RecordClientInfo) MarshalParcel

func (s *RecordClientInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RecordClientInfo) UnmarshalParcel

func (s *RecordClientInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RecordingConfigDispatcherProxy

type RecordingConfigDispatcherProxy struct {
	Remote binder.IBinder
}

func NewRecordingConfigDispatcherProxy

func NewRecordingConfigDispatcherProxy(
	remote binder.IBinder,
) *RecordingConfigDispatcherProxy

func (*RecordingConfigDispatcherProxy) AsBinder

func (*RecordingConfigDispatcherProxy) DispatchRecordingConfigChange

func (p *RecordingConfigDispatcherProxy) DispatchRecordingConfigChange(
	ctx context.Context,
	configs []AudioRecordingConfiguration,
) error

type RecordingConfigDispatcherStub

type RecordingConfigDispatcherStub struct {
	Impl      IRecordingConfigDispatcher
	Transport binder.VersionAwareTransport
}

RecordingConfigDispatcherStub dispatches incoming binder transactions to a typed IRecordingConfigDispatcher implementation.

func (*RecordingConfigDispatcherStub) Descriptor

func (s *RecordingConfigDispatcherStub) Descriptor() string

func (*RecordingConfigDispatcherStub) OnTransaction

type RemoteDisplayCallbackProxy

type RemoteDisplayCallbackProxy struct {
	Remote binder.IBinder
}

func NewRemoteDisplayCallbackProxy

func NewRemoteDisplayCallbackProxy(
	remote binder.IBinder,
) *RemoteDisplayCallbackProxy

func (*RemoteDisplayCallbackProxy) AsBinder

func (*RemoteDisplayCallbackProxy) OnStateChanged

func (p *RemoteDisplayCallbackProxy) OnStateChanged(
	ctx context.Context,
	state RemoteDisplayState,
) error

type RemoteDisplayCallbackStub

type RemoteDisplayCallbackStub struct {
	Impl      IRemoteDisplayCallback
	Transport binder.VersionAwareTransport
}

RemoteDisplayCallbackStub dispatches incoming binder transactions to a typed IRemoteDisplayCallback implementation.

func (*RemoteDisplayCallbackStub) Descriptor

func (s *RemoteDisplayCallbackStub) Descriptor() string

func (*RemoteDisplayCallbackStub) OnTransaction

func (s *RemoteDisplayCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RemoteDisplayProviderProxy

type RemoteDisplayProviderProxy struct {
	Remote binder.IBinder
}

func NewRemoteDisplayProviderProxy

func NewRemoteDisplayProviderProxy(
	remote binder.IBinder,
) *RemoteDisplayProviderProxy

func (*RemoteDisplayProviderProxy) AdjustVolume

func (p *RemoteDisplayProviderProxy) AdjustVolume(
	ctx context.Context,
	id string,
	delta int32,
) error

func (*RemoteDisplayProviderProxy) AsBinder

func (*RemoteDisplayProviderProxy) Connect

func (p *RemoteDisplayProviderProxy) Connect(
	ctx context.Context,
	id string,
) error

func (*RemoteDisplayProviderProxy) Disconnect

func (p *RemoteDisplayProviderProxy) Disconnect(
	ctx context.Context,
	id string,
) error

func (*RemoteDisplayProviderProxy) SetCallback

func (p *RemoteDisplayProviderProxy) SetCallback(
	ctx context.Context,
	callback IRemoteDisplayCallback,
) error

func (*RemoteDisplayProviderProxy) SetDiscoveryMode

func (p *RemoteDisplayProviderProxy) SetDiscoveryMode(
	ctx context.Context,
	mode int32,
) error

func (*RemoteDisplayProviderProxy) SetVolume

func (p *RemoteDisplayProviderProxy) SetVolume(
	ctx context.Context,
	id string,
	volume int32,
) error

type RemoteDisplayProviderStub

type RemoteDisplayProviderStub struct {
	Impl      IRemoteDisplayProvider
	Transport binder.VersionAwareTransport
}

RemoteDisplayProviderStub dispatches incoming binder transactions to a typed IRemoteDisplayProvider implementation.

func (*RemoteDisplayProviderStub) Descriptor

func (s *RemoteDisplayProviderStub) Descriptor() string

func (*RemoteDisplayProviderStub) OnTransaction

func (s *RemoteDisplayProviderStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RemoteDisplayState

type RemoteDisplayState struct {
}

func (*RemoteDisplayState) MarshalParcel

func (s *RemoteDisplayState) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RemoteDisplayState) UnmarshalParcel

func (s *RemoteDisplayState) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RemoteSessionCallbackProxy

type RemoteSessionCallbackProxy struct {
	Remote binder.IBinder
}

func NewRemoteSessionCallbackProxy

func NewRemoteSessionCallbackProxy(
	remote binder.IBinder,
) *RemoteSessionCallbackProxy

func (*RemoteSessionCallbackProxy) AsBinder

func (*RemoteSessionCallbackProxy) OnSessionChanged

func (p *RemoteSessionCallbackProxy) OnSessionChanged(
	ctx context.Context,
	sessionToken session.MediaSessionToken,
) error

func (*RemoteSessionCallbackProxy) OnVolumeChanged

func (p *RemoteSessionCallbackProxy) OnVolumeChanged(
	ctx context.Context,
	sessionToken session.MediaSessionToken,
	flags int32,
) error

type RemoteSessionCallbackStub

type RemoteSessionCallbackStub struct {
	Impl      IRemoteSessionCallback
	Transport binder.VersionAwareTransport
}

RemoteSessionCallbackStub dispatches incoming binder transactions to a typed IRemoteSessionCallback implementation.

func (*RemoteSessionCallbackStub) Descriptor

func (s *RemoteSessionCallbackStub) Descriptor() string

func (*RemoteSessionCallbackStub) OnTransaction

func (s *RemoteSessionCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RemoteVolumeObserverProxy

type RemoteVolumeObserverProxy struct {
	Remote binder.IBinder
}

func NewRemoteVolumeObserverProxy

func NewRemoteVolumeObserverProxy(
	remote binder.IBinder,
) *RemoteVolumeObserverProxy

func (*RemoteVolumeObserverProxy) AsBinder

func (*RemoteVolumeObserverProxy) DispatchRemoteVolumeUpdate

func (p *RemoteVolumeObserverProxy) DispatchRemoteVolumeUpdate(
	ctx context.Context,
	direction int32,
	value int32,
) error

type RemoteVolumeObserverStub

type RemoteVolumeObserverStub struct {
	Impl      IRemoteVolumeObserver
	Transport binder.VersionAwareTransport
}

RemoteVolumeObserverStub dispatches incoming binder transactions to a typed IRemoteVolumeObserver implementation.

func (*RemoteVolumeObserverStub) Descriptor

func (s *RemoteVolumeObserverStub) Descriptor() string

func (*RemoteVolumeObserverStub) OnTransaction

func (s *RemoteVolumeObserverStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RenderPosition

type RenderPosition struct {
	HalFrames int32
	DspFrames int32
}

func (*RenderPosition) MarshalParcel

func (s *RenderPosition) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RenderPosition) UnmarshalParcel

func (s *RenderPosition) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ResourceManagerClientProxy

type ResourceManagerClientProxy struct {
	Remote binder.IBinder
}

func NewResourceManagerClientProxy

func NewResourceManagerClientProxy(
	remote binder.IBinder,
) *ResourceManagerClientProxy

func (*ResourceManagerClientProxy) AsBinder

func (*ResourceManagerClientProxy) GetName

func (p *ResourceManagerClientProxy) GetName(
	ctx context.Context,
) (string, error)

func (*ResourceManagerClientProxy) ReclaimResource

func (p *ResourceManagerClientProxy) ReclaimResource(
	ctx context.Context,
) (bool, error)

type ResourceManagerClientStub

type ResourceManagerClientStub struct {
	Impl      IResourceManagerClient
	Transport binder.VersionAwareTransport
}

ResourceManagerClientStub dispatches incoming binder transactions to a typed IResourceManagerClient implementation.

func (*ResourceManagerClientStub) Descriptor

func (s *ResourceManagerClientStub) Descriptor() string

func (*ResourceManagerClientStub) OnTransaction

func (s *ResourceManagerClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type ResourceManagerServiceProxy

type ResourceManagerServiceProxy struct {
	Remote binder.IBinder
}

func NewResourceManagerServiceProxy

func NewResourceManagerServiceProxy(
	remote binder.IBinder,
) *ResourceManagerServiceProxy

func (*ResourceManagerServiceProxy) AddResource

func (p *ResourceManagerServiceProxy) AddResource(
	ctx context.Context,
	clientInfo ClientInfoParcel,
	client IResourceManagerClient,
	resources []MediaResourceParcel,
) error

func (*ResourceManagerServiceProxy) AsBinder

func (*ResourceManagerServiceProxy) Config

func (*ResourceManagerServiceProxy) MarkClientForPendingRemoval

func (p *ResourceManagerServiceProxy) MarkClientForPendingRemoval(
	ctx context.Context,
	clientInfo ClientInfoParcel,
) error

func (*ResourceManagerServiceProxy) NotifyClientConfigChanged

func (p *ResourceManagerServiceProxy) NotifyClientConfigChanged(
	ctx context.Context,
	clientConfig ClientConfigParcel,
) error

func (*ResourceManagerServiceProxy) NotifyClientCreated

func (p *ResourceManagerServiceProxy) NotifyClientCreated(
	ctx context.Context,
	clientInfo ClientInfoParcel,
) error

func (*ResourceManagerServiceProxy) NotifyClientStarted

func (p *ResourceManagerServiceProxy) NotifyClientStarted(
	ctx context.Context,
	clientConfig ClientConfigParcel,
) error

func (*ResourceManagerServiceProxy) NotifyClientStopped

func (p *ResourceManagerServiceProxy) NotifyClientStopped(
	ctx context.Context,
	clientConfig ClientConfigParcel,
) error

func (*ResourceManagerServiceProxy) OverridePid

func (p *ResourceManagerServiceProxy) OverridePid(
	ctx context.Context,
	originalPid int32,
	newPid int32,
) error

func (*ResourceManagerServiceProxy) OverrideProcessInfo

func (p *ResourceManagerServiceProxy) OverrideProcessInfo(
	ctx context.Context,
	client IResourceManagerClient,
	pid int32,
	procState int32,
	oomScore int32,
) error

func (*ResourceManagerServiceProxy) ReclaimResource

func (p *ResourceManagerServiceProxy) ReclaimResource(
	ctx context.Context,
	clientInfo ClientInfoParcel,
	resources []MediaResourceParcel,
) (bool, error)

func (*ResourceManagerServiceProxy) ReclaimResourcesFromClientsPendingRemoval

func (p *ResourceManagerServiceProxy) ReclaimResourcesFromClientsPendingRemoval(
	ctx context.Context,
	pid int32,
) error

func (*ResourceManagerServiceProxy) RemoveClient

func (p *ResourceManagerServiceProxy) RemoveClient(
	ctx context.Context,
	clientInfo ClientInfoParcel,
) error

func (*ResourceManagerServiceProxy) RemoveResource

func (p *ResourceManagerServiceProxy) RemoveResource(
	ctx context.Context,
	clientInfo ClientInfoParcel,
	resources []MediaResourceParcel,
) error

type ResourceManagerServiceStub

type ResourceManagerServiceStub struct {
	Impl      IResourceManagerService
	Transport binder.VersionAwareTransport
}

ResourceManagerServiceStub dispatches incoming binder transactions to a typed IResourceManagerService implementation.

func (*ResourceManagerServiceStub) Descriptor

func (s *ResourceManagerServiceStub) Descriptor() string

func (*ResourceManagerServiceStub) OnTransaction

func (s *ResourceManagerServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type ResourceObserverProxy

type ResourceObserverProxy struct {
	Remote binder.IBinder
}

func NewResourceObserverProxy

func NewResourceObserverProxy(
	remote binder.IBinder,
) *ResourceObserverProxy

func (*ResourceObserverProxy) AsBinder

func (p *ResourceObserverProxy) AsBinder() binder.IBinder

func (*ResourceObserverProxy) OnStatusChanged

func (p *ResourceObserverProxy) OnStatusChanged(
	ctx context.Context,
	event MediaObservableEvent,
	uid int32,
	pid int32,
	observables []MediaObservableParcel,
) error

type ResourceObserverServiceProxy

type ResourceObserverServiceProxy struct {
	Remote binder.IBinder
}

func NewResourceObserverServiceProxy

func NewResourceObserverServiceProxy(
	remote binder.IBinder,
) *ResourceObserverServiceProxy

func (*ResourceObserverServiceProxy) AsBinder

func (*ResourceObserverServiceProxy) RegisterObserver

func (p *ResourceObserverServiceProxy) RegisterObserver(
	ctx context.Context,
	observer IResourceObserver,
	filters []MediaObservableFilter,
) error

func (*ResourceObserverServiceProxy) UnregisterObserver

func (p *ResourceObserverServiceProxy) UnregisterObserver(
	ctx context.Context,
	observer IResourceObserver,
) error

type ResourceObserverServiceStub

type ResourceObserverServiceStub struct {
	Impl      IResourceObserverService
	Transport binder.VersionAwareTransport
}

ResourceObserverServiceStub dispatches incoming binder transactions to a typed IResourceObserverService implementation.

func (*ResourceObserverServiceStub) Descriptor

func (s *ResourceObserverServiceStub) Descriptor() string

func (*ResourceObserverServiceStub) OnTransaction

func (s *ResourceObserverServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type ResourceObserverStub

type ResourceObserverStub struct {
	Impl      IResourceObserver
	Transport binder.VersionAwareTransport
}

ResourceObserverStub dispatches incoming binder transactions to a typed IResourceObserver implementation.

func (*ResourceObserverStub) Descriptor

func (s *ResourceObserverStub) Descriptor() string

func (*ResourceObserverStub) OnTransaction

func (s *ResourceObserverStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RingtonePlayerProxy

type RingtonePlayerProxy struct {
	Remote binder.IBinder
}

func NewRingtonePlayerProxy

func NewRingtonePlayerProxy(
	remote binder.IBinder,
) *RingtonePlayerProxy

func (*RingtonePlayerProxy) AsBinder

func (p *RingtonePlayerProxy) AsBinder() binder.IBinder

func (*RingtonePlayerProxy) GetTitle

func (p *RingtonePlayerProxy) GetTitle(
	ctx context.Context,
	uri net.Uri,
) (string, error)

func (*RingtonePlayerProxy) IsPlaying

func (p *RingtonePlayerProxy) IsPlaying(
	ctx context.Context,
	token binder.IBinder,
) (bool, error)

func (*RingtonePlayerProxy) OpenRingtone

func (p *RingtonePlayerProxy) OpenRingtone(
	ctx context.Context,
	uri net.Uri,
) (int32, error)

func (*RingtonePlayerProxy) Play

func (p *RingtonePlayerProxy) Play(
	ctx context.Context,
	token binder.IBinder,
	uri net.Uri,
	aa AudioAttributes,
	volume float32,
	looping bool,
) error

func (*RingtonePlayerProxy) PlayAsync

func (p *RingtonePlayerProxy) PlayAsync(
	ctx context.Context,
	uri net.Uri,
	user os.UserHandle,
	looping bool,
	aa AudioAttributes,
	volume float32,
) error

func (*RingtonePlayerProxy) PlayWithVolumeShaping

func (p *RingtonePlayerProxy) PlayWithVolumeShaping(
	ctx context.Context,
	token binder.IBinder,
	uri net.Uri,
	aa AudioAttributes,
	volume float32,
	looping bool,
	volumeShaperConfig *VolumeShaperConfiguration,
) error

func (*RingtonePlayerProxy) SetPlaybackProperties

func (p *RingtonePlayerProxy) SetPlaybackProperties(
	ctx context.Context,
	token binder.IBinder,
	volume float32,
	looping bool,
	hapticGeneratorEnabled bool,
) error

func (*RingtonePlayerProxy) Stop

func (p *RingtonePlayerProxy) Stop(
	ctx context.Context,
	token binder.IBinder,
) error

func (*RingtonePlayerProxy) StopAsync

func (p *RingtonePlayerProxy) StopAsync(
	ctx context.Context,
) error

type RingtonePlayerStub

type RingtonePlayerStub struct {
	Impl      IRingtonePlayer
	Transport binder.VersionAwareTransport
}

RingtonePlayerStub dispatches incoming binder transactions to a typed IRingtonePlayer implementation.

func (*RingtonePlayerStub) Descriptor

func (s *RingtonePlayerStub) Descriptor() string

func (*RingtonePlayerStub) OnTransaction

func (s *RingtonePlayerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RouteDiscoveryPreference

type RouteDiscoveryPreference struct {
	ShouldPerformActiveScan bool
}

func (*RouteDiscoveryPreference) MarshalParcel

func (s *RouteDiscoveryPreference) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RouteDiscoveryPreference) UnmarshalParcel

func (s *RouteDiscoveryPreference) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RouteListingPreference

type RouteListingPreference struct {
	UseSystemOrdering bool
}

func (*RouteListingPreference) MarshalParcel

func (s *RouteListingPreference) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RouteListingPreference) UnmarshalParcel

func (s *RouteListingPreference) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RoutingSessionInfo

type RoutingSessionInfo struct {
	Id                           string
	OwnerPackageName             string
	ClientPackageName            string
	ProviderId                   string
	VolumeHandling               int32
	VolumeMax                    int32
	Volume                       int32
	IsSystemSession              bool
	TransferReason               int32
	TransferInitiatorPackageName string
}

func (*RoutingSessionInfo) MarshalParcel

func (s *RoutingSessionInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*RoutingSessionInfo) UnmarshalParcel

func (s *RoutingSessionInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SharedFileRegion

type SharedFileRegion struct {
	Fd        int32
	Offset    int64
	Size      int64
	Writeable bool
}

func (*SharedFileRegion) MarshalParcel

func (s *SharedFileRegion) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SharedFileRegion) UnmarshalParcel

func (s *SharedFileRegion) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SoundDoseCallbackProxy

type SoundDoseCallbackProxy struct {
	Remote binder.IBinder
}

func NewSoundDoseCallbackProxy

func NewSoundDoseCallbackProxy(
	remote binder.IBinder,
) *SoundDoseCallbackProxy

func (*SoundDoseCallbackProxy) AsBinder

func (p *SoundDoseCallbackProxy) AsBinder() binder.IBinder

func (*SoundDoseCallbackProxy) OnMomentaryExposure

func (p *SoundDoseCallbackProxy) OnMomentaryExposure(
	ctx context.Context,
	currentMel float32,
	deviceId int32,
) error

func (*SoundDoseCallbackProxy) OnNewCsdValue

func (p *SoundDoseCallbackProxy) OnNewCsdValue(
	ctx context.Context,
	currentCsd float32,
	records []SoundDoseRecord,
) error

type SoundDoseCallbackStub

type SoundDoseCallbackStub struct {
	Impl      ISoundDoseCallback
	Transport binder.VersionAwareTransport
}

SoundDoseCallbackStub dispatches incoming binder transactions to a typed ISoundDoseCallback implementation.

func (*SoundDoseCallbackStub) Descriptor

func (s *SoundDoseCallbackStub) Descriptor() string

func (*SoundDoseCallbackStub) OnTransaction

func (s *SoundDoseCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type SoundDoseProxy

type SoundDoseProxy struct {
	Remote binder.IBinder
}

func NewSoundDoseProxy

func NewSoundDoseProxy(
	remote binder.IBinder,
) *SoundDoseProxy

func (*SoundDoseProxy) AsBinder

func (p *SoundDoseProxy) AsBinder() binder.IBinder

func (*SoundDoseProxy) ForceComputeCsdOnAllDevices

func (p *SoundDoseProxy) ForceComputeCsdOnAllDevices(
	ctx context.Context,
	computeCsdOnAllDevices bool,
) error

func (*SoundDoseProxy) ForceUseFrameworkMel

func (p *SoundDoseProxy) ForceUseFrameworkMel(
	ctx context.Context,
	useFrameworkMel bool,
) error

func (*SoundDoseProxy) GetCsd

func (p *SoundDoseProxy) GetCsd(
	ctx context.Context,
) (float32, error)

func (*SoundDoseProxy) GetOutputRs2UpperBound

func (p *SoundDoseProxy) GetOutputRs2UpperBound(
	ctx context.Context,
) (float32, error)

func (*SoundDoseProxy) InitCachedAudioDeviceCategories

func (p *SoundDoseProxy) InitCachedAudioDeviceCategories(
	ctx context.Context,
	audioDevices []ISoundDoseAudioDeviceCategory,
) error

func (*SoundDoseProxy) IsSoundDoseHalSupported

func (p *SoundDoseProxy) IsSoundDoseHalSupported(
	ctx context.Context,
) (bool, error)

func (*SoundDoseProxy) ResetCsd

func (p *SoundDoseProxy) ResetCsd(
	ctx context.Context,
	currentCsd float32,
	records []SoundDoseRecord,
) error

func (*SoundDoseProxy) SetAudioDeviceCategory

func (p *SoundDoseProxy) SetAudioDeviceCategory(
	ctx context.Context,
	audioDevice ISoundDoseAudioDeviceCategory,
) error

func (*SoundDoseProxy) SetCsdEnabled

func (p *SoundDoseProxy) SetCsdEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*SoundDoseProxy) SetOutputRs2UpperBound

func (p *SoundDoseProxy) SetOutputRs2UpperBound(
	ctx context.Context,
	rs2Value float32,
) error

func (*SoundDoseProxy) UpdateAttenuation

func (p *SoundDoseProxy) UpdateAttenuation(
	ctx context.Context,
	attenuationDB float32,
	device int32,
) error

type SoundDoseRecord

type SoundDoseRecord struct {
	Timestamp  int64
	Duration   int32
	Value      float32
	AverageMel float32
}

func (*SoundDoseRecord) MarshalParcel

func (s *SoundDoseRecord) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SoundDoseRecord) UnmarshalParcel

func (s *SoundDoseRecord) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SoundDoseStub

type SoundDoseStub struct {
	Impl      ISoundDose
	Transport binder.VersionAwareTransport
}

SoundDoseStub dispatches incoming binder transactions to a typed ISoundDose implementation.

func (*SoundDoseStub) Descriptor

func (s *SoundDoseStub) Descriptor() string

func (*SoundDoseStub) OnTransaction

func (s *SoundDoseStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type SoundTriggerSession

type SoundTriggerSession struct {
	Session  int32
	IoHandle int32
	Device   common.AudioDeviceDescription
}

func (*SoundTriggerSession) MarshalParcel

func (s *SoundTriggerSession) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SoundTriggerSession) UnmarshalParcel

func (s *SoundTriggerSession) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SpatializerCallbackProxy

type SpatializerCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerCallbackProxy

func NewSpatializerCallbackProxy(
	remote binder.IBinder,
) *SpatializerCallbackProxy

func (*SpatializerCallbackProxy) AsBinder

func (p *SpatializerCallbackProxy) AsBinder() binder.IBinder

func (*SpatializerCallbackProxy) DispatchSpatializerAvailableChanged

func (p *SpatializerCallbackProxy) DispatchSpatializerAvailableChanged(
	ctx context.Context,
	available bool,
) error

func (*SpatializerCallbackProxy) DispatchSpatializerEnabledChanged

func (p *SpatializerCallbackProxy) DispatchSpatializerEnabledChanged(
	ctx context.Context,
	enabled bool,
) error

type SpatializerCallbackStub

type SpatializerCallbackStub struct {
	Impl      ISpatializerCallback
	Transport binder.VersionAwareTransport
}

SpatializerCallbackStub dispatches incoming binder transactions to a typed ISpatializerCallback implementation.

func (*SpatializerCallbackStub) Descriptor

func (s *SpatializerCallbackStub) Descriptor() string

func (*SpatializerCallbackStub) OnTransaction

func (s *SpatializerCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type SpatializerHeadToSoundStagePoseCallbackProxy

type SpatializerHeadToSoundStagePoseCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerHeadToSoundStagePoseCallbackProxy

func NewSpatializerHeadToSoundStagePoseCallbackProxy(
	remote binder.IBinder,
) *SpatializerHeadToSoundStagePoseCallbackProxy

func (*SpatializerHeadToSoundStagePoseCallbackProxy) AsBinder

func (*SpatializerHeadToSoundStagePoseCallbackProxy) DispatchPoseChanged

func (p *SpatializerHeadToSoundStagePoseCallbackProxy) DispatchPoseChanged(
	ctx context.Context,
	pose []float32,
) error

type SpatializerHeadToSoundStagePoseCallbackStub

type SpatializerHeadToSoundStagePoseCallbackStub struct {
	Impl      ISpatializerHeadToSoundStagePoseCallback
	Transport binder.VersionAwareTransport
}

SpatializerHeadToSoundStagePoseCallbackStub dispatches incoming binder transactions to a typed ISpatializerHeadToSoundStagePoseCallback implementation.

func (*SpatializerHeadToSoundStagePoseCallbackStub) Descriptor

func (*SpatializerHeadToSoundStagePoseCallbackStub) OnTransaction

type SpatializerHeadTrackerAvailableCallbackProxy

type SpatializerHeadTrackerAvailableCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerHeadTrackerAvailableCallbackProxy

func NewSpatializerHeadTrackerAvailableCallbackProxy(
	remote binder.IBinder,
) *SpatializerHeadTrackerAvailableCallbackProxy

func (*SpatializerHeadTrackerAvailableCallbackProxy) AsBinder

func (*SpatializerHeadTrackerAvailableCallbackProxy) DispatchSpatializerHeadTrackerAvailable

func (p *SpatializerHeadTrackerAvailableCallbackProxy) DispatchSpatializerHeadTrackerAvailable(
	ctx context.Context,
	available bool,
) error

type SpatializerHeadTrackerAvailableCallbackStub

type SpatializerHeadTrackerAvailableCallbackStub struct {
	Impl      ISpatializerHeadTrackerAvailableCallback
	Transport binder.VersionAwareTransport
}

SpatializerHeadTrackerAvailableCallbackStub dispatches incoming binder transactions to a typed ISpatializerHeadTrackerAvailableCallback implementation.

func (*SpatializerHeadTrackerAvailableCallbackStub) Descriptor

func (*SpatializerHeadTrackerAvailableCallbackStub) OnTransaction

type SpatializerHeadTrackingCallbackProxy

type SpatializerHeadTrackingCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerHeadTrackingCallbackProxy

func NewSpatializerHeadTrackingCallbackProxy(
	remote binder.IBinder,
) *SpatializerHeadTrackingCallbackProxy

func (*SpatializerHeadTrackingCallbackProxy) AsBinder

func (*SpatializerHeadTrackingCallbackProxy) OnHeadToSoundStagePoseUpdated

func (p *SpatializerHeadTrackingCallbackProxy) OnHeadToSoundStagePoseUpdated(
	ctx context.Context,
	headToStage []float32,
) error

func (*SpatializerHeadTrackingCallbackProxy) OnHeadTrackingModeChanged

func (p *SpatializerHeadTrackingCallbackProxy) OnHeadTrackingModeChanged(
	ctx context.Context,
	mode common.HeadTrackingMode,
) error

type SpatializerHeadTrackingCallbackStub

type SpatializerHeadTrackingCallbackStub struct {
	Impl      ISpatializerHeadTrackingCallback
	Transport binder.VersionAwareTransport
}

SpatializerHeadTrackingCallbackStub dispatches incoming binder transactions to a typed ISpatializerHeadTrackingCallback implementation.

func (*SpatializerHeadTrackingCallbackStub) Descriptor

func (*SpatializerHeadTrackingCallbackStub) OnTransaction

type SpatializerHeadTrackingModeCallbackProxy

type SpatializerHeadTrackingModeCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerHeadTrackingModeCallbackProxy

func NewSpatializerHeadTrackingModeCallbackProxy(
	remote binder.IBinder,
) *SpatializerHeadTrackingModeCallbackProxy

func (*SpatializerHeadTrackingModeCallbackProxy) AsBinder

func (*SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerActualHeadTrackingModeChanged

func (p *SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerActualHeadTrackingModeChanged(
	ctx context.Context,
	mode int32,
) error

func (*SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerDesiredHeadTrackingModeChanged

func (p *SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerDesiredHeadTrackingModeChanged(
	ctx context.Context,
	mode int32,
) error

type SpatializerHeadTrackingModeCallbackStub

type SpatializerHeadTrackingModeCallbackStub struct {
	Impl      ISpatializerHeadTrackingModeCallback
	Transport binder.VersionAwareTransport
}

SpatializerHeadTrackingModeCallbackStub dispatches incoming binder transactions to a typed ISpatializerHeadTrackingModeCallback implementation.

func (*SpatializerHeadTrackingModeCallbackStub) Descriptor

func (*SpatializerHeadTrackingModeCallbackStub) OnTransaction

type SpatializerOutputCallbackProxy

type SpatializerOutputCallbackProxy struct {
	Remote binder.IBinder
}

func NewSpatializerOutputCallbackProxy

func NewSpatializerOutputCallbackProxy(
	remote binder.IBinder,
) *SpatializerOutputCallbackProxy

func (*SpatializerOutputCallbackProxy) AsBinder

func (*SpatializerOutputCallbackProxy) DispatchSpatializerOutputChanged

func (p *SpatializerOutputCallbackProxy) DispatchSpatializerOutputChanged(
	ctx context.Context,
	output int32,
) error

type SpatializerOutputCallbackStub

type SpatializerOutputCallbackStub struct {
	Impl      ISpatializerOutputCallback
	Transport binder.VersionAwareTransport
}

SpatializerOutputCallbackStub dispatches incoming binder transactions to a typed ISpatializerOutputCallback implementation.

func (*SpatializerOutputCallbackStub) Descriptor

func (s *SpatializerOutputCallbackStub) Descriptor() string

func (*SpatializerOutputCallbackStub) OnTransaction

type SpatializerProxy

type SpatializerProxy struct {
	Remote binder.IBinder
}

func NewSpatializerProxy

func NewSpatializerProxy(
	remote binder.IBinder,
) *SpatializerProxy

func (*SpatializerProxy) AsBinder

func (p *SpatializerProxy) AsBinder() binder.IBinder

func (*SpatializerProxy) GetActualHeadTrackingMode

func (p *SpatializerProxy) GetActualHeadTrackingMode(
	ctx context.Context,
) (common.HeadTrackingMode, error)

func (*SpatializerProxy) GetLevel

func (*SpatializerProxy) GetOutput

func (p *SpatializerProxy) GetOutput(
	ctx context.Context,
) (int32, error)

func (*SpatializerProxy) GetParameter

func (p *SpatializerProxy) GetParameter(
	ctx context.Context,
	key int32,
	value []byte,
) error

func (*SpatializerProxy) GetSupportedHeadTrackingModes

func (p *SpatializerProxy) GetSupportedHeadTrackingModes(
	ctx context.Context,
) ([]common.HeadTrackingMode, error)

func (*SpatializerProxy) GetSupportedLevels

func (p *SpatializerProxy) GetSupportedLevels(
	ctx context.Context,
) ([]common.SpatializationLevel, error)

func (*SpatializerProxy) GetSupportedModes

func (p *SpatializerProxy) GetSupportedModes(
	ctx context.Context,
) ([]common.SpatializationMode, error)

func (*SpatializerProxy) IsHeadTrackingSupported

func (p *SpatializerProxy) IsHeadTrackingSupported(
	ctx context.Context,
) (bool, error)

func (*SpatializerProxy) RecenterHeadTracker

func (p *SpatializerProxy) RecenterHeadTracker(
	ctx context.Context,
) error

func (*SpatializerProxy) RegisterHeadTrackingCallback

func (p *SpatializerProxy) RegisterHeadTrackingCallback(
	ctx context.Context,
	callback ISpatializerHeadTrackingCallback,
) error

func (*SpatializerProxy) Release

func (p *SpatializerProxy) Release(
	ctx context.Context,
) error

func (*SpatializerProxy) SetDesiredHeadTrackingMode

func (p *SpatializerProxy) SetDesiredHeadTrackingMode(
	ctx context.Context,
	mode common.HeadTrackingMode,
) error

func (*SpatializerProxy) SetDisplayOrientation

func (p *SpatializerProxy) SetDisplayOrientation(
	ctx context.Context,
	physicalToLogicalAngle float32,
) error

func (*SpatializerProxy) SetFoldState

func (p *SpatializerProxy) SetFoldState(
	ctx context.Context,
	folded bool,
) error

func (*SpatializerProxy) SetGlobalTransform

func (p *SpatializerProxy) SetGlobalTransform(
	ctx context.Context,
	screenToStage []float32,
) error

func (*SpatializerProxy) SetHeadSensor

func (p *SpatializerProxy) SetHeadSensor(
	ctx context.Context,
	sensorHandle int32,
) error

func (*SpatializerProxy) SetHingeAngle

func (p *SpatializerProxy) SetHingeAngle(
	ctx context.Context,
	hingeAngle float32,
) error

func (*SpatializerProxy) SetLevel

func (p *SpatializerProxy) SetLevel(
	ctx context.Context,
	level common.SpatializationLevel,
) error

func (*SpatializerProxy) SetParameter

func (p *SpatializerProxy) SetParameter(
	ctx context.Context,
	key int32,
	value []byte,
) error

func (*SpatializerProxy) SetScreenSensor

func (p *SpatializerProxy) SetScreenSensor(
	ctx context.Context,
	sensorHandle int32,
) error

type SpatializerStub

type SpatializerStub struct {
	Impl      ISpatializer
	Transport binder.VersionAwareTransport
}

SpatializerStub dispatches incoming binder transactions to a typed ISpatializer implementation.

func (*SpatializerStub) Descriptor

func (s *SpatializerStub) Descriptor() string

func (*SpatializerStub) OnTransaction

func (s *SpatializerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type StrategyNonDefaultDevicesDispatcherProxy

type StrategyNonDefaultDevicesDispatcherProxy struct {
	Remote binder.IBinder
}

func NewStrategyNonDefaultDevicesDispatcherProxy

func NewStrategyNonDefaultDevicesDispatcherProxy(
	remote binder.IBinder,
) *StrategyNonDefaultDevicesDispatcherProxy

func (*StrategyNonDefaultDevicesDispatcherProxy) AsBinder

func (*StrategyNonDefaultDevicesDispatcherProxy) DispatchNonDefDevicesChanged

func (p *StrategyNonDefaultDevicesDispatcherProxy) DispatchNonDefDevicesChanged(
	ctx context.Context,
	strategyId int32,
	devices []AudioDeviceAttributes,
) error

type StrategyNonDefaultDevicesDispatcherStub

type StrategyNonDefaultDevicesDispatcherStub struct {
	Impl      IStrategyNonDefaultDevicesDispatcher
	Transport binder.VersionAwareTransport
}

StrategyNonDefaultDevicesDispatcherStub dispatches incoming binder transactions to a typed IStrategyNonDefaultDevicesDispatcher implementation.

func (*StrategyNonDefaultDevicesDispatcherStub) Descriptor

func (*StrategyNonDefaultDevicesDispatcherStub) OnTransaction

type StrategyPreferredDevicesDispatcherProxy

type StrategyPreferredDevicesDispatcherProxy struct {
	Remote binder.IBinder
}

func NewStrategyPreferredDevicesDispatcherProxy

func NewStrategyPreferredDevicesDispatcherProxy(
	remote binder.IBinder,
) *StrategyPreferredDevicesDispatcherProxy

func (*StrategyPreferredDevicesDispatcherProxy) AsBinder

func (*StrategyPreferredDevicesDispatcherProxy) DispatchPrefDevicesChanged

func (p *StrategyPreferredDevicesDispatcherProxy) DispatchPrefDevicesChanged(
	ctx context.Context,
	strategyId int32,
	devices []AudioDeviceAttributes,
) error

type StrategyPreferredDevicesDispatcherStub

type StrategyPreferredDevicesDispatcherStub struct {
	Impl      IStrategyPreferredDevicesDispatcher
	Transport binder.VersionAwareTransport
}

StrategyPreferredDevicesDispatcherStub dispatches incoming binder transactions to a typed IStrategyPreferredDevicesDispatcher implementation.

func (*StrategyPreferredDevicesDispatcherStub) Descriptor

func (*StrategyPreferredDevicesDispatcherStub) OnTransaction

type StreamAliasingDispatcherProxy

type StreamAliasingDispatcherProxy struct {
	Remote binder.IBinder
}

func NewStreamAliasingDispatcherProxy

func NewStreamAliasingDispatcherProxy(
	remote binder.IBinder,
) *StreamAliasingDispatcherProxy

func (*StreamAliasingDispatcherProxy) AsBinder

func (*StreamAliasingDispatcherProxy) DispatchStreamAliasingChanged

func (p *StreamAliasingDispatcherProxy) DispatchStreamAliasingChanged(
	ctx context.Context,
) error

type StreamAliasingDispatcherStub

type StreamAliasingDispatcherStub struct {
	Impl      IStreamAliasingDispatcher
	Transport binder.VersionAwareTransport
}

StreamAliasingDispatcherStub dispatches incoming binder transactions to a typed IStreamAliasingDispatcher implementation.

func (*StreamAliasingDispatcherStub) Descriptor

func (s *StreamAliasingDispatcherStub) Descriptor() string

func (*StreamAliasingDispatcherStub) OnTransaction

type SurroundSoundConfig

type SurroundSoundConfig struct {
	FormatFamilies []SurroundSoundConfigSurroundFormatFamily
}

func (*SurroundSoundConfig) MarshalParcel

func (s *SurroundSoundConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SurroundSoundConfig) UnmarshalParcel

func (s *SurroundSoundConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SurroundSoundConfigSurroundFormatFamily

type SurroundSoundConfigSurroundFormatFamily struct {
	PrimaryFormat common.AudioFormatDescription
	SubFormats    []common.AudioFormatDescription
}

func (*SurroundSoundConfigSurroundFormatFamily) MarshalParcel

func (*SurroundSoundConfigSurroundFormatFamily) UnmarshalParcel

func (s *SurroundSoundConfigSurroundFormatFamily) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TrackSecondaryOutputInfo

type TrackSecondaryOutputInfo struct {
	PortId             int32
	SecondaryOutputIds []int32
}

func (*TrackSecondaryOutputInfo) MarshalParcel

func (s *TrackSecondaryOutputInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TrackSecondaryOutputInfo) UnmarshalParcel

func (s *TrackSecondaryOutputInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingClientCallbackProxy

type TranscodingClientCallbackProxy struct {
	Remote binder.IBinder
}

func NewTranscodingClientCallbackProxy

func NewTranscodingClientCallbackProxy(
	remote binder.IBinder,
) *TranscodingClientCallbackProxy

func (*TranscodingClientCallbackProxy) AsBinder

func (*TranscodingClientCallbackProxy) OnAwaitNumberOfSessionsChanged

func (p *TranscodingClientCallbackProxy) OnAwaitNumberOfSessionsChanged(
	ctx context.Context,
	sessionId int32,
	oldAwaitNumber int32,
	newAwaitNumber int32,
) error

func (*TranscodingClientCallbackProxy) OnProgressUpdate

func (p *TranscodingClientCallbackProxy) OnProgressUpdate(
	ctx context.Context,
	sessionId int32,
	progress int32,
) error

func (*TranscodingClientCallbackProxy) OnTranscodingFailed

func (p *TranscodingClientCallbackProxy) OnTranscodingFailed(
	ctx context.Context,
	sessionId int32,
	errorCode TranscodingErrorCode,
) error

func (*TranscodingClientCallbackProxy) OnTranscodingFinished

func (p *TranscodingClientCallbackProxy) OnTranscodingFinished(
	ctx context.Context,
	sessionId int32,
	result TranscodingResultParcel,
) error

func (*TranscodingClientCallbackProxy) OnTranscodingPaused

func (p *TranscodingClientCallbackProxy) OnTranscodingPaused(
	ctx context.Context,
	sessionId int32,
) error

func (*TranscodingClientCallbackProxy) OnTranscodingResumed

func (p *TranscodingClientCallbackProxy) OnTranscodingResumed(
	ctx context.Context,
	sessionId int32,
) error

func (*TranscodingClientCallbackProxy) OnTranscodingStarted

func (p *TranscodingClientCallbackProxy) OnTranscodingStarted(
	ctx context.Context,
	sessionId int32,
) error

func (*TranscodingClientCallbackProxy) OpenFileDescriptor

func (p *TranscodingClientCallbackProxy) OpenFileDescriptor(
	ctx context.Context,
	fileUri string,
	mode string,
) (int32, error)

type TranscodingClientCallbackStub

type TranscodingClientCallbackStub struct {
	Impl      ITranscodingClientCallback
	Transport binder.VersionAwareTransport
}

TranscodingClientCallbackStub dispatches incoming binder transactions to a typed ITranscodingClientCallback implementation.

func (*TranscodingClientCallbackStub) Descriptor

func (s *TranscodingClientCallbackStub) Descriptor() string

func (*TranscodingClientCallbackStub) OnTransaction

type TranscodingClientProxy

type TranscodingClientProxy struct {
	Remote binder.IBinder
}

func NewTranscodingClientProxy

func NewTranscodingClientProxy(
	remote binder.IBinder,
) *TranscodingClientProxy

func (*TranscodingClientProxy) AddClientUid

func (p *TranscodingClientProxy) AddClientUid(
	ctx context.Context,
	sessionId int32,
	clientUid int32,
) (bool, error)

func (*TranscodingClientProxy) AsBinder

func (p *TranscodingClientProxy) AsBinder() binder.IBinder

func (*TranscodingClientProxy) CancelSession

func (p *TranscodingClientProxy) CancelSession(
	ctx context.Context,
	sessionId int32,
) (bool, error)

func (*TranscodingClientProxy) GetClientUids

func (p *TranscodingClientProxy) GetClientUids(
	ctx context.Context,
	sessionId int32,
) ([]int32, error)

func (*TranscodingClientProxy) GetSessionWithId

func (p *TranscodingClientProxy) GetSessionWithId(
	ctx context.Context,
	sessionId int32,
	session TranscodingSessionParcel,
) (bool, error)

func (*TranscodingClientProxy) SubmitRequest

func (*TranscodingClientProxy) Unregister

func (p *TranscodingClientProxy) Unregister(
	ctx context.Context,
) error

type TranscodingClientStub

type TranscodingClientStub struct {
	Impl      ITranscodingClient
	Transport binder.VersionAwareTransport
}

TranscodingClientStub dispatches incoming binder transactions to a typed ITranscodingClient implementation.

func (*TranscodingClientStub) Descriptor

func (s *TranscodingClientStub) Descriptor() string

func (*TranscodingClientStub) OnTransaction

func (s *TranscodingClientStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TranscodingErrorCode

type TranscodingErrorCode int32
const (
	TranscodingErrorCodeKNoError               TranscodingErrorCode = 0
	TranscodingErrorCodeKDroppedByService      TranscodingErrorCode = 1
	TranscodingErrorCodeKServiceUnavailable    TranscodingErrorCode = 2
	TranscodingErrorCodeKPrivateErrorFirst     TranscodingErrorCode = 1000
	TranscodingErrorCodeKUnknown               TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 0)
	TranscodingErrorCodeKMalformed             TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 1)
	TranscodingErrorCodeKUnsupported           TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 2)
	TranscodingErrorCodeKInvalidParameter      TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 3)
	TranscodingErrorCodeKInvalidOperation      TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 4)
	TranscodingErrorCodeKErrorIO               TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 5)
	TranscodingErrorCodeKInsufficientResources TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 6)
	TranscodingErrorCodeKWatchdogTimeout       TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 7)
	TranscodingErrorCodeKUidGoneCancelled      TranscodingErrorCode = (TranscodingErrorCodeKPrivateErrorFirst + 8)
)

type TranscodingRequestParcel

type TranscodingRequestParcel struct {
	SourceFilePath            string
	SourceFd                  int32
	DestinationFilePath       string
	DestinationFd             int32
	ClientUid                 int32
	ClientPid                 int32
	ClientPackageName         string
	TranscodingType           TranscodingType
	RequestedVideoTrackFormat *TranscodingVideoTrackFormat
	Priority                  TranscodingSessionPriority
	RequestProgressUpdate     bool
	RequestSessionEventUpdate bool
	IsForTesting              bool
	TestConfig                *TranscodingTestConfig
	EnableStats               bool
}

func (*TranscodingRequestParcel) MarshalParcel

func (s *TranscodingRequestParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingRequestParcel) UnmarshalParcel

func (s *TranscodingRequestParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingResultParcel

type TranscodingResultParcel struct {
	SessionId        int32
	ActualBitrateBps int32
	SessionStats     *TranscodingSessionStats
}

func (*TranscodingResultParcel) MarshalParcel

func (s *TranscodingResultParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingResultParcel) UnmarshalParcel

func (s *TranscodingResultParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingSessionParcel

type TranscodingSessionParcel struct {
	SessionId             int32
	Request               TranscodingRequestParcel
	VideoTrackFormat      *TranscodingVideoTrackFormat
	AwaitNumberOfSessions int32
}

func (*TranscodingSessionParcel) MarshalParcel

func (s *TranscodingSessionParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingSessionParcel) UnmarshalParcel

func (s *TranscodingSessionParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingSessionPriority

type TranscodingSessionPriority int32
const (
	TranscodingSessionPriorityKUnspecified TranscodingSessionPriority = 0
	TranscodingSessionPriorityKLow         TranscodingSessionPriority = 1
	TranscodingSessionPriorityKNormal      TranscodingSessionPriority = 21
	TranscodingSessionPriorityKHigh        TranscodingSessionPriority = 31
)

type TranscodingSessionStats

type TranscodingSessionStats struct {
	SessionCreatedTimeUs  int64
	SessionFinishedTimeUs int64
	TotalProcessingTimeUs int64
	TotalTimeUs           int64
}

func (*TranscodingSessionStats) MarshalParcel

func (s *TranscodingSessionStats) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingSessionStats) UnmarshalParcel

func (s *TranscodingSessionStats) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingTestConfig

type TranscodingTestConfig struct {
	PassThroughMode       bool
	ProcessingTotalTimeMs int32
}

func (*TranscodingTestConfig) MarshalParcel

func (s *TranscodingTestConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingTestConfig) UnmarshalParcel

func (s *TranscodingTestConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TranscodingType

type TranscodingType int32
const (
	TranscodingTypeKUnknown          TranscodingType = 0
	TranscodingTypeKVideoTranscoding TranscodingType = 1
	TranscodingTypeKImageTranscoding TranscodingType = 2
)

type TranscodingVideoCodecType

type TranscodingVideoCodecType int32
const (
	TranscodingVideoCodecTypeKUnspecified TranscodingVideoCodecType = 0
	TranscodingVideoCodecTypeKAvc         TranscodingVideoCodecType = 1
	TranscodingVideoCodecTypeKHevc        TranscodingVideoCodecType = 2
)

type TranscodingVideoTrackFormat

type TranscodingVideoTrackFormat struct {
	CodecType            TranscodingVideoCodecType
	Width                int32
	Height               int32
	BitrateBps           int32
	Profile              int32
	Level                int32
	DecoderOperatingRate int32
	EncoderOperatingRate int32
}

func (*TranscodingVideoTrackFormat) MarshalParcel

func (s *TranscodingVideoTrackFormat) MarshalParcel(
	p *parcel.Parcel,
) error

func (*TranscodingVideoTrackFormat) UnmarshalParcel

func (s *TranscodingVideoTrackFormat) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumeControllerProxy

type VolumeControllerProxy struct {
	Remote binder.IBinder
}

func NewVolumeControllerProxy

func NewVolumeControllerProxy(
	remote binder.IBinder,
) *VolumeControllerProxy

func (*VolumeControllerProxy) AsBinder

func (p *VolumeControllerProxy) AsBinder() binder.IBinder

func (*VolumeControllerProxy) Dismiss

func (p *VolumeControllerProxy) Dismiss(
	ctx context.Context,
) error

func (*VolumeControllerProxy) DisplayCsdWarning

func (p *VolumeControllerProxy) DisplayCsdWarning(
	ctx context.Context,
	warning int32,
	displayDurationMs int32,
) error

func (*VolumeControllerProxy) DisplaySafeVolumeWarning

func (p *VolumeControllerProxy) DisplaySafeVolumeWarning(
	ctx context.Context,
	flags int32,
) error

func (*VolumeControllerProxy) MasterMuteChanged

func (p *VolumeControllerProxy) MasterMuteChanged(
	ctx context.Context,
	flags int32,
) error

func (*VolumeControllerProxy) SetA11yMode

func (p *VolumeControllerProxy) SetA11yMode(
	ctx context.Context,
	mode int32,
) error

func (*VolumeControllerProxy) SetLayoutDirection

func (p *VolumeControllerProxy) SetLayoutDirection(
	ctx context.Context,
	layoutDirection int32,
) error

func (*VolumeControllerProxy) VolumeChanged

func (p *VolumeControllerProxy) VolumeChanged(
	ctx context.Context,
	streamType int32,
	flags int32,
) error

type VolumeControllerStub

type VolumeControllerStub struct {
	Impl      IVolumeController
	Transport binder.VersionAwareTransport
}

VolumeControllerStub dispatches incoming binder transactions to a typed IVolumeController implementation.

func (*VolumeControllerStub) Descriptor

func (s *VolumeControllerStub) Descriptor() string

func (*VolumeControllerStub) OnTransaction

func (s *VolumeControllerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type VolumeInfo

type VolumeInfo struct {
	UsesStreamType bool
	StreamType     int32
	HasMuteCommand bool
	IsMuted        bool
	VolIndex       int32
	MinVolIndex    int32
	MaxVolIndex    int32
}

func (*VolumeInfo) MarshalParcel

func (s *VolumeInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumeInfo) UnmarshalParcel

func (s *VolumeInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumePolicy

type VolumePolicy struct {
	VibrateToSilentDebounce int32
}

func (*VolumePolicy) MarshalParcel

func (s *VolumePolicy) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumePolicy) UnmarshalParcel

func (s *VolumePolicy) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumeShaper

type VolumeShaper struct {
}

func (*VolumeShaper) MarshalParcel

func (s *VolumeShaper) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumeShaper) UnmarshalParcel

func (s *VolumeShaper) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumeShaperConfiguration

type VolumeShaperConfiguration struct {
	Type               VolumeShaperConfigurationType
	Id                 int32
	OptionFlags        int32
	DurationMs         float64
	InterpolatorConfig *InterpolatorConfig
}

func (*VolumeShaperConfiguration) MarshalParcel

func (s *VolumeShaperConfiguration) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumeShaperConfiguration) UnmarshalParcel

func (s *VolumeShaperConfiguration) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumeShaperConfigurationOptionFlag

type VolumeShaperConfigurationOptionFlag int32
const (
	VolumeShaperConfigurationOptionFlagVolumeInDbfs VolumeShaperConfigurationOptionFlag = 0
	VolumeShaperConfigurationOptionFlagClockTime    VolumeShaperConfigurationOptionFlag = 1
)

type VolumeShaperConfigurationType

type VolumeShaperConfigurationType int32
const (
	VolumeShaperConfigurationTypeID    VolumeShaperConfigurationType = 0
	VolumeShaperConfigurationTypeSCALE VolumeShaperConfigurationType = 1
)

type VolumeShaperOperation

type VolumeShaperOperation struct {
	Flags     int32
	ReplaceId int32
	XOffset   float32
}

func (*VolumeShaperOperation) MarshalParcel

func (s *VolumeShaperOperation) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumeShaperOperation) UnmarshalParcel

func (s *VolumeShaperOperation) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VolumeShaperOperationFlag

type VolumeShaperOperationFlag int32
const (
	VolumeShaperOperationFlagREVERSE           VolumeShaperOperationFlag = 0
	VolumeShaperOperationFlagTERMINATE         VolumeShaperOperationFlag = 1
	VolumeShaperOperationFlagJOIN              VolumeShaperOperationFlag = 2
	VolumeShaperOperationFlagDELAY             VolumeShaperOperationFlag = 3
	VolumeShaperOperationFlagCreateIfNecessary VolumeShaperOperationFlag = 4
)

type VolumeShaperState

type VolumeShaperState struct {
	Volume  float32
	XOffset float32
}

func (*VolumeShaperState) MarshalParcel

func (s *VolumeShaperState) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VolumeShaperState) UnmarshalParcel

func (s *VolumeShaperState) UnmarshalParcel(
	p *parcel.Parcel,
) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL