Searched refs:numPatches (Results 1 – 2 of 2) sorted by relevance
627 unsigned int numPatches; in listAudioPatches() local634 numPatches = 0; in listAudioPatches()635 status = AudioSystem::listAudioPatches(&numPatches, nullptr, &generation1); in listAudioPatches()640 patchesVec.resize(numPatches); in listAudioPatches()641 status = AudioSystem::listAudioPatches(&numPatches, patchesVec.data(), &generation); in listAudioPatches()644 numPatches = 0; in listAudioPatches()
1826 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local1838 numPatches = 0; in android_media_AudioSystem_listAudioPatches()1839 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()1847 if (numPatches == 0) { in android_media_AudioSystem_listAudioPatches()1852 nPatches.resize(numPatches); in android_media_AudioSystem_listAudioPatches()1854 status = AudioSystem::listAudioPatches(&numPatches, nPatches.data(), &generation); in android_media_AudioSystem_listAudioPatches()1856 numPatches, generation, generation1); in android_media_AudioSystem_listAudioPatches()1868 for (size_t i = 0; i < numPatches; i++) { in android_media_AudioSystem_listAudioPatches()