Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1716 ScopedLocalRef<jobject> jPatch(env, env->GetObjectArrayElement(jPatches, 0)); in android_media_AudioSystem_createAudioPatch() local
1718 if (jPatch != nullptr) { in android_media_AudioSystem_createAudioPatch()
1719 if (!env->IsInstanceOf(jPatch.get(), gAudioPatchClass)) { in android_media_AudioSystem_createAudioPatch()
1722 jPatchHandle.reset(env->GetObjectField(jPatch.get(), gAudioPatchFields.mHandle)); in android_media_AudioSystem_createAudioPatch()
1767 jPatch.reset(env->NewObject(gAudioPatchClass, gAudioPatchCstor, jPatchHandle.get(), in android_media_AudioSystem_createAudioPatch()
1769 if (jPatch == nullptr) { in android_media_AudioSystem_createAudioPatch()
1772 env->SetObjectArrayElement(jPatches, 0, jPatch.get()); in android_media_AudioSystem_createAudioPatch()
1781 jobject jPatch) in android_media_AudioSystem_releaseAudioPatch() argument
1784 if (jPatch == NULL) { in android_media_AudioSystem_releaseAudioPatch()
1790 if (!env->IsInstanceOf(jPatch, gAudioPatchClass)) { in android_media_AudioSystem_releaseAudioPatch()
[all …]