Home
last modified time | relevance | path

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

/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()
653 status_t AudioFlinger::PatchPanel::listAudioPatches(unsigned int *num_patches __unused, in listAudioPatches()
DAudioFlinger.h245 virtual status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp855 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
858 if (num_patches == NULL || *num_patches == 0 || patches == NULL) { in listAudioPatches()
863 data.writeInt32(*num_patches); in listAudioPatches()
869 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
870 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
1339 unsigned int num_patches = data.readInt32(); in onTransact() local
1341 (struct audio_patch *)calloc(num_patches, in onTransact()
1343 status_t status = listAudioPatches(&num_patches, patches); in onTransact()
1346 reply->writeInt32(num_patches); in onTransact()
1347 reply->write(&patches, num_patches * sizeof(struct audio_patch)); in onTransact()
DIAudioPolicyService.cpp526 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
530 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
536 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches()
541 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches()
544 if (numPatchesReq > *num_patches) { in listAudioPatches()
545 numPatchesReq = *num_patches; in listAudioPatches()
DAudioSystem.cpp905 status_t AudioSystem::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
911 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
/frameworks/av/include/media/
DIAudioPolicyService.h132 virtual status_t listAudioPatches(unsigned int *num_patches,
DIAudioFlinger.h233 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioSystem.h311 static status_t listAudioPatches(unsigned int *num_patches,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp516 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
520 *num_patches = 0; in listAudioPatches()
DAudioPolicyInterfaceImpl.cpp538 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
550 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
DAudioPolicyInterface.h187 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioPolicyService.h167 virtual status_t listAudioPatches(unsigned int *num_patches,
DAudioPolicyManager.cpp2468 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument
2472 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
2477 *num_patches, patches, mAudioPatches.size()); in listAudioPatches()
2479 *num_patches = 0; in listAudioPatches()
2483 size_t patchesMax = *num_patches; in listAudioPatches()
2491 *num_patches = mAudioPatches.size(); in listAudioPatches()
2494 ALOGV("listAudioPatches() got %zu patches needed %d", patchesWritten, *num_patches); in listAudioPatches()
DAudioPolicyManager.h169 virtual status_t listAudioPatches(unsigned int *num_patches,