Home
last modified time | relevance | path

Searched refs:audio_patch (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/services/audioflinger/
DPatchPanel.h41 status_t createAudioPatch_l(const struct audio_patch *patch,
52 struct audio_patch* patches) final
62 struct audio_patch* patch) final;
89 const struct audio_patch *patch)
110 const struct audio_patch &newPatch, const struct audio_patch &oldPatch) const { in patchesHaveSameRoute()
DIAfPatchPanel.h93 const struct audio_patch* patch, const std::set<audio_io_handle_t>& streams)
197 Patch(const struct audio_patch& patch, bool endpointPatch) in Patch()
245 struct audio_patch mAudioPatch;
271 const struct audio_patch* patch,
281 virtual status_t listAudioPatches_l(unsigned int* num_patches, struct audio_patch* patches)
291 AudioHwDevice* audioHwDevice, audio_io_handle_t stream, struct audio_patch* patch) = 0;
DPatchPanel.cpp113 status_t PatchPanel::createAudioPatch_l(const struct audio_patch* patch, in createAudioPatch_l()
155 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch_l()
787 const struct audio_patch &patch = removedPatch.mAudioPatch; in releaseAudioPatch_l()
876 struct audio_patch *patches __unused) in listAudioPatches_l()
908 AudioHwDevice *audioHwDevice, audio_io_handle_t stream, struct audio_patch *patch) in notifyStreamOpened()
951 const struct audio_patch *patch) in addSoftwarePatchToInsertedModules_l()
DThreads.h205 CreateAudioPatchConfigEventData(const struct audio_patch patch, in CreateAudioPatchConfigEventData()
213 const struct audio_patch mPatch;
219 CreateAudioPatchConfigEvent(const struct audio_patch patch, in CreateAudioPatchConfigEvent()
353 status_t sendCreateAudioPatchConfigEvent(const struct audio_patch* patch,
714 struct audio_patch mPatch;
1149 void setDownStreamPatch(const struct audio_patch* patch) final EXCLUDES_ThreadBase_Mutex { in setDownStreamPatch()
1358 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
1549 struct audio_patch mDownStreamPatch;
1638 const struct audio_patch* patch, audio_patch_handle_t* handle)
2032 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
[all …]
DIAfThread.h198 const struct audio_patch* patch, audio_patch_handle_t* handle)
218 const struct audio_patch* patch, audio_patch_handle_t* handle)
518 virtual void setDownStreamPatch(const struct audio_patch* patch)
DAudioFlinger.h188 status_t createAudioPatch(const struct audio_patch *patch,
196 struct audio_patch* patches) const final EXCLUDES_AudioFlinger_Mutex;
343 void updateDownStreamPatches_l(const struct audio_patch* patch,
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h49 audio_io_handle_t ioHandle, const audio_patch& patch, audio_port_handle_t portId) : in AudioIoDescriptor()
53 audio_io_handle_t ioHandle, const audio_patch& patch, bool isInput,
63 const audio_patch& getPatch() const { return mPatch; } in getPatch()
79 void setPatch(const audio_patch& patch) { mPatch = patch; } in setPatch()
97 struct audio_patch mPatch = {};
DAidlConversion.h91 ConversionResult<struct audio_patch> aidl2legacy_AudioPatchFw_audio_patch(
94 const struct audio_patch& legacy);
DIAudioFlinger.h321 virtual status_t createAudioPatch(const struct audio_patch *patch,
329 struct audio_patch* patches) const = 0;
476 status_t createAudioPatch(const struct audio_patch* patch,
480 struct audio_patch* patches) const override;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h32 AudioPatch(const struct audio_patch *patch, uid_t uid);
46 struct audio_patch mPatch;
61 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.h50 status_t listAudioPatches(std::vector<struct audio_patch>& patchesVec);
54 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch);
55 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch);
56 bool patchContainsOutputDevice(audio_port_handle_t deviceId, audio_patch patch);
57 bool patchContainsInputDevice(audio_port_handle_t deviceId, audio_patch patch);
62 std::string dumpPatch(const audio_patch& patch);
Daudio_test_utils.cpp623 status_t listAudioPatches(std::vector<struct audio_patch>& patchesVec) { in listAudioPatches()
650 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForOutputMix()
651 std::vector<struct audio_patch> patches; in getPatchForOutputMix()
667 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForInputMix()
668 std::vector<struct audio_patch> patches; in getPatchForInputMix()
684 bool patchContainsOutputDevice(audio_port_handle_t deviceId, audio_patch patch) { in patchContainsOutputDevice()
693 bool patchContainsInputDevice(audio_port_handle_t deviceId, audio_patch patch) { in patchContainsInputDevice()
703 struct audio_patch patch; in checkPatchPlayback()
711 struct audio_patch patch; in checkPatchCapture()
724 std::string dumpPatch(const audio_patch& patch) { in dumpPatch()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h40 const struct audio_patch* patch() const { return &mPatch; } in patch()
98 struct audio_patch mPatch = {};
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h92 status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
135 const struct audio_patch *getLastAddedPatch() const { in getLastAddedPatch()
268 std::map<audio_patch_handle_t, struct audio_patch> mActivePatches;
DAudioPolicyTestClient.h69 status_t createAudioPatch(const struct audio_patch* /*patch*/, in createAudioPatch() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp30 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : in AudioPatch()
92 struct audio_patch *patches) const in listAudioPatches()
/frameworks/av/media/libmediahelper/include/media/
DAudioValidator.h75 const struct audio_patch& patch, std::string_view bugNumber = {});
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h261 virtual status_t createAudioPatch(const struct audio_patch *patch,
267 struct audio_patch *patches,
539 virtual status_t createAudioPatch(const struct audio_patch *patch,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h277 virtual status_t createAudioPatch(const struct audio_patch *patch,
283 struct audio_patch *patches,
938 const struct audio_patch *patch,
1262 status_t createAudioPatchInternal(const struct audio_patch *patch,
1281 const struct audio_patch *patch,
1286 const struct audio_patch *patch,
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp214 static audio_port_handle_t getDeviceIdFromPatch(const struct audio_patch *patch);
215 audio_patch createFuzzedPatch();
342 const struct audio_patch *patch) { in getDeviceIdFromPatch()
353 audio_patch AudioPolicyManagerFuzzer::createFuzzedPatch() { in createFuzzedPatch()
354 audio_patch patch{}; in createFuzzedPatch()
380 audio_patch patch = createFuzzedPatch(); in fuzzPatchCreation()
/frameworks/av/media/libmediahelper/
DAudioValidator.cpp102 const struct audio_patch& patch, std::string_view bugNumber) in validateAudioPatch()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp383 ConversionResult<struct audio_patch> aidl2legacy_AudioPatchFw_audio_patch( in aidl2legacy_AudioPatchFw_audio_patch()
385 struct audio_patch legacy; in aidl2legacy_AudioPatchFw_audio_patch()
407 const struct audio_patch& legacy) { in legacy2aidl_audio_patch_AudioPatchFw()
432 const struct audio_patch patch = VALUE_OR_RETURN( in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor()
DIAudioFlinger.cpp689 status_t AudioFlingerClientAdapter::createAudioPatch(const struct audio_patch* patch, in createAudioPatch()
712 struct audio_patch* patches) const { in listAudioPatches()
1310 audio_patch patchLegacy = VALUE_OR_RETURN_BINDER(aidl2legacy_AudioPatchFw_audio_patch(patch)); in createAudioPatch()
1328 std::unique_ptr<audio_patch[]> patchesLegacy(new audio_patch[count]); in listAudioPatches()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h363 status_t clientCreateAudioPatch(const struct audio_patch *patch,
620 status_t createAudioPatchCommand(const struct audio_patch *patch,
710 struct audio_patch mPatch;
845 virtual status_t createAudioPatch(const struct audio_patch *patch,
DAudioPolicyClientImpl.cpp229 status_t AudioPolicyService::AudioPolicyClient::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()

12