Lines Matching refs:numPatchesReq
743 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()
1973 (struct audio_patch *)calloc(numPatchesReq, in onTransact()
1985 if (numPatchesReq > numPatches) { in onTransact()
1986 numPatchesReq = numPatches; in onTransact()
1988 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()