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 {
PlayerIId int32
DeviceId int32
MutedState int32
PlayerType int32
ClientUid int32
ClientPid int32
PlayerState int32
SessionId int32
}
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
Length int32
Length2 int32
ClientFormat AudioFormat
DeviceFormat AudioFormat
}
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 ΒΆ
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 ΒΆ
type MediaDescription struct {
MediaId string
Title *string
Subtitle *string
Description *string
Icon *drawable.Icon
}
func (*MediaDescription) MarshalParcel ΒΆ
func (s *MediaDescription) MarshalParcel( p *parcel.Parcel, ) error
func (*MediaDescription) UnmarshalParcel ΒΆ
func (s *MediaDescription) UnmarshalParcel( p *parcel.Parcel, ) error
type MediaHTTPConnectionProxy ΒΆ
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
Name *string
Features []string
Description *string
}
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
PreferredFeatures []string
PackageOrder []string
AllowedPackages []string
}
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
ComponentName types.ComponentName
}
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
SelectedRoutes []string
SelectableRoutes []string
DeselectableRoutes []string
TransferableRoutes []string
UserHandle types.UserHandle
}
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) Release ΒΆ
func (p *SpatializerProxy) Release( ctx context.Context, ) error
func (*SpatializerProxy) SetDesiredHeadTrackingMode ΒΆ
func (p *SpatializerProxy) SetDesiredHeadTrackingMode( ctx context.Context, mode common.HeadTrackingMode, ) error
func (*SpatializerProxy) SetDisplayOrientation ΒΆ
func (p *SpatializerProxy) SetDisplayOrientation( ctx context.Context, physicalToLogicalAngle float32, ) error
func (*SpatializerProxy) SetFoldState ΒΆ
func (p *SpatializerProxy) SetFoldState( ctx context.Context, folded bool, ) error
func (*SpatializerProxy) SetGlobalTransform ΒΆ
func (p *SpatializerProxy) SetGlobalTransform( ctx context.Context, screenToStage []float32, ) error
func (*SpatializerProxy) SetHeadSensor ΒΆ
func (p *SpatializerProxy) SetHeadSensor( ctx context.Context, sensorHandle int32, ) error
func (*SpatializerProxy) SetHingeAngle ΒΆ
func (p *SpatializerProxy) SetHingeAngle( ctx context.Context, hingeAngle float32, ) error
func (*SpatializerProxy) SetLevel ΒΆ
func (p *SpatializerProxy) SetLevel( ctx context.Context, level common.SpatializationLevel, ) error
func (*SpatializerProxy) SetParameter ΒΆ
func (*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 {
VolumeDownToEnterSilent bool
VolumeUpToExitSilent bool
DoNotDisturbWhenSilent bool
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