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

/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp1404 unsigned int numPatchesReq = data.readInt32(); local
1405 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1406 numPatchesReq = MAX_ITEMS_PER_LIST;
1408 unsigned int numPatches = numPatchesReq;
1410 (struct audio_patch *)calloc(numPatchesReq,
1421 if (numPatchesReq > numPatches) {
1422 numPatchesReq = numPatches;
1424 reply->write(patches, numPatchesReq * sizeof(struct audio_patch));
H A DIAudioPolicyService.cpp612 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; local
613 data.writeInt32(numPatchesReq);
620 if (numPatchesReq > *num_patches) {
621 numPatchesReq = *num_patches;
623 if (numPatchesReq > 0) {
624 reply.read(patches, numPatchesReq * sizeof(struct audio_patch));
1226 unsigned int numPatchesReq = data.readInt32(); local
1227 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1228 numPatchesReq = MAX_ITEMS_PER_LIST;
1230 unsigned int numPatches = numPatchesReq;
[all...]

Completed in 79 milliseconds