Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1594 unsigned int numPatches; in android_media_AudioSystem_listAudioPatches() local
1612 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()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp1522 unsigned int numPatches = numPatchesReq; in onTransact() local
1531 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()
DIAudioPolicyService.cpp1971 unsigned int numPatches = numPatchesReq; in onTransact() local
1981 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()