Searched refs:numPatches (Results 1 – 3 of 3) sorted by relevance
1594 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local1612 numPatches = 0; in android_media_AudioSystem_listAudioPatches()1613 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()1621 if (numPatches == 0) { in android_media_AudioSystem_listAudioPatches()1626 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()1628 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()1632 numPatches, generation, generation1); in android_media_AudioSystem_listAudioPatches()1641 for (size_t i = 0; i < numPatches; i++) { in android_media_AudioSystem_listAudioPatches()
1522 unsigned int numPatches = numPatchesReq; in onTransact() local1531 status_t status = listAudioPatches(&numPatches, patches); in onTransact()1533 reply->writeInt32(numPatches); in onTransact()1535 if (numPatchesReq > numPatches) { in onTransact()1536 numPatchesReq = numPatches; in onTransact()
1971 unsigned int numPatches = numPatchesReq; in onTransact() local1981 status_t status = listAudioPatches(&numPatches, patches, &generation); in onTransact()1983 reply->writeInt32(numPatches); in onTransact()1985 if (numPatchesReq > numPatches) { in onTransact()1986 numPatchesReq = numPatches; in onTransact()