Home
last modified time | relevance | path

Searched refs:numPatches (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1593 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local
1611 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()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp1492 unsigned int numPatches = numPatchesReq; in onTransact() local
1501 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()
DIAudioPolicyService.cpp1906 unsigned int numPatches = numPatchesReq; in onTransact() local
1916 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()