Searched refs:num_patches (Results 1 – 15 of 15) sorted by relevance
/frameworks/av/media/libmedia/ |
D | IAudioFlinger.cpp | 855 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()
|
D | IAudioPolicyService.cpp | 583 virtual status_t listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 587 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches() 593 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches() 598 *num_patches = (unsigned int)reply.readInt32(); in listAudioPatches() 601 if (numPatchesReq > *num_patches) { in listAudioPatches() 602 numPatchesReq = *num_patches; in listAudioPatches()
|
D | AudioSystem.cpp | 916 status_t AudioSystem::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 922 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.h | 45 status_t listAudioPatches(unsigned int *num_patches,
|
D | PatchPanel.cpp | 92 status_t AudioFlinger::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 97 return mPatchPanel->listAudioPatches(num_patches, patches); in listAudioPatches() 655 status_t AudioFlinger::PatchPanel::listAudioPatches(unsigned int *num_patches __unused, in listAudioPatches()
|
D | AudioFlinger.h | 245 virtual status_t listAudioPatches(unsigned int *num_patches,
|
/frameworks/av/include/media/ |
D | IAudioPolicyService.h | 139 virtual status_t listAudioPatches(unsigned int *num_patches,
|
D | IAudioFlinger.h | 233 virtual status_t listAudioPatches(unsigned int *num_patches,
|
D | AudioSystem.h | 314 static status_t listAudioPatches(unsigned int *num_patches,
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 550 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 554 *num_patches = 0; in listAudioPatches()
|
D | AudioPolicyInterfaceImpl.cpp | 599 status_t AudioPolicyService::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 611 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
|
D | AudioPolicyInterface.h | 205 virtual status_t listAudioPatches(unsigned int *num_patches,
|
D | AudioPolicyService.h | 174 virtual status_t listAudioPatches(unsigned int *num_patches,
|
D | AudioPolicyManager.h | 179 virtual status_t listAudioPatches(unsigned int *num_patches,
|
D | AudioPolicyManager.cpp | 2871 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches() argument 2875 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches() 2880 *num_patches, patches, mAudioPatches.size()); in listAudioPatches() 2882 *num_patches = 0; in listAudioPatches() 2886 size_t patchesMax = *num_patches; in listAudioPatches() 2894 *num_patches = mAudioPatches.size(); in listAudioPatches() 2897 ALOGV("listAudioPatches() got %zu patches needed %d", patchesWritten, *num_patches); in listAudioPatches()
|