Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1660 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local
1678 numPatches = 0; in android_media_AudioSystem_listAudioPatches()
1679 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()
1687 if (numPatches == 0) { in android_media_AudioSystem_listAudioPatches()
1692 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()
1694 status = AudioSystem::listAudioPatches(&numPatches, in android_media_AudioSystem_listAudioPatches()
1698 numPatches, generation, generation1); in android_media_AudioSystem_listAudioPatches()
1707 for (size_t i = 0; i < numPatches; i++) { in android_media_AudioSystem_listAudioPatches()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp1525 unsigned int numPatches = numPatchesReq; in onTransact() local
1534 status_t status = listAudioPatches(&numPatches, patches); in onTransact()
1536 reply->writeInt32(numPatches); in onTransact()
1538 if (numPatchesReq > numPatches) { in onTransact()
1539 numPatchesReq = numPatches; in onTransact()
DIAudioPolicyService.cpp2130 unsigned int numPatches = numPatchesReq; in onTransact() local
2140 status_t status = listAudioPatches(&numPatches, patches, &generation); in onTransact()
2142 reply->writeInt32(numPatches); in onTransact()
2144 if (numPatchesReq > numPatches) { in onTransact()
2145 numPatchesReq = numPatches; in onTransact()