Searched refs:numPatches (Results 1 – 3 of 3) sorted by relevance
1593 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local1611 numPatches = 0; in android_media_AudioSystem_listAudioPatches()1612 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()1620 if (numPatches == 0) { in android_media_AudioSystem_listAudioPatches()1625 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()1627 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()1631 numPatches, generation, generation1); in android_media_AudioSystem_listAudioPatches()1640 for (size_t i = 0; i < numPatches; i++) { in android_media_AudioSystem_listAudioPatches()
1492 unsigned int numPatches = numPatchesReq; in onTransact() local1501 status_t status = listAudioPatches(&numPatches, patches); in onTransact()1503 reply->writeInt32(numPatches); in onTransact()1505 if (numPatchesReq > numPatches) { in onTransact()1506 numPatchesReq = numPatches; in onTransact()
1906 unsigned int numPatches = numPatchesReq; in onTransact() local1916 status_t status = listAudioPatches(&numPatches, patches, &generation); in onTransact()1918 reply->writeInt32(numPatches); in onTransact()1920 if (numPatchesReq > numPatches) { in onTransact()1921 numPatchesReq = numPatches; in onTransact()