/frameworks/av/services/audiopolicy/tests/ |
D | AudioPolicyTestClient.h | 32 audio_io_handle_t* /*output*/, in openOutput() argument 37 audio_io_handle_t openDuplicateOutput(audio_io_handle_t /*output1*/, in openDuplicateOutput() argument 38 audio_io_handle_t /*output2*/) override { in openDuplicateOutput() 41 status_t closeOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in closeOutput() argument 42 status_t suspendOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in suspendOutput() argument 43 status_t restoreOutput(audio_io_handle_t /*output*/) override { return NO_INIT; } in restoreOutput() argument 45 audio_io_handle_t* /*input*/, in openInput() argument 51 status_t closeInput(audio_io_handle_t /*input*/) override { return NO_INIT; } in closeInput() argument 54 audio_io_handle_t /*output*/, in setStreamVolume() argument 57 void setParameters(audio_io_handle_t /*ioHandle*/, in setParameters() argument [all …]
|
D | AudioPolicyManagerTestClient.h | 39 audio_io_handle_t *output, in openOutput() 53 audio_io_handle_t openDuplicateOutput(audio_io_handle_t /*output1*/, in openDuplicateOutput() argument 54 audio_io_handle_t /*output2*/) override { in openDuplicateOutput() 55 audio_io_handle_t id = mNextIoHandle++; in openDuplicateOutput() 60 audio_io_handle_t *input, in openInput() 122 audio_io_handle_t mNextIoHandle = AUDIO_IO_HANDLE_NONE + 1;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 158 (void)parcel->read(&outputId, sizeof(audio_io_handle_t)); in readFromParcel() 176 (void)parcel->write(&outputId, sizeof(audio_io_handle_t)); in writeToParcel() 193 audio_io_handle_t outputId; 279 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel() 314 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel() 341 audio_io_handle_t inputId; 366 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const = 0; 370 virtual audio_format_t format(audio_io_handle_t output) const = 0; 371 virtual size_t frameCount(audio_io_handle_t ioHandle) const = 0; 374 virtual uint32_t latency(audio_io_handle_t output) const = 0; [all …]
|
D | AudioSystem.h | 79 audio_io_handle_t output); 81 audio_io_handle_t output); 105 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 106 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); 145 static status_t getSamplingRate(audio_io_handle_t ioHandle, 149 static status_t getFrameCount(audio_io_handle_t ioHandle, 153 static status_t getLatency(audio_io_handle_t output, 171 static status_t getRenderPosition(audio_io_handle_t output, 176 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle); 199 static status_t getFrameCountHAL(audio_io_handle_t ioHandle, [all …]
|
D | IAudioPolicyService.h | 66 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0; 68 audio_io_handle_t *output, 77 std::vector<audio_io_handle_t> *secondaryOutputs) = 0; 82 audio_io_handle_t *input, 119 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0; 121 audio_io_handle_t io, 127 virtual status_t moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) = 0; 190 audio_io_handle_t *ioHandle,
|
D | AudioEffect.h | 381 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE, 395 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE, 418 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE,
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 120 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0; 122 audio_io_handle_t *output, 130 std::vector<audio_io_handle_t> *secondaryOutputs, 141 audio_io_handle_t *input, 204 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0; 206 audio_io_handle_t io, 212 virtual status_t moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) = 0; 245 audio_io_handle_t *ioHandle, 330 audio_io_handle_t *output, 337 …virtual audio_io_handle_t openDuplicateOutput(audio_io_handle_t output1, audio_io_handle_t output2… [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 42 audio_io_handle_t *output, in openOutput() 56 audio_io_handle_t AudioPolicyService::AudioPolicyClient::openDuplicateOutput( in openDuplicateOutput() 57 audio_io_handle_t output1, in openDuplicateOutput() 58 audio_io_handle_t output2) in openDuplicateOutput() 68 status_t AudioPolicyService::AudioPolicyClient::closeOutput(audio_io_handle_t output) in closeOutput() 78 status_t AudioPolicyService::AudioPolicyClient::suspendOutput(audio_io_handle_t output) in suspendOutput() 89 status_t AudioPolicyService::AudioPolicyClient::restoreOutput(audio_io_handle_t output) in restoreOutput() 101 audio_io_handle_t *input, in openInput() 117 status_t AudioPolicyService::AudioPolicyClient::closeInput(audio_io_handle_t input) in closeInput() 128 float volume, audio_io_handle_t output, in setStreamVolume() [all …]
|
D | AudioPolicyService.h | 81 virtual audio_io_handle_t getOutput(audio_stream_type_t stream); 83 audio_io_handle_t *output, 92 std::vector<audio_io_handle_t> *secondaryOutputs) override; 97 audio_io_handle_t *input, 136 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc); 138 audio_io_handle_t io, 144 status_t moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) override; 184 virtual void setParameters(audio_io_handle_t ioHandle, 190 audio_io_handle_t output, 220 audio_io_handle_t *ioHandle, [all …]
|
D | AudioPolicyEffects.h | 62 status_t addInputEffects(audio_io_handle_t input, 67 status_t releaseInputEffects(audio_io_handle_t input, 78 status_t addOutputSessionEffects(audio_io_handle_t output, 83 status_t releaseOutputSessionEffects(audio_io_handle_t output,
|
D | AudioPolicyService.cpp | 1457 audio_io_handle_t output, in volumeCommand() 1473 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand() 1883 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters() 1893 audio_io_handle_t output, in setStreamVolume() 1921 audio_io_handle_t aps_open_output(void *service __unused, 1929 audio_io_handle_t aps_open_output_on_module(void *service __unused, 1938 audio_io_handle_t aps_open_dup_output(void *service __unused, 1939 audio_io_handle_t output1, 1940 audio_io_handle_t output2); 1941 int aps_close_output(void *service __unused, audio_io_handle_t output); [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | EffectDescriptor.h | 32 int id, audio_io_handle_t io, audio_session_t session) : in EffectDescriptor() 42 audio_io_handle_t mIo; // io the effect is attached to 59 status_t registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, 63 EffectDescriptorCollection getEffectsForIo(audio_io_handle_t io) const; 71 audio_io_handle_t srcOutput, 72 audio_io_handle_t dstOutput); 73 void moveEffects(const std::vector<int>& ids, audio_io_handle_t dstOutput);
|
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);
|
D | AudioOutputDescriptor.h | 366 audio_io_handle_t *output); 377 audio_io_handle_t *ioHandle); 407 audio_io_handle_t mIoHandle; // output handle 441 public DefaultKeyedVector< audio_io_handle_t, sp<SwAudioOutputDescriptor> > 494 audio_io_handle_t getA2dpOutput() const; 527 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const; 535 public DefaultKeyedVector< audio_io_handle_t, sp<HwAudioOutputDescriptor> >
|
D | AudioInputDescriptor.h | 59 audio_io_handle_t mIoHandle = AUDIO_IO_HANDLE_NONE; // input handle 106 audio_io_handle_t *input); 148 public DefaultKeyedVector< audio_io_handle_t, sp<AudioInputDescriptor> >
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.h | 144 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const; 145 virtual audio_format_t format(audio_io_handle_t output) const; 146 virtual size_t frameCount(audio_io_handle_t ioHandle) const; 147 virtual size_t frameCountHAL(audio_io_handle_t ioHandle) const; 148 virtual uint32_t latency(audio_io_handle_t output) const; 161 audio_io_handle_t output); 165 audio_io_handle_t output) const; 175 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); 176 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const; 184 audio_io_handle_t *output, [all …]
|
D | PatchPanel.h | 29 audio_io_handle_t playbackThreadHandle, audio_io_handle_t recordThreadHandle) in SoftwarePatch() 39 audio_io_handle_t getPlaybackThreadHandle() const { return mPlaybackThreadHandle; }; in getPlaybackThreadHandle() 40 audio_io_handle_t getRecordThreadHandle() const { return mRecordThreadHandle; }; in getRecordThreadHandle() 44 const audio_io_handle_t mPlaybackThreadHandle; 45 const audio_io_handle_t mRecordThreadHandle; 70 status_t getDownstreamSoftwarePatches(audio_io_handle_t stream, 74 void notifyStreamOpened(AudioHwDevice *audioHwDevice, audio_io_handle_t stream); 75 void notifyStreamClosed(audio_io_handle_t stream); 257 std::set<audio_io_handle_t> streams;
|
D | FastMixer.h | 39 explicit FastMixer(audio_io_handle_t threadIoHandle); 110 const audio_io_handle_t mThreadIoHandle; // parent thread id for debugging purposes
|
D | AudioFlinger.cpp | 265 const audio_io_handle_t io = mMmapThreads.keyAt(0); in ~AudioFlinger() 333 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE; in openMmapStream() 341 std::vector<audio_io_handle_t> secondaryOutputs; in openMmapStream() 752 std::vector<audio_io_handle_t> secondaryOutputs; in createTrack() 757 audio_io_handle_t effectThreadId = AUDIO_IO_HANDLE_NONE; in createTrack() 869 for (audio_io_handle_t secondaryOutput : secondaryOutputs) { in createTrack() 1012 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 1023 audio_format_t AudioFlinger::format(audio_io_handle_t output) const in format() 1034 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount() 1047 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL() [all …]
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 114 virtual audio_io_handle_t getOutput(audio_stream_type_t stream); 116 audio_io_handle_t *output, 124 std::vector<audio_io_handle_t> *secondaryOutputs, 130 audio_io_handle_t *input, 200 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc = NULL); 202 audio_io_handle_t io, 208 status_t moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) override; 255 audio_io_handle_t *ioHandle, 419 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc); 420 void removeOutput(audio_io_handle_t output); [all …]
|
D | AudioPolicyManager.cpp | 145 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionStateInt() 227 for (audio_io_handle_t output : outputs) { in setDeviceConnectionStateInt() 242 for (audio_io_handle_t output : outputs) { in setDeviceConnectionStateInt() 854 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput() 864 SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs); in getOutput() 865 const audio_io_handle_t output = selectOutput(outputs); in getOutput() 904 audio_io_handle_t *output, in getOutputForAttrInt() 962 audio_io_handle_t newOutput; in getOutputForAttrInt() 1054 audio_io_handle_t *output, in getOutputForAttr() 1062 std::vector<audio_io_handle_t> *secondaryOutputs, in getOutputForAttr() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 178 virtual uint32_t sampleRate(audio_io_handle_t ioHandle) const in sampleRate() 189 virtual audio_format_t format(audio_io_handle_t output) const in format() 198 virtual size_t frameCount(audio_io_handle_t ioHandle) const in frameCount() 207 virtual uint32_t latency(audio_io_handle_t output) const in latency() 279 audio_io_handle_t output) in setStreamVolume() 300 virtual float streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const in streamVolume() 354 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() 364 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() 395 audio_io_handle_t *output, in openOutput() 420 *output = (audio_io_handle_t)reply.readInt32(); in openOutput() [all …]
|
D | AudioSystem.cpp | 103 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() 171 audio_io_handle_t output) in setStreamVolume() 190 audio_io_handle_t output) in getStreamVolume() 216 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() 223 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() 294 audio_io_handle_t output; in getOutputSamplingRate() 308 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() 331 audio_io_handle_t output; in getOutputFrameCount() 345 status_t AudioSystem::getFrameCount(audio_io_handle_t ioHandle, in getFrameCount() 368 audio_io_handle_t output; in getOutputLatency() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | EffectDescriptor.cpp | 45 audio_io_handle_t io, in registerEffect() 180 audio_io_handle_t srcOutput, in moveEffects() 181 audio_io_handle_t dstOutput) in moveEffects() 193 audio_io_handle_t dstOutput) in moveEffects() 205 EffectDescriptorCollection EffectDescriptorCollection::getEffectsForIo(audio_io_handle_t io) const in getEffectsForIo()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 72 audio_io_handle_t handle, 82 audio_io_handle_t handle,
|