Lines Matching refs:binder
83 binder::Status onNewAudioModulesAvailable() override;
84 binder::Status setDeviceConnectionState(
88 binder::Status getDeviceConnectionState(const AudioDevice& device,
90 binder::Status handleDeviceConfigChange(
94 binder::Status setPhoneState(AudioMode state, int32_t uid) override;
95 binder::Status setForceUse(media::AudioPolicyForceUse usage,
97 binder::Status getForceUse(media::AudioPolicyForceUse usage,
99 binder::Status getOutput(AudioStreamType stream, int32_t* _aidl_return) override;
100 binder::Status getOutputForAttr(const media::AudioAttributesInternal& attr, int32_t session,
105 binder::Status startOutput(int32_t portId) override;
106 binder::Status stopOutput(int32_t portId) override;
107 binder::Status releaseOutput(int32_t portId) override;
108 binder::Status getInputForAttr(const media::AudioAttributesInternal& attr, int32_t input,
114 binder::Status startInput(int32_t portId) override;
115 binder::Status stopInput(int32_t portId) override;
116 binder::Status releaseInput(int32_t portId) override;
117 binder::Status initStreamVolume(AudioStreamType stream, int32_t indexMin,
119 binder::Status setStreamVolumeIndex(AudioStreamType stream,
122 binder::Status getStreamVolumeIndex(AudioStreamType stream,
125 binder::Status setVolumeIndexForAttributes(const media::AudioAttributesInternal& attr,
128 binder::Status getVolumeIndexForAttributes(const media::AudioAttributesInternal& attr,
131 binder::Status getMaxVolumeIndexForAttributes(const media::AudioAttributesInternal& attr,
133 binder::Status getMinVolumeIndexForAttributes(const media::AudioAttributesInternal& attr,
135 binder::Status getStrategyForStream(AudioStreamType stream,
137 binder::Status getDevicesForAttributes(const media::AudioAttributesEx& attr,
140 binder::Status getOutputForEffect(const media::EffectDescriptor& desc,
142 binder::Status registerEffect(const media::EffectDescriptor& desc, int32_t io, int32_t strategy,
144 binder::Status unregisterEffect(int32_t id) override;
145 binder::Status setEffectEnabled(int32_t id, bool enabled) override;
146 binder::Status moveEffectsToIo(const std::vector<int32_t>& ids, int32_t io) override;
147 binder::Status isStreamActive(AudioStreamType stream, int32_t inPastMs,
149 binder::Status isStreamActiveRemotely(AudioStreamType stream, int32_t inPastMs,
151 binder::Status isSourceActive(AudioSource source, bool* _aidl_return) override;
152 binder::Status queryDefaultPreProcessing(
155 binder::Status addSourceDefaultEffect(const AudioUuid& type,
160 binder::Status addStreamDefaultEffect(const AudioUuid& type,
164 binder::Status removeSourceDefaultEffect(int32_t id) override;
165 binder::Status removeStreamDefaultEffect(int32_t id) override;
166 binder::Status setSupportedSystemUsages(
168 binder::Status setAllowedCapturePolicy(int32_t uid, int32_t capturePolicy) override;
169 binder::Status getOffloadSupport(const media::audio::common::AudioOffloadInfo& info,
171 binder::Status isDirectOutputSupported(const AudioConfigBase& config,
174 binder::Status listAudioPorts(media::AudioPortRole role, media::AudioPortType type,
177 binder::Status getAudioPort(int portId,
179 binder::Status createAudioPatch(const media::AudioPatch& patch, int32_t handle,
181 binder::Status releaseAudioPatch(int32_t handle) override;
182 binder::Status listAudioPatches(Int* count, std::vector<media::AudioPatch>* patches,
184 binder::Status setAudioPortConfig(const media::AudioPortConfig& config) override;
185 binder::Status registerClient(const sp<media::IAudioPolicyServiceClient>& client) override;
186 binder::Status setAudioPortCallbacksEnabled(bool enabled) override;
187 binder::Status setAudioVolumeGroupCallbacksEnabled(bool enabled) override;
188 binder::Status acquireSoundTriggerSession(media::SoundTriggerSession* _aidl_return) override;
189 binder::Status releaseSoundTriggerSession(int32_t session) override;
190 binder::Status getPhoneState(AudioMode* _aidl_return) override;
191 binder::Status registerPolicyMixes(const std::vector<media::AudioMix>& mixes,
193 binder::Status setUidDeviceAffinities(int32_t uid,
195 binder::Status removeUidDeviceAffinities(int32_t uid) override;
196 binder::Status setUserIdDeviceAffinities(
199 binder::Status removeUserIdDeviceAffinities(int32_t userId) override;
200 binder::Status startAudioSource(const media::AudioPortConfig& source,
203 binder::Status stopAudioSource(int32_t portId) override;
204 binder::Status setMasterMono(bool mono) override;
205 binder::Status getMasterMono(bool* _aidl_return) override;
206 binder::Status getStreamVolumeDB(AudioStreamType stream, int32_t index,
209 binder::Status getSurroundFormats(Int* count,
212 binder::Status getReportedSurroundFormats(
214 binder::Status getHwOffloadFormatsSupportedForBluetoothMedia(
217 binder::Status setSurroundFormatEnabled(const AudioFormatDescription& audioFormat,
219 binder::Status setAssistantServicesUids(const std::vector<int32_t>& uids) override;
220 binder::Status setActiveAssistantServicesUids(const std::vector<int32_t>& activeUids) override;
221 binder::Status setA11yServicesUids(const std::vector<int32_t>& uids) override;
222 binder::Status setCurrentImeUid(int32_t uid) override;
223 binder::Status isHapticPlaybackSupported(bool* _aidl_return) override;
224 binder::Status isUltrasoundSupported(bool* _aidl_return) override;
225 binder::Status listAudioProductStrategies(
227 binder::Status getProductStrategyFromAudioAttributes(const media::AudioAttributesEx& aa,
230 binder::Status listAudioVolumeGroups(
232 binder::Status getVolumeGroupFromAudioAttributes(const media::AudioAttributesEx& aa,
235 binder::Status setRttEnabled(bool enabled) override;
236 binder::Status isCallScreenModeSupported(bool* _aidl_return) override;
237 binder::Status setDevicesRoleForStrategy(
240 binder::Status removeDevicesRoleForStrategy(int32_t strategy, media::DeviceRole role) override;
241 binder::Status getDevicesForRoleAndStrategy(
244 binder::Status setDevicesRoleForCapturePreset(
248 binder::Status addDevicesRoleForCapturePreset(
252 binder::Status removeDevicesRoleForCapturePreset(
256 binder::Status clearDevicesRoleForCapturePreset(AudioSource audioSource,
258 binder::Status getDevicesForRoleAndCapturePreset(
262 binder::Status registerSoundTriggerCaptureStateListener(
265 binder::Status getSpatializer(const sp<media::INativeSpatializerCallback>& callback,
267 binder::Status canBeSpatialized(
273 binder::Status getDirectPlaybackSupport(const media::AudioAttributesInternal& attr,
277 binder::Status getDirectProfilesForAttributes(const media::AudioAttributesInternal& attr,
501 binder::Status onSensorPrivacyChanged(int toggleType, int sensor,