Home
last modified time | relevance | path

Searched refs:numPatchesReq (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp743 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches() local
744 data.writeInt32(numPatchesReq); in listAudioPatches()
751 if (numPatchesReq > *num_patches) { in listAudioPatches()
752 numPatchesReq = *num_patches; in listAudioPatches()
754 if (numPatchesReq > 0) { in listAudioPatches()
755 reply.read(patches, numPatchesReq * sizeof(struct audio_patch)); in listAudioPatches()
1967 unsigned int numPatchesReq = data.readInt32(); in onTransact() local
1968 if (numPatchesReq > MAX_ITEMS_PER_LIST) { in onTransact()
1969 numPatchesReq = MAX_ITEMS_PER_LIST; in onTransact()
1971 unsigned int numPatches = numPatchesReq; in onTransact()
[all …]
DIAudioFlinger.cpp1518 unsigned int numPatchesReq = data.readInt32(); in onTransact() local
1519 if (numPatchesReq > MAX_ITEMS_PER_LIST) { in onTransact()
1520 numPatchesReq = MAX_ITEMS_PER_LIST; in onTransact()
1522 unsigned int numPatches = numPatchesReq; in onTransact()
1524 (struct audio_patch *)calloc(numPatchesReq, in onTransact()
1535 if (numPatchesReq > numPatches) { in onTransact()
1536 numPatchesReq = numPatches; in onTransact()
1538 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()