• Home
  • Raw
  • Download

Lines Matching refs:status_t

34 typedef void (*audio_error_callback)(status_t err);
55 static status_t muteMicrophone(bool state);
56 static status_t isMicrophoneMuted(bool *state);
59 static status_t setMasterVolume(float value);
60 static status_t getMasterVolume(float* volume);
63 static status_t setMasterMute(bool mute);
64 static status_t getMasterMute(bool* mute);
67 static status_t setStreamVolume(audio_stream_type_t stream, float value,
69 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
73 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
74 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
77 static status_t setMode(audio_mode_t mode);
81 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
85 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
88 static status_t isSourceActive(audio_source_t source, bool *state);
94 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
97 static status_t setParameters(const String8& keyValuePairs);
113 static status_t getOutputSamplingRate(uint32_t* samplingRate,
116 static status_t getOutputFrameCount(size_t* frameCount,
119 static status_t getOutputLatency(uint32_t* latency,
122 static status_t getSamplingRate(audio_io_handle_t ioHandle,
126 static status_t getFrameCount(audio_io_handle_t ioHandle,
130 static status_t getLatency(audio_io_handle_t output,
135 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
138 static status_t setVoiceVolume(float volume);
148 static status_t getRenderPosition(audio_io_handle_t output,
171 static status_t systemReady();
176 static status_t getFrameCountHAL(audio_io_handle_t ioHandle,
201 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state,
205 static status_t handleDeviceConfigChange(audio_devices_t device,
208 static status_t setPhoneState(audio_mode_t state);
209 static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
220 static status_t getOutputForAttr(const audio_attributes_t *attr,
229 static status_t startOutput(audio_io_handle_t output,
232 static status_t stopOutput(audio_io_handle_t output,
241 static status_t getInputForAttr(const audio_attributes_t *attr,
251 static status_t startInput(audio_io_handle_t input,
253 static status_t stopInput(audio_io_handle_t input,
257 static status_t initStreamVolume(audio_stream_type_t stream,
260 static status_t setStreamVolumeIndex(audio_stream_type_t stream,
263 static status_t getStreamVolumeIndex(audio_stream_type_t stream,
271 static status_t registerEffect(const effect_descriptor_t *desc,
276 static status_t unregisterEffect(int id);
277 static status_t setEffectEnabled(int id, bool enabled);
289 static status_t setLowRamDevice(bool isLowRamDevice);
297 static status_t checkAudioFlinger();
300 static status_t listAudioPorts(audio_port_role_t role,
307 static status_t getAudioPort(struct audio_port *port);
310 static status_t createAudioPatch(const struct audio_patch *patch,
314 static status_t releaseAudioPatch(audio_patch_handle_t handle);
317 static status_t listAudioPatches(unsigned int *num_patches,
321 static status_t setAudioPortConfig(const struct audio_port_config *config);
324 static status_t acquireSoundTriggerSession(audio_session_t *session,
327 static status_t releaseSoundTriggerSession(audio_session_t session);
331 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
333 static status_t startAudioSource(const struct audio_port_config *source,
336 static status_t stopAudioSource(audio_patch_handle_t handle);
338 static status_t setMasterMono(bool mono);
339 static status_t getMasterMono(bool *mono);
359 static status_t addAudioPortCallback(const sp<AudioPortCallback>& callback);
360 static status_t removeAudioPortCallback(const sp<AudioPortCallback>& callback);
373 static status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
375 static status_t removeAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
391 status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
406 status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
408 status_t removeAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,