Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.cpp159 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocPlayerRoutingProxy() local
161 j_env->ExceptionClear(); in AllocPlayerRoutingProxy()
164 j_env->NewObject(gClsAudioTrackRoutingProxy, in AllocPlayerRoutingProxy()
168 *proxyObj = j_env->NewGlobalRef(localObjRef); in AllocPlayerRoutingProxy()
170 if (j_env->ExceptionCheck()) { in AllocPlayerRoutingProxy()
229 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocRecorderRoutingProxy() local
231 j_env->ExceptionClear(); in AllocRecorderRoutingProxy()
233 j_env->NewObject(gClsAudioRecordRoutingProxy, in AllocRecorderRoutingProxy()
237 *proxyObj = j_env->NewGlobalRef(localObjRef); in AllocRecorderRoutingProxy()
238 if (j_env->ExceptionCheck()) { in AllocRecorderRoutingProxy()
[all …]
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp720 JNIEnv* j_env = NULL; in android_audioRecorder_realize() local
724 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioRecorder_realize()
725 (clsAudioRecord = j_env->FindClass("android/media/AudioRecord")) != NULL && in android_audioRecorder_realize()
727 j_env->GetMethodID(clsAudioRecord, "deferred_connect", "(J)V")) != NULL) { in android_audioRecorder_realize()
728 j_env->ExceptionClear(); in android_audioRecorder_realize()
729 j_env->CallVoidMethod(ar->mAndroidConfiguration.mRoutingProxy, in android_audioRecorder_realize()
732 if (j_env->ExceptionCheck()) { in android_audioRecorder_realize()
DAudioPlayer_to_android.cpp1724 JNIEnv* j_env = NULL; in android_audioPlayer_realize() local
1728 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioPlayer_realize()
1729 (clsAudioTrack = j_env->FindClass("android/media/AudioTrack")) != NULL && in android_audioPlayer_realize()
1731 j_env->GetMethodID(clsAudioTrack, "deferred_connect", "(J)V")) != NULL) { in android_audioPlayer_realize()
1732 j_env->ExceptionClear(); in android_audioPlayer_realize()
1733 j_env->CallVoidMethod(pAudioPlayer->mAndroidConfiguration.mRoutingProxy, in android_audioPlayer_realize()
1736 if (j_env->ExceptionCheck()) { in android_audioPlayer_realize()