Home
last modified time | relevance | path

Searched refs:patchHandle (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioPatch.java36 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() argument
37 mHandle = patchHandle; in AudioPatch()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp80 static void finalize(JNIEnv* env, jobject, jlong patchHandle) { in finalize() argument
81 int8_t* patch = reinterpret_cast<int8_t*>(patchHandle); in finalize()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.h572 audio_patch_handle_t *patchHandle = NULL,
576 audio_patch_handle_t *patchHandle = NULL);
580 audio_patch_handle_t *patchHandle = NULL);
582 audio_patch_handle_t *patchHandle = NULL);
DAudioPolicyManager.cpp4318 audio_patch_handle_t *patchHandle, in setOutputDevice() argument
4378 if (patchHandle && *patchHandle != AUDIO_PATCH_HANDLE_NONE) { in setOutputDevice()
4379 index = mAudioPatches.indexOfKey(*patchHandle); in setOutputDevice()
4406 if (patchHandle) { in setOutputDevice()
4407 *patchHandle = patchDesc->mHandle; in setOutputDevice()
4438 audio_patch_handle_t *patchHandle) in resetOutputDevice() argument
4442 if (patchHandle) { in resetOutputDevice()
4443 index = mAudioPatches.indexOfKey(*patchHandle); in resetOutputDevice()
4463 audio_patch_handle_t *patchHandle) in setInputDevice() argument
4486 if (patchHandle && *patchHandle != AUDIO_PATCH_HANDLE_NONE) { in setInputDevice()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1158 jobject patchHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in android_media_AudioSystem_listAudioPatches() local
1160 if (patchHandle == NULL) { in android_media_AudioSystem_listAudioPatches()
1167 env->SetIntField(patchHandle, gAudioHandleFields.mId, nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1220 patchHandle, jSources, jSinks); in android_media_AudioSystem_listAudioPatches()