Documentation
¶
Index ¶
- Constants
- type AudioAttributes
- type AudioAttributesEx
- type AudioClient
- type AudioDeviceAttributes
- type AudioDeviceVolumeDispatcherProxy
- func (p *AudioDeviceVolumeDispatcherProxy) AsBinder() binder.IBinder
- func (p *AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeAdjusted(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo, ...) error
- func (p *AudioDeviceVolumeDispatcherProxy) DispatchDeviceVolumeChanged(ctx context.Context, device AudioDeviceAttributes, vol VolumeInfo) error
- type AudioDeviceVolumeDispatcherStub
- type AudioDirectMode
- type AudioFlingerClientProxy
- func (p *AudioFlingerClientProxy) AsBinder() binder.IBinder
- func (p *AudioFlingerClientProxy) IoConfigChanged(ctx context.Context, event AudioIoConfigEvent, ioDesc AudioIoDescriptor) error
- func (p *AudioFlingerClientProxy) OnSupportedLatencyModesChanged(ctx context.Context, output int32, latencyModes []common.AudioLatencyMode) error
- type AudioFlingerClientStub
- type AudioFlingerServiceProxy
- func (p *AudioFlingerServiceProxy) AcquireAudioSessionId(ctx context.Context, audioSession int32, pid int32, uid int32) error
- func (p *AudioFlingerServiceProxy) AsBinder() binder.IBinder
- func (p *AudioFlingerServiceProxy) AudioPolicyReady(ctx context.Context) error
- func (p *AudioFlingerServiceProxy) CloseInput(ctx context.Context, input int32) error
- func (p *AudioFlingerServiceProxy) CloseOutput(ctx context.Context, output int32) error
- func (p *AudioFlingerServiceProxy) CreateAudioPatch(ctx context.Context, patch AudioPatchFw) (int32, error)
- func (p *AudioFlingerServiceProxy) CreateEffect(ctx context.Context, request CreateEffectRequest) (CreateEffectResponse, error)
- func (p *AudioFlingerServiceProxy) CreateRecord(ctx context.Context, request CreateRecordRequest) (CreateRecordResponse, error)
- func (p *AudioFlingerServiceProxy) CreateTrack(ctx context.Context, request CreateTrackRequest) (CreateTrackResponse, error)
- func (p *AudioFlingerServiceProxy) Format(ctx context.Context, output int32) (common.AudioFormatDescription, error)
- func (p *AudioFlingerServiceProxy) FrameCount(ctx context.Context, ioHandle int32) (int64, error)
- func (p *AudioFlingerServiceProxy) FrameCountHAL(ctx context.Context, ioHandle int32) (int64, error)
- func (p *AudioFlingerServiceProxy) GetAAudioHardwareBurstMinUsec(ctx context.Context) (int32, error)
- func (p *AudioFlingerServiceProxy) GetAAudioMixerBurstCount(ctx context.Context) (int32, error)
- func (p *AudioFlingerServiceProxy) GetAudioHwSyncForSession(ctx context.Context, sessionId int32) (int32, error)
- func (p *AudioFlingerServiceProxy) GetAudioMixPort(ctx context.Context, devicePort AudioPortFw, mixPort AudioPortFw) (AudioPortFw, error)
- func (p *AudioFlingerServiceProxy) GetAudioPolicyConfig(ctx context.Context) (AudioPolicyConfig, error)
- func (p *AudioFlingerServiceProxy) GetAudioPort(ctx context.Context, port AudioPortFw) (AudioPortFw, error)
- func (p *AudioFlingerServiceProxy) GetEffectDescriptor(ctx context.Context, effectUUID common.AudioUuid, typeUUID common.AudioUuid, ...) (EffectDescriptor, error)
- func (p *AudioFlingerServiceProxy) GetInputBufferSize(ctx context.Context, sampleRate int32, format common.AudioFormatDescription, ...) (int64, error)
- func (p *AudioFlingerServiceProxy) GetInputFramesLost(ctx context.Context, ioHandle int32) (int32, error)
- func (p *AudioFlingerServiceProxy) GetMasterBalance(ctx context.Context) (float32, error)
- func (p *AudioFlingerServiceProxy) GetMicMute(ctx context.Context) (bool, error)
- func (p *AudioFlingerServiceProxy) GetMicrophones(ctx context.Context) ([]MicrophoneInfoFw, error)
- func (p *AudioFlingerServiceProxy) GetMmapPolicyInfos(ctx context.Context, policyType common.AudioMMapPolicyType) ([]common.AudioMMapPolicyInfo, error)
- func (p *AudioFlingerServiceProxy) GetParameters(ctx context.Context, ioHandle int32, keys string) (string, error)
- func (p *AudioFlingerServiceProxy) GetPrimaryOutputFrameCount(ctx context.Context) (int64, error)
- func (p *AudioFlingerServiceProxy) GetPrimaryOutputSamplingRate(ctx context.Context) (int32, error)
- func (p *AudioFlingerServiceProxy) GetRenderPosition(ctx context.Context, output int32) (RenderPosition, error)
- func (p *AudioFlingerServiceProxy) GetSoundDoseInterface(ctx context.Context, callback ISoundDoseCallback) (ISoundDose, error)
- func (p *AudioFlingerServiceProxy) GetSupportedLatencyModes(ctx context.Context, output int32) ([]common.AudioLatencyMode, error)
- func (p *AudioFlingerServiceProxy) InvalidateTracks(ctx context.Context, portIds []int32) error
- func (p *AudioFlingerServiceProxy) IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
- func (p *AudioFlingerServiceProxy) Latency(ctx context.Context, output int32) (int32, error)
- func (p *AudioFlingerServiceProxy) ListAudioPatches(ctx context.Context, maxCount int32) ([]AudioPatchFw, error)
- func (p *AudioFlingerServiceProxy) LoadHwModule(ctx context.Context, name string) (int32, error)
- func (p *AudioFlingerServiceProxy) MasterMute(ctx context.Context) (bool, error)
- func (p *AudioFlingerServiceProxy) MasterVolume(ctx context.Context) (float32, error)
- func (p *AudioFlingerServiceProxy) MoveEffects(ctx context.Context, session int32, srcOutput int32, dstOutput int32) error
- func (p *AudioFlingerServiceProxy) NewAudioUniqueId(ctx context.Context, use AudioUniqueIdUse) (int32, error)
- func (p *AudioFlingerServiceProxy) OpenDuplicateOutput(ctx context.Context, output1 int32, output2 int32) (int32, error)
- func (p *AudioFlingerServiceProxy) OpenInput(ctx context.Context, request OpenInputRequest) (OpenInputResponse, error)
- func (p *AudioFlingerServiceProxy) OpenOutput(ctx context.Context, request OpenOutputRequest) (OpenOutputResponse, error)
- func (p *AudioFlingerServiceProxy) QueryEffect(ctx context.Context, index int32) (EffectDescriptor, error)
- func (p *AudioFlingerServiceProxy) QueryNumberEffects(ctx context.Context) (int32, error)
- func (p *AudioFlingerServiceProxy) RegisterClient(ctx context.Context, client IAudioFlingerClient) error
- func (p *AudioFlingerServiceProxy) ReleaseAudioPatch(ctx context.Context, handle int32) error
- func (p *AudioFlingerServiceProxy) ReleaseAudioSessionId(ctx context.Context, audioSession int32, pid int32) error
- func (p *AudioFlingerServiceProxy) RestoreOutput(ctx context.Context, output int32) error
- func (p *AudioFlingerServiceProxy) SampleRate(ctx context.Context, ioHandle int32) (int32, error)
- func (p *AudioFlingerServiceProxy) SetAudioHalPids(ctx context.Context, pids []int32) error
- func (p *AudioFlingerServiceProxy) SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
- func (p *AudioFlingerServiceProxy) SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
- func (p *AudioFlingerServiceProxy) SetDeviceConnectedState(ctx context.Context, devicePort AudioPortFw, state DeviceConnectedState) error
- func (p *AudioFlingerServiceProxy) SetEffectSuspended(ctx context.Context, effectId int32, sessionId int32, suspended bool) error
- func (p *AudioFlingerServiceProxy) SetLowRamDevice(ctx context.Context, isLowRamDevice bool, totalMemory int64) error
- func (p *AudioFlingerServiceProxy) SetMasterBalance(ctx context.Context, balance float32) error
- func (p *AudioFlingerServiceProxy) SetMasterMute(ctx context.Context, muted bool) error
- func (p *AudioFlingerServiceProxy) SetMasterVolume(ctx context.Context, value float32) error
- func (p *AudioFlingerServiceProxy) SetMicMute(ctx context.Context, state bool) error
- func (p *AudioFlingerServiceProxy) SetMode(ctx context.Context, mode common.AudioMode) error
- func (p *AudioFlingerServiceProxy) SetParameters(ctx context.Context, ioHandle int32, keyValuePairs string) error
- func (p *AudioFlingerServiceProxy) SetRecordSilenced(ctx context.Context, portId int32, silenced bool) error
- func (p *AudioFlingerServiceProxy) SetRequestedLatencyMode(ctx context.Context, output int32, latencyMode common.AudioLatencyMode) error
- func (p *AudioFlingerServiceProxy) SetSimulateDeviceConnections(ctx context.Context, enabled bool) error
- func (p *AudioFlingerServiceProxy) SetStreamMute(ctx context.Context, stream common.AudioStreamType, muted bool) error
- func (p *AudioFlingerServiceProxy) SetStreamVolume(ctx context.Context, stream common.AudioStreamType, value float32, ...) error
- func (p *AudioFlingerServiceProxy) SetVibratorInfos(ctx context.Context, vibratorInfos []AudioVibratorInfo) error
- func (p *AudioFlingerServiceProxy) SetVoiceVolume(ctx context.Context, volume float32) error
- func (p *AudioFlingerServiceProxy) StreamMute(ctx context.Context, stream common.AudioStreamType) (bool, error)
- func (p *AudioFlingerServiceProxy) StreamVolume(ctx context.Context, stream common.AudioStreamType, output int32) (float32, error)
- func (p *AudioFlingerServiceProxy) SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
- func (p *AudioFlingerServiceProxy) SuspendOutput(ctx context.Context, output int32) error
- func (p *AudioFlingerServiceProxy) SystemReady(ctx context.Context) error
- func (p *AudioFlingerServiceProxy) UpdateSecondaryOutputs(ctx context.Context, trackSecondaryOutputInfos []TrackSecondaryOutputInfo) error
- type AudioFlingerServiceStub
- type AudioFocusDispatcherProxy
- func (p *AudioFocusDispatcherProxy) AsBinder() binder.IBinder
- func (p *AudioFocusDispatcherProxy) DispatchAudioFocusChange(ctx context.Context, focusChange int32, clientId string) error
- func (p *AudioFocusDispatcherProxy) DispatchFocusResultFromExtPolicy(ctx context.Context, requestResult int32, clientId string) error
- type AudioFocusDispatcherStub
- type AudioFocusInfo
- type AudioFormat
- type AudioGainSys
- type AudioHalVersion
- type AudioHalVersionInfo
- type AudioHalVersionType
- type AudioHwModule
- type AudioIoConfigEvent
- type AudioIoDescriptor
- type AudioMix
- type AudioMixCallbackFlag
- type AudioMixMatchCriterion
- type AudioMixMatchCriterionValue
- func (u *AudioMixMatchCriterionValue) GetAudioSessionId() (int32, bool)
- func (u *AudioMixMatchCriterionValue) GetSource() (common.AudioSource, bool)
- func (u *AudioMixMatchCriterionValue) GetUid() (int32, bool)
- func (u *AudioMixMatchCriterionValue) GetUsage() (common.AudioUsage, bool)
- func (u *AudioMixMatchCriterionValue) GetUserId() (int32, bool)
- func (u *AudioMixMatchCriterionValue) MarshalParcel(p *parcel.Parcel) error
- func (u *AudioMixMatchCriterionValue) SetAudioSessionId(v int32)
- func (u *AudioMixMatchCriterionValue) SetSource(v common.AudioSource)
- func (u *AudioMixMatchCriterionValue) SetUid(v int32)
- func (u *AudioMixMatchCriterionValue) SetUsage(v common.AudioUsage)
- func (u *AudioMixMatchCriterionValue) SetUserId(v int32)
- func (u *AudioMixMatchCriterionValue) UnmarshalParcel(p *parcel.Parcel) error
- type AudioMixRouteFlag
- type AudioMixType
- type AudioMixUpdate
- type AudioMixerAttributes
- type AudioMixerAttributesInternal
- type AudioMixerBehavior
- type AudioModeDispatcherProxy
- type AudioModeDispatcherStub
- type AudioOffloadMode
- type AudioPatchFw
- type AudioPlaybackConfiguration
- type AudioPolicyConfig
- type AudioPolicyDeviceState
- type AudioPolicyForceUse
- type AudioPolicyForcedConfig
- type AudioPolicyServiceClientProxy
- func (p *AudioPolicyServiceClientProxy) AsBinder() binder.IBinder
- func (p *AudioPolicyServiceClientProxy) OnAudioPatchListUpdate(ctx context.Context) error
- func (p *AudioPolicyServiceClientProxy) OnAudioPortListUpdate(ctx context.Context) error
- func (p *AudioPolicyServiceClientProxy) OnAudioVolumeGroupChanged(ctx context.Context, group int32, flags int32) error
- func (p *AudioPolicyServiceClientProxy) OnDynamicPolicyMixStateUpdate(ctx context.Context, regId string, state int32) error
- func (p *AudioPolicyServiceClientProxy) OnRecordingConfigurationUpdate(ctx context.Context, event int32, clientInfo RecordClientInfo, ...) error
- func (p *AudioPolicyServiceClientProxy) OnRoutingUpdated(ctx context.Context) error
- func (p *AudioPolicyServiceClientProxy) OnVolumeRangeInitRequest(ctx context.Context) error
- type AudioPolicyServiceClientStub
- type AudioPolicyServiceProxy
- func (p *AudioPolicyServiceProxy) AcquireSoundTriggerSession(ctx context.Context) (SoundTriggerSession, error)
- func (p *AudioPolicyServiceProxy) AddDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, ...) error
- func (p *AudioPolicyServiceProxy) AddSourceDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, ...) (int32, error)
- func (p *AudioPolicyServiceProxy) AddStreamDefaultEffect(ctx context.Context, type_ common.AudioUuid, uuid common.AudioUuid, ...) (int32, error)
- func (p *AudioPolicyServiceProxy) AsBinder() binder.IBinder
- func (p *AudioPolicyServiceProxy) CanBeSpatialized(ctx context.Context, attr *AudioAttributes, config *common.AudioConfig, ...) (bool, error)
- func (p *AudioPolicyServiceProxy) ClearDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) error
- func (p *AudioPolicyServiceProxy) ClearDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole) error
- func (p *AudioPolicyServiceProxy) ClearPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32) error
- func (p *AudioPolicyServiceProxy) CreateAudioPatch(ctx context.Context, patch AudioPatchFw, handle int32) (int32, error)
- func (p *AudioPolicyServiceProxy) GetAudioPort(ctx context.Context, portId int32) (AudioPortFw, error)
- func (p *AudioPolicyServiceProxy) GetDeviceConnectionState(ctx context.Context, device common.AudioDevice) (AudioPolicyDeviceState, error)
- func (p *AudioPolicyServiceProxy) GetDevicesForAttributes(ctx context.Context, attr AudioAttributes, forVolume bool) ([]common.AudioDevice, error)
- func (p *AudioPolicyServiceProxy) GetDevicesForRoleAndCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole) ([]common.AudioDevice, error)
- func (p *AudioPolicyServiceProxy) GetDevicesForRoleAndStrategy(ctx context.Context, strategy int32, role DeviceRole) ([]common.AudioDevice, error)
- func (p *AudioPolicyServiceProxy) GetDirectPlaybackSupport(ctx context.Context, attr AudioAttributes, config common.AudioConfig) (AudioDirectMode, error)
- func (p *AudioPolicyServiceProxy) GetDirectProfilesForAttributes(ctx context.Context, attr AudioAttributes) ([]common.AudioProfile, error)
- func (p *AudioPolicyServiceProxy) GetForceUse(ctx context.Context, usage AudioPolicyForceUse) (AudioPolicyForcedConfig, error)
- func (p *AudioPolicyServiceProxy) GetHwOffloadFormatsSupportedForBluetoothMedia(ctx context.Context, device common.AudioDeviceDescription) ([]common.AudioFormatDescription, error)
- func (p *AudioPolicyServiceProxy) GetInputForAttr(ctx context.Context, attr AudioAttributes, input int32, riid int32, ...) (GetInputForAttrResponse, error)
- func (p *AudioPolicyServiceProxy) GetMasterMono(ctx context.Context) (bool, error)
- func (p *AudioPolicyServiceProxy) GetMaxVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
- func (p *AudioPolicyServiceProxy) GetMinVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes) (int32, error)
- func (p *AudioPolicyServiceProxy) GetOffloadSupport(ctx context.Context, info common.AudioOffloadInfo) (AudioOffloadMode, error)
- func (p *AudioPolicyServiceProxy) GetOutput(ctx context.Context, stream common.AudioStreamType) (int32, error)
- func (p *AudioPolicyServiceProxy) GetOutputForAttr(ctx context.Context, attr AudioAttributes, session int32, ...) (GetOutputForAttrResponse, error)
- func (p *AudioPolicyServiceProxy) GetOutputForEffect(ctx context.Context, desc EffectDescriptor) (int32, error)
- func (p *AudioPolicyServiceProxy) GetPhoneState(ctx context.Context) (common.AudioMode, error)
- func (p *AudioPolicyServiceProxy) GetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32) (AudioMixerAttributesInternal, error)
- func (p *AudioPolicyServiceProxy) GetProductStrategyFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
- func (p *AudioPolicyServiceProxy) GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
- func (p *AudioPolicyServiceProxy) GetReportedSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription) error
- func (p *AudioPolicyServiceProxy) GetSpatializer(ctx context.Context, callback INativeSpatializerCallback) (GetSpatializerResponse, error)
- func (p *AudioPolicyServiceProxy) GetStrategyForStream(ctx context.Context, stream common.AudioStreamType) (int32, error)
- func (p *AudioPolicyServiceProxy) GetStreamVolumeDB(ctx context.Context, stream common.AudioStreamType, index int32, ...) (float32, error)
- func (p *AudioPolicyServiceProxy) GetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, ...) (int32, error)
- func (p *AudioPolicyServiceProxy) GetSupportedMixerAttributes(ctx context.Context, portId int32) ([]AudioMixerAttributesInternal, error)
- func (p *AudioPolicyServiceProxy) GetSurroundFormats(ctx context.Context, count common.Int, formats []common.AudioFormatDescription, ...) error
- func (p *AudioPolicyServiceProxy) GetVolumeGroupFromAudioAttributes(ctx context.Context, aa AudioAttributes, fallbackOnDefault bool) (int32, error)
- func (p *AudioPolicyServiceProxy) GetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, ...) (int32, error)
- func (p *AudioPolicyServiceProxy) HandleDeviceConfigChange(ctx context.Context, device common.AudioDevice, deviceName string, ...) error
- func (p *AudioPolicyServiceProxy) InitStreamVolume(ctx context.Context, stream common.AudioStreamType, indexMin int32, ...) error
- func (p *AudioPolicyServiceProxy) IsCallScreenModeSupported(ctx context.Context) (bool, error)
- func (p *AudioPolicyServiceProxy) IsDirectOutputSupported(ctx context.Context, config common.AudioConfigBase, attributes AudioAttributes) (bool, error)
- func (p *AudioPolicyServiceProxy) IsHapticPlaybackSupported(ctx context.Context) (bool, error)
- func (p *AudioPolicyServiceProxy) IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
- func (p *AudioPolicyServiceProxy) IsSourceActive(ctx context.Context, source common.AudioSource) (bool, error)
- func (p *AudioPolicyServiceProxy) IsStreamActive(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
- func (p *AudioPolicyServiceProxy) IsStreamActiveRemotely(ctx context.Context, stream common.AudioStreamType, inPastMs int32) (bool, error)
- func (p *AudioPolicyServiceProxy) IsUltrasoundSupported(ctx context.Context) (bool, error)
- func (p *AudioPolicyServiceProxy) ListAudioPatches(ctx context.Context, count common.Int, patches []AudioPatchFw) (int32, error)
- func (p *AudioPolicyServiceProxy) ListAudioPorts(ctx context.Context, role AudioPortRole, type_ AudioPortType, count common.Int, ...) (int32, error)
- func (p *AudioPolicyServiceProxy) ListAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
- func (p *AudioPolicyServiceProxy) ListAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
- func (p *AudioPolicyServiceProxy) ListDeclaredDevicePorts(ctx context.Context, role AudioPortRole) ([]AudioPortFw, error)
- func (p *AudioPolicyServiceProxy) MoveEffectsToIo(ctx context.Context, ids []int32, io int32) error
- func (p *AudioPolicyServiceProxy) OnNewAudioModulesAvailable(ctx context.Context) error
- func (p *AudioPolicyServiceProxy) QueryDefaultPreProcessing(ctx context.Context, audioSession int32, count common.Int) ([]EffectDescriptor, error)
- func (p *AudioPolicyServiceProxy) RegisterClient(ctx context.Context, client IAudioPolicyServiceClient) error
- func (p *AudioPolicyServiceProxy) RegisterEffect(ctx context.Context, desc EffectDescriptor, io int32, strategy int32, ...) error
- func (p *AudioPolicyServiceProxy) RegisterPolicyMixes(ctx context.Context, mixes []AudioMix, registration bool) error
- func (p *AudioPolicyServiceProxy) RegisterSoundTriggerCaptureStateListener(ctx context.Context, listener ICaptureStateListener) (bool, error)
- func (p *AudioPolicyServiceProxy) ReleaseAudioPatch(ctx context.Context, handle int32) error
- func (p *AudioPolicyServiceProxy) ReleaseInput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) ReleaseOutput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) ReleaseSoundTriggerSession(ctx context.Context, session int32) error
- func (p *AudioPolicyServiceProxy) RemoveDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, ...) error
- func (p *AudioPolicyServiceProxy) RemoveDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, ...) error
- func (p *AudioPolicyServiceProxy) RemoveSourceDefaultEffect(ctx context.Context, id int32) error
- func (p *AudioPolicyServiceProxy) RemoveStreamDefaultEffect(ctx context.Context, id int32) error
- func (p *AudioPolicyServiceProxy) RemoveUidDeviceAffinities(ctx context.Context, uid int32) error
- func (p *AudioPolicyServiceProxy) RemoveUserIdDeviceAffinities(ctx context.Context) error
- func (p *AudioPolicyServiceProxy) SetA11yServicesUids(ctx context.Context, uids []int32) error
- func (p *AudioPolicyServiceProxy) SetActiveAssistantServicesUids(ctx context.Context, activeUids []int32) error
- func (p *AudioPolicyServiceProxy) SetAllowedCapturePolicy(ctx context.Context, uid int32, capturePolicy int32) error
- func (p *AudioPolicyServiceProxy) SetAssistantServicesUids(ctx context.Context, uids []int32) error
- func (p *AudioPolicyServiceProxy) SetAudioPortCallbacksEnabled(ctx context.Context, enabled bool) error
- func (p *AudioPolicyServiceProxy) SetAudioPortConfig(ctx context.Context, config AudioPortConfigFw) error
- func (p *AudioPolicyServiceProxy) SetAudioVolumeGroupCallbacksEnabled(ctx context.Context, enabled bool) error
- func (p *AudioPolicyServiceProxy) SetCurrentImeUid(ctx context.Context, uid int32) error
- func (p *AudioPolicyServiceProxy) SetDeviceConnectionState(ctx context.Context, state AudioPolicyDeviceState, port common.AudioPort, ...) error
- func (p *AudioPolicyServiceProxy) SetDevicesRoleForCapturePreset(ctx context.Context, audioSource common.AudioSource, role DeviceRole, ...) error
- func (p *AudioPolicyServiceProxy) SetDevicesRoleForStrategy(ctx context.Context, strategy int32, role DeviceRole, ...) error
- func (p *AudioPolicyServiceProxy) SetEffectEnabled(ctx context.Context, id int32, enabled bool) error
- func (p *AudioPolicyServiceProxy) SetForceUse(ctx context.Context, usage AudioPolicyForceUse, config AudioPolicyForcedConfig) error
- func (p *AudioPolicyServiceProxy) SetMasterMono(ctx context.Context, mono bool) error
- func (p *AudioPolicyServiceProxy) SetPhoneState(ctx context.Context, state common.AudioMode, uid int32) error
- func (p *AudioPolicyServiceProxy) SetPreferredMixerAttributes(ctx context.Context, attr AudioAttributes, portId int32, uid int32, ...) error
- func (p *AudioPolicyServiceProxy) SetRttEnabled(ctx context.Context, enabled bool) error
- func (p *AudioPolicyServiceProxy) SetStreamVolumeIndex(ctx context.Context, stream common.AudioStreamType, ...) error
- func (p *AudioPolicyServiceProxy) SetSupportedSystemUsages(ctx context.Context, systemUsages []common.AudioUsage) error
- func (p *AudioPolicyServiceProxy) SetSurroundFormatEnabled(ctx context.Context, audioFormat common.AudioFormatDescription, enabled bool) error
- func (p *AudioPolicyServiceProxy) SetUidDeviceAffinities(ctx context.Context, uid int32, devices []common.AudioDevice) error
- func (p *AudioPolicyServiceProxy) SetUserIdDeviceAffinities(ctx context.Context, devices []common.AudioDevice) error
- func (p *AudioPolicyServiceProxy) SetVolumeIndexForAttributes(ctx context.Context, attr AudioAttributes, ...) error
- func (p *AudioPolicyServiceProxy) StartAudioSource(ctx context.Context, source AudioPortConfigFw, attributes AudioAttributes) (int32, error)
- func (p *AudioPolicyServiceProxy) StartInput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) StartOutput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) StopAudioSource(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) StopInput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) StopOutput(ctx context.Context, portId int32) error
- func (p *AudioPolicyServiceProxy) UnregisterEffect(ctx context.Context, id int32) error
- func (p *AudioPolicyServiceProxy) UpdatePolicyMixes(ctx context.Context, updates []AudioMixUpdate) error
- type AudioPolicyServiceStub
- type AudioPortConfigFw
- type AudioPortConfigSys
- type AudioPortDeviceExtSys
- type AudioPortExtSys
- func (u *AudioPortExtSys) GetDevice() (AudioPortDeviceExtSys, bool)
- func (u *AudioPortExtSys) GetMix() (AudioPortMixExtSys, bool)
- func (u *AudioPortExtSys) GetSession() (int32, bool)
- func (u *AudioPortExtSys) GetUnspecified() (bool, bool)
- func (u *AudioPortExtSys) MarshalParcel(p *parcel.Parcel) error
- func (u *AudioPortExtSys) SetDevice(v AudioPortDeviceExtSys)
- func (u *AudioPortExtSys) SetMix(v AudioPortMixExtSys)
- func (u *AudioPortExtSys) SetSession(v int32)
- func (u *AudioPortExtSys) SetUnspecified(v bool)
- func (u *AudioPortExtSys) UnmarshalParcel(p *parcel.Parcel) error
- type AudioPortFw
- type AudioPortMixExtSys
- type AudioPortRole
- type AudioPortSys
- type AudioPortType
- type AudioPresentation
- type AudioProductStrategy
- type AudioProfileSys
- type AudioRecordProxy
- func (p *AudioRecordProxy) AsBinder() binder.IBinder
- func (p *AudioRecordProxy) GetActiveMicrophones(ctx context.Context, activeMicrophones []MicrophoneInfoFw) error
- func (p *AudioRecordProxy) SetPreferredMicrophoneDirection(ctx context.Context, direction int32) error
- func (p *AudioRecordProxy) SetPreferredMicrophoneFieldDimension(ctx context.Context, zoom float32) error
- func (p *AudioRecordProxy) ShareAudioHistory(ctx context.Context, sharedAudioPackageName string, sharedAudioStartMs int64) error
- func (p *AudioRecordProxy) Start(ctx context.Context, event int32, triggerSession int32) error
- func (p *AudioRecordProxy) Stop(ctx context.Context) error
- type AudioRecordStub
- type AudioRecordingConfiguration
- type AudioRoute
- type AudioRoutesInfo
- type AudioRoutesObserverProxy
- type AudioRoutesObserverStub
- type AudioServerStateDispatcherProxy
- type AudioServerStateDispatcherStub
- type AudioServiceProxy
- func (p *AudioServiceProxy) AbandonAudioFocus(ctx context.Context, fd IAudioFocusDispatcher, clientId string, ...) (int32, error)
- func (p *AudioServiceProxy) AbandonAudioFocusForTest(ctx context.Context, fd IAudioFocusDispatcher, clientId string, ...) (int32, error)
- func (p *AudioServiceProxy) AddAssistantServicesUids(ctx context.Context, assistantUID []int32) error
- func (p *AudioServiceProxy) AddLoudnessCodecInfo(ctx context.Context, sessionId int32, mediaCodecHash int32, ...) error
- func (p *AudioServiceProxy) AddMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, ...) (int32, error)
- func (p *AudioServiceProxy) AddOnDevicesForAttributesChangedListener(ctx context.Context, attributes AudioAttributes, ...) error
- func (p *AudioServiceProxy) AddSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
- func (p *AudioServiceProxy) AdjustStreamVolume(ctx context.Context, streamType int32, direction int32, flags int32) error
- func (p *AudioServiceProxy) AdjustStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, ...) error
- func (p *AudioServiceProxy) AdjustStreamVolumeWithAttribution(ctx context.Context, streamType int32, direction int32, flags int32) error
- func (p *AudioServiceProxy) AdjustSuggestedStreamVolume(ctx context.Context, direction int32, suggestedStreamType int32, flags int32) error
- func (p *AudioServiceProxy) AdjustSuggestedStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, ...) error
- func (p *AudioServiceProxy) AdjustVolume(ctx context.Context, direction int32, flags int32) error
- func (p *AudioServiceProxy) AdjustVolumeGroupVolume(ctx context.Context, groupId int32, direction int32, flags int32) error
- func (p *AudioServiceProxy) AreNavigationRepeatSoundEffectsEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) AsBinder() binder.IBinder
- func (p *AudioServiceProxy) CanBeSpatialized(ctx context.Context, aa AudioAttributes, af AudioFormat) (bool, error)
- func (p *AudioServiceProxy) CancelMuteAwaitConnection(ctx context.Context, dev AudioDeviceAttributes) error
- func (p *AudioServiceProxy) ClearFadeManagerConfigurationForFocusLoss(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) ClearPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) (int32, error)
- func (p *AudioServiceProxy) ClearPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32) (int32, error)
- func (p *AudioServiceProxy) DisableSafeMediaVolume(ctx context.Context) error
- func (p *AudioServiceProxy) DispatchFocusChange(ctx context.Context, afi AudioFocusInfo, focusChange int32, ...) (int32, error)
- func (p *AudioServiceProxy) DispatchFocusChangeWithFade(ctx context.Context, afi AudioFocusInfo, focusChange int32, ...) (int32, error)
- func (p *AudioServiceProxy) EnterAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder, uids []int32) (bool, error)
- func (p *AudioServiceProxy) ExitAudioFocusFreezeForTest(ctx context.Context, cb binder.IBinder) (bool, error)
- func (p *AudioServiceProxy) ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
- func (p *AudioServiceProxy) ForceRemoteSubmixFullVolume(ctx context.Context, startForcing bool, cb binder.IBinder) error
- func (p *AudioServiceProxy) ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
- func (p *AudioServiceProxy) ForceVolumeControlStream(ctx context.Context, streamType int32, cb binder.IBinder) error
- func (p *AudioServiceProxy) GetActiveAssistantServiceUids(ctx context.Context) ([]int32, error)
- func (p *AudioServiceProxy) GetActivePlaybackConfigurations(ctx context.Context) ([]AudioPlaybackConfiguration, error)
- func (p *AudioServiceProxy) GetActiveRecordingConfigurations(ctx context.Context) ([]AudioRecordingConfiguration, error)
- func (p *AudioServiceProxy) GetActualHeadTrackingMode(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
- func (p *AudioServiceProxy) GetAllowedCapturePolicy(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetAssistantServicesUids(ctx context.Context) ([]int32, error)
- func (p *AudioServiceProxy) GetAudioProductStrategies(ctx context.Context) ([]AudioProductStrategy, error)
- func (p *AudioServiceProxy) GetAudioVolumeGroups(ctx context.Context) ([]AudioVolumeGroup, error)
- func (p *AudioServiceProxy) GetAvailableCommunicationDeviceIds(ctx context.Context) ([]int32, error)
- func (p *AudioServiceProxy) GetBluetoothAudioDeviceCategory(ctx context.Context, address string) (int32, error)
- func (p *AudioServiceProxy) GetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool) (int32, error)
- func (p *AudioServiceProxy) GetCommunicationDevice(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetCsd(ctx context.Context) (float32, error)
- func (p *AudioServiceProxy) GetCurrentAudioFocus(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetDefaultVolumeInfo(ctx context.Context) (VolumeInfo, error)
- func (p *AudioServiceProxy) GetDesiredHeadTrackingMode(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetDeviceMaskForStream(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) (VolumeInfo, error)
- func (p *AudioServiceProxy) GetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes) (int32, error)
- func (p *AudioServiceProxy) GetDevicesForAttributes(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetDevicesForAttributesUnprotected(ctx context.Context, attributes AudioAttributes) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetEncodedSurroundMode(ctx context.Context, targetSdkVersion int32) (int32, error)
- func (p *AudioServiceProxy) GetFadeManagerConfigurationForFocusLoss(ctx context.Context) (FadeManagerConfiguration, error)
- func (p *AudioServiceProxy) GetFadeOutDurationOnFocusLossMillis(ctx context.Context, aa AudioAttributes) (int64, error)
- func (p *AudioServiceProxy) GetFocusDuckedUidsForTest(ctx context.Context) ([]any, error)
- func (p *AudioServiceProxy) GetFocusFadeOutDurationForTest(ctx context.Context) (int64, error)
- func (p *AudioServiceProxy) GetFocusRampTimeMs(ctx context.Context, focusGain int32, attr AudioAttributes) (int32, error)
- func (p *AudioServiceProxy) GetFocusStack(ctx context.Context) ([]AudioFocusInfo, error)
- func (p *AudioServiceProxy) GetFocusUnmuteDelayAfterFadeOutForTest(ctx context.Context) (int64, error)
- func (p *AudioServiceProxy) GetHalVersion(ctx context.Context) (AudioHalVersionInfo, error)
- func (p *AudioServiceProxy) GetIndependentStreamTypes(ctx context.Context) ([]any, error)
- func (p *AudioServiceProxy) GetLastAudibleStreamVolume(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetLastAudibleVolumeForVolumeGroup(ctx context.Context, groupId int32) (int32, error)
- func (p *AudioServiceProxy) GetLoudnessParams(ctx context.Context, codecInfo LoudnessCodecInfo) (os.PersistableBundle, error)
- func (p *AudioServiceProxy) GetMaxAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes) (int64, error)
- func (p *AudioServiceProxy) GetMode(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetMutingExpectedDevice(ctx context.Context) (AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetNonDefaultDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetOutputRs2UpperBound(ctx context.Context) (float32, error)
- func (p *AudioServiceProxy) GetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetPreferredDevicesForStrategy(ctx context.Context, strategy int32) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetRegisteredPolicyMixes(ctx context.Context) ([]AudioMix, error)
- func (p *AudioServiceProxy) GetReportedSurroundFormats(ctx context.Context) ([]any, error)
- func (p *AudioServiceProxy) GetRingerModeExternal(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetRingerModeInternal(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetRingtonePlayer(ctx context.Context) (IRingtonePlayer, error)
- func (p *AudioServiceProxy) GetSpatializerCompatibleAudioDevices(ctx context.Context) ([]AudioDeviceAttributes, error)
- func (p *AudioServiceProxy) GetSpatializerImmersiveAudioLevel(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetSpatializerOutput(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetSpatializerParameter(ctx context.Context, key int32, value []byte) error
- func (p *AudioServiceProxy) GetStreamMaxVolume(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetStreamMinVolume(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetStreamTypeAlias(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetStreamVolume(ctx context.Context, streamType int32) (int32, error)
- func (p *AudioServiceProxy) GetSupportedHeadTrackingModes(ctx context.Context) ([]int32, error)
- func (p *AudioServiceProxy) GetSupportedSystemUsages(ctx context.Context) ([]int32, error)
- func (p *AudioServiceProxy) GetSurroundFormats(ctx context.Context) (map[any]any, error)
- func (p *AudioServiceProxy) GetUiSoundsStreamType(ctx context.Context) (int32, error)
- func (p *AudioServiceProxy) GetVibrateSetting(ctx context.Context, vibrateType int32) (int32, error)
- func (p *AudioServiceProxy) GetVolumeController(ctx context.Context) (IVolumeController, error)
- func (p *AudioServiceProxy) GetVolumeGroupMaxVolumeIndex(ctx context.Context, groupId int32) (int32, error)
- func (p *AudioServiceProxy) GetVolumeGroupMinVolumeIndex(ctx context.Context, groupId int32) (int32, error)
- func (p *AudioServiceProxy) GetVolumeGroupVolumeIndex(ctx context.Context, groupId int32) (int32, error)
- func (p *AudioServiceProxy) HandleBluetoothActiveDeviceChanged(ctx context.Context, newDevice bluetooth.BluetoothDevice, ...) error
- func (p *AudioServiceProxy) HandleVolumeKey(ctx context.Context, event view.KeyEvent, isOnTv bool, caller string) error
- func (p *AudioServiceProxy) HasHapticChannels(ctx context.Context, uri net.Uri) (bool, error)
- func (p *AudioServiceProxy) HasHeadTracker(ctx context.Context, device AudioDeviceAttributes) (bool, error)
- func (p *AudioServiceProxy) HasRegisteredDynamicPolicy(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsAudioServerRunning(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsBluetoothA2dpOn(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsBluetoothAudioDeviceCategoryFixed(ctx context.Context, address string) (bool, error)
- func (p *AudioServiceProxy) IsBluetoothScoOn(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsBluetoothVariableLatencyEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsCallScreeningModeSupported(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsCameraSoundForced(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsCsdAsAFeatureAvailable(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsCsdAsAFeatureEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsCsdEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsHdmiSystemAudioSupported(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsHeadTrackerAvailable(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsHeadTrackerEnabled(ctx context.Context, device AudioDeviceAttributes) (bool, error)
- func (p *AudioServiceProxy) IsHomeSoundEffectEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsHotwordStreamSupported(ctx context.Context, lookbackAudio bool) (bool, error)
- func (p *AudioServiceProxy) IsMasterMute(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsMicrophoneMuted(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsMusicActive(ctx context.Context, remotely bool) (bool, error)
- func (p *AudioServiceProxy) IsPstnCallAudioInterceptable(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsSpatializerAvailable(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsSpatializerAvailableForDevice(ctx context.Context, device AudioDeviceAttributes) (bool, error)
- func (p *AudioServiceProxy) IsSpatializerEnabled(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsSpeakerphoneOn(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsStreamAffectedByMute(ctx context.Context, streamType int32) (bool, error)
- func (p *AudioServiceProxy) IsStreamAffectedByRingerMode(ctx context.Context, streamType int32) (bool, error)
- func (p *AudioServiceProxy) IsStreamMute(ctx context.Context, streamType int32) (bool, error)
- func (p *AudioServiceProxy) IsSurroundFormatEnabled(ctx context.Context, audioFormat int32) (bool, error)
- func (p *AudioServiceProxy) IsUltrasoundSupported(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsValidRingerMode(ctx context.Context, ringerMode int32) (bool, error)
- func (p *AudioServiceProxy) IsVolumeControlUsingVolumeGroups(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsVolumeFixed(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) IsVolumeGroupMuted(ctx context.Context, groupId int32) (bool, error)
- func (p *AudioServiceProxy) LoadSoundEffects(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) LowerVolumeToRs1(ctx context.Context) error
- func (p *AudioServiceProxy) MuteAwaitConnection(ctx context.Context, usagesToMute []int32, dev AudioDeviceAttributes, ...) error
- func (p *AudioServiceProxy) NotifyVolumeControllerVisible(ctx context.Context, controller IVolumeController, visible bool) error
- func (p *AudioServiceProxy) PlaySoundEffect(ctx context.Context, effectType int32) error
- func (p *AudioServiceProxy) PlaySoundEffectVolume(ctx context.Context, effectType int32, volume float32) error
- func (p *AudioServiceProxy) PlayerAttributes(ctx context.Context, piid int32, attr AudioAttributes) error
- func (p *AudioServiceProxy) PlayerEvent(ctx context.Context, piid int32, event int32, eventId int32) error
- func (p *AudioServiceProxy) PlayerHasOpPlayAudio(ctx context.Context, piid int32, hasOpPlayAudio bool) error
- func (p *AudioServiceProxy) PlayerSessionId(ctx context.Context, piid int32, sessionId int32) error
- func (p *AudioServiceProxy) PortEvent(ctx context.Context, portId int32, event int32, extras *os.PersistableBundle) error
- func (p *AudioServiceProxy) RecenterHeadTracker(ctx context.Context) error
- func (p *AudioServiceProxy) RecorderEvent(ctx context.Context, riid int32, event int32) error
- func (p *AudioServiceProxy) RegisterAudioPolicy(ctx context.Context, policyConfig AudioPolicyConfig, ...) (string, error)
- func (p *AudioServiceProxy) RegisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
- func (p *AudioServiceProxy) RegisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
- func (p *AudioServiceProxy) RegisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
- func (p *AudioServiceProxy) RegisterDeviceVolumeBehaviorDispatcher(ctx context.Context, register bool, dispatcher IDeviceVolumeBehaviorDispatcher) error
- func (p *AudioServiceProxy) RegisterDeviceVolumeDispatcherForAbsoluteVolume(ctx context.Context, register bool, cb IAudioDeviceVolumeDispatcher, ...) error
- func (p *AudioServiceProxy) RegisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
- func (p *AudioServiceProxy) RegisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
- func (p *AudioServiceProxy) RegisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
- func (p *AudioServiceProxy) RegisterMuteAwaitConnectionDispatcher(ctx context.Context, cb IMuteAwaitConnectionCallback, register bool) error
- func (p *AudioServiceProxy) RegisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
- func (p *AudioServiceProxy) RegisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
- func (p *AudioServiceProxy) RegisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
- func (p *AudioServiceProxy) RegisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
- func (p *AudioServiceProxy) RegisterSpatializerHeadTrackerAvailableCallback(ctx context.Context, cb ISpatializerHeadTrackerAvailableCallback, ...) error
- func (p *AudioServiceProxy) RegisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
- func (p *AudioServiceProxy) RegisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
- func (p *AudioServiceProxy) RegisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
- func (p *AudioServiceProxy) RegisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
- func (p *AudioServiceProxy) RegisterStreamAliasingDispatcher(ctx context.Context, isad IStreamAliasingDispatcher, register bool) error
- func (p *AudioServiceProxy) ReleasePlayer(ctx context.Context, piid int32) error
- func (p *AudioServiceProxy) ReleaseRecorder(ctx context.Context, riid int32) error
- func (p *AudioServiceProxy) ReloadAudioSettings(ctx context.Context) error
- func (p *AudioServiceProxy) RemoveAssistantServicesUids(ctx context.Context, assistantUID []int32) error
- func (p *AudioServiceProxy) RemoveDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
- func (p *AudioServiceProxy) RemoveLoudnessCodecInfo(ctx context.Context, sessionId int32, codecInfo LoudnessCodecInfo) error
- func (p *AudioServiceProxy) RemoveMixForPolicy(ctx context.Context, policyConfig AudioPolicyConfig, ...) (int32, error)
- func (p *AudioServiceProxy) RemoveOnDevicesForAttributesChangedListener(ctx context.Context, callback IDevicesForAttributesCallback) error
- func (p *AudioServiceProxy) RemovePreferredDevicesForStrategy(ctx context.Context, strategy int32) (int32, error)
- func (p *AudioServiceProxy) RemoveSpatializerCompatibleAudioDevice(ctx context.Context, ada AudioDeviceAttributes) error
- func (p *AudioServiceProxy) RemoveUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32) (int32, error)
- func (p *AudioServiceProxy) RemoveUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) (int32, error)
- func (p *AudioServiceProxy) RequestAudioFocus(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, ...) (int32, error)
- func (p *AudioServiceProxy) RequestAudioFocusForTest(ctx context.Context, aa AudioAttributes, durationHint int32, cb binder.IBinder, ...) (int32, error)
- func (p *AudioServiceProxy) SendFocusLoss(ctx context.Context, focusLoser AudioFocusInfo, ...) (bool, error)
- func (p *AudioServiceProxy) SetA2dpSuspended(ctx context.Context, on bool) error
- func (p *AudioServiceProxy) SetActiveAssistantServiceUids(ctx context.Context, activeUids []int32) error
- func (p *AudioServiceProxy) SetAdditionalOutputDeviceDelay(ctx context.Context, device AudioDeviceAttributes, delayMillis int64) (bool, error)
- func (p *AudioServiceProxy) SetAllowedCapturePolicy(ctx context.Context, capturePolicy int32) (int32, error)
- func (p *AudioServiceProxy) SetBluetoothA2dpOn(ctx context.Context, on bool) error
- func (p *AudioServiceProxy) SetBluetoothAudioDeviceCategory(ctx context.Context, address string, deviceCategory int32) (bool, error)
- func (p *AudioServiceProxy) SetBluetoothAudioDeviceCategory_legacy(ctx context.Context, address string, isBle bool, deviceCategory int32) error
- func (p *AudioServiceProxy) SetBluetoothScoOn(ctx context.Context, on bool) error
- func (p *AudioServiceProxy) SetBluetoothVariableLatencyEnabled(ctx context.Context, enabled bool) error
- func (p *AudioServiceProxy) SetCommunicationDevice(ctx context.Context, cb binder.IBinder, portId int32) (bool, error)
- func (p *AudioServiceProxy) SetCsd(ctx context.Context, csd float32) error
- func (p *AudioServiceProxy) SetCsdAsAFeatureEnabled(ctx context.Context, csdToggleValue bool) error
- func (p *AudioServiceProxy) SetDesiredHeadTrackingMode(ctx context.Context, mode int32) error
- func (p *AudioServiceProxy) SetDeviceAsNonDefaultForStrategy(ctx context.Context, strategy int32, device AudioDeviceAttributes) (int32, error)
- func (p *AudioServiceProxy) SetDeviceVolume(ctx context.Context, vi VolumeInfo, ada AudioDeviceAttributes) error
- func (p *AudioServiceProxy) SetDeviceVolumeBehavior(ctx context.Context, device AudioDeviceAttributes, deviceVolumeBehavior int32, ...) error
- func (p *AudioServiceProxy) SetEncodedSurroundMode(ctx context.Context, mode int32) (bool, error)
- func (p *AudioServiceProxy) SetFadeManagerConfigurationForFocusLoss(ctx context.Context, fmcForFocusLoss FadeManagerConfiguration) (int32, error)
- func (p *AudioServiceProxy) SetFocusPropertiesForPolicy(ctx context.Context, duckingBehavior int32, ...) (int32, error)
- func (p *AudioServiceProxy) SetFocusRequestResultFromExtPolicy(ctx context.Context, afi AudioFocusInfo, requestResult int32, ...) error
- func (p *AudioServiceProxy) SetHdmiSystemAudioSupported(ctx context.Context, on bool) (int32, error)
- func (p *AudioServiceProxy) SetHeadTrackerEnabled(ctx context.Context, enabled bool, device AudioDeviceAttributes) error
- func (p *AudioServiceProxy) SetHomeSoundEffectEnabled(ctx context.Context, enabled bool) error
- func (p *AudioServiceProxy) SetLeAudioSuspended(ctx context.Context, enable bool) error
- func (p *AudioServiceProxy) SetMasterMute(ctx context.Context, mute bool, flags int32) error
- func (p *AudioServiceProxy) SetMicrophoneMute(ctx context.Context, on bool) error
- func (p *AudioServiceProxy) SetMicrophoneMuteFromSwitch(ctx context.Context, on bool) error
- func (p *AudioServiceProxy) SetMode(ctx context.Context, mode int32, cb binder.IBinder) error
- func (p *AudioServiceProxy) SetMultiAudioFocusEnabled(ctx context.Context, enabled bool) error
- func (p *AudioServiceProxy) SetNavigationRepeatSoundEffectsEnabled(ctx context.Context, enabled bool) error
- func (p *AudioServiceProxy) SetNotifAliasRingForTest(ctx context.Context, alias bool) error
- func (p *AudioServiceProxy) SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
- func (p *AudioServiceProxy) SetPreferredDevicesForCapturePreset(ctx context.Context, capturePreset int32, devices []AudioDeviceAttributes) (int32, error)
- func (p *AudioServiceProxy) SetPreferredDevicesForStrategy(ctx context.Context, strategy int32, devices []AudioDeviceAttributes) (int32, error)
- func (p *AudioServiceProxy) SetPreferredMixerAttributes(ctx context.Context, aa AudioAttributes, portId int32, ...) (int32, error)
- func (p *AudioServiceProxy) SetRingerModeExternal(ctx context.Context, ringerMode int32, caller string) error
- func (p *AudioServiceProxy) SetRingerModeInternal(ctx context.Context, ringerMode int32, caller string) error
- func (p *AudioServiceProxy) SetRingtonePlayer(ctx context.Context, player IRingtonePlayer) error
- func (p *AudioServiceProxy) SetRttEnabled(ctx context.Context, rttEnabled bool) error
- func (p *AudioServiceProxy) SetSpatializerEnabled(ctx context.Context, enabled bool) error
- func (p *AudioServiceProxy) SetSpatializerGlobalTransform(ctx context.Context, transform []float32) error
- func (p *AudioServiceProxy) SetSpatializerParameter(ctx context.Context, key int32, value []byte) error
- func (p *AudioServiceProxy) SetSpeakerphoneOn(ctx context.Context, cb binder.IBinder, on bool) error
- func (p *AudioServiceProxy) SetStreamVolume(ctx context.Context, streamType int32, index int32, flags int32) error
- func (p *AudioServiceProxy) SetStreamVolumeForUid(ctx context.Context, streamType int32, direction int32, flags int32, ...) error
- func (p *AudioServiceProxy) SetStreamVolumeWithAttribution(ctx context.Context, streamType int32, index int32, flags int32) error
- func (p *AudioServiceProxy) SetSupportedSystemUsages(ctx context.Context, systemUsages []int32) error
- func (p *AudioServiceProxy) SetSurroundFormatEnabled(ctx context.Context, audioFormat int32, enabled bool) (bool, error)
- func (p *AudioServiceProxy) SetTestDeviceConnectionState(ctx context.Context, device AudioDeviceAttributes, connected bool) error
- func (p *AudioServiceProxy) SetUidDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, uid int32, ...) (int32, error)
- func (p *AudioServiceProxy) SetUserIdDeviceAffinity(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback, deviceTypes []int32, ...) (int32, error)
- func (p *AudioServiceProxy) SetVibrateSetting(ctx context.Context, vibrateType int32, vibrateSetting int32) error
- func (p *AudioServiceProxy) SetVolumeController(ctx context.Context, controller IVolumeController) error
- func (p *AudioServiceProxy) SetVolumeGroupVolumeIndex(ctx context.Context, groupId int32, index int32, flags int32) error
- func (p *AudioServiceProxy) SetVolumePolicy(ctx context.Context, policy VolumePolicy) error
- func (p *AudioServiceProxy) SetWiredDeviceConnectionState(ctx context.Context, aa AudioDeviceAttributes, state int32, caller string) error
- func (p *AudioServiceProxy) ShouldNotificationSoundPlay(ctx context.Context, aa AudioAttributes) (bool, error)
- func (p *AudioServiceProxy) ShouldVibrate(ctx context.Context, vibrateType int32) (bool, error)
- func (p *AudioServiceProxy) StartBluetoothSco(ctx context.Context, cb binder.IBinder, targetSdkVersion int32) error
- func (p *AudioServiceProxy) StartBluetoothScoVirtualCall(ctx context.Context, cb binder.IBinder) error
- func (p *AudioServiceProxy) StartLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
- func (p *AudioServiceProxy) StartWatchingRoutes(ctx context.Context, observer IAudioRoutesObserver) (AudioRoutesInfo, error)
- func (p *AudioServiceProxy) StopBluetoothSco(ctx context.Context, cb binder.IBinder) error
- func (p *AudioServiceProxy) StopLoudnessCodecUpdates(ctx context.Context, sessionId int32) error
- func (p *AudioServiceProxy) SupportsBluetoothVariableLatency(ctx context.Context) (bool, error)
- func (p *AudioServiceProxy) TrackPlayer(ctx context.Context, pic PlayerBasePlayerIdCard) (int32, error)
- func (p *AudioServiceProxy) TrackRecorder(ctx context.Context, recorder binder.IBinder) (int32, error)
- func (p *AudioServiceProxy) UnloadSoundEffects(ctx context.Context) error
- func (p *AudioServiceProxy) UnregisterAudioFocusClient(ctx context.Context, clientId string) error
- func (p *AudioServiceProxy) UnregisterAudioPolicy(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
- func (p *AudioServiceProxy) UnregisterAudioPolicyAsync(ctx context.Context, pcb audiopolicy.IAudioPolicyCallback) error
- func (p *AudioServiceProxy) UnregisterAudioServerStateDispatcher(ctx context.Context, asd IAudioServerStateDispatcher) error
- func (p *AudioServiceProxy) UnregisterCapturePresetDevicesRoleDispatcher(ctx context.Context, dispatcher ICapturePresetDevicesRoleDispatcher) error
- func (p *AudioServiceProxy) UnregisterCommunicationDeviceDispatcher(ctx context.Context, dispatcher ICommunicationDeviceDispatcher) error
- func (p *AudioServiceProxy) UnregisterHeadToSoundstagePoseCallback(ctx context.Context, cb ISpatializerHeadToSoundStagePoseCallback) error
- func (p *AudioServiceProxy) UnregisterLoudnessCodecUpdatesDispatcher(ctx context.Context, dispatcher ILoudnessCodecUpdatesDispatcher) error
- func (p *AudioServiceProxy) UnregisterModeDispatcher(ctx context.Context, dispatcher IAudioModeDispatcher) error
- func (p *AudioServiceProxy) UnregisterPlaybackCallback(ctx context.Context, pcdb IPlaybackConfigDispatcher) error
- func (p *AudioServiceProxy) UnregisterPreferredMixerAttributesDispatcher(ctx context.Context, dispatcher IPreferredMixerAttributesDispatcher) error
- func (p *AudioServiceProxy) UnregisterRecordingCallback(ctx context.Context, rcdb IRecordingConfigDispatcher) error
- func (p *AudioServiceProxy) UnregisterSpatializerCallback(ctx context.Context, cb ISpatializerCallback) error
- func (p *AudioServiceProxy) UnregisterSpatializerHeadTrackingCallback(ctx context.Context, cb ISpatializerHeadTrackingModeCallback) error
- func (p *AudioServiceProxy) UnregisterSpatializerOutputCallback(ctx context.Context, cb ISpatializerOutputCallback) error
- func (p *AudioServiceProxy) UnregisterStrategyNonDefaultDevicesDispatcher(ctx context.Context, dispatcher IStrategyNonDefaultDevicesDispatcher) error
- func (p *AudioServiceProxy) UnregisterStrategyPreferredDevicesDispatcher(ctx context.Context, dispatcher IStrategyPreferredDevicesDispatcher) error
- func (p *AudioServiceProxy) UpdateMixingRulesForPolicy(ctx context.Context, mixesToUpdate []AudioMix, ...) (int32, error)
- type AudioServiceStub
- type AudioTimestamp
- type AudioTimestampInternal
- type AudioTrackCallbackProxy
- type AudioTrackCallbackStub
- type AudioTrackProxy
- func (p *AudioTrackProxy) ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, ...) (int32, error)
- func (p *AudioTrackProxy) AsBinder() binder.IBinder
- func (p *AudioTrackProxy) AttachAuxEffect(ctx context.Context, effectId int32) (int32, error)
- func (p *AudioTrackProxy) Flush(ctx context.Context) error
- func (p *AudioTrackProxy) GetAudioDescriptionMixLevel(ctx context.Context) (float32, error)
- func (p *AudioTrackProxy) GetCblk(ctx context.Context) (SharedFileRegion, error)
- func (p *AudioTrackProxy) GetDualMonoMode(ctx context.Context) (common.AudioDualMonoMode, error)
- func (p *AudioTrackProxy) GetPlaybackRateParameters(ctx context.Context) (common.AudioPlaybackRate, error)
- func (p *AudioTrackProxy) GetTimestamp(ctx context.Context, timestamp AudioTimestampInternal) (int32, error)
- func (p *AudioTrackProxy) GetVolumeShaperState(ctx context.Context, id int32) (VolumeShaperState, error)
- func (p *AudioTrackProxy) Pause(ctx context.Context) error
- func (p *AudioTrackProxy) SelectPresentation(ctx context.Context, presentationId int32, programId int32) (int32, error)
- func (p *AudioTrackProxy) SetAudioDescriptionMixLevel(ctx context.Context, leveldB float32) error
- func (p *AudioTrackProxy) SetDualMonoMode(ctx context.Context, mode common.AudioDualMonoMode) error
- func (p *AudioTrackProxy) SetParameters(ctx context.Context, keyValuePairs string) (int32, error)
- func (p *AudioTrackProxy) SetPlaybackRateParameters(ctx context.Context, playbackRate common.AudioPlaybackRate) error
- func (p *AudioTrackProxy) Signal(ctx context.Context) error
- func (p *AudioTrackProxy) Start(ctx context.Context) (int32, error)
- func (p *AudioTrackProxy) Stop(ctx context.Context) error
- type AudioTrackStub
- type AudioUniqueIdUse
- type AudioVibratorInfo
- type AudioVolumeGroup
- type BluetoothProfileConnectionInfo
- type BufferingParams
- type CapturePresetDevicesRoleDispatcherProxy
- type CapturePresetDevicesRoleDispatcherStub
- type CaptureStateListenerProxy
- type CaptureStateListenerStub
- type ClientConfigParcel
- type ClientInfoParcel
- type CommunicationDeviceDispatcherProxy
- type CommunicationDeviceDispatcherStub
- type CreateEffectRequest
- type CreateEffectResponse
- type CreateRecordRequest
- type CreateRecordResponse
- type CreateTrackRequest
- type CreateTrackResponse
- type DeviceConnectedState
- type DeviceRole
- type DeviceVolumeBehaviorDispatcherProxy
- type DeviceVolumeBehaviorDispatcherStub
- type DevicesForAttributesCallbackProxy
- type DevicesForAttributesCallbackStub
- type EffectClientProxy
- func (p *EffectClientProxy) AsBinder() binder.IBinder
- func (p *EffectClientProxy) CommandExecuted(ctx context.Context, cmdCode int32, cmdData []byte, replyData []byte) error
- func (p *EffectClientProxy) ControlStatusChanged(ctx context.Context, controlGranted bool) error
- func (p *EffectClientProxy) EnableStatusChanged(ctx context.Context, enabled bool) error
- func (p *EffectClientProxy) FramesProcessed(ctx context.Context, frames int32) error
- type EffectClientStub
- type EffectConfig
- type EffectDescriptor
- type EffectProxy
- func (p *EffectProxy) AsBinder() binder.IBinder
- func (p *EffectProxy) Command(ctx context.Context, cmdCode int32, cmdData []byte, maxResponseSize int32, ...) (int32, error)
- func (p *EffectProxy) Disable(ctx context.Context) (int32, error)
- func (p *EffectProxy) Disconnect(ctx context.Context) error
- func (p *EffectProxy) Enable(ctx context.Context) (int32, error)
- func (p *EffectProxy) GetCblk(ctx context.Context) (SharedFileRegion, error)
- func (p *EffectProxy) GetConfig(ctx context.Context, config EffectConfig) (int32, error)
- type EffectStub
- type FadeManagerConfiguration
- type GetInputForAttrResponse
- type GetOutputForAttrResponse
- type GetSpatializerResponse
- type IAudioDeviceVolumeDispatcher
- type IAudioDeviceVolumeDispatcherServer
- type IAudioFlingerClient
- type IAudioFlingerClientServer
- type IAudioFlingerService
- type IAudioFlingerServiceServer
- type IAudioFocusDispatcher
- type IAudioFocusDispatcherServer
- type IAudioModeDispatcher
- type IAudioModeDispatcherServer
- type IAudioPolicyService
- type IAudioPolicyServiceClient
- type IAudioPolicyServiceClientServer
- type IAudioPolicyServiceServer
- type IAudioRecord
- type IAudioRecordServer
- type IAudioRoutesObserver
- type IAudioRoutesObserverServer
- type IAudioServerStateDispatcher
- type IAudioServerStateDispatcherServer
- type IAudioService
- type IAudioServiceServer
- type IAudioTrack
- type IAudioTrackCallback
- type IAudioTrackCallbackServer
- type IAudioTrackServer
- type ICapturePresetDevicesRoleDispatcher
- type ICapturePresetDevicesRoleDispatcherServer
- type ICaptureStateListener
- type ICaptureStateListenerServer
- type ICommunicationDeviceDispatcher
- type ICommunicationDeviceDispatcherServer
- type IDeviceVolumeBehaviorDispatcher
- type IDeviceVolumeBehaviorDispatcherServer
- type IDevicesForAttributesCallback
- type IDevicesForAttributesCallbackServer
- type IEffect
- type IEffectClient
- type IEffectClientServer
- type IEffectServer
- type ILoudnessCodecUpdatesDispatcher
- type ILoudnessCodecUpdatesDispatcherServer
- type IMediaHTTPConnection
- type IMediaHTTPConnectionServer
- type IMediaHTTPService
- type IMediaHTTPServiceServer
- type IMediaMetricsService
- type IMediaMetricsServiceServer
- type IMediaResourceMonitor
- type IMediaResourceMonitorServer
- type IMediaRoute2ProviderService
- type IMediaRoute2ProviderServiceCallback
- type IMediaRoute2ProviderServiceCallbackServer
- type IMediaRoute2ProviderServiceServer
- type IMediaRouter2
- type IMediaRouter2Manager
- type IMediaRouter2ManagerServer
- type IMediaRouter2Server
- type IMediaRouterClient
- type IMediaRouterClientServer
- type IMediaRouterService
- type IMediaRouterServiceServer
- type IMediaScannerListener
- type IMediaScannerListenerServer
- type IMediaScannerService
- type IMediaScannerServiceServer
- type IMediaTranscodingService
- type IMediaTranscodingServiceServer
- type IMuteAwaitConnectionCallback
- type IMuteAwaitConnectionCallbackServer
- type INativeSpatializerCallback
- type INativeSpatializerCallbackServer
- type INearbyMediaDevicesProvider
- type INearbyMediaDevicesProviderServer
- type INearbyMediaDevicesUpdateCallback
- type INearbyMediaDevicesUpdateCallbackServer
- type IPlaybackConfigDispatcher
- type IPlaybackConfigDispatcherServer
- type IPlayer
- type IPlayerServer
- type IPreferredMixerAttributesDispatcher
- type IPreferredMixerAttributesDispatcherServer
- type IRecordingConfigDispatcher
- type IRecordingConfigDispatcherServer
- type IRemoteDisplayCallback
- type IRemoteDisplayCallbackServer
- type IRemoteDisplayProvider
- type IRemoteDisplayProviderServer
- type IRemoteSessionCallback
- type IRemoteSessionCallbackServer
- type IRemoteVolumeObserver
- type IRemoteVolumeObserverServer
- type IResourceManagerClient
- type IResourceManagerClientServer
- type IResourceManagerService
- type IResourceManagerServiceServer
- type IResourceObserver
- type IResourceObserverServer
- type IResourceObserverService
- type IResourceObserverServiceServer
- type IRingtonePlayer
- type IRingtonePlayerServer
- type ISoundDose
- type ISoundDoseAudioDeviceCategory
- type ISoundDoseCallback
- type ISoundDoseCallbackServer
- type ISoundDoseServer
- type ISpatializer
- type ISpatializerCallback
- type ISpatializerCallbackServer
- type ISpatializerHeadToSoundStagePoseCallback
- type ISpatializerHeadToSoundStagePoseCallbackServer
- type ISpatializerHeadTrackerAvailableCallback
- type ISpatializerHeadTrackerAvailableCallbackServer
- type ISpatializerHeadTrackingCallback
- type ISpatializerHeadTrackingCallbackServer
- type ISpatializerHeadTrackingModeCallback
- type ISpatializerHeadTrackingModeCallbackServer
- type ISpatializerOutputCallback
- type ISpatializerOutputCallbackServer
- type ISpatializerServer
- type IStrategyNonDefaultDevicesDispatcher
- type IStrategyNonDefaultDevicesDispatcherServer
- type IStrategyPreferredDevicesDispatcher
- type IStrategyPreferredDevicesDispatcherServer
- type IStreamAliasingDispatcher
- type IStreamAliasingDispatcherServer
- type ITranscodingClient
- type ITranscodingClientCallback
- type ITranscodingClientCallbackServer
- type ITranscodingClientServer
- type IVolumeController
- type IVolumeControllerServer
- type InterpolatorConfig
- type InterpolatorType
- type LoudnessCodecInfo
- type LoudnessCodecInfoCodecMetadataType
- type LoudnessCodecUpdatesDispatcherProxy
- type LoudnessCodecUpdatesDispatcherStub
- type MediaDescription
- type MediaHTTPConnectionProxy
- func (p *MediaHTTPConnectionProxy) AsBinder() binder.IBinder
- func (p *MediaHTTPConnectionProxy) Connect(ctx context.Context, uri string, headers string) (binder.IBinder, error)
- func (p *MediaHTTPConnectionProxy) Disconnect(ctx context.Context) error
- func (p *MediaHTTPConnectionProxy) GetMIMEType(ctx context.Context) (string, error)
- func (p *MediaHTTPConnectionProxy) GetSize(ctx context.Context) (int64, error)
- func (p *MediaHTTPConnectionProxy) GetUri(ctx context.Context) (string, error)
- func (p *MediaHTTPConnectionProxy) ReadAt(ctx context.Context, offset int64, size int32) (int32, error)
- type MediaHTTPConnectionStub
- type MediaHTTPServiceProxy
- type MediaHTTPServiceStub
- type MediaMetadata
- type MediaMetricsServiceProxy
- type MediaMetricsServiceStub
- type MediaObservableEvent
- type MediaObservableFilter
- type MediaObservableParcel
- type MediaObservableType
- type MediaResourceMonitorProxy
- type MediaResourceMonitorStub
- type MediaResourceParcel
- type MediaResourcePolicyParcel
- type MediaResourceSubType
- type MediaResourceType
- type MediaRoute2Info
- type MediaRoute2ProviderInfo
- type MediaRoute2ProviderServiceCallbackProxy
- func (p *MediaRoute2ProviderServiceCallbackProxy) AsBinder() binder.IBinder
- func (p *MediaRoute2ProviderServiceCallbackProxy) NotifyProviderUpdated(ctx context.Context, providerInfo MediaRoute2ProviderInfo) error
- func (p *MediaRoute2ProviderServiceCallbackProxy) NotifyRequestFailed(ctx context.Context, requestId int64, reason int32) error
- func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionCreated(ctx context.Context, requestId int64, sessionInfo RoutingSessionInfo) error
- func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
- func (p *MediaRoute2ProviderServiceCallbackProxy) NotifySessionsUpdated(ctx context.Context, sessionInfo []RoutingSessionInfo) error
- type MediaRoute2ProviderServiceCallbackStub
- type MediaRoute2ProviderServiceProxy
- func (p *MediaRoute2ProviderServiceProxy) AsBinder() binder.IBinder
- func (p *MediaRoute2ProviderServiceProxy) DeselectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
- func (p *MediaRoute2ProviderServiceProxy) ReleaseSession(ctx context.Context, requestId int64, sessionId string) error
- func (p *MediaRoute2ProviderServiceProxy) RequestCreateSession(ctx context.Context, requestId int64, packageName string, routeId string, ...) error
- func (p *MediaRoute2ProviderServiceProxy) SelectRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
- func (p *MediaRoute2ProviderServiceProxy) SetCallback(ctx context.Context, callback IMediaRoute2ProviderServiceCallback) error
- func (p *MediaRoute2ProviderServiceProxy) SetRouteVolume(ctx context.Context, requestId int64, routeId string, volume int32) error
- func (p *MediaRoute2ProviderServiceProxy) SetSessionVolume(ctx context.Context, requestId int64, sessionId string, volume int32) error
- func (p *MediaRoute2ProviderServiceProxy) TransferToRoute(ctx context.Context, requestId int64, sessionId string, routeId string) error
- func (p *MediaRoute2ProviderServiceProxy) UpdateDiscoveryPreference(ctx context.Context, discoveryPreference RouteDiscoveryPreference) error
- type MediaRoute2ProviderServiceStub
- type MediaRouter2ManagerProxy
- func (p *MediaRouter2ManagerProxy) AsBinder() binder.IBinder
- func (p *MediaRouter2ManagerProxy) NotifyDiscoveryPreferenceChanged(ctx context.Context, packageName string, ...) error
- func (p *MediaRouter2ManagerProxy) NotifyRequestFailed(ctx context.Context, requestId int32, reason int32) error
- func (p *MediaRouter2ManagerProxy) NotifyRouteListingPreferenceChange(ctx context.Context, packageName string, ...) error
- func (p *MediaRouter2ManagerProxy) NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
- func (p *MediaRouter2ManagerProxy) NotifySessionCreated(ctx context.Context, requestId int32, session RoutingSessionInfo) error
- func (p *MediaRouter2ManagerProxy) NotifySessionReleased(ctx context.Context, session RoutingSessionInfo) error
- func (p *MediaRouter2ManagerProxy) NotifySessionUpdated(ctx context.Context, session RoutingSessionInfo) error
- type MediaRouter2ManagerStub
- type MediaRouter2Proxy
- func (p *MediaRouter2Proxy) AsBinder() binder.IBinder
- func (p *MediaRouter2Proxy) NotifyRouterRegistered(ctx context.Context, currentRoutes []MediaRoute2Info, ...) error
- func (p *MediaRouter2Proxy) NotifyRoutesUpdated(ctx context.Context, routes []MediaRoute2Info) error
- func (p *MediaRouter2Proxy) NotifySessionCreated(ctx context.Context, requestId int32, sessionInfo *RoutingSessionInfo) error
- func (p *MediaRouter2Proxy) NotifySessionInfoChanged(ctx context.Context, sessionInfo RoutingSessionInfo) error
- func (p *MediaRouter2Proxy) NotifySessionReleased(ctx context.Context, sessionInfo RoutingSessionInfo) error
- func (p *MediaRouter2Proxy) RequestCreateSessionByManager(ctx context.Context, uniqueRequestId int64, oldSession RoutingSessionInfo, ...) error
- type MediaRouter2Stub
- type MediaRouterClientProxy
- func (p *MediaRouterClientProxy) AsBinder() binder.IBinder
- func (p *MediaRouterClientProxy) OnGroupRouteSelected(ctx context.Context, routeId string) error
- func (p *MediaRouterClientProxy) OnRestoreRoute(ctx context.Context) error
- func (p *MediaRouterClientProxy) OnStateChanged(ctx context.Context) error
- type MediaRouterClientState
- type MediaRouterClientStub
- type MediaRouterServiceProxy
- func (p *MediaRouterServiceProxy) AsBinder() binder.IBinder
- func (p *MediaRouterServiceProxy) DeselectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) DeselectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, ...) error
- func (p *MediaRouterServiceProxy) GetRemoteSessions(ctx context.Context, manager IMediaRouter2Manager) ([]RoutingSessionInfo, error)
- func (p *MediaRouterServiceProxy) GetState(ctx context.Context, client IMediaRouterClient) (MediaRouterClientState, error)
- func (p *MediaRouterServiceProxy) GetSystemRoutes(ctx context.Context) ([]MediaRoute2Info, error)
- func (p *MediaRouterServiceProxy) GetSystemSessionInfo(ctx context.Context) (RoutingSessionInfo, error)
- func (p *MediaRouterServiceProxy) GetSystemSessionInfoForPackage(ctx context.Context, packageName string) (RoutingSessionInfo, error)
- func (p *MediaRouterServiceProxy) IsPlaybackActive(ctx context.Context, client IMediaRouterClient) (bool, error)
- func (p *MediaRouterServiceProxy) RegisterClientAsUser(ctx context.Context, client IMediaRouterClient, packageName string) error
- func (p *MediaRouterServiceProxy) RegisterClientGroupId(ctx context.Context, client IMediaRouterClient, groupId string) error
- func (p *MediaRouterServiceProxy) RegisterManager(ctx context.Context, manager IMediaRouter2Manager, packageName string) error
- func (p *MediaRouterServiceProxy) RegisterProxyRouter(ctx context.Context, manager IMediaRouter2Manager, callingPackageName string, ...) error
- func (p *MediaRouterServiceProxy) RegisterRouter2(ctx context.Context, router IMediaRouter2, packageName string) error
- func (p *MediaRouterServiceProxy) ReleaseSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) ReleaseSessionWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string) error
- func (p *MediaRouterServiceProxy) RequestCreateSessionWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) RequestCreateSessionWithRouter2(ctx context.Context, router IMediaRouter2, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) RequestSetVolume(ctx context.Context, client IMediaRouterClient, routeId string, volume int32) error
- func (p *MediaRouterServiceProxy) RequestUpdateVolume(ctx context.Context, client IMediaRouterClient, routeId string, ...) error
- func (p *MediaRouterServiceProxy) SelectRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) SelectRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, ...) error
- func (p *MediaRouterServiceProxy) SetBluetoothA2dpOn(ctx context.Context, client IMediaRouterClient, on bool) error
- func (p *MediaRouterServiceProxy) SetDiscoveryRequest(ctx context.Context, client IMediaRouterClient, routeTypes int32, ...) error
- func (p *MediaRouterServiceProxy) SetDiscoveryRequestWithRouter2(ctx context.Context, router IMediaRouter2, preference RouteDiscoveryPreference) error
- func (p *MediaRouterServiceProxy) SetRouteListingPreference(ctx context.Context, router IMediaRouter2, ...) error
- func (p *MediaRouterServiceProxy) SetRouteVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) SetRouteVolumeWithRouter2(ctx context.Context, router IMediaRouter2, route MediaRoute2Info, volume int32) error
- func (p *MediaRouterServiceProxy) SetSelectedRoute(ctx context.Context, client IMediaRouterClient, routeId string, explicit bool) error
- func (p *MediaRouterServiceProxy) SetSessionVolumeWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) SetSessionVolumeWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, volume int32) error
- func (p *MediaRouterServiceProxy) ShowMediaOutputSwitcher(ctx context.Context, packageName string) (bool, error)
- func (p *MediaRouterServiceProxy) TransferToRouteWithManager(ctx context.Context, manager IMediaRouter2Manager, requestId int32, ...) error
- func (p *MediaRouterServiceProxy) TransferToRouteWithRouter2(ctx context.Context, router IMediaRouter2, sessionId string, ...) error
- func (p *MediaRouterServiceProxy) UnregisterClient(ctx context.Context, client IMediaRouterClient) error
- func (p *MediaRouterServiceProxy) UnregisterManager(ctx context.Context, manager IMediaRouter2Manager) error
- func (p *MediaRouterServiceProxy) UnregisterRouter2(ctx context.Context, router IMediaRouter2) error
- func (p *MediaRouterServiceProxy) UpdateScanningState(ctx context.Context, manager IMediaRouter2Manager, scanningState int32) error
- func (p *MediaRouterServiceProxy) UpdateScanningStateWithRouter2(ctx context.Context, router IMediaRouter2, scanningState int32) error
- type MediaRouterServiceStub
- type MediaScannerListenerProxy
- type MediaScannerListenerStub
- type MediaScannerServiceProxy
- type MediaScannerServiceStub
- type MediaTranscodingServiceProxy
- func (p *MediaTranscodingServiceProxy) AsBinder() binder.IBinder
- func (p *MediaTranscodingServiceProxy) GetNumOfClients(ctx context.Context) (int32, error)
- func (p *MediaTranscodingServiceProxy) RegisterClient(ctx context.Context, callback ITranscodingClientCallback, clientName string) (ITranscodingClient, error)
- type MediaTranscodingServiceStub
- type MicrophoneInfoFw
- type MuteAwaitConnectionCallbackProxy
- func (p *MuteAwaitConnectionCallbackProxy) AsBinder() binder.IBinder
- func (p *MuteAwaitConnectionCallbackProxy) DispatchOnMutedUntilConnection(ctx context.Context, device AudioDeviceAttributes, mutedUsages []int32) error
- func (p *MuteAwaitConnectionCallbackProxy) DispatchOnUnmutedEvent(ctx context.Context, event int32, device AudioDeviceAttributes, ...) error
- type MuteAwaitConnectionCallbackStub
- type NativeSpatializerCallbackProxy
- type NativeSpatializerCallbackStub
- type NearbyDevice
- type NearbyMediaDevicesProviderProxy
- func (p *NearbyMediaDevicesProviderProxy) AsBinder() binder.IBinder
- func (p *NearbyMediaDevicesProviderProxy) RegisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
- func (p *NearbyMediaDevicesProviderProxy) UnregisterNearbyDevicesCallback(ctx context.Context, callback INearbyMediaDevicesUpdateCallback) error
- type NearbyMediaDevicesProviderStub
- type NearbyMediaDevicesUpdateCallbackProxy
- type NearbyMediaDevicesUpdateCallbackStub
- type OpenInputRequest
- type OpenInputResponse
- type OpenOutputRequest
- type OpenOutputResponse
- type PlaybackConfigDispatcherProxy
- type PlaybackConfigDispatcherStub
- type PlaybackParams
- type PlayerBasePlayerIdCard
- type PlayerProxy
- func (p *PlayerProxy) ApplyVolumeShaper(ctx context.Context, configuration VolumeShaperConfiguration, ...) error
- func (p *PlayerProxy) AsBinder() binder.IBinder
- func (p *PlayerProxy) Pause(ctx context.Context) error
- func (p *PlayerProxy) SetPan(ctx context.Context, pan float32) error
- func (p *PlayerProxy) SetStartDelayMs(ctx context.Context, delayMs int32) error
- func (p *PlayerProxy) SetVolume(ctx context.Context, vol float32) error
- func (p *PlayerProxy) Start(ctx context.Context) error
- func (p *PlayerProxy) Stop(ctx context.Context) error
- type PlayerStub
- type PreferredMixerAttributesDispatcherProxy
- type PreferredMixerAttributesDispatcherStub
- type Rating
- type RecordClientInfo
- type RecordingConfigDispatcherProxy
- type RecordingConfigDispatcherStub
- type RemoteDisplayCallbackProxy
- type RemoteDisplayCallbackStub
- type RemoteDisplayProviderProxy
- func (p *RemoteDisplayProviderProxy) AdjustVolume(ctx context.Context, id string, delta int32) error
- func (p *RemoteDisplayProviderProxy) AsBinder() binder.IBinder
- func (p *RemoteDisplayProviderProxy) Connect(ctx context.Context, id string) error
- func (p *RemoteDisplayProviderProxy) Disconnect(ctx context.Context, id string) error
- func (p *RemoteDisplayProviderProxy) SetCallback(ctx context.Context, callback IRemoteDisplayCallback) error
- func (p *RemoteDisplayProviderProxy) SetDiscoveryMode(ctx context.Context, mode int32) error
- func (p *RemoteDisplayProviderProxy) SetVolume(ctx context.Context, id string, volume int32) error
- type RemoteDisplayProviderStub
- type RemoteDisplayState
- type RemoteSessionCallbackProxy
- func (p *RemoteSessionCallbackProxy) AsBinder() binder.IBinder
- func (p *RemoteSessionCallbackProxy) OnSessionChanged(ctx context.Context, sessionToken session.MediaSessionToken) error
- func (p *RemoteSessionCallbackProxy) OnVolumeChanged(ctx context.Context, sessionToken session.MediaSessionToken, flags int32) error
- type RemoteSessionCallbackStub
- type RemoteVolumeObserverProxy
- type RemoteVolumeObserverStub
- type RenderPosition
- type ResourceManagerClientProxy
- type ResourceManagerClientStub
- type ResourceManagerServiceProxy
- func (p *ResourceManagerServiceProxy) AddResource(ctx context.Context, clientInfo ClientInfoParcel, ...) error
- func (p *ResourceManagerServiceProxy) AsBinder() binder.IBinder
- func (p *ResourceManagerServiceProxy) Config(ctx context.Context, policies []MediaResourcePolicyParcel) error
- func (p *ResourceManagerServiceProxy) MarkClientForPendingRemoval(ctx context.Context, clientInfo ClientInfoParcel) error
- func (p *ResourceManagerServiceProxy) NotifyClientConfigChanged(ctx context.Context, clientConfig ClientConfigParcel) error
- func (p *ResourceManagerServiceProxy) NotifyClientCreated(ctx context.Context, clientInfo ClientInfoParcel) error
- func (p *ResourceManagerServiceProxy) NotifyClientStarted(ctx context.Context, clientConfig ClientConfigParcel) error
- func (p *ResourceManagerServiceProxy) NotifyClientStopped(ctx context.Context, clientConfig ClientConfigParcel) error
- func (p *ResourceManagerServiceProxy) OverridePid(ctx context.Context, originalPid int32, newPid int32) error
- func (p *ResourceManagerServiceProxy) OverrideProcessInfo(ctx context.Context, client IResourceManagerClient, pid int32, procState int32, ...) error
- func (p *ResourceManagerServiceProxy) ReclaimResource(ctx context.Context, clientInfo ClientInfoParcel, ...) (bool, error)
- func (p *ResourceManagerServiceProxy) ReclaimResourcesFromClientsPendingRemoval(ctx context.Context, pid int32) error
- func (p *ResourceManagerServiceProxy) RemoveClient(ctx context.Context, clientInfo ClientInfoParcel) error
- func (p *ResourceManagerServiceProxy) RemoveResource(ctx context.Context, clientInfo ClientInfoParcel, ...) error
- type ResourceManagerServiceStub
- type ResourceObserverProxy
- type ResourceObserverServiceProxy
- type ResourceObserverServiceStub
- type ResourceObserverStub
- type RingtonePlayerProxy
- func (p *RingtonePlayerProxy) AsBinder() binder.IBinder
- func (p *RingtonePlayerProxy) GetTitle(ctx context.Context, uri net.Uri) (string, error)
- func (p *RingtonePlayerProxy) IsPlaying(ctx context.Context, token binder.IBinder) (bool, error)
- func (p *RingtonePlayerProxy) OpenRingtone(ctx context.Context, uri net.Uri) (int32, error)
- func (p *RingtonePlayerProxy) Play(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, ...) error
- func (p *RingtonePlayerProxy) PlayAsync(ctx context.Context, uri net.Uri, user os.UserHandle, looping bool, ...) error
- func (p *RingtonePlayerProxy) PlayWithVolumeShaping(ctx context.Context, token binder.IBinder, uri net.Uri, aa AudioAttributes, ...) error
- func (p *RingtonePlayerProxy) SetPlaybackProperties(ctx context.Context, token binder.IBinder, volume float32, looping bool, ...) error
- func (p *RingtonePlayerProxy) Stop(ctx context.Context, token binder.IBinder) error
- func (p *RingtonePlayerProxy) StopAsync(ctx context.Context) error
- type RingtonePlayerStub
- type RouteDiscoveryPreference
- type RouteListingPreference
- type RoutingSessionInfo
- type SharedFileRegion
- type SoundDoseCallbackProxy
- type SoundDoseCallbackStub
- type SoundDoseProxy
- func (p *SoundDoseProxy) AsBinder() binder.IBinder
- func (p *SoundDoseProxy) ForceComputeCsdOnAllDevices(ctx context.Context, computeCsdOnAllDevices bool) error
- func (p *SoundDoseProxy) ForceUseFrameworkMel(ctx context.Context, useFrameworkMel bool) error
- func (p *SoundDoseProxy) GetCsd(ctx context.Context) (float32, error)
- func (p *SoundDoseProxy) GetOutputRs2UpperBound(ctx context.Context) (float32, error)
- func (p *SoundDoseProxy) InitCachedAudioDeviceCategories(ctx context.Context, audioDevices []ISoundDoseAudioDeviceCategory) error
- func (p *SoundDoseProxy) IsSoundDoseHalSupported(ctx context.Context) (bool, error)
- func (p *SoundDoseProxy) ResetCsd(ctx context.Context, currentCsd float32, records []SoundDoseRecord) error
- func (p *SoundDoseProxy) SetAudioDeviceCategory(ctx context.Context, audioDevice ISoundDoseAudioDeviceCategory) error
- func (p *SoundDoseProxy) SetCsdEnabled(ctx context.Context, enabled bool) error
- func (p *SoundDoseProxy) SetOutputRs2UpperBound(ctx context.Context, rs2Value float32) error
- func (p *SoundDoseProxy) UpdateAttenuation(ctx context.Context, attenuationDB float32, device int32) error
- type SoundDoseRecord
- type SoundDoseStub
- type SoundTriggerSession
- type SpatializerCallbackProxy
- type SpatializerCallbackStub
- type SpatializerHeadToSoundStagePoseCallbackProxy
- type SpatializerHeadToSoundStagePoseCallbackStub
- type SpatializerHeadTrackerAvailableCallbackProxy
- type SpatializerHeadTrackerAvailableCallbackStub
- type SpatializerHeadTrackingCallbackProxy
- func (p *SpatializerHeadTrackingCallbackProxy) AsBinder() binder.IBinder
- func (p *SpatializerHeadTrackingCallbackProxy) OnHeadToSoundStagePoseUpdated(ctx context.Context, headToStage []float32) error
- func (p *SpatializerHeadTrackingCallbackProxy) OnHeadTrackingModeChanged(ctx context.Context, mode common.HeadTrackingMode) error
- type SpatializerHeadTrackingCallbackStub
- type SpatializerHeadTrackingModeCallbackProxy
- func (p *SpatializerHeadTrackingModeCallbackProxy) AsBinder() binder.IBinder
- func (p *SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerActualHeadTrackingModeChanged(ctx context.Context, mode int32) error
- func (p *SpatializerHeadTrackingModeCallbackProxy) DispatchSpatializerDesiredHeadTrackingModeChanged(ctx context.Context, mode int32) error
- type SpatializerHeadTrackingModeCallbackStub
- type SpatializerOutputCallbackProxy
- type SpatializerOutputCallbackStub
- type SpatializerProxy
- func (p *SpatializerProxy) AsBinder() binder.IBinder
- func (p *SpatializerProxy) GetActualHeadTrackingMode(ctx context.Context) (common.HeadTrackingMode, error)
- func (p *SpatializerProxy) GetLevel(ctx context.Context) (common.SpatializationLevel, error)
- func (p *SpatializerProxy) GetOutput(ctx context.Context) (int32, error)
- func (p *SpatializerProxy) GetParameter(ctx context.Context, key int32, value []byte) error
- func (p *SpatializerProxy) GetSupportedHeadTrackingModes(ctx context.Context) ([]common.HeadTrackingMode, error)
- func (p *SpatializerProxy) GetSupportedLevels(ctx context.Context) ([]common.SpatializationLevel, error)
- func (p *SpatializerProxy) GetSupportedModes(ctx context.Context) ([]common.SpatializationMode, error)
- func (p *SpatializerProxy) IsHeadTrackingSupported(ctx context.Context) (bool, error)
- func (p *SpatializerProxy) RecenterHeadTracker(ctx context.Context) error
- func (p *SpatializerProxy) RegisterHeadTrackingCallback(ctx context.Context, callback ISpatializerHeadTrackingCallback) error
- func (p *SpatializerProxy) Release(ctx context.Context) error
- func (p *SpatializerProxy) SetDesiredHeadTrackingMode(ctx context.Context, mode common.HeadTrackingMode) error
- func (p *SpatializerProxy) SetDisplayOrientation(ctx context.Context, physicalToLogicalAngle float32) error
- func (p *SpatializerProxy) SetFoldState(ctx context.Context, folded bool) error
- func (p *SpatializerProxy) SetGlobalTransform(ctx context.Context, screenToStage []float32) error
- func (p *SpatializerProxy) SetHeadSensor(ctx context.Context, sensorHandle int32) error
- func (p *SpatializerProxy) SetHingeAngle(ctx context.Context, hingeAngle float32) error
- func (p *SpatializerProxy) SetLevel(ctx context.Context, level common.SpatializationLevel) error
- func (p *SpatializerProxy) SetParameter(ctx context.Context, key int32, value []byte) error
- func (p *SpatializerProxy) SetScreenSensor(ctx context.Context, sensorHandle int32) error
- type SpatializerStub
- type StrategyNonDefaultDevicesDispatcherProxy
- type StrategyNonDefaultDevicesDispatcherStub
- type StrategyPreferredDevicesDispatcherProxy
- type StrategyPreferredDevicesDispatcherStub
- type StreamAliasingDispatcherProxy
- type StreamAliasingDispatcherStub
- type SurroundSoundConfig
- type SurroundSoundConfigSurroundFormatFamily
- type TrackSecondaryOutputInfo
- type TranscodingClientCallbackProxy
- func (p *TranscodingClientCallbackProxy) AsBinder() binder.IBinder
- func (p *TranscodingClientCallbackProxy) OnAwaitNumberOfSessionsChanged(ctx context.Context, sessionId int32, oldAwaitNumber int32, ...) error
- func (p *TranscodingClientCallbackProxy) OnProgressUpdate(ctx context.Context, sessionId int32, progress int32) error
- func (p *TranscodingClientCallbackProxy) OnTranscodingFailed(ctx context.Context, sessionId int32, errorCode TranscodingErrorCode) error
- func (p *TranscodingClientCallbackProxy) OnTranscodingFinished(ctx context.Context, sessionId int32, result TranscodingResultParcel) error
- func (p *TranscodingClientCallbackProxy) OnTranscodingPaused(ctx context.Context, sessionId int32) error
- func (p *TranscodingClientCallbackProxy) OnTranscodingResumed(ctx context.Context, sessionId int32) error
- func (p *TranscodingClientCallbackProxy) OnTranscodingStarted(ctx context.Context, sessionId int32) error
- func (p *TranscodingClientCallbackProxy) OpenFileDescriptor(ctx context.Context, fileUri string, mode string) (int32, error)
- type TranscodingClientCallbackStub
- type TranscodingClientProxy
- func (p *TranscodingClientProxy) AddClientUid(ctx context.Context, sessionId int32, clientUid int32) (bool, error)
- func (p *TranscodingClientProxy) AsBinder() binder.IBinder
- func (p *TranscodingClientProxy) CancelSession(ctx context.Context, sessionId int32) (bool, error)
- func (p *TranscodingClientProxy) GetClientUids(ctx context.Context, sessionId int32) ([]int32, error)
- func (p *TranscodingClientProxy) GetSessionWithId(ctx context.Context, sessionId int32, session TranscodingSessionParcel) (bool, error)
- func (p *TranscodingClientProxy) SubmitRequest(ctx context.Context, request TranscodingRequestParcel, ...) (bool, error)
- func (p *TranscodingClientProxy) Unregister(ctx context.Context) error
- type TranscodingClientStub
- type TranscodingErrorCode
- type TranscodingRequestParcel
- type TranscodingResultParcel
- type TranscodingSessionParcel
- type TranscodingSessionPriority
- type TranscodingSessionStats
- type TranscodingTestConfig
- type TranscodingType
- type TranscodingVideoCodecType
- type TranscodingVideoTrackFormat
- type VolumeControllerProxy
- func (p *VolumeControllerProxy) AsBinder() binder.IBinder
- func (p *VolumeControllerProxy) Dismiss(ctx context.Context) error
- func (p *VolumeControllerProxy) DisplayCsdWarning(ctx context.Context, warning int32, displayDurationMs int32) error
- func (p *VolumeControllerProxy) DisplaySafeVolumeWarning(ctx context.Context, flags int32) error
- func (p *VolumeControllerProxy) MasterMuteChanged(ctx context.Context, flags int32) error
- func (p *VolumeControllerProxy) SetA11yMode(ctx context.Context, mode int32) error
- func (p *VolumeControllerProxy) SetLayoutDirection(ctx context.Context, layoutDirection int32) error
- func (p *VolumeControllerProxy) VolumeChanged(ctx context.Context, streamType int32, flags int32) error
- type VolumeControllerStub
- type VolumeInfo
- type VolumePolicy
- type VolumeShaper
- type VolumeShaperConfiguration
- type VolumeShaperConfigurationOptionFlag
- type VolumeShaperConfigurationType
- type VolumeShaperOperation
- type VolumeShaperOperationFlag
- type VolumeShaperState
Constants ¶
const ( AudioMixMatchCriterionValueTagUsage int32 = 0 AudioMixMatchCriterionValueTagSource int32 = 1 AudioMixMatchCriterionValueTagUid int32 = 2 AudioMixMatchCriterionValueTagUserId int32 = 3 AudioMixMatchCriterionValueTagAudioSessionId int32 = 4 )
const ( AudioPortExtSysTagUnspecified int32 = 0 AudioPortExtSysTagDevice int32 = 1 AudioPortExtSysTagMix int32 = 2 AudioPortExtSysTagSession int32 = 3 )
const ( TransactionIAudioDeviceVolumeDispatcherDispatchDeviceVolumeChanged = binder.FirstCallTransaction + 0 TransactionIAudioDeviceVolumeDispatcherDispatchDeviceVolumeAdjusted = binder.FirstCallTransaction + 1 )
const ( MethodIAudioDeviceVolumeDispatcherDispatchDeviceVolumeChanged = "dispatchDeviceVolumeChanged" MethodIAudioDeviceVolumeDispatcherDispatchDeviceVolumeAdjusted = "dispatchDeviceVolumeAdjusted" )
const ( TransactionIAudioFlingerClientIoConfigChanged = binder.FirstCallTransaction + 0 TransactionIAudioFlingerClientOnSupportedLatencyModesChanged = binder.FirstCallTransaction + 1 )
const ( MethodIAudioFlingerClientIoConfigChanged = "ioConfigChanged" MethodIAudioFlingerClientOnSupportedLatencyModesChanged = "onSupportedLatencyModesChanged" )
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 )
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" )
const ( TransactionIAudioFocusDispatcherDispatchAudioFocusChange = binder.FirstCallTransaction + 0 TransactionIAudioFocusDispatcherDispatchFocusResultFromExtPolicy = binder.FirstCallTransaction + 1 )
const ( MethodIAudioFocusDispatcherDispatchAudioFocusChange = "dispatchAudioFocusChange" MethodIAudioFocusDispatcherDispatchFocusResultFromExtPolicy = "dispatchFocusResultFromExtPolicy" )
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 )
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" )
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 )
const ( MethodIAudioPolicyServiceClientOnAudioVolumeGroupChanged = "onAudioVolumeGroupChanged" MethodIAudioPolicyServiceClientOnAudioPortListUpdate = "onAudioPortListUpdate" MethodIAudioPolicyServiceClientOnAudioPatchListUpdate = "onAudioPatchListUpdate" MethodIAudioPolicyServiceClientOnDynamicPolicyMixStateUpdate = "onDynamicPolicyMixStateUpdate" MethodIAudioPolicyServiceClientOnRecordingConfigurationUpdate = "onRecordingConfigurationUpdate" MethodIAudioPolicyServiceClientOnRoutingUpdated = "onRoutingUpdated" MethodIAudioPolicyServiceClientOnVolumeRangeInitRequest = "onVolumeRangeInitRequest" )
const ( TransactionIAudioRecordStart = binder.FirstCallTransaction + 0 TransactionIAudioRecordStop = binder.FirstCallTransaction + 1 TransactionIAudioRecordGetActiveMicrophones = binder.FirstCallTransaction + 2 TransactionIAudioRecordSetPreferredMicrophoneDirection = binder.FirstCallTransaction + 3 TransactionIAudioRecordSetPreferredMicrophoneFieldDimension = binder.FirstCallTransaction + 4 )
const ( MethodIAudioRecordStart = "start" MethodIAudioRecordStop = "stop" MethodIAudioRecordGetActiveMicrophones = "getActiveMicrophones" MethodIAudioRecordSetPreferredMicrophoneDirection = "setPreferredMicrophoneDirection" MethodIAudioRecordSetPreferredMicrophoneFieldDimension = "setPreferredMicrophoneFieldDimension" )
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 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 )
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" 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" )
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 )
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" )
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 )
const ( MethodIEffectEnable = "enable" MethodIEffectDisable = "disable" MethodIEffectCommand = "command" MethodIEffectDisconnect = "disconnect" MethodIEffectGetCblk = "getCblk" MethodIEffectGetConfig = "getConfig" )
const ( TransactionIEffectClientControlStatusChanged = binder.FirstCallTransaction + 0 TransactionIEffectClientEnableStatusChanged = binder.FirstCallTransaction + 1 TransactionIEffectClientCommandExecuted = binder.FirstCallTransaction + 2 TransactionIEffectClientFramesProcessed = binder.FirstCallTransaction + 3 )
const ( MethodIEffectClientControlStatusChanged = "controlStatusChanged" MethodIEffectClientEnableStatusChanged = "enableStatusChanged" MethodIEffectClientCommandExecuted = "commandExecuted" MethodIEffectClientFramesProcessed = "framesProcessed" )
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 )
const ( MethodIMediaHTTPConnectionConnect = "connect" MethodIMediaHTTPConnectionDisconnect = "disconnect" MethodIMediaHTTPConnectionReadAt = "readAt" MethodIMediaHTTPConnectionGetSize = "getSize" MethodIMediaHTTPConnectionGetMIMEType = "getMIMEType" MethodIMediaHTTPConnectionGetUri = "getUri" )
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 )
const ( MethodIMediaRoute2ProviderServiceSetCallback = "setCallback" MethodIMediaRoute2ProviderServiceUpdateDiscoveryPreference = "updateDiscoveryPreference" MethodIMediaRoute2ProviderServiceSetRouteVolume = "setRouteVolume" MethodIMediaRoute2ProviderServiceRequestCreateSession = "requestCreateSession" MethodIMediaRoute2ProviderServiceSelectRoute = "selectRoute" MethodIMediaRoute2ProviderServiceDeselectRoute = "deselectRoute" MethodIMediaRoute2ProviderServiceTransferToRoute = "transferToRoute" MethodIMediaRoute2ProviderServiceSetSessionVolume = "setSessionVolume" MethodIMediaRoute2ProviderServiceReleaseSession = "releaseSession" )
const ( TransactionIMediaRoute2ProviderServiceCallbackNotifyProviderUpdated = binder.FirstCallTransaction + 0 TransactionIMediaRoute2ProviderServiceCallbackNotifySessionCreated = binder.FirstCallTransaction + 1 TransactionIMediaRoute2ProviderServiceCallbackNotifySessionsUpdated = binder.FirstCallTransaction + 2 TransactionIMediaRoute2ProviderServiceCallbackNotifySessionReleased = binder.FirstCallTransaction + 3 TransactionIMediaRoute2ProviderServiceCallbackNotifyRequestFailed = binder.FirstCallTransaction + 4 )
const ( MethodIMediaRoute2ProviderServiceCallbackNotifyProviderUpdated = "notifyProviderUpdated" MethodIMediaRoute2ProviderServiceCallbackNotifySessionCreated = "notifySessionCreated" MethodIMediaRoute2ProviderServiceCallbackNotifySessionsUpdated = "notifySessionsUpdated" MethodIMediaRoute2ProviderServiceCallbackNotifySessionReleased = "notifySessionReleased" MethodIMediaRoute2ProviderServiceCallbackNotifyRequestFailed = "notifyRequestFailed" )
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 )
const ( MethodIMediaRouter2NotifyRouterRegistered = "notifyRouterRegistered" MethodIMediaRouter2NotifyRoutesUpdated = "notifyRoutesUpdated" MethodIMediaRouter2NotifySessionCreated = "notifySessionCreated" MethodIMediaRouter2NotifySessionInfoChanged = "notifySessionInfoChanged" MethodIMediaRouter2NotifySessionReleased = "notifySessionReleased" MethodIMediaRouter2RequestCreateSessionByManager = "requestCreateSessionByManager" )
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 )
const ( MethodIMediaRouter2ManagerNotifySessionCreated = "notifySessionCreated" MethodIMediaRouter2ManagerNotifySessionUpdated = "notifySessionUpdated" MethodIMediaRouter2ManagerNotifySessionReleased = "notifySessionReleased" MethodIMediaRouter2ManagerNotifyDiscoveryPreferenceChanged = "notifyDiscoveryPreferenceChanged" MethodIMediaRouter2ManagerNotifyRouteListingPreferenceChange = "notifyRouteListingPreferenceChange" MethodIMediaRouter2ManagerNotifyRoutesUpdated = "notifyRoutesUpdated" MethodIMediaRouter2ManagerNotifyRequestFailed = "notifyRequestFailed" )
const ( TransactionIMediaRouterClientOnStateChanged = binder.FirstCallTransaction + 0 TransactionIMediaRouterClientOnRestoreRoute = binder.FirstCallTransaction + 1 TransactionIMediaRouterClientOnGroupRouteSelected = binder.FirstCallTransaction + 2 )
const ( MethodIMediaRouterClientOnStateChanged = "onStateChanged" MethodIMediaRouterClientOnRestoreRoute = "onRestoreRoute" MethodIMediaRouterClientOnGroupRouteSelected = "onGroupRouteSelected" )
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 )
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" )
const ( TransactionIMediaScannerServiceRequestScanFile = binder.FirstCallTransaction + 0 TransactionIMediaScannerServiceScanFile = binder.FirstCallTransaction + 1 )
const ( MethodIMediaScannerServiceRequestScanFile = "requestScanFile" MethodIMediaScannerServiceScanFile = "scanFile" )
const ( TransactionIMediaTranscodingServiceRegisterClient = binder.FirstCallTransaction + 0 TransactionIMediaTranscodingServiceGetNumOfClients = binder.FirstCallTransaction + 1 )
const ( MethodIMediaTranscodingServiceRegisterClient = "registerClient" MethodIMediaTranscodingServiceGetNumOfClients = "getNumOfClients" )
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 )
const ( TransactionIMuteAwaitConnectionCallbackDispatchOnMutedUntilConnection = binder.FirstCallTransaction + 0 TransactionIMuteAwaitConnectionCallbackDispatchOnUnmutedEvent = binder.FirstCallTransaction + 1 )
const ( MethodIMuteAwaitConnectionCallbackDispatchOnMutedUntilConnection = "dispatchOnMutedUntilConnection" MethodIMuteAwaitConnectionCallbackDispatchOnUnmutedEvent = "dispatchOnUnmutedEvent" )
const ( TransactionINativeSpatializerCallbackOnLevelChanged = binder.FirstCallTransaction + 0 TransactionINativeSpatializerCallbackOnOutputChanged = binder.FirstCallTransaction + 1 )
const ( MethodINativeSpatializerCallbackOnLevelChanged = "onLevelChanged" MethodINativeSpatializerCallbackOnOutputChanged = "onOutputChanged" )
const ( TransactionINearbyMediaDevicesProviderRegisterNearbyDevicesCallback = binder.FirstCallTransaction + 1 TransactionINearbyMediaDevicesProviderUnregisterNearbyDevicesCallback = binder.FirstCallTransaction + 2 )
const ( MethodINearbyMediaDevicesProviderRegisterNearbyDevicesCallback = "registerNearbyDevicesCallback" MethodINearbyMediaDevicesProviderUnregisterNearbyDevicesCallback = "unregisterNearbyDevicesCallback" )
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 )
const ( MethodIPlayerStart = "start" MethodIPlayerPause = "pause" MethodIPlayerStop = "stop" MethodIPlayerSetVolume = "setVolume" MethodIPlayerSetPan = "setPan" MethodIPlayerSetStartDelayMs = "setStartDelayMs" MethodIPlayerApplyVolumeShaper = "applyVolumeShaper" )
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 )
const ( MethodIRemoteDisplayProviderSetCallback = "setCallback" MethodIRemoteDisplayProviderSetDiscoveryMode = "setDiscoveryMode" MethodIRemoteDisplayProviderConnect = "connect" MethodIRemoteDisplayProviderDisconnect = "disconnect" MethodIRemoteDisplayProviderSetVolume = "setVolume" MethodIRemoteDisplayProviderAdjustVolume = "adjustVolume" )
const ( TransactionIRemoteSessionCallbackOnVolumeChanged = binder.FirstCallTransaction + 0 TransactionIRemoteSessionCallbackOnSessionChanged = binder.FirstCallTransaction + 1 )
const ( MethodIRemoteSessionCallbackOnVolumeChanged = "onVolumeChanged" MethodIRemoteSessionCallbackOnSessionChanged = "onSessionChanged" )
const ( TransactionIResourceManagerClientReclaimResource = binder.FirstCallTransaction + 0 TransactionIResourceManagerClientGetName = binder.FirstCallTransaction + 1 )
const ( MethodIResourceManagerClientReclaimResource = "reclaimResource" MethodIResourceManagerClientGetName = "getName" )
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 )
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" )
const ( IResourceManagerServiceKPolicySupportsMultipleSecureCodecs string = "supports-multiple-secure-codecs" IResourceManagerServiceKPolicySupportsSecureWithNonSecureCodec string = "supports-secure-with-non-secure-codec" )
const ( TransactionIResourceObserverServiceRegisterObserver = binder.FirstCallTransaction + 0 TransactionIResourceObserverServiceUnregisterObserver = binder.FirstCallTransaction + 1 )
const ( MethodIResourceObserverServiceRegisterObserver = "registerObserver" MethodIResourceObserverServiceUnregisterObserver = "unregisterObserver" )
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 )
const ( MethodIRingtonePlayerPlay = "play" MethodIRingtonePlayerPlayWithVolumeShaping = "playWithVolumeShaping" MethodIRingtonePlayerStop = "stop" MethodIRingtonePlayerIsPlaying = "isPlaying" MethodIRingtonePlayerSetPlaybackProperties = "setPlaybackProperties" MethodIRingtonePlayerPlayAsync = "playAsync" MethodIRingtonePlayerStopAsync = "stopAsync" MethodIRingtonePlayerGetTitle = "getTitle" MethodIRingtonePlayerOpenRingtone = "openRingtone" )
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 )
const ( MethodISoundDoseSetOutputRs2UpperBound = "setOutputRs2UpperBound" MethodISoundDoseResetCsd = "resetCsd" MethodISoundDoseUpdateAttenuation = "updateAttenuation" MethodISoundDoseSetCsdEnabled = "setCsdEnabled" MethodISoundDoseInitCachedAudioDeviceCategories = "initCachedAudioDeviceCategories" MethodISoundDoseSetAudioDeviceCategory = "setAudioDeviceCategory" MethodISoundDoseGetOutputRs2UpperBound = "getOutputRs2UpperBound" MethodISoundDoseGetCsd = "getCsd" MethodISoundDoseIsSoundDoseHalSupported = "isSoundDoseHalSupported" MethodISoundDoseForceUseFrameworkMel = "forceUseFrameworkMel" MethodISoundDoseForceComputeCsdOnAllDevices = "forceComputeCsdOnAllDevices" )
const ( TransactionISoundDoseCallbackOnMomentaryExposure = binder.FirstCallTransaction + 0 TransactionISoundDoseCallbackOnNewCsdValue = binder.FirstCallTransaction + 1 )
const ( MethodISoundDoseCallbackOnMomentaryExposure = "onMomentaryExposure" MethodISoundDoseCallbackOnNewCsdValue = "onNewCsdValue" )
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 )
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" )
const ( TransactionISpatializerCallbackDispatchSpatializerEnabledChanged = binder.FirstCallTransaction + 0 TransactionISpatializerCallbackDispatchSpatializerAvailableChanged = binder.FirstCallTransaction + 1 )
const ( MethodISpatializerCallbackDispatchSpatializerEnabledChanged = "dispatchSpatializerEnabledChanged" MethodISpatializerCallbackDispatchSpatializerAvailableChanged = "dispatchSpatializerAvailableChanged" )
const ( TransactionISpatializerHeadTrackingCallbackOnHeadTrackingModeChanged = binder.FirstCallTransaction + 0 TransactionISpatializerHeadTrackingCallbackOnHeadToSoundStagePoseUpdated = binder.FirstCallTransaction + 1 )
const ( MethodISpatializerHeadTrackingCallbackOnHeadTrackingModeChanged = "onHeadTrackingModeChanged" MethodISpatializerHeadTrackingCallbackOnHeadToSoundStagePoseUpdated = "onHeadToSoundStagePoseUpdated" )
const ( TransactionISpatializerHeadTrackingModeCallbackDispatchSpatializerActualHeadTrackingModeChanged = binder.FirstCallTransaction + 0 TransactionISpatializerHeadTrackingModeCallbackDispatchSpatializerDesiredHeadTrackingModeChanged = binder.FirstCallTransaction + 1 )
const ( MethodISpatializerHeadTrackingModeCallbackDispatchSpatializerActualHeadTrackingModeChanged = "dispatchSpatializerActualHeadTrackingModeChanged" MethodISpatializerHeadTrackingModeCallbackDispatchSpatializerDesiredHeadTrackingModeChanged = "dispatchSpatializerDesiredHeadTrackingModeChanged" )
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 )
const ( MethodITranscodingClientSubmitRequest = "submitRequest" MethodITranscodingClientCancelSession = "cancelSession" MethodITranscodingClientGetSessionWithId = "getSessionWithId" MethodITranscodingClientAddClientUid = "addClientUid" MethodITranscodingClientGetClientUids = "getClientUids" MethodITranscodingClientUnregister = "unregister" )
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 )
const ( MethodITranscodingClientCallbackOpenFileDescriptor = "openFileDescriptor" MethodITranscodingClientCallbackOnTranscodingStarted = "onTranscodingStarted" MethodITranscodingClientCallbackOnTranscodingPaused = "onTranscodingPaused" MethodITranscodingClientCallbackOnTranscodingResumed = "onTranscodingResumed" MethodITranscodingClientCallbackOnTranscodingFinished = "onTranscodingFinished" MethodITranscodingClientCallbackOnTranscodingFailed = "onTranscodingFailed" MethodITranscodingClientCallbackOnAwaitNumberOfSessionsChanged = "onAwaitNumberOfSessionsChanged" MethodITranscodingClientCallbackOnProgressUpdate = "onProgressUpdate" )
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 )
const ( MethodIVolumeControllerDisplaySafeVolumeWarning = "displaySafeVolumeWarning" MethodIVolumeControllerVolumeChanged = "volumeChanged" MethodIVolumeControllerMasterMuteChanged = "masterMuteChanged" MethodIVolumeControllerSetLayoutDirection = "setLayoutDirection" MethodIVolumeControllerDismiss = "dismiss" MethodIVolumeControllerSetA11yMode = "setA11yMode" MethodIVolumeControllerDisplayCsdWarning = "displayCsdWarning" )
const DescriptorIAudioDeviceVolumeDispatcher = "android.media.IAudioDeviceVolumeDispatcher"
const DescriptorIAudioFlingerClient = "android.media.IAudioFlingerClient"
const DescriptorIAudioFlingerService = "android.media.IAudioFlingerService"
const DescriptorIAudioFocusDispatcher = "android.media.IAudioFocusDispatcher"
const DescriptorIAudioModeDispatcher = "android.media.IAudioModeDispatcher"
const DescriptorIAudioPolicyService = "android.media.IAudioPolicyService"
const DescriptorIAudioPolicyServiceClient = "android.media.IAudioPolicyServiceClient"
const DescriptorIAudioRecord = "android.media.IAudioRecord"
const DescriptorIAudioRoutesObserver = "android.media.IAudioRoutesObserver"
const DescriptorIAudioServerStateDispatcher = "android.media.IAudioServerStateDispatcher"
const DescriptorIAudioService = "android.media.IAudioService"
const DescriptorIAudioTrack = "android.media.IAudioTrack"
const DescriptorIAudioTrackCallback = "android.media.IAudioTrackCallback"
const DescriptorICapturePresetDevicesRoleDispatcher = "android.media.ICapturePresetDevicesRoleDispatcher"
const DescriptorICaptureStateListener = "android.media.ICaptureStateListener"
const DescriptorICommunicationDeviceDispatcher = "android.media.ICommunicationDeviceDispatcher"
const DescriptorIDeviceVolumeBehaviorDispatcher = "android.media.IDeviceVolumeBehaviorDispatcher"
const DescriptorIDevicesForAttributesCallback = "android.media.IDevicesForAttributesCallback"
const DescriptorIEffect = "android.media.IEffect"
const DescriptorIEffectClient = "android.media.IEffectClient"
const DescriptorILoudnessCodecUpdatesDispatcher = "android.media.ILoudnessCodecUpdatesDispatcher"
const DescriptorIMediaHTTPConnection = "android.media.IMediaHTTPConnection"
const DescriptorIMediaHTTPService = "android.media.IMediaHTTPService"
const DescriptorIMediaMetricsService = "android.media.IMediaMetricsService"
const DescriptorIMediaResourceMonitor = "android.media.IMediaResourceMonitor"
const DescriptorIMediaRoute2ProviderService = "android.media.IMediaRoute2ProviderService"
const DescriptorIMediaRoute2ProviderServiceCallback = "android.media.IMediaRoute2ProviderServiceCallback"
const DescriptorIMediaRouter2 = "android.media.IMediaRouter2"
const DescriptorIMediaRouter2Manager = "android.media.IMediaRouter2Manager"
const DescriptorIMediaRouterClient = "android.media.IMediaRouterClient"
const DescriptorIMediaRouterService = "android.media.IMediaRouterService"
const DescriptorIMediaScannerListener = "android.media.IMediaScannerListener"
const DescriptorIMediaScannerService = "android.media.IMediaScannerService"
const DescriptorIMediaTranscodingService = "android.media.IMediaTranscodingService"
const DescriptorIMuteAwaitConnectionCallback = "android.media.IMuteAwaitConnectionCallback"
const DescriptorINativeSpatializerCallback = "android.media.INativeSpatializerCallback"
const DescriptorINearbyMediaDevicesProvider = "android.media.INearbyMediaDevicesProvider"
const DescriptorINearbyMediaDevicesUpdateCallback = "android.media.INearbyMediaDevicesUpdateCallback"
const DescriptorIPlaybackConfigDispatcher = "android.media.IPlaybackConfigDispatcher"
const DescriptorIPlayer = "android.media.IPlayer"
const DescriptorIPreferredMixerAttributesDispatcher = "android.media.IPreferredMixerAttributesDispatcher"
const DescriptorIRecordingConfigDispatcher = "android.media.IRecordingConfigDispatcher"
const DescriptorIRemoteDisplayCallback = "android.media.IRemoteDisplayCallback"
const DescriptorIRemoteDisplayProvider = "android.media.IRemoteDisplayProvider"
const DescriptorIRemoteSessionCallback = "android.media.IRemoteSessionCallback"
const DescriptorIRemoteVolumeObserver = "android.media.IRemoteVolumeObserver"
const DescriptorIResourceManagerClient = "android.media.IResourceManagerClient"
const DescriptorIResourceManagerService = "android.media.IResourceManagerService"
const DescriptorIResourceObserver = "android.media.IResourceObserver"
const DescriptorIResourceObserverService = "android.media.IResourceObserverService"
const DescriptorIRingtonePlayer = "android.media.IRingtonePlayer"
const DescriptorISoundDose = "android.media.ISoundDose"
const DescriptorISoundDoseCallback = "android.media.ISoundDoseCallback"
const DescriptorISpatializer = "android.media.ISpatializer"
const DescriptorISpatializerCallback = "android.media.ISpatializerCallback"
const DescriptorISpatializerHeadToSoundStagePoseCallback = "android.media.ISpatializerHeadToSoundStagePoseCallback"
const DescriptorISpatializerHeadTrackerAvailableCallback = "android.media.ISpatializerHeadTrackerAvailableCallback"
const DescriptorISpatializerHeadTrackingCallback = "android.media.ISpatializerHeadTrackingCallback"
const DescriptorISpatializerHeadTrackingModeCallback = "android.media.ISpatializerHeadTrackingModeCallback"
const DescriptorISpatializerOutputCallback = "android.media.ISpatializerOutputCallback"
const DescriptorIStrategyNonDefaultDevicesDispatcher = "android.media.IStrategyNonDefaultDevicesDispatcher"
const DescriptorIStrategyPreferredDevicesDispatcher = "android.media.IStrategyPreferredDevicesDispatcher"
const DescriptorIStreamAliasingDispatcher = "android.media.IStreamAliasingDispatcher"
const DescriptorITranscodingClient = "android.media.ITranscodingClient"
const DescriptorITranscodingClientCallback = "android.media.ITranscodingClientCallback"
const DescriptorIVolumeController = "android.media.IVolumeController"
const (
MethodIAudioModeDispatcherDispatchAudioModeChanged = "dispatchAudioModeChanged"
)
const (
MethodIAudioRoutesObserverDispatchAudioRoutesChanged = "dispatchAudioRoutesChanged"
)
const (
MethodIAudioServerStateDispatcherDispatchAudioServerStateChange = "dispatchAudioServerStateChange"
)
const (
MethodIAudioTrackCallbackOnCodecFormatChanged = "onCodecFormatChanged"
)
const (
MethodICapturePresetDevicesRoleDispatcherDispatchDevicesRoleChanged = "dispatchDevicesRoleChanged"
)
const (
MethodICaptureStateListenerSetCaptureState = "setCaptureState"
)
const (
MethodICommunicationDeviceDispatcherDispatchCommunicationDeviceChanged = "dispatchCommunicationDeviceChanged"
)
const (
MethodIDeviceVolumeBehaviorDispatcherDispatchDeviceVolumeBehaviorChanged = "dispatchDeviceVolumeBehaviorChanged"
)
const (
MethodIDevicesForAttributesCallbackOnDevicesForAttributesChanged = "onDevicesForAttributesChanged"
)
const (
MethodILoudnessCodecUpdatesDispatcherDispatchLoudnessCodecParameterChange = "dispatchLoudnessCodecParameterChange"
)
const (
MethodIMediaHTTPServiceMakeHTTPConnection = "makeHTTPConnection"
)
const (
MethodIMediaMetricsServiceSubmitBuffer = "submitBuffer"
)
const (
MethodIMediaResourceMonitorNotifyResourceGranted = "notifyResourceGranted"
)
const (
MethodIMediaScannerListenerScanCompleted = "scanCompleted"
)
const (
MethodINearbyMediaDevicesUpdateCallbackOnDevicesUpdated = "onDevicesUpdated"
)
const (
MethodIPlaybackConfigDispatcherDispatchPlaybackConfigChange = "dispatchPlaybackConfigChange"
)
const (
MethodIPreferredMixerAttributesDispatcherDispatchPrefMixerAttributesChanged = "dispatchPrefMixerAttributesChanged"
)
const (
MethodIRecordingConfigDispatcherDispatchRecordingConfigChange = "dispatchRecordingConfigChange"
)
const (
MethodIRemoteDisplayCallbackOnStateChanged = "onStateChanged"
)
const (
MethodIRemoteVolumeObserverDispatchRemoteVolumeUpdate = "dispatchRemoteVolumeUpdate"
)
const (
MethodIResourceObserverOnStatusChanged = "onStatusChanged"
)
const (
MethodISpatializerHeadToSoundStagePoseCallbackDispatchPoseChanged = "dispatchPoseChanged"
)
const (
MethodISpatializerHeadTrackerAvailableCallbackDispatchSpatializerHeadTrackerAvailable = "dispatchSpatializerHeadTrackerAvailable"
)
const (
MethodISpatializerOutputCallbackDispatchSpatializerOutputChanged = "dispatchSpatializerOutputChanged"
)
const (
MethodIStrategyNonDefaultDevicesDispatcherDispatchNonDefDevicesChanged = "dispatchNonDefDevicesChanged"
)
const (
MethodIStrategyPreferredDevicesDispatcherDispatchPrefDevicesChanged = "dispatchPrefDevicesChanged"
)
const (
MethodIStreamAliasingDispatcherDispatchStreamAliasingChanged = "dispatchStreamAliasingChanged"
)
const (
TransactionIAudioModeDispatcherDispatchAudioModeChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIAudioRoutesObserverDispatchAudioRoutesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIAudioServerStateDispatcherDispatchAudioServerStateChange = binder.FirstCallTransaction + 0
)
const (
TransactionIAudioTrackCallbackOnCodecFormatChanged = binder.FirstCallTransaction + 0
)
const (
TransactionICapturePresetDevicesRoleDispatcherDispatchDevicesRoleChanged = binder.FirstCallTransaction + 0
)
const (
TransactionICaptureStateListenerSetCaptureState = binder.FirstCallTransaction + 0
)
const (
TransactionICommunicationDeviceDispatcherDispatchCommunicationDeviceChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIDeviceVolumeBehaviorDispatcherDispatchDeviceVolumeBehaviorChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIDevicesForAttributesCallbackOnDevicesForAttributesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionILoudnessCodecUpdatesDispatcherDispatchLoudnessCodecParameterChange = binder.FirstCallTransaction + 0
)
const (
TransactionIMediaHTTPServiceMakeHTTPConnection = binder.FirstCallTransaction + 0
)
const (
TransactionIMediaMetricsServiceSubmitBuffer = binder.FirstCallTransaction + 0
)
const (
TransactionIMediaResourceMonitorNotifyResourceGranted = binder.FirstCallTransaction + 0
)
const (
TransactionIMediaScannerListenerScanCompleted = binder.FirstCallTransaction + 0
)
const (
TransactionINearbyMediaDevicesUpdateCallbackOnDevicesUpdated = binder.FirstCallTransaction + 0
)
const (
TransactionIPlaybackConfigDispatcherDispatchPlaybackConfigChange = binder.FirstCallTransaction + 0
)
const (
TransactionIPreferredMixerAttributesDispatcherDispatchPrefMixerAttributesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIRecordingConfigDispatcherDispatchRecordingConfigChange = binder.FirstCallTransaction + 0
)
const (
TransactionIRemoteDisplayCallbackOnStateChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIRemoteVolumeObserverDispatchRemoteVolumeUpdate = binder.FirstCallTransaction + 0
)
const (
TransactionIResourceObserverOnStatusChanged = binder.FirstCallTransaction + 0
)
const (
TransactionISpatializerHeadToSoundStagePoseCallbackDispatchPoseChanged = binder.FirstCallTransaction + 0
)
const (
TransactionISpatializerHeadTrackerAvailableCallbackDispatchSpatializerHeadTrackerAvailable = binder.FirstCallTransaction + 0
)
const (
TransactionISpatializerOutputCallbackDispatchSpatializerOutputChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIStrategyNonDefaultDevicesDispatcherDispatchNonDefDevicesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIStrategyPreferredDevicesDispatcherDispatchPrefDevicesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIStreamAliasingDispatcherDispatchStreamAliasingChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioAttributes ¶
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 ¶
func NewAudioDeviceVolumeDispatcherProxy ¶
func NewAudioDeviceVolumeDispatcherProxy( remote binder.IBinder, ) *AudioDeviceVolumeDispatcherProxy
func (*AudioDeviceVolumeDispatcherProxy) AsBinder ¶
func (p *AudioDeviceVolumeDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *AudioDeviceVolumeDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AudioDirectMode ¶
type AudioDirectMode int32
const ( AudioDirectModeNONE AudioDirectMode = 0 AudioDirectModeOFFLOAD AudioDirectMode = 1 AudioDirectModeOffloadGapless AudioDirectMode = 2 AudioDirectModeBITSTREAM AudioDirectMode = 4 )
type AudioFlingerClientProxy ¶
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 ¶
func NewAudioFlingerServiceProxy ¶
func NewAudioFlingerServiceProxy( remote binder.IBinder, ) *AudioFlingerServiceProxy
func (*AudioFlingerServiceProxy) AcquireAudioSessionId ¶
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 (p *AudioFlingerServiceProxy) CreateEffect( ctx context.Context, request CreateEffectRequest, ) (CreateEffectResponse, error)
func (*AudioFlingerServiceProxy) CreateRecord ¶
func (p *AudioFlingerServiceProxy) CreateRecord( ctx context.Context, request CreateRecordRequest, ) (CreateRecordResponse, error)
func (*AudioFlingerServiceProxy) CreateTrack ¶
func (p *AudioFlingerServiceProxy) CreateTrack( ctx context.Context, request CreateTrackRequest, ) (CreateTrackResponse, error)
func (*AudioFlingerServiceProxy) Format ¶
func (p *AudioFlingerServiceProxy) Format( ctx context.Context, output int32, ) (common.AudioFormatDescription, error)
func (*AudioFlingerServiceProxy) FrameCount ¶
func (*AudioFlingerServiceProxy) FrameCountHAL ¶
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 (*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 (*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 (*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) ListAudioPatches ¶
func (p *AudioFlingerServiceProxy) ListAudioPatches( ctx context.Context, maxCount int32, ) ([]AudioPatchFw, error)
func (*AudioFlingerServiceProxy) LoadHwModule ¶
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 (*AudioFlingerServiceProxy) NewAudioUniqueId ¶
func (p *AudioFlingerServiceProxy) NewAudioUniqueId( ctx context.Context, use AudioUniqueIdUse, ) (int32, error)
func (*AudioFlingerServiceProxy) OpenDuplicateOutput ¶
func (*AudioFlingerServiceProxy) OpenInput ¶
func (p *AudioFlingerServiceProxy) OpenInput( ctx context.Context, request OpenInputRequest, ) (OpenInputResponse, error)
func (*AudioFlingerServiceProxy) OpenOutput ¶
func (p *AudioFlingerServiceProxy) OpenOutput( ctx context.Context, request OpenOutputRequest, ) (OpenOutputResponse, error)
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 (*AudioFlingerServiceProxy) RestoreOutput ¶
func (p *AudioFlingerServiceProxy) RestoreOutput( ctx context.Context, output int32, ) error
func (*AudioFlingerServiceProxy) SampleRate ¶
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 (*AudioFlingerServiceProxy) SetLowRamDevice ¶
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) SetParameters ¶
func (*AudioFlingerServiceProxy) SetRecordSilenced ¶
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 ¶
func NewAudioFocusDispatcherProxy ¶
func NewAudioFocusDispatcherProxy( remote binder.IBinder, ) *AudioFocusDispatcherProxy
func (*AudioFocusDispatcherProxy) AsBinder ¶
func (p *AudioFocusDispatcherProxy) AsBinder() binder.IBinder
func (*AudioFocusDispatcherProxy) DispatchAudioFocusChange ¶
func (*AudioFocusDispatcherProxy) DispatchFocusResultFromExtPolicy ¶
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 ¶
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
}
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 (u *AudioMixMatchCriterionValue) GetSource() (common.AudioSource, bool)
func (*AudioMixMatchCriterionValue) GetUid ¶
func (u *AudioMixMatchCriterionValue) GetUid() (int32, bool)
func (*AudioMixMatchCriterionValue) GetUsage ¶
func (u *AudioMixMatchCriterionValue) GetUsage() (common.AudioUsage, bool)
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 ¶
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 ¶
func NewAudioPolicyServiceClientProxy ¶
func NewAudioPolicyServiceClientProxy( remote binder.IBinder, ) *AudioPolicyServiceClientProxy
func (*AudioPolicyServiceClientProxy) AsBinder ¶
func (p *AudioPolicyServiceClientProxy) AsBinder() binder.IBinder
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 (*AudioPolicyServiceClientProxy) OnDynamicPolicyMixStateUpdate ¶
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 ¶
func (s *AudioPolicyServiceClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AudioPolicyServiceProxy ¶
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 (*AudioPolicyServiceProxy) AddStreamDefaultEffect ¶
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 (p *AudioPolicyServiceProxy) GetForceUse( ctx context.Context, usage AudioPolicyForceUse, ) (AudioPolicyForcedConfig, error)
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 (p *AudioPolicyServiceProxy) GetOffloadSupport( ctx context.Context, info common.AudioOffloadInfo, ) (AudioOffloadMode, error)
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 (*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 (p *AudioPolicyServiceProxy) GetSpatializer( ctx context.Context, callback INativeSpatializerCallback, ) (GetSpatializerResponse, error)
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 (*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 (*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 (*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 (*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 (*AudioPolicyServiceProxy) SetForceUse ¶
func (p *AudioPolicyServiceProxy) SetForceUse( ctx context.Context, usage AudioPolicyForceUse, config AudioPolicyForcedConfig, ) error
func (*AudioPolicyServiceProxy) SetMasterMono ¶
func (p *AudioPolicyServiceProxy) SetMasterMono( ctx context.Context, mono bool, ) error
func (*AudioPolicyServiceProxy) SetPhoneState ¶
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 ¶
func (*AudioProfileSys) MarshalParcel ¶
func (s *AudioProfileSys) MarshalParcel( p *parcel.Parcel, ) error
func (*AudioProfileSys) UnmarshalParcel ¶
func (s *AudioProfileSys) UnmarshalParcel( p *parcel.Parcel, ) error
type AudioRecordProxy ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewAudioServerStateDispatcherProxy ¶
func NewAudioServerStateDispatcherProxy( remote binder.IBinder, ) *AudioServerStateDispatcherProxy
func (*AudioServerStateDispatcherProxy) AsBinder ¶
func (p *AudioServerStateDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *AudioServerStateDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AudioServiceProxy ¶
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 (*AudioServiceProxy) AdjustStreamVolumeForUid ¶
func (*AudioServiceProxy) AdjustStreamVolumeWithAttribution ¶
func (*AudioServiceProxy) AdjustSuggestedStreamVolume ¶
func (*AudioServiceProxy) AdjustSuggestedStreamVolumeForUid ¶
func (*AudioServiceProxy) AdjustVolume ¶
func (*AudioServiceProxy) AdjustVolumeGroupVolume ¶
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 (*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 (*AudioServiceProxy) ExitAudioFocusFreezeForTest ¶
func (*AudioServiceProxy) ForceComputeCsdOnAllDevices ¶
func (p *AudioServiceProxy) ForceComputeCsdOnAllDevices( ctx context.Context, computeCsdOnAllDevices bool, ) error
func (*AudioServiceProxy) ForceRemoteSubmixFullVolume ¶
func (*AudioServiceProxy) ForceUseFrameworkMel ¶
func (p *AudioServiceProxy) ForceUseFrameworkMel( ctx context.Context, useFrameworkMel bool, ) error
func (*AudioServiceProxy) ForceVolumeControlStream ¶
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 (*AudioServiceProxy) GetBluetoothAudioDeviceCategory_legacy ¶
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 (*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 (*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 (*AudioServiceProxy) GetLastAudibleVolumeForVolumeGroup ¶
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 (*AudioServiceProxy) GetStreamMaxVolume ¶
func (*AudioServiceProxy) GetStreamMinVolume ¶
func (*AudioServiceProxy) GetStreamTypeAlias ¶
func (*AudioServiceProxy) GetStreamVolume ¶
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 (*AudioServiceProxy) GetUiSoundsStreamType ¶
func (p *AudioServiceProxy) GetUiSoundsStreamType( ctx context.Context, ) (int32, error)
func (*AudioServiceProxy) GetVibrateSetting ¶
func (*AudioServiceProxy) GetVolumeController ¶
func (p *AudioServiceProxy) GetVolumeController( ctx context.Context, ) (IVolumeController, error)
func (*AudioServiceProxy) GetVolumeGroupMaxVolumeIndex ¶
func (*AudioServiceProxy) GetVolumeGroupMinVolumeIndex ¶
func (*AudioServiceProxy) GetVolumeGroupVolumeIndex ¶
func (*AudioServiceProxy) HandleBluetoothActiveDeviceChanged ¶
func (p *AudioServiceProxy) HandleBluetoothActiveDeviceChanged( ctx context.Context, newDevice bluetooth.BluetoothDevice, previousDevice bluetooth.BluetoothDevice, info BluetoothProfileConnectionInfo, ) error
func (*AudioServiceProxy) HandleVolumeKey ¶
func (*AudioServiceProxy) HasHapticChannels ¶
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 (*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 (*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 (*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 (*AudioServiceProxy) IsStreamAffectedByRingerMode ¶
func (*AudioServiceProxy) IsStreamMute ¶
func (*AudioServiceProxy) IsSurroundFormatEnabled ¶
func (*AudioServiceProxy) IsUltrasoundSupported ¶
func (p *AudioServiceProxy) IsUltrasoundSupported( ctx context.Context, ) (bool, error)
func (*AudioServiceProxy) IsValidRingerMode ¶
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 (*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 (*AudioServiceProxy) PlayerAttributes ¶
func (p *AudioServiceProxy) PlayerAttributes( ctx context.Context, piid int32, attr AudioAttributes, ) error
func (*AudioServiceProxy) PlayerEvent ¶
func (*AudioServiceProxy) PlayerHasOpPlayAudio ¶
func (*AudioServiceProxy) PlayerSessionId ¶
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 (*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 (*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 (*AudioServiceProxy) SetBluetoothA2dpOn ¶
func (p *AudioServiceProxy) SetBluetoothA2dpOn( ctx context.Context, on bool, ) error
func (*AudioServiceProxy) SetBluetoothAudioDeviceCategory ¶
func (*AudioServiceProxy) SetBluetoothAudioDeviceCategory_legacy ¶
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 (*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 (*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 (*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 (*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) 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 (*AudioServiceProxy) SetRingerModeInternal ¶
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 (*AudioServiceProxy) SetSpeakerphoneOn ¶
func (*AudioServiceProxy) SetStreamVolume ¶
func (*AudioServiceProxy) SetStreamVolumeForUid ¶
func (*AudioServiceProxy) SetStreamVolumeWithAttribution ¶
func (*AudioServiceProxy) SetSupportedSystemUsages ¶
func (p *AudioServiceProxy) SetSupportedSystemUsages( ctx context.Context, systemUsages []int32, ) error
func (*AudioServiceProxy) SetSurroundFormatEnabled ¶
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 (*AudioServiceProxy) SetVolumeController ¶
func (p *AudioServiceProxy) SetVolumeController( ctx context.Context, controller IVolumeController, ) error
func (*AudioServiceProxy) SetVolumeGroupVolumeIndex ¶
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 (*AudioServiceProxy) StartBluetoothSco ¶
func (*AudioServiceProxy) StartBluetoothScoVirtualCall ¶
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 (*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 (*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 ¶
func (*AudioTimestamp) MarshalParcel ¶
func (s *AudioTimestamp) MarshalParcel( p *parcel.Parcel, ) error
func (*AudioTimestamp) UnmarshalParcel ¶
func (s *AudioTimestamp) UnmarshalParcel( p *parcel.Parcel, ) error
type AudioTimestampInternal ¶
func (*AudioTimestampInternal) MarshalParcel ¶
func (s *AudioTimestampInternal) MarshalParcel( p *parcel.Parcel, ) error
func (*AudioTimestampInternal) UnmarshalParcel ¶
func (s *AudioTimestampInternal) UnmarshalParcel( p *parcel.Parcel, ) error
type AudioTrackCallbackProxy ¶
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 ¶
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 (*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) SelectPresentation ¶
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 (*AudioTrackProxy) SetPlaybackRateParameters ¶
func (p *AudioTrackProxy) SetPlaybackRateParameters( ctx context.Context, playbackRate common.AudioPlaybackRate, ) 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 ¶
func NewCapturePresetDevicesRoleDispatcherProxy ¶
func NewCapturePresetDevicesRoleDispatcherProxy( remote binder.IBinder, ) *CapturePresetDevicesRoleDispatcherProxy
func (*CapturePresetDevicesRoleDispatcherProxy) AsBinder ¶
func (p *CapturePresetDevicesRoleDispatcherProxy) AsBinder() binder.IBinder
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 (s *CapturePresetDevicesRoleDispatcherStub) Descriptor() string
func (*CapturePresetDevicesRoleDispatcherStub) OnTransaction ¶
func (s *CapturePresetDevicesRoleDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type CaptureStateListenerProxy ¶
func NewCaptureStateListenerProxy ¶
func NewCaptureStateListenerProxy( remote binder.IBinder, ) *CaptureStateListenerProxy
func (*CaptureStateListenerProxy) AsBinder ¶
func (p *CaptureStateListenerProxy) AsBinder() binder.IBinder
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 ¶
func (*ClientInfoParcel) MarshalParcel ¶
func (s *ClientInfoParcel) MarshalParcel( p *parcel.Parcel, ) error
func (*ClientInfoParcel) UnmarshalParcel ¶
func (s *ClientInfoParcel) UnmarshalParcel( p *parcel.Parcel, ) error
type CommunicationDeviceDispatcherProxy ¶
func NewCommunicationDeviceDispatcherProxy ¶
func NewCommunicationDeviceDispatcherProxy( remote binder.IBinder, ) *CommunicationDeviceDispatcherProxy
func (*CommunicationDeviceDispatcherProxy) AsBinder ¶
func (p *CommunicationDeviceDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *CommunicationDeviceDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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
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
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 ¶
func NewDeviceVolumeBehaviorDispatcherProxy ¶
func NewDeviceVolumeBehaviorDispatcherProxy( remote binder.IBinder, ) *DeviceVolumeBehaviorDispatcherProxy
func (*DeviceVolumeBehaviorDispatcherProxy) AsBinder ¶
func (p *DeviceVolumeBehaviorDispatcherProxy) AsBinder() binder.IBinder
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 (s *DeviceVolumeBehaviorDispatcherStub) Descriptor() string
func (*DeviceVolumeBehaviorDispatcherStub) OnTransaction ¶
func (s *DeviceVolumeBehaviorDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DevicesForAttributesCallbackProxy ¶
func NewDevicesForAttributesCallbackProxy ¶
func NewDevicesForAttributesCallbackProxy( remote binder.IBinder, ) *DevicesForAttributesCallbackProxy
func (*DevicesForAttributesCallbackProxy) AsBinder ¶
func (p *DevicesForAttributesCallbackProxy) AsBinder() binder.IBinder
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 ¶
func (s *DevicesForAttributesCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type EffectClientProxy ¶
func NewEffectClientProxy ¶
func NewEffectClientProxy( remote binder.IBinder, ) *EffectClientProxy
func (*EffectClientProxy) AsBinder ¶
func (p *EffectClientProxy) AsBinder() binder.IBinder
func (*EffectClientProxy) CommandExecuted ¶
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 ¶
func NewEffectProxy ¶
func NewEffectProxy( remote binder.IBinder, ) *EffectProxy
func (*EffectProxy) AsBinder ¶
func (p *EffectProxy) AsBinder() binder.IBinder
func (*EffectProxy) Disconnect ¶
func (p *EffectProxy) Disconnect( ctx context.Context, ) 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
}
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
}
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
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
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 ¶
func NewLoudnessCodecUpdatesDispatcherProxy ¶
func NewLoudnessCodecUpdatesDispatcherProxy( remote binder.IBinder, ) *LoudnessCodecUpdatesDispatcherProxy
func (*LoudnessCodecUpdatesDispatcherProxy) AsBinder ¶
func (p *LoudnessCodecUpdatesDispatcherProxy) AsBinder() binder.IBinder
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 (s *LoudnessCodecUpdatesDispatcherStub) Descriptor() string
func (*LoudnessCodecUpdatesDispatcherStub) OnTransaction ¶
func (s *LoudnessCodecUpdatesDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MediaDescription ¶
func (*MediaDescription) MarshalParcel ¶
func (s *MediaDescription) MarshalParcel( p *parcel.Parcel, ) error
func (*MediaDescription) UnmarshalParcel ¶
func (s *MediaDescription) UnmarshalParcel( p *parcel.Parcel, ) error
type MediaHTTPConnectionProxy ¶
func NewMediaHTTPConnectionProxy ¶
func NewMediaHTTPConnectionProxy( remote binder.IBinder, ) *MediaHTTPConnectionProxy
func (*MediaHTTPConnectionProxy) AsBinder ¶
func (p *MediaHTTPConnectionProxy) AsBinder() binder.IBinder
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)
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 ¶
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 ¶
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 ¶
func NewMediaResourceMonitorProxy ¶
func NewMediaResourceMonitorProxy( remote binder.IBinder, ) *MediaResourceMonitorProxy
func (*MediaResourceMonitorProxy) AsBinder ¶
func (p *MediaResourceMonitorProxy) AsBinder() binder.IBinder
func (*MediaResourceMonitorProxy) NotifyResourceGranted ¶
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 ¶
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 ¶
func NewMediaRoute2ProviderServiceCallbackProxy ¶
func NewMediaRoute2ProviderServiceCallbackProxy( remote binder.IBinder, ) *MediaRoute2ProviderServiceCallbackProxy
func (*MediaRoute2ProviderServiceCallbackProxy) AsBinder ¶
func (p *MediaRoute2ProviderServiceCallbackProxy) AsBinder() binder.IBinder
func (*MediaRoute2ProviderServiceCallbackProxy) NotifyProviderUpdated ¶
func (p *MediaRoute2ProviderServiceCallbackProxy) NotifyProviderUpdated( ctx context.Context, providerInfo MediaRoute2ProviderInfo, ) error
func (*MediaRoute2ProviderServiceCallbackProxy) NotifyRequestFailed ¶
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 (s *MediaRoute2ProviderServiceCallbackStub) Descriptor() string
func (*MediaRoute2ProviderServiceCallbackStub) OnTransaction ¶
func (s *MediaRoute2ProviderServiceCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MediaRoute2ProviderServiceProxy ¶
func NewMediaRoute2ProviderServiceProxy ¶
func NewMediaRoute2ProviderServiceProxy( remote binder.IBinder, ) *MediaRoute2ProviderServiceProxy
func (*MediaRoute2ProviderServiceProxy) AsBinder ¶
func (p *MediaRoute2ProviderServiceProxy) AsBinder() binder.IBinder
func (*MediaRoute2ProviderServiceProxy) DeselectRoute ¶
func (*MediaRoute2ProviderServiceProxy) ReleaseSession ¶
func (*MediaRoute2ProviderServiceProxy) RequestCreateSession ¶
func (*MediaRoute2ProviderServiceProxy) SelectRoute ¶
func (*MediaRoute2ProviderServiceProxy) SetCallback ¶
func (p *MediaRoute2ProviderServiceProxy) SetCallback( ctx context.Context, callback IMediaRoute2ProviderServiceCallback, ) error
func (*MediaRoute2ProviderServiceProxy) SetRouteVolume ¶
func (*MediaRoute2ProviderServiceProxy) SetSessionVolume ¶
func (*MediaRoute2ProviderServiceProxy) TransferToRoute ¶
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 ¶
func (s *MediaRoute2ProviderServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MediaRouter2ManagerProxy ¶
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 (*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 ¶
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 ¶
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 ¶
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 (p *MediaRouterServiceProxy) GetState( ctx context.Context, client IMediaRouterClient, ) (MediaRouterClientState, error)
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 (*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 ¶
func NewMediaScannerListenerProxy ¶
func NewMediaScannerListenerProxy( remote binder.IBinder, ) *MediaScannerListenerProxy
func (*MediaScannerListenerProxy) AsBinder ¶
func (p *MediaScannerListenerProxy) AsBinder() binder.IBinder
func (*MediaScannerListenerProxy) ScanCompleted ¶
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 ¶
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
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 ¶
func NewMediaTranscodingServiceProxy ¶
func NewMediaTranscodingServiceProxy( remote binder.IBinder, ) *MediaTranscodingServiceProxy
func (*MediaTranscodingServiceProxy) AsBinder ¶
func (p *MediaTranscodingServiceProxy) AsBinder() binder.IBinder
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 ¶
func NewMuteAwaitConnectionCallbackProxy ¶
func NewMuteAwaitConnectionCallbackProxy( remote binder.IBinder, ) *MuteAwaitConnectionCallbackProxy
func (*MuteAwaitConnectionCallbackProxy) AsBinder ¶
func (p *MuteAwaitConnectionCallbackProxy) AsBinder() binder.IBinder
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 ¶
func (s *MuteAwaitConnectionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type NativeSpatializerCallbackProxy ¶
func NewNativeSpatializerCallbackProxy ¶
func NewNativeSpatializerCallbackProxy( remote binder.IBinder, ) *NativeSpatializerCallbackProxy
func (*NativeSpatializerCallbackProxy) AsBinder ¶
func (p *NativeSpatializerCallbackProxy) AsBinder() binder.IBinder
func (*NativeSpatializerCallbackProxy) OnLevelChanged ¶
func (p *NativeSpatializerCallbackProxy) OnLevelChanged( ctx context.Context, level common.SpatializationLevel, ) error
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 ¶
func (s *NativeSpatializerCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type NearbyDevice ¶
func (*NearbyDevice) MarshalParcel ¶
func (s *NearbyDevice) MarshalParcel( p *parcel.Parcel, ) error
func (*NearbyDevice) UnmarshalParcel ¶
func (s *NearbyDevice) UnmarshalParcel( p *parcel.Parcel, ) error
type NearbyMediaDevicesProviderProxy ¶
func NewNearbyMediaDevicesProviderProxy ¶
func NewNearbyMediaDevicesProviderProxy( remote binder.IBinder, ) *NearbyMediaDevicesProviderProxy
func (*NearbyMediaDevicesProviderProxy) AsBinder ¶
func (p *NearbyMediaDevicesProviderProxy) AsBinder() binder.IBinder
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 ¶
func (s *NearbyMediaDevicesProviderStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type NearbyMediaDevicesUpdateCallbackProxy ¶
func NewNearbyMediaDevicesUpdateCallbackProxy ¶
func NewNearbyMediaDevicesUpdateCallbackProxy( remote binder.IBinder, ) *NearbyMediaDevicesUpdateCallbackProxy
func (*NearbyMediaDevicesUpdateCallbackProxy) AsBinder ¶
func (p *NearbyMediaDevicesUpdateCallbackProxy) AsBinder() binder.IBinder
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 (s *NearbyMediaDevicesUpdateCallbackStub) Descriptor() string
func (*NearbyMediaDevicesUpdateCallbackStub) OnTransaction ¶
func (s *NearbyMediaDevicesUpdateCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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 ¶
func NewPlaybackConfigDispatcherProxy ¶
func NewPlaybackConfigDispatcherProxy( remote binder.IBinder, ) *PlaybackConfigDispatcherProxy
func (*PlaybackConfigDispatcherProxy) AsBinder ¶
func (p *PlaybackConfigDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *PlaybackConfigDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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 ¶
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) SetPan ¶
func (p *PlayerProxy) SetPan( ctx context.Context, pan float32, ) error
func (*PlayerProxy) SetStartDelayMs ¶
func (p *PlayerProxy) SetStartDelayMs( ctx context.Context, delayMs int32, ) 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 ¶
func NewPreferredMixerAttributesDispatcherProxy ¶
func NewPreferredMixerAttributesDispatcherProxy( remote binder.IBinder, ) *PreferredMixerAttributesDispatcherProxy
func (*PreferredMixerAttributesDispatcherProxy) AsBinder ¶
func (p *PreferredMixerAttributesDispatcherProxy) AsBinder() binder.IBinder
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 (s *PreferredMixerAttributesDispatcherStub) Descriptor() string
func (*PreferredMixerAttributesDispatcherStub) OnTransaction ¶
func (s *PreferredMixerAttributesDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*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 ¶
func NewRecordingConfigDispatcherProxy ¶
func NewRecordingConfigDispatcherProxy( remote binder.IBinder, ) *RecordingConfigDispatcherProxy
func (*RecordingConfigDispatcherProxy) AsBinder ¶
func (p *RecordingConfigDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *RecordingConfigDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteDisplayCallbackProxy ¶
func NewRemoteDisplayCallbackProxy ¶
func NewRemoteDisplayCallbackProxy( remote binder.IBinder, ) *RemoteDisplayCallbackProxy
func (*RemoteDisplayCallbackProxy) AsBinder ¶
func (p *RemoteDisplayCallbackProxy) AsBinder() binder.IBinder
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 ¶
func NewRemoteDisplayProviderProxy ¶
func NewRemoteDisplayProviderProxy( remote binder.IBinder, ) *RemoteDisplayProviderProxy
func (*RemoteDisplayProviderProxy) AdjustVolume ¶
func (*RemoteDisplayProviderProxy) AsBinder ¶
func (p *RemoteDisplayProviderProxy) AsBinder() binder.IBinder
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
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 ¶
func NewRemoteSessionCallbackProxy ¶
func NewRemoteSessionCallbackProxy( remote binder.IBinder, ) *RemoteSessionCallbackProxy
func (*RemoteSessionCallbackProxy) AsBinder ¶
func (p *RemoteSessionCallbackProxy) AsBinder() binder.IBinder
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 ¶
func NewRemoteVolumeObserverProxy ¶
func NewRemoteVolumeObserverProxy( remote binder.IBinder, ) *RemoteVolumeObserverProxy
func (*RemoteVolumeObserverProxy) AsBinder ¶
func (p *RemoteVolumeObserverProxy) AsBinder() binder.IBinder
func (*RemoteVolumeObserverProxy) DispatchRemoteVolumeUpdate ¶
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 ¶
func (*RenderPosition) MarshalParcel ¶
func (s *RenderPosition) MarshalParcel( p *parcel.Parcel, ) error
func (*RenderPosition) UnmarshalParcel ¶
func (s *RenderPosition) UnmarshalParcel( p *parcel.Parcel, ) error
type ResourceManagerClientProxy ¶
func NewResourceManagerClientProxy ¶
func NewResourceManagerClientProxy( remote binder.IBinder, ) *ResourceManagerClientProxy
func (*ResourceManagerClientProxy) AsBinder ¶
func (p *ResourceManagerClientProxy) AsBinder() binder.IBinder
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 ¶
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 (p *ResourceManagerServiceProxy) AsBinder() binder.IBinder
func (*ResourceManagerServiceProxy) Config ¶
func (p *ResourceManagerServiceProxy) Config( ctx context.Context, policies []MediaResourcePolicyParcel, ) error
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 (*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 ¶
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 ¶
func NewResourceObserverServiceProxy ¶
func NewResourceObserverServiceProxy( remote binder.IBinder, ) *ResourceObserverServiceProxy
func (*ResourceObserverServiceProxy) AsBinder ¶
func (p *ResourceObserverServiceProxy) AsBinder() binder.IBinder
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 ¶
func NewRingtonePlayerProxy ¶
func NewRingtonePlayerProxy( remote binder.IBinder, ) *RingtonePlayerProxy
func (*RingtonePlayerProxy) AsBinder ¶
func (p *RingtonePlayerProxy) AsBinder() binder.IBinder
func (*RingtonePlayerProxy) OpenRingtone ¶
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 ¶
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 {
}
func (*SharedFileRegion) MarshalParcel ¶
func (s *SharedFileRegion) MarshalParcel( p *parcel.Parcel, ) error
func (*SharedFileRegion) UnmarshalParcel ¶
func (s *SharedFileRegion) UnmarshalParcel( p *parcel.Parcel, ) error
type SoundDoseCallbackProxy ¶
func NewSoundDoseCallbackProxy ¶
func NewSoundDoseCallbackProxy( remote binder.IBinder, ) *SoundDoseCallbackProxy
func (*SoundDoseCallbackProxy) AsBinder ¶
func (p *SoundDoseCallbackProxy) AsBinder() binder.IBinder
func (*SoundDoseCallbackProxy) OnMomentaryExposure ¶
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 ¶
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 ¶
type SoundDoseRecord ¶
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 ¶
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 ¶
func NewSpatializerHeadToSoundStagePoseCallbackProxy ¶
func NewSpatializerHeadToSoundStagePoseCallbackProxy( remote binder.IBinder, ) *SpatializerHeadToSoundStagePoseCallbackProxy
func (*SpatializerHeadToSoundStagePoseCallbackProxy) AsBinder ¶
func (p *SpatializerHeadToSoundStagePoseCallbackProxy) AsBinder() binder.IBinder
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 (s *SpatializerHeadToSoundStagePoseCallbackStub) Descriptor() string
func (*SpatializerHeadToSoundStagePoseCallbackStub) OnTransaction ¶
func (s *SpatializerHeadToSoundStagePoseCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SpatializerHeadTrackerAvailableCallbackProxy ¶
func NewSpatializerHeadTrackerAvailableCallbackProxy ¶
func NewSpatializerHeadTrackerAvailableCallbackProxy( remote binder.IBinder, ) *SpatializerHeadTrackerAvailableCallbackProxy
func (*SpatializerHeadTrackerAvailableCallbackProxy) AsBinder ¶
func (p *SpatializerHeadTrackerAvailableCallbackProxy) AsBinder() binder.IBinder
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 (s *SpatializerHeadTrackerAvailableCallbackStub) Descriptor() string
func (*SpatializerHeadTrackerAvailableCallbackStub) OnTransaction ¶
func (s *SpatializerHeadTrackerAvailableCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SpatializerHeadTrackingCallbackProxy ¶
func NewSpatializerHeadTrackingCallbackProxy ¶
func NewSpatializerHeadTrackingCallbackProxy( remote binder.IBinder, ) *SpatializerHeadTrackingCallbackProxy
func (*SpatializerHeadTrackingCallbackProxy) AsBinder ¶
func (p *SpatializerHeadTrackingCallbackProxy) AsBinder() binder.IBinder
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 (s *SpatializerHeadTrackingCallbackStub) Descriptor() string
func (*SpatializerHeadTrackingCallbackStub) OnTransaction ¶
func (s *SpatializerHeadTrackingCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SpatializerHeadTrackingModeCallbackProxy ¶
func NewSpatializerHeadTrackingModeCallbackProxy ¶
func NewSpatializerHeadTrackingModeCallbackProxy( remote binder.IBinder, ) *SpatializerHeadTrackingModeCallbackProxy
func (*SpatializerHeadTrackingModeCallbackProxy) AsBinder ¶
func (p *SpatializerHeadTrackingModeCallbackProxy) AsBinder() binder.IBinder
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 (s *SpatializerHeadTrackingModeCallbackStub) Descriptor() string
func (*SpatializerHeadTrackingModeCallbackStub) OnTransaction ¶
func (s *SpatializerHeadTrackingModeCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SpatializerOutputCallbackProxy ¶
func NewSpatializerOutputCallbackProxy ¶
func NewSpatializerOutputCallbackProxy( remote binder.IBinder, ) *SpatializerOutputCallbackProxy
func (*SpatializerOutputCallbackProxy) AsBinder ¶
func (p *SpatializerOutputCallbackProxy) AsBinder() binder.IBinder
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 ¶
func (s *SpatializerOutputCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SpatializerProxy ¶
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 (p *SpatializerProxy) GetLevel( ctx context.Context, ) (common.SpatializationLevel, error)
func (*SpatializerProxy) GetOutput ¶
func (p *SpatializerProxy) GetOutput( ctx context.Context, ) (int32, error)
func (*SpatializerProxy) GetParameter ¶
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) 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 (*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 ¶
func NewStrategyNonDefaultDevicesDispatcherProxy ¶
func NewStrategyNonDefaultDevicesDispatcherProxy( remote binder.IBinder, ) *StrategyNonDefaultDevicesDispatcherProxy
func (*StrategyNonDefaultDevicesDispatcherProxy) AsBinder ¶
func (p *StrategyNonDefaultDevicesDispatcherProxy) AsBinder() binder.IBinder
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 (s *StrategyNonDefaultDevicesDispatcherStub) Descriptor() string
func (*StrategyNonDefaultDevicesDispatcherStub) OnTransaction ¶
func (s *StrategyNonDefaultDevicesDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type StrategyPreferredDevicesDispatcherProxy ¶
func NewStrategyPreferredDevicesDispatcherProxy ¶
func NewStrategyPreferredDevicesDispatcherProxy( remote binder.IBinder, ) *StrategyPreferredDevicesDispatcherProxy
func (*StrategyPreferredDevicesDispatcherProxy) AsBinder ¶
func (p *StrategyPreferredDevicesDispatcherProxy) AsBinder() binder.IBinder
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 (s *StrategyPreferredDevicesDispatcherStub) Descriptor() string
func (*StrategyPreferredDevicesDispatcherStub) OnTransaction ¶
func (s *StrategyPreferredDevicesDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type StreamAliasingDispatcherProxy ¶
func NewStreamAliasingDispatcherProxy ¶
func NewStreamAliasingDispatcherProxy( remote binder.IBinder, ) *StreamAliasingDispatcherProxy
func (*StreamAliasingDispatcherProxy) AsBinder ¶
func (p *StreamAliasingDispatcherProxy) AsBinder() binder.IBinder
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 ¶
func (s *StreamAliasingDispatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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 (s *SurroundSoundConfigSurroundFormatFamily) MarshalParcel( p *parcel.Parcel, ) error
func (*SurroundSoundConfigSurroundFormatFamily) UnmarshalParcel ¶
func (s *SurroundSoundConfigSurroundFormatFamily) UnmarshalParcel( p *parcel.Parcel, ) error
type TrackSecondaryOutputInfo ¶
func (*TrackSecondaryOutputInfo) MarshalParcel ¶
func (s *TrackSecondaryOutputInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*TrackSecondaryOutputInfo) UnmarshalParcel ¶
func (s *TrackSecondaryOutputInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type TranscodingClientCallbackProxy ¶
func NewTranscodingClientCallbackProxy ¶
func NewTranscodingClientCallbackProxy( remote binder.IBinder, ) *TranscodingClientCallbackProxy
func (*TranscodingClientCallbackProxy) AsBinder ¶
func (p *TranscodingClientCallbackProxy) AsBinder() binder.IBinder
func (*TranscodingClientCallbackProxy) OnAwaitNumberOfSessionsChanged ¶
func (*TranscodingClientCallbackProxy) OnProgressUpdate ¶
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 ¶
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 ¶
func (s *TranscodingClientCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TranscodingClientProxy ¶
func NewTranscodingClientProxy ¶
func NewTranscodingClientProxy( remote binder.IBinder, ) *TranscodingClientProxy
func (*TranscodingClientProxy) AddClientUid ¶
func (*TranscodingClientProxy) AsBinder ¶
func (p *TranscodingClientProxy) AsBinder() binder.IBinder
func (*TranscodingClientProxy) CancelSession ¶
func (*TranscodingClientProxy) GetClientUids ¶
func (*TranscodingClientProxy) GetSessionWithId ¶
func (p *TranscodingClientProxy) GetSessionWithId( ctx context.Context, sessionId int32, session TranscodingSessionParcel, ) (bool, error)
func (*TranscodingClientProxy) SubmitRequest ¶
func (p *TranscodingClientProxy) SubmitRequest( ctx context.Context, request TranscodingRequestParcel, session TranscodingSessionParcel, ) (bool, error)
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 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 ¶
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 ¶
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 (*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 ¶
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 ¶
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 ¶
func (*VolumeShaperState) MarshalParcel ¶
func (s *VolumeShaperState) MarshalParcel( p *parcel.Parcel, ) error
func (*VolumeShaperState) UnmarshalParcel ¶
func (s *VolumeShaperState) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- audioattributes.go
- audioattributesex.go
- audioclient.go
- audiodeviceattributes.go
- audiodirectmode.go
- audiofocusinfo.go
- audioformat.go
- audiogainsys.go
- audiohalversion.go
- audiohalversion.type.go
- audiohalversioninfo.go
- audiohwmodule.go
- audioioconfigevent.go
- audioiodescriptor.go
- audiomix.go
- audiomixcallbackflag.go
- audiomixerattributes.go
- audiomixerattributesinternal.go
- audiomixerbehavior.go
- audiomixmatchcriterion.go
- audiomixmatchcriterionvalue.go
- audiomixrouteflag.go
- audiomixtype.go
- audiomixupdate.go
- audiooffloadmode.go
- audiopatchfw.go
- audioplaybackconfiguration.go
- audiopolicyconfig.go
- audiopolicydevicestate.go
- audiopolicyforcedconfig.go
- audiopolicyforceuse.go
- audioportconfigfw.go
- audioportconfigsys.go
- audioportdeviceextsys.go
- audioportextsys.go
- audioportfw.go
- audioportmixextsys.go
- audioportrole.go
- audioportsys.go
- audioporttype.go
- audiopresentation.go
- audioproductstrategy.go
- audioprofilesys.go
- audiorecordingconfiguration.go
- audioroute.go
- audioroutesinfo.go
- audiotimestamp.go
- audiotimestampinternal.go
- audiouniqueiduse.go
- audiovibratorinfo.go
- audiovolumegroup.go
- bluetoothprofileconnectioninfo.go
- bufferingparams.go
- clientconfigparcel.go
- clientinfoparcel.go
- createeffectrequest.go
- createeffectresponse.go
- createrecordrequest.go
- createrecordresponse.go
- createtrackrequest.go
- createtrackresponse.go
- deviceconnectedstate.go
- devicerole.go
- effectconfig.go
- effectdescriptor.go
- fademanagerconfiguration.go
- getinputforattrresponse.go
- getoutputforattrresponse.go
- getspatializerresponse.go
- iaudiodevicevolumedispatcher.go
- iaudioflingerclient.go
- iaudioflingerservice.go
- iaudiofocusdispatcher.go
- iaudiomodedispatcher.go
- iaudiopolicyservice.go
- iaudiopolicyserviceclient.go
- iaudiorecord.go
- iaudioroutesobserver.go
- iaudioserverstatedispatcher.go
- iaudioservice.go
- iaudiotrack.go
- iaudiotrackcallback.go
- icapturepresetdevicesroledispatcher.go
- icapturestatelistener.go
- icommunicationdevicedispatcher.go
- idevicesforattributescallback.go
- idevicevolumebehaviordispatcher.go
- ieffect.go
- ieffectclient.go
- iloudnesscodecupdatesdispatcher.go
- imediahttpconnection.go
- imediahttpservice.go
- imediametricsservice.go
- imediaresourcemonitor.go
- imediaroute2providerservice.go
- imediaroute2providerservicecallback.go
- imediarouter2.go
- imediarouter2manager.go
- imediarouterclient.go
- imediarouterservice.go
- imediascannerlistener.go
- imediascannerservice.go
- imediatranscodingservice.go
- imuteawaitconnectioncallback.go
- inativespatializercallback.go
- inearbymediadevicesprovider.go
- inearbymediadevicesupdatecallback.go
- interpolatorconfig.go
- interpolatortype.go
- iplaybackconfigdispatcher.go
- iplayer.go
- ipreferredmixerattributesdispatcher.go
- irecordingconfigdispatcher.go
- iremotedisplaycallback.go
- iremotedisplayprovider.go
- iremotesessioncallback.go
- iremotevolumeobserver.go
- iresourcemanagerclient.go
- iresourcemanagerservice.go
- iresourceobserver.go
- iresourceobserverservice.go
- iringtoneplayer.go
- isounddose.audiodevicecategory.go
- isounddose.go
- isounddosecallback.go
- ispatializer.go
- ispatializercallback.go
- ispatializerheadtosoundstageposecallback.go
- ispatializerheadtrackeravailablecallback.go
- ispatializerheadtrackingcallback.go
- ispatializerheadtrackingmodecallback.go
- ispatializeroutputcallback.go
- istrategynondefaultdevicesdispatcher.go
- istrategypreferreddevicesdispatcher.go
- istreamaliasingdispatcher.go
- itranscodingclient.go
- itranscodingclientcallback.go
- ivolumecontroller.go
- loudnesscodecinfo.codecmetadatatype.go
- loudnesscodecinfo.go
- mediadescription.go
- mediametadata.go
- mediaobservableevent.go
- mediaobservablefilter.go
- mediaobservableparcel.go
- mediaobservabletype.go
- mediaresourceparcel.go
- mediaresourcepolicyparcel.go
- mediaresourcesubtype.go
- mediaresourcetype.go
- mediaroute2info.go
- mediaroute2providerinfo.go
- mediarouterclientstate.go
- microphoneinfofw.go
- nearbydevice.go
- openinputrequest.go
- openinputresponse.go
- openoutputrequest.go
- openoutputresponse.go
- playbackparams.go
- playerbase.playeridcard.go
- rating.go
- recordclientinfo.go
- remotedisplaystate.go
- renderposition.go
- routediscoverypreference.go
- routelistingpreference.go
- routingsessioninfo.go
- sharedfileregion.go
- sounddoserecord.go
- soundtriggersession.go
- surroundsoundconfig.go
- surroundsoundconfig.surroundformatfamily.go
- tracksecondaryoutputinfo.go
- transcodingerrorcode.go
- transcodingrequestparcel.go
- transcodingresultparcel.go
- transcodingsessionparcel.go
- transcodingsessionpriority.go
- transcodingsessionstats.go
- transcodingtestconfig.go
- transcodingtype.go
- transcodingvideocodectype.go
- transcodingvideotrackformat.go
- volumeinfo.go
- volumepolicy.go
- volumeshaper.go
- volumeshaperconfiguration.go
- volumeshaperconfigurationoptionflag.go
- volumeshaperconfigurationtype.go
- volumeshaperoperation.go
- volumeshaperoperationflag.go
- volumeshaperstate.go