Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.c150 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocPlayerRoutingProxy() local
154 j_env->FindClass("android/media/AudioTrackRoutingProxy"); in AllocPlayerRoutingProxy()
156 j_env->GetMethodID(clsAudioTrackRoutingProxy, "<init>", "(J)V"); in AllocPlayerRoutingProxy()
158 j_env->ExceptionClear(); in AllocPlayerRoutingProxy()
161 j_env->NewObject(clsAudioTrackRoutingProxy, in AllocPlayerRoutingProxy()
165 *proxyObj = j_env->NewGlobalRef(localObjRef); in AllocPlayerRoutingProxy()
167 if (j_env->ExceptionCheck()) { in AllocPlayerRoutingProxy()
225 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocRecorderRoutingProxy() local
229 j_env->FindClass("android/media/AudioRecordRoutingProxy"); in AllocRecorderRoutingProxy()
231 j_env->GetMethodID(clsAudioRecordRoutingProxy, "<init>", "(J)V"); in AllocRecorderRoutingProxy()
[all …]
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp718 JNIEnv* j_env = NULL; in android_audioRecorder_realize() local
722 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioRecorder_realize()
723 (clsAudioRecord = j_env->FindClass("android/media/AudioRecord")) != NULL && in android_audioRecorder_realize()
725 j_env->GetMethodID(clsAudioRecord, "deferred_connect", "(J)V")) != NULL) { in android_audioRecorder_realize()
726 j_env->ExceptionClear(); in android_audioRecorder_realize()
727 j_env->CallVoidMethod(ar->mAndroidConfiguration.mRoutingProxy, in android_audioRecorder_realize()
730 if (j_env->ExceptionCheck()) { in android_audioRecorder_realize()
DAudioPlayer_to_android.cpp1676 JNIEnv* j_env = NULL; in android_audioPlayer_realize() local
1680 (j_env = android::AndroidRuntime::getJNIEnv()) != NULL && in android_audioPlayer_realize()
1681 (clsAudioTrack = j_env->FindClass("android/media/AudioTrack")) != NULL && in android_audioPlayer_realize()
1683 j_env->GetMethodID(clsAudioTrack, "deferred_connect", "(J)V")) != NULL) { in android_audioPlayer_realize()
1684 j_env->ExceptionClear(); in android_audioPlayer_realize()
1685 j_env->CallVoidMethod(pAudioPlayer->mAndroidConfiguration.mRoutingProxy, in android_audioPlayer_realize()
1688 if (j_env->ExceptionCheck()) { in android_audioPlayer_realize()