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

/frameworks/av/media/libaudioclient/
H A DIAudioPolicyService.cpp625 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; local
626 data.writeInt32(numPatchesReq);
633 if (numPatchesReq > *num_patches) {
634 numPatchesReq = *num_patches;
636 if (numPatchesReq > 0) {
637 reply.read(patches, numPatchesReq * sizeof(struct audio_patch));
1265 unsigned int numPatchesReq = data.readInt32(); local
1266 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1267 numPatchesReq = MAX_ITEMS_PER_LIST;
1269 unsigned int numPatches = numPatchesReq;
[all...]
H A DIAudioFlinger.cpp1436 unsigned int numPatchesReq = data.readInt32(); local
1437 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1438 numPatchesReq = MAX_ITEMS_PER_LIST;
1440 unsigned int numPatches = numPatchesReq;
1442 (struct audio_patch *)calloc(numPatchesReq,
1453 if (numPatchesReq > numPatches) {
1454 numPatchesReq = numPatches;
1456 reply->write(patches, numPatchesReq * sizeof(struct audio_patch));

Completed in 224 milliseconds