/external/webrtc/webrtc/modules/video_render/android/ |
video_render_android_native_opengl2.cc | 38 if (!g_jvm) { 45 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { 48 jint res = g_jvm->AttachCurrentThread(&env, NULL); 87 if (g_jvm->DetachCurrentThread() < 0) { 98 if (g_jvm) { 102 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { 105 jint res = g_jvm->AttachCurrentThread(&env, NULL); 123 if (g_jvm->DetachCurrentThread() < 0) { 134 if (!g_jvm) { 148 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) [all...] |
video_render_android_surface_view.cc | 41 if(g_jvm) { 45 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { 48 jint res = g_jvm->AttachCurrentThread(&env, NULL); 69 if (g_jvm->DetachCurrentThread() < 0) { 82 if (!g_jvm) { 102 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { 105 jint res = g_jvm->AttachCurrentThread(&env, NULL); 189 if (g_jvm->DetachCurrentThread() < 0) { 217 new AndroidSurfaceViewChannel(streamId, g_jvm, renderer, _javaRenderObj);
|
video_render_android_impl.cc | 30 JavaVM* VideoRenderAndroid::g_jvm = NULL; member in class:webrtc::VideoRenderAndroid 34 VideoRenderAndroid::g_jvm = javaVM; member in class:webrtc::VideoRenderAndroid 195 jint res = g_jvm->AttachCurrentThread(&_javaRenderJniEnv, NULL); 213 if (g_jvm->DetachCurrentThread() < 0)
|
video_render_android_impl.h | 117 static JavaVM* g_jvm; member in class:webrtc::VideoRenderAndroid
|
/external/webrtc/talk/app/webrtc/java/jni/ |
jni_helpers.cc | 37 static JavaVM* g_jvm = nullptr; member in namespace:webrtc_jni 41 // Key for per-thread JNIEnv* data. Non-NULL in threads attached to |g_jvm| by 47 RTC_CHECK(g_jvm) << "JNI_OnLoad failed to run?"; 48 return g_jvm; 54 jint status = g_jvm->GetEnv(&env, JNI_VERSION_1_6); 74 jint status = g_jvm->DetachCurrentThread(); 85 RTC_CHECK(!g_jvm) << "InitGlobalJniVariables!"; 86 g_jvm = jvm; 87 RTC_CHECK(g_jvm) << "InitGlobalJniVariables handed NULL?"; 116 // Return a |JNIEnv*| usable on this thread. Attaches to |g_jvm| if necessary [all...] |
/external/libmojo/base/android/ |
jni_android.cc | 24 JavaVM* g_jvm = NULL; member in namespace:__anon23638 44 DCHECK(g_jvm); 46 jint ret = g_jvm->AttachCurrentThread(&env, NULL); 52 DCHECK(g_jvm); 58 jint ret = g_jvm->AttachCurrentThread(&env, &args); 66 if (g_jvm) 67 g_jvm->DetachCurrentThread(); 71 DCHECK(!g_jvm || g_jvm == vm); 72 g_jvm = vm [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
jvm_android.cc | 23 JVM* g_jvm; member in namespace:webrtc 210 RTC_CHECK(!g_jvm); 211 g_jvm = new JVM(jvm, context); 217 RTC_DCHECK(g_jvm); 218 delete g_jvm; 219 g_jvm = nullptr; 224 RTC_DCHECK(g_jvm); 225 return g_jvm;
|