Home
last modified time | relevance | path

Searched refs:audio_patch_handle_t (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h29 class AudioPatch : public RefBase, private HandleGenerator<audio_patch_handle_t>
34 audio_patch_handle_t getHandle() const { return mHandle; } in getHandle()
36 audio_patch_handle_t getAfHandle() const { return mAfPatchHandle; } in getAfHandle()
38 void setAfHandle(audio_patch_handle_t afHandle) { mAfPatchHandle = afHandle; } in setAfHandle()
49 const audio_patch_handle_t mHandle;
51 audio_patch_handle_t mAfPatchHandle = AUDIO_PATCH_HANDLE_NONE;
54 class AudioPatchCollection : public DefaultKeyedVector<audio_patch_handle_t, sp<AudioPatch> >
57 status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch);
59 status_t removeAudioPatch(audio_patch_handle_t handle);
DAudioIODescriptorInterface.h34 virtual audio_patch_handle_t getPatchHandle() const = 0;
36 virtual void setPatchHandle(audio_patch_handle_t handle) = 0;
DAudioInputDescriptor.h93 audio_patch_handle_t getPatchHandle() const override;
94 void setPatchHandle(audio_patch_handle_t handle) override;
134 audio_patch_handle_t mPatchHandle = AUDIO_PATCH_HANDLE_NONE;
DClientDescriptor.h229 void connect(audio_patch_handle_t patchHandle, const sp<DeviceDescriptor>& sinkDevice) { in connect()
244 audio_patch_handle_t getPatchHandle() const { return mPatchHandle; } in getPatchHandle()
256 audio_patch_handle_t mPatchHandle = AUDIO_PATCH_HANDLE_NONE;
DAudioOutputDescriptor.h270 audio_patch_handle_t getPatchHandle() const override;
271 void setPatchHandle(audio_patch_handle_t handle) override;
323 audio_patch_handle_t mPatchHandle = AUDIO_PATCH_HANDLE_NONE;
/frameworks/av/services/audioflinger/
DPatchPanel.h28 SoftwarePatch(const PatchPanel &patchPanel, audio_patch_handle_t patchHandle, in SoftwarePatch()
38 audio_patch_handle_t getPatchHandle() const { return mPatchHandle; }; in getPatchHandle()
43 const audio_patch_handle_t mPatchHandle;
59 audio_patch_handle_t *handle,
63 status_t releaseAudioPatch(audio_patch_handle_t handle);
107 audio_patch_handle_t handle() const { return mHandle; } in handle()
127 audio_patch_handle_t* handlePtr() { return &mHandle; } in handlePtr()
159 audio_patch_handle_t mHandle = AUDIO_PATCH_HANDLE_NONE;
209 String8 dump(audio_patch_handle_t myHandle) const;
214 audio_patch_handle_t mHalHandle = AUDIO_PATCH_HANDLE_NONE;
[all …]
DDeviceEffectManager.h37 const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches,
42 void createAudioPatch(audio_patch_handle_t handle, const PatchPanel::Patch& patch);
43 void releaseAudioPatch(audio_patch_handle_t handle);
86 void createAudioPatchCommand(audio_patch_handle_t handle,
88 void releaseAudioPatchCommand(audio_patch_handle_t handle);
111 CreateAudioPatchData(audio_patch_handle_t handle, const PatchPanel::Patch& patch) in CreateAudioPatchData()
114 audio_patch_handle_t mHandle;
120 ReleaseAudioPatchData(audio_patch_handle_t handle) in ReleaseAudioPatchData()
123 audio_patch_handle_t mHandle;
134 void onCreateAudioPatch(audio_patch_handle_t handle, const PatchPanel::Patch& patch);
[all …]
DDeviceEffectManager.cpp35 void AudioFlinger::DeviceEffectManager::createAudioPatch(audio_patch_handle_t handle, in createAudioPatch()
45 void AudioFlinger::DeviceEffectManager::onCreateAudioPatch(audio_patch_handle_t handle, in onCreateAudioPatch()
58 void AudioFlinger::DeviceEffectManager::releaseAudioPatch(audio_patch_handle_t handle) { in releaseAudioPatch()
63 void AudioFlinger::DeviceEffectManager::onReleaseAudioPatch(audio_patch_handle_t handle) { in onReleaseAudioPatch()
77 const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches, in createEffect_l() argument
265 audio_patch_handle_t handle, const PatchPanel::Patch& patch) in createAudioPatchCommand()
273 audio_patch_handle_t handle) in releaseAudioPatchCommand()
DThreads.h189 audio_patch_handle_t handle) : in CreateAudioPatchConfigEventData()
197 audio_patch_handle_t mHandle;
203 audio_patch_handle_t handle) : in CreateAudioPatchConfigEvent()
213 explicit ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : in ReleaseAudioPatchConfigEventData()
220 audio_patch_handle_t mHandle;
225 explicit ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : in ReleaseAudioPatchConfigEvent()
359 audio_patch_handle_t *handle);
360 status_t sendReleaseAudioPatchConfigEvent(audio_patch_handle_t handle);
372 audio_patch_handle_t *handle) = 0;
373 virtual status_t releaseAudioPatch_l(const audio_patch_handle_t handle) = 0;
[all …]
DPatchPanel.cpp71 audio_patch_handle_t *handle) in createAudioPatch()
83 status_t AudioFlinger::releaseAudioPatch(audio_patch_handle_t handle) in releaseAudioPatch()
136 audio_patch_handle_t *handle, in createAudioPatch()
145 audio_patch_handle_t halHandle = AUDIO_PATCH_HANDLE_NONE; in createAudioPatch()
450 *handle = (audio_patch_handle_t) mAudioFlinger.nextUniqueId(AUDIO_UNIQUE_ID_USE_PATCH); in createAudioPatch()
703 String8 AudioFlinger::PatchPanel::Patch::dump(audio_patch_handle_t myHandle) const in dump()
731 status_t AudioFlinger::PatchPanel::releaseAudioPatch(audio_patch_handle_t handle) in releaseAudioPatch()
800 void AudioFlinger::PatchPanel::erasePatch(audio_patch_handle_t handle) { in erasePatch()
881 audio_module_handle_t module, audio_patch_handle_t handle, in addSoftwarePatchToInsertedModules()
891 audio_patch_handle_t handle) in removeSoftwarePatchFromInsertedModules()
DEffects.h709 status_t init(const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches);
710 status_t onCreatePatch(audio_patch_handle_t patchHandle, const PatchPanel::Patch& patch);
711 void onReleasePatch(audio_patch_handle_t patchHandle);
795 std::map<audio_patch_handle_t, sp<EffectHandle>> mEffectHandles; // protected by mProxyLock
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h77 audio_patch_handle_t *handle, in createAudioPatch()
88 status_t releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
156 audio_patch_handle_t mNextPatchHandle = AUDIO_PATCH_HANDLE_NONE + 1;
157 std::map<audio_patch_handle_t, struct audio_patch> mActivePatches;
DAudioPolicyTestClient.h68 audio_patch_handle_t* /*handle*/, in createAudioPatch() argument
70 status_t releaseAudioPatch(audio_patch_handle_t /*handle*/, in releaseAudioPatch() argument
85 audio_patch_handle_t patchHandle __unused, in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h266 audio_patch_handle_t *handle,
268 virtual status_t releaseAudioPatch(audio_patch_handle_t handle,
532 audio_patch_handle_t *patchHandle = NULL,
537 audio_patch_handle_t *patchHandle = NULL);
541 audio_patch_handle_t *patchHandle = NULL);
543 audio_patch_handle_t *patchHandle = NULL);
790 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) in addAudioPatch()
794 virtual status_t removeAudioPatch(audio_patch_handle_t handle) in removeAudioPatch()
879 audio_patch_handle_t &handle,
1020 bool isMsdPatch(const audio_patch_handle_t &handle) const;
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp32 mHandle(HandleGenerator<audio_patch_handle_t>::getNextHandle()), in AudioPatch()
61 status_t AudioPatchCollection::addAudioPatch(audio_patch_handle_t handle, in addAudioPatch()
78 status_t AudioPatchCollection::removeAudioPatch(audio_patch_handle_t handle) in removeAudioPatch()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h308 audio_patch_handle_t *handle,
310 status_t clientReleaseAudioPatch(audio_patch_handle_t handle,
329 audio_patch_handle_t patchHandle,
337 audio_patch_handle_t patchHandle,
560 audio_patch_handle_t *handle,
562 status_t releaseAudioPatchCommand(audio_patch_handle_t handle,
578 audio_patch_handle_t patchHandle,
650 audio_patch_handle_t mHandle;
655 audio_patch_handle_t mHandle;
683 audio_patch_handle_t mPatchHandle;
[all …]
DAudioPolicyClientImpl.cpp220 audio_patch_handle_t *handle, in createAudioPatch()
226 status_t AudioPolicyService::AudioPolicyClient::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
262 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate()
DAudioPolicyService.cpp460 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate()
474 audio_patch_handle_t patchHandle, in doOnRecordingConfigurationUpdate()
602 audio_patch_handle_t *handle, in clientCreateAudioPatch()
608 status_t AudioPolicyService::clientReleaseAudioPatch(audio_patch_handle_t handle, in clientReleaseAudioPatch()
682 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate()
2376 audio_patch_handle_t *handle, in createAudioPatchCommand()
2396 status_t AudioPolicyService::AudioCommandThread::releaseAudioPatchCommand(audio_patch_handle_t hand… in releaseAudioPatchCommand()
2480 audio_patch_handle_t patchHandle, in recordingConfigurationUpdateCommand()
2650 audio_patch_handle_t handle; in insertCommand_l()
2659 audio_patch_handle_t handle2; in insertCommand_l()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h104 audio_patch_handle_t *patch) = 0;
107 virtual status_t releaseAudioPatch(audio_patch_handle_t patch) = 0;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h250 audio_patch_handle_t *handle,
252 virtual status_t releaseAudioPatch(audio_patch_handle_t handle,
505 audio_patch_handle_t *handle,
509 virtual status_t releaseAudioPatch(audio_patch_handle_t handle,
531 audio_patch_handle_t patchHandle,
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.h98 audio_patch_handle_t *patch);
101 virtual status_t releaseAudioPatch(audio_patch_handle_t patch);
DDeviceHalHidl.cpp357 audio_patch_handle_t *patch) { in createAudioPatch()
383 *patch = static_cast<audio_patch_handle_t>(hidlPatch); in createAudioPatch()
394 *patch = static_cast<audio_patch_handle_t>(hidlPatch); in createAudioPatch()
403 status_t DeviceHalHidl::releaseAudioPatch(audio_patch_handle_t patch) { in releaseAudioPatch()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h77 audio_patch_handle_t patchHandle,
387 audio_patch_handle_t *handle);
390 static status_t releaseAudioPatch(audio_patch_handle_t handle);
DIAudioFlinger.h318 audio_patch_handle_t *handle) = 0;
321 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) = 0;
451 audio_patch_handle_t* handle) override;
452 status_t releaseAudioPatch(audio_patch_handle_t handle) override;
DAidlConversion.h90 ConversionResult<audio_patch_handle_t> aidl2legacy_int32_t_audio_patch_handle_t(int32_t aidl);
91 ConversionResult<int32_t> legacy2aidl_audio_patch_handle_t_int32_t(audio_patch_handle_t legacy);

12