Home
last modified time | relevance | path

Searched refs:num_patches (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp117 status_t AudioPatchCollection::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
120 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) { in listAudioPatches()
124 *num_patches, patches, size()); in listAudioPatches()
126 *num_patches = 0; in listAudioPatches()
130 size_t patchesMax = *num_patches; in listAudioPatches()
131 *num_patches = 0; in listAudioPatches()
156 (*num_patches)++; in listAudioPatches()
161 ALOGV("listAudioPatches() got %zu patches needed %d", patchesWritten, *num_patches); in listAudioPatches()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h50 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
/frameworks/av/services/audioflinger/
DPatchPanel.h45 status_t listAudioPatches(unsigned int *num_patches,
DPatchPanel.cpp92 status_t AudioFlinger::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
97 return mPatchPanel->listAudioPatches(num_patches, patches); in listAudioPatches()
625 status_t AudioFlinger::PatchPanel::listAudioPatches(unsigned int *num_patches __unused, in listAudioPatches()
DAudioFlinger.h252 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp602 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
606 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
612 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches()
617 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
620 if (numPatchesReq > *num_patches) { in listAudioPatches()
621 numPatchesReq = *num_patches; in listAudioPatches()
DIAudioFlinger.cpp872 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
875 if (num_patches == NULL || *num_patches == 0 || patches == NULL) { in listAudioPatches()
880 data.writeInt32(*num_patches); in listAudioPatches()
886 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
887 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
DAudioSystem.cpp1059 status_t AudioSystem::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
1065 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
/frameworks/av/include/media/
DIAudioPolicyService.h145 virtual status_t listAudioPatches(unsigned int *num_patches,
DIAudioFlinger.h245 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioSystem.h315 static status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImplLegacy.cpp553 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
557 *num_patches = 0; in listAudioPatches()
DAudioPolicyInterfaceImpl.cpp636 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
645 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
DAudioPolicyService.h182 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h211 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h209 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioPolicyManager.cpp2725 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
2733 return mAudioPatches.listAudioPatches(num_patches, patches); in listAudioPatches()