Home
last modified time | relevance | path

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

12

/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/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h75 status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
108 const struct audio_patch *getLastAddedPatch() const { in getLastAddedPatch()
128 std::map<audio_patch_handle_t, struct audio_patch> mActivePatches;
DAudioPolicyTestClient.h66 status_t createAudioPatch(const struct audio_patch* /*patch*/, in createAudioPatch() argument
Daudiopolicymanager_tests.cpp108 static audio_port_handle_t getDeviceIdFromPatch(const struct audio_patch* patch);
237 const struct audio_patch* patch) { in getDeviceIdFromPatch()
261 audio_patch patch{}; in TEST_F()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h43 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor()
63 struct audio_patch mPatch;
DIAudioPolicyService.h162 virtual status_t createAudioPatch(const struct audio_patch *patch,
170 struct audio_patch *patches,
DIAudioFlinger.h492 virtual status_t createAudioPatch(const struct audio_patch *patch,
500 struct audio_patch *patches) = 0;
DAudioSystem.h327 static status_t createAudioPatch(const struct audio_patch *patch,
335 struct audio_patch *patches,
/frameworks/av/services/audioflinger/
DPatchPanel.h58 status_t createAudioPatch(const struct audio_patch *patch,
66 struct audio_patch *patches);
163 explicit Patch(const struct audio_patch &patch) : mAudioPatch(patch) {} in Patch()
207 struct audio_patch mAudioPatch;
DPatchPanel.cpp65 status_t AudioFlinger::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
81 struct audio_patch *patches) in listAudioPatches()
113 status_t AudioFlinger::PatchPanel::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
149 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch()
685 const struct audio_patch &patch = removedPatch.mAudioPatch; in releaseAudioPatch()
752 struct audio_patch *patches __unused) in listAudioPatches()
DThreads.h177 CreateAudioPatchConfigEventData(const struct audio_patch patch, in CreateAudioPatchConfigEventData()
185 const struct audio_patch mPatch;
191 CreateAudioPatchConfigEvent(const struct audio_patch patch, in CreateAudioPatchConfigEvent()
302 status_t sendCreateAudioPatchConfigEvent(const struct audio_patch *patch,
309 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
554 struct audio_patch mPatch;
1037 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
1241 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
1605 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
1792 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
DAudioFlinger.h265 virtual status_t createAudioPatch(const struct audio_patch *patch,
273 struct audio_patch *patches);
DThreads.cpp481 memset(&mPatch, 0, sizeof(struct audio_patch)); in ThreadBase()
629 const struct audio_patch *patch, in sendCreateAudioPatchConfigEvent()
4050 status_t AudioFlinger::MixerThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
4065 status_t AudioFlinger::PlaybackThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
4164 mPatch = audio_patch{}; in releaseAudioPatch_l()
8349 status_t AudioFlinger::RecordThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
8410 mPatch = audio_patch{}; in releaseAudioPatch_l()
8927 status_t AudioFlinger::MmapThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
9028 mPatch = audio_patch{}; in releaseAudioPatch_l()
/frameworks/av/media/libaudioclient/
DIAudioFlingerClient.cpp48 data.write(&ioDesc->mPatch, sizeof(struct audio_patch)); in ioConfigChanged()
73 data.read(&ioDesc->mPatch, sizeof(struct audio_patch)); in onTransact()
DIAudioFlinger.cpp810 virtual status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
818 data.write(patch, sizeof(struct audio_patch)); in createAudioPatch()
840 struct audio_patch *patches) in listAudioPatches()
854 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
1495 struct audio_patch patch; in onTransact()
1496 data.read(&patch, sizeof(struct audio_patch)); in onTransact()
1523 struct audio_patch *patches = in onTransact()
1524 (struct audio_patch *)calloc(numPatchesReq, in onTransact()
1525 sizeof(struct audio_patch)); in onTransact()
1538 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
DIAudioPolicyService.cpp702 virtual status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
710 data.write(patch, sizeof(struct audio_patch)); in createAudioPatch()
734 struct audio_patch *patches, in listAudioPatches()
755 reply.read(patches, numPatchesReq * sizeof(struct audio_patch)); in listAudioPatches()
1942 struct audio_patch patch = {}; in onTransact()
1943 data.read(&patch, sizeof(struct audio_patch)); in onTransact()
1972 struct audio_patch *patches = in onTransact()
1973 (struct audio_patch *)calloc(numPatchesReq, in onTransact()
1974 sizeof(struct audio_patch)); in onTransact()
1988 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
/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/common/managerdefinitions/src/
DAudioPatch.cpp28 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : in AudioPatch()
89 struct audio_patch *patches) const in listAudioPatches()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h220 virtual status_t createAudioPatch(const struct audio_patch *patch,
226 struct audio_patch *patches,
370 virtual status_t createAudioPatch(const struct audio_patch *patch,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h200 virtual status_t createAudioPatch(const struct audio_patch *patch,
204 struct audio_patch *patches,
276 status_t clientCreateAudioPatch(const struct audio_patch *patch,
477 status_t createAudioPatchCommand(const struct audio_patch *patch,
561 struct audio_patch mPatch;
695 virtual status_t createAudioPatch(const struct audio_patch *patch,
DAudioPolicyClientImpl.cpp181 status_t AudioPolicyService::AudioPolicyClient::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
DAudioPolicyService.cpp275 status_t AudioPolicyService::clientCreateAudioPatch(const struct audio_patch *patch, in clientCreateAudioPatch()
1463 const struct audio_patch *patch, in createAudioPatchCommand()
1699 struct audio_patch patch; in insertCommand_l()
1708 struct audio_patch patch2; in insertCommand_l()
DAudioPolicyInterfaceImpl.cpp1041 status_t AudioPolicyService::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
1071 struct audio_patch *patches, in listAudioPatches()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h234 virtual status_t createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
243 struct audio_patch *patches,
892 status_t createAudioPatchInternal(const struct audio_patch *patch,
907 const struct audio_patch *patch,
912 const struct audio_patch *patch,
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1471 struct audio_patch nPatch = { .id = handle }; in android_media_AudioSystem_createAudioPatch()
1596 struct audio_patch *nPatches = NULL; in android_media_AudioSystem_listAudioPatches()
1626 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()

12