/frameworks/av/services/audiopolicy/tests/ |
D | AudioPolicyTestClient.h | 32 audio_io_handle_t* /*output*/, in openOutput() argument 38 audio_io_handle_t openDuplicateOutput(audio_io_handle_t /*output1*/, in openDuplicateOutput() argument 39 audio_io_handle_t /*output2*/) override { in openDuplicateOutput() 42 status_t closeOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in closeOutput() argument 43 status_t suspendOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in suspendOutput() argument 44 status_t restoreOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in restoreOutput() argument 46 audio_io_handle_t* /*input*/, in openInput() argument 52 status_t closeInput(audio_io_handle_t /*input*/) override { return NO_INIT; } in closeInput() argument 55 audio_io_handle_t /*output*/, in setStreamVolume() argument 58 void setParameters(audio_io_handle_t /*ioHandle*/, in setParameters() argument [all …]
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 116 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0; 118 audio_io_handle_t *output, 127 virtual status_t startOutput(audio_io_handle_t output, 131 virtual status_t stopOutput(audio_io_handle_t output, 135 virtual void releaseOutput(audio_io_handle_t output, 141 audio_io_handle_t *input, 150 virtual status_t startInput(audio_io_handle_t input, 155 virtual status_t stopInput(audio_io_handle_t input, 158 virtual void releaseInput(audio_io_handle_t input, 191 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0; [all …]
|
/frameworks/av/include/media/ |
D | AudioSystem.h | 70 audio_io_handle_t output); 72 audio_io_handle_t output); 96 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 97 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); 127 static status_t getSamplingRate(audio_io_handle_t ioHandle, 131 static status_t getFrameCount(audio_io_handle_t ioHandle, 135 static status_t getLatency(audio_io_handle_t output, 153 static status_t getRenderPosition(audio_io_handle_t output, 158 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle); 181 static status_t getFrameCountHAL(audio_io_handle_t ioHandle, [all …]
|
D | IAudioFlinger.h | 148 (void)parcel->read(&outputId, sizeof(audio_io_handle_t)); in readFromParcel() 165 (void)parcel->write(&outputId, sizeof(audio_io_handle_t)); in writeToParcel() 181 audio_io_handle_t outputId; 261 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel() 287 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel() 313 audio_io_handle_t inputId; 337 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0; 341 virtual audio_format_t format(audio_io_handle_t output) const = 0; 342 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0; 345 virtual uint32_t latency(audio_io_handle_t output) const = 0; [all …]
|
D | IAudioPolicyService.h | 58 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0; 60 audio_io_handle_t *output, 69 virtual status_t startOutput(audio_io_handle_t output, 72 virtual status_t stopOutput(audio_io_handle_t output, 75 virtual void releaseOutput(audio_io_handle_t output, 79 audio_io_handle_t *input, 103 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0; 105 audio_io_handle_t io, 151 audio_io_handle_t *ioHandle,
|
D | AudioEffect.h | 241 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE 254 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE 276 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioSystem.h | 70 audio_io_handle_t output); 72 audio_io_handle_t output); 96 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 97 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); 127 static status_t getSamplingRate(audio_io_handle_t ioHandle, 131 static status_t getFrameCount(audio_io_handle_t ioHandle, 135 static status_t getLatency(audio_io_handle_t output, 153 static status_t getRenderPosition(audio_io_handle_t output, 158 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle); 181 static status_t getFrameCountHAL(audio_io_handle_t ioHandle, [all …]
|
D | IAudioFlinger.h | 148 (void)parcel->read(&outputId, sizeof(audio_io_handle_t)); in readFromParcel() 165 (void)parcel->write(&outputId, sizeof(audio_io_handle_t)); in writeToParcel() 181 audio_io_handle_t outputId; 261 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel() 287 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel() 313 audio_io_handle_t inputId; 337 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0; 341 virtual audio_format_t format(audio_io_handle_t output) const = 0; 342 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0; 345 virtual uint32_t latency(audio_io_handle_t output) const = 0; [all …]
|
D | IAudioPolicyService.h | 58 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0; 60 audio_io_handle_t *output, 69 virtual status_t startOutput(audio_io_handle_t output, 72 virtual status_t stopOutput(audio_io_handle_t output, 75 virtual void releaseOutput(audio_io_handle_t output, 79 audio_io_handle_t *input, 103 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0; 105 audio_io_handle_t io, 151 audio_io_handle_t *ioHandle,
|
D | AudioEffect.h | 241 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE 254 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE 276 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 111 virtual audio_io_handle_t getOutput(audio_stream_type_t stream); 113 audio_io_handle_t *output, 121 virtual status_t startOutput(audio_io_handle_t output, 124 virtual status_t stopOutput(audio_io_handle_t output, 127 virtual void releaseOutput(audio_io_handle_t output, 131 audio_io_handle_t *input, 141 virtual status_t startInput(audio_io_handle_t input, 147 virtual status_t stopInput(audio_io_handle_t input, 149 virtual void releaseInput(audio_io_handle_t input, 170 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc = NULL); [all …]
|
D | AudioPolicyManager.cpp | 124 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionStateInt() 209 for (audio_io_handle_t output : outputs) { in setDeviceConnectionStateInt() 253 SortedVector <audio_io_handle_t> inputs; in setDeviceConnectionStateInt() 496 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(outputDevice, mOutputs); in createTelephonyPatch() 497 audio_io_handle_t output = selectOutput(outputs, AUDIO_OUTPUT_FLAG_NONE, AUDIO_FORMAT_INVALID); in createTelephonyPatch() 777 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput() 788 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); in getOutput() 789 audio_io_handle_t output = selectOutput(outputs, AUDIO_OUTPUT_FLAG_NONE, AUDIO_FORMAT_INVALID); in getOutput() 796 audio_io_handle_t *output, in getOutputForAttr() 883 audio_io_handle_t AudioPolicyManager::getOutputForDevice( in getOutputForDevice() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 75 virtual audio_io_handle_t getOutput(audio_stream_type_t stream); 77 audio_io_handle_t *output, 86 virtual status_t startOutput(audio_io_handle_t output, 89 virtual status_t stopOutput(audio_io_handle_t output, 92 virtual void releaseOutput(audio_io_handle_t output, 96 audio_io_handle_t *input, 122 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc); 124 audio_io_handle_t io, 154 virtual void setParameters(audio_io_handle_t ioHandle, 160 audio_io_handle_t output, [all …]
|
D | AudioPolicyClientImpl.cpp | 40 audio_io_handle_t *output, in openOutput() 55 audio_io_handle_t AudioPolicyService::AudioPolicyClient::openDuplicateOutput( in openDuplicateOutput() 56 audio_io_handle_t output1, in openDuplicateOutput() 57 audio_io_handle_t output2) in openDuplicateOutput() 67 status_t AudioPolicyService::AudioPolicyClient::closeOutput(audio_io_handle_t output) in closeOutput() 77 status_t AudioPolicyService::AudioPolicyClient::suspendOutput(audio_io_handle_t output) in suspendOutput() 88 status_t AudioPolicyService::AudioPolicyClient::restoreOutput(audio_io_handle_t output) in restoreOutput() 100 audio_io_handle_t *input, in openInput() 116 status_t AudioPolicyService::AudioPolicyClient::closeInput(audio_io_handle_t input) in closeInput() 127 float volume, audio_io_handle_t output, in setStreamVolume() [all …]
|
D | AudioPolicyEffects.h | 59 status_t addInputEffects(audio_io_handle_t input, 64 status_t releaseInputEffects(audio_io_handle_t input, 76 status_t addOutputSessionEffects(audio_io_handle_t output, 81 status_t releaseOutputSessionEffects(audio_io_handle_t output,
|
D | AudioPolicyService.cpp | 926 audio_io_handle_t output, in volumeCommand() 942 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand() 970 void AudioPolicyService::AudioCommandThread::stopOutputCommand(audio_io_handle_t output, in stopOutputCommand() 985 void AudioPolicyService::AudioCommandThread::releaseOutputCommand(audio_io_handle_t output, in releaseOutputCommand() 1316 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters() 1326 audio_io_handle_t output, in setStreamVolume() 1362 audio_io_handle_t aps_open_output(void *service __unused, 1370 audio_io_handle_t aps_open_output_on_module(void *service __unused, 1379 audio_io_handle_t aps_open_dup_output(void *service __unused, 1380 audio_io_handle_t output1, [all …]
|
D | AudioPolicyInterfaceImpl.cpp | 154 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream) in getOutput() 169 audio_io_handle_t *output, in getOutputForAttr() 214 status_t AudioPolicyService::startOutput(audio_io_handle_t output, in startOutput() 242 status_t AudioPolicyService::stopOutput(audio_io_handle_t output, in stopOutput() 257 status_t AudioPolicyService::doStopOutput(audio_io_handle_t output, in doStopOutput() 279 void AudioPolicyService::releaseOutput(audio_io_handle_t output, in releaseOutput() 290 void AudioPolicyService::doReleaseOutput(audio_io_handle_t output, in doReleaseOutput() 301 audio_io_handle_t *input, in getInputForAttr() 725 audio_io_handle_t AudioPolicyService::getOutputForEffect(const effect_descriptor_t *desc) in getOutputForEffect() 737 audio_io_handle_t io, in registerEffect() [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.h | 122 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const; 123 virtual audio_format_t format(audio_io_handle_t output) const; 124 virtual size_t frameCount(audio_io_handle_t ioHandle) const; 125 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const; 126 virtual uint32_t latency(audio_io_handle_t output) const; 135 audio_io_handle_t output); 139 audio_io_handle_t output) const; 149 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 150 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const; 158 audio_io_handle_t *output, [all …]
|
D | AudioFlinger.cpp | 307 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE; in openMmapStream() 822 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 833 audio_format_t AudioFlinger::format(audio_io_handle_t output) const in format() 844 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount() 857 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL() 868 uint32_t AudioFlinger::latency(audio_io_handle_t output) const in latency() 1091 audio_io_handle_t output) in setStreamVolume() 1145 float AudioFlinger::streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const in streamVolume() 1220 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() 1304 String8 AudioFlinger::getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 175 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 186 virtual audio_format_t format(audio_io_handle_t output) const in format() 195 virtual size_t frameCount(audio_io_handle_t ioHandle) const in frameCount() 204 virtual uint32_t latency(audio_io_handle_t output) const in latency() 248 audio_io_handle_t output) in setStreamVolume() 269 virtual float streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const in streamVolume() 323 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() 333 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() 364 audio_io_handle_t *output, in openOutput() 391 *output = (audio_io_handle_t)reply.readInt32(); in openOutput() [all …]
|
D | AudioSystem.cpp | 95 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() 163 audio_io_handle_t output) in setStreamVolume() 182 audio_io_handle_t output) in getStreamVolume() 208 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() 215 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() 286 audio_io_handle_t output; in getOutputSamplingRate() 300 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() 323 audio_io_handle_t output; in getOutputFrameCount() 337 status_t AudioSystem::getFrameCount(audio_io_handle_t ioHandle, in getFrameCount() 360 audio_io_handle_t output; in getOutputLatency() [all …]
|
D | IAudioPolicyService.cpp | 167 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) in getOutput() 173 return static_cast <audio_io_handle_t> (reply.readInt32()); in getOutput() 177 audio_io_handle_t *output, in getOutputForAttr() 238 *output = (audio_io_handle_t)reply.readInt32(); in getOutputForAttr() 248 virtual status_t startOutput(audio_io_handle_t output, in startOutput() 261 virtual status_t stopOutput(audio_io_handle_t output, in stopOutput() 274 virtual void releaseOutput(audio_io_handle_t output, in releaseOutput() 287 audio_io_handle_t *input, in getInputForAttr() 333 *input = (audio_io_handle_t)reply.readInt32(); in getInputForAttr() 428 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) in getOutputForEffect() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 128 audio_io_handle_t *output); 138 audio_io_handle_t *ioHandle); 141 audio_io_handle_t mIoHandle; // output handle 178 public DefaultKeyedVector< audio_io_handle_t, sp<SwAudioOutputDescriptor> > 204 audio_io_handle_t getA2dpOutput() const; 225 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const; 231 public DefaultKeyedVector< audio_io_handle_t, sp<HwAudioOutputDescriptor> >
|
D | AudioInputDescriptor.h | 45 audio_io_handle_t mIoHandle; // input handle 81 audio_io_handle_t *input); 106 public DefaultKeyedVector< audio_io_handle_t, sp<AudioInputDescriptor> > 124 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const;
|
D | SoundTriggerSession.h | 25 class SoundTriggerSessionCollection : public DefaultKeyedVector<audio_session_t, audio_io_handle_t> 30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
|