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

/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp608 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; local
609 data.writeInt32(numPatchesReq);
616 if (numPatchesReq > *num_patches) {
617 numPatchesReq = *num_patches;
619 if (numPatchesReq > 0) {
620 reply.read(patches, numPatchesReq * sizeof(struct audio_patch));
1190 unsigned int numPatchesReq = data.readInt32(); local
1191 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1192 numPatchesReq = MAX_ITEMS_PER_LIST;
1194 unsigned int numPatches = numPatchesReq;
[all...]
H A DIAudioFlinger.cpp1378 unsigned int numPatchesReq = data.readInt32(); local
1379 if (numPatchesReq > MAX_ITEMS_PER_LIST) {
1380 numPatchesReq = MAX_ITEMS_PER_LIST;
1382 unsigned int numPatches = numPatchesReq;
1384 (struct audio_patch *)calloc(numPatchesReq,
1395 if (numPatchesReq > numPatches) {
1396 numPatchesReq = numPatches;
1398 reply->write(patches, numPatchesReq * sizeof(struct audio_patch));

Completed in 78 milliseconds