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.cpp723 JNIEnv* j_env = NULL; in android_audioRecorder_realize() local
727 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioRecorder_realize()
728 (clsAudioRecord = j_env->FindClass("android/media/AudioRecord")) != NULL && in android_audioRecorder_realize()
730 j_env->GetMethodID(clsAudioRecord, "deferred_connect", "(J)V")) != NULL) { in android_audioRecorder_realize()
731 j_env->ExceptionClear(); in android_audioRecorder_realize()
732 j_env->CallVoidMethod(ar->mAndroidConfiguration.mRoutingProxy, in android_audioRecorder_realize()
735 if (j_env->ExceptionCheck()) { in android_audioRecorder_realize()
DAudioPlayer_to_android.cpp1728 JNIEnv* j_env = NULL; in android_audioPlayer_realize() local
1732 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioPlayer_realize()
1733 (clsAudioTrack = j_env->FindClass("android/media/AudioTrack")) != NULL && in android_audioPlayer_realize()
1735 j_env->GetMethodID(clsAudioTrack, "deferred_connect", "(J)V")) != NULL) { in android_audioPlayer_realize()
1736 j_env->ExceptionClear(); in android_audioPlayer_realize()
1737 j_env->CallVoidMethod(pAudioPlayer->mAndroidConfiguration.mRoutingProxy, in android_audioPlayer_realize()
1740 if (j_env->ExceptionCheck()) { in android_audioPlayer_realize()