Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp88 status_t AudioPatchCollection::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
91 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) { in listAudioPatches()
95 *num_patches, patches, size()); in listAudioPatches()
97 *num_patches = 0; in listAudioPatches()
101 size_t patchesMax = *num_patches; in listAudioPatches()
102 *num_patches = 0; in listAudioPatches()
127 (*num_patches)++; in listAudioPatches()
132 ALOGV("listAudioPatches() got %zu patches needed %d", patchesWritten, *num_patches); in listAudioPatches()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h61 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
/frameworks/av/services/audioflinger/
DPatchPanel.cpp80 status_t AudioFlinger::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
84 return mPatchPanel.listAudioPatches(num_patches, patches); in listAudioPatches()
751 status_t AudioFlinger::PatchPanel::listAudioPatches(unsigned int *num_patches __unused, in listAudioPatches()
DPatchPanel.h65 status_t listAudioPatches(unsigned int *num_patches,
DAudioFlinger.h272 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp839 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
842 if (num_patches == NULL || *num_patches == 0 || patches == NULL) { in listAudioPatches()
847 data.writeInt32(*num_patches); in listAudioPatches()
853 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
854 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
DIAudioPolicyService.cpp733 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
737 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
743 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches()
748 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
751 if (numPatchesReq > *num_patches) { in listAudioPatches()
752 numPatchesReq = *num_patches; in listAudioPatches()
DAudioSystem.cpp1181 status_t AudioSystem::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
1187 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h169 virtual status_t listAudioPatches(unsigned int *num_patches,
DIAudioFlinger.h499 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioSystem.h334 static status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h225 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1070 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
1079 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
DAudioPolicyService.h203 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h242 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioPolicyManager.cpp3738 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
3746 return mAudioPatches.listAudioPatches(num_patches, patches); in listAudioPatches()