Home
last modified time | relevance | path

Searched refs:JNI_OK (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc28 RTC_CHECK(((env != NULL) && (status == JNI_OK)) || in GetEnv()
107 attached_ = (res == JNI_OK); in AttachThreadScoped()
116 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~AttachThreadScoped()
Djvm_android.cc79 attached_ = (ret == JNI_OK); in AttachCurrentThreadIfNeeded()
89 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~AttachCurrentThreadIfNeeded()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_native_opengl2.cc45 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in UseOpenGL2()
102 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidNativeOpenGl2Renderer()
148 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in Init()
252 if (_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidNativeOpenGl2Channel()
300 if (_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in Init()
Dvideo_render_android_surface_view.cc45 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidSurfaceViewRenderer()
102 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in Init()
253 if ( _jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidSurfaceViewChannel()
320 if (_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in Init()
/external/oj-libjdwp/src/share/back/
DdebugInit.c247 return JNI_OK; in find_extension_functions()
294 if (error != JNI_OK) { in Agent_OnLoad()
303 if (error != JNI_OK) { in Agent_OnLoad()
465 if (find_extension_functions() != JNI_OK || gdata->raw_monitor_enter_no_suspend == NULL) { in Agent_OnLoad()
472 return JNI_OK; in Agent_OnLoad()
733 if (rc != JNI_OK ) { in jniFatalError()
1456 if (error != JNI_OK) { in doInitializeOnAttach()
1473 return JNI_OK; in doInitializeOnAttach()
1485 if (Agent_OnLoad(vm, options, reserved) != JNI_OK) { in Agent_OnAttach()
1495 res = JNI_OK; in Agent_OnAttach()
DvmDebug.c137 if (res != JNI_OK) { in vmDebug_initalize()
Dtransport.c198 if (ver != JNI_OK) { in loadTransport()
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp39 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
65 if (env->GetJavaVM(&jvm) != JNI_OK) { in Create()
247 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp39 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
65 if (env->GetJavaVM(&jvm) != JNI_OK) { in Create()
247 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc55 RTC_CHECK(((env != NULL) && (status == JNI_OK)) || in GetEnv()
75 RTC_CHECK(status == JNI_OK) << "Failed to detach thread: " << status; in ThreadDestructor()
92 if (jvm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6) != JNI_OK) in InitGlobalJniVariables()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniload.cc34 if (vm->GetEnv(reinterpret_cast<void**>(&env), CONSCRYPT_JNI_VERSION) != JNI_OK) { in libconscrypt_JNI_OnLoad()
Djniutil.cc134 if (env->ThrowNew(exceptionClass, msg) != JNI_OK) { in throwException()
/external/libtextclassifier/utils/java/
Dscoped_global_ref.h49 JNI_OK == in operator()
Djni-cache.cc118 if (JNI_OK != env->GetJavaVM(&jvm) || jvm == nullptr) { in Create()
254 if (JNI_OK == jvm->GetEnv(&env, JNI_VERSION_1_4)) { in GetEnv()
/external/libchrome/base/android/
Djni_android.cc61 DCHECK_EQ(JNI_OK, ret); in AttachCurrentThread()
74 DCHECK_EQ(JNI_OK, ret); in AttachCurrentThreadWithName()
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/jni/multiplejvmtiagentsinterferenceagent/
Dagent.cc95 if (jvmError != JNI_OK) { in Agent_OnAttach()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc122 return result == JNI_OK ? env : nullptr; in GetJniEnv()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc122 return result == JNI_OK ? env : nullptr; in GetJniEnv()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/jni/staticjvmtiagent/
Dagent.cc598 if (jvmError != JNI_OK) { in Agent_OnAttach()
755 if (jvmError != JNI_OK) { in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
761 if (jvmError != JNI_OK) { in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp67 if (m_vm->AttachCurrentThread(&m_env, DE_NULL) != JNI_OK) in ScopedJNIEnv()
72 else if (getEnvRes != JNI_OK) in ScopedJNIEnv()
DtcuAndroidExecService.cpp248 if (ret == JNI_OK) in getCurrentThreadEnv()
/external/neven/
DFaceDetector_jni.cpp292 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/external/oj-libjdwp/src/share/transport/socket/
DsocketTransport.c756 return JNI_OK; in jdwpTransport_OnLoad()
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
Dandroid_test.cc322 if (JNI_OK != vm->GetEnv(reinterpret_cast<void**> (&env), in JNI_OnLoad()
/external/dexmaker/dexmaker-mockito-inline/src/main/jni/dexmakerjvmtiagent/
Dagent.cc799 if (jvmError != JNI_OK) { in Agent_OnAttach()

12