Home
last modified time | relevance | path

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

12

/external/webrtc/sdk/android/src/jni/
Djvm.cc44 RTC_CHECK(((env != nullptr) && (status == JNI_OK)) || in GetEnv()
64 RTC_CHECK(status == JNI_OK) << "Failed to detach thread: " << status; in ThreadDestructor()
81 if (jvm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6) != JNI_OK) in InitGlobalJniVariables()
/external/webrtc/modules/utility/source/
Dhelpers_android.cc30 RTC_CHECK(((env != NULL) && (status == JNI_OK)) || in GetEnv()
100 attached_ = (res == JNI_OK); in AttachThreadScoped()
109 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~AttachThreadScoped()
Djvm_android.cc80 attached_ = (ret == JNI_OK); in JvmThreadConnector()
90 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~JvmThreadConnector()
/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()
/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/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_android.c101 if (res != JNI_OK || env == NULL) in ares_library_init_android()
219 if (res != JNI_OK || env == NULL) in ares_library_cleanup_android()
273 if (res != JNI_OK || env == NULL) in ares_get_android_server_list()
386 if (res != JNI_OK || env == NULL) in ares_get_android_search_domains_list()
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-base.cc22 return env->EnsureLocalCapacity(capacity) == JNI_OK; in EnsureLocalCapacity()
Djni-base.h86 JNI_OK == in operator()
/external/libtextclassifier/native/utils/java/
Djni-base.cc24 return env->EnsureLocalCapacity(capacity) == JNI_OK; in EnsureLocalCapacity()
Djni-cache.cc136 if (JNI_OK != env->GetJavaVM(&jvm) || jvm == nullptr) { in Create()
272 if (JNI_OK == jvm->GetEnv(&env, JNI_VERSION_1_4)) { in GetEnv()
Djni-base.h88 JNI_OK == in operator()
/external/skia/modules/androidkit/src/
DAndroidKit.cpp22 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/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()
/external/icu/android_icu4j/libcore_bridge/src/native/
DRegister.cpp31 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/icing/icing/jni/
Djni-cache.cc133 if (JNI_OK != env->GetJavaVM(&jvm) || jvm == nullptr) { in Create()
184 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/icu/libicu/test/src/
Duloc_jni_test.cpp123 ASSERT_EQ(JNI_OK, envStat); // It should be attached to the current thread already. in SetUp()
/external/libchrome/base/android/linker/
Dlinker_jni.cc526 if (JNI_OK != in PostForLaterExecution()
678 if (JNI_OK != vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_4)) { in JNI_OnLoad()
/external/exoplayer/tree/extensions/opus/src/main/jni/
Dopus_jni.cc55 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/
Dnative-lib.cpp65 if (sJVM->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in release_global_jni_ref()
/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/libwebsockets/test-apps/android/app/src/main/jni/
DLwsService.cpp77 if(vm->GetEnv((void**)&gEnv, JNI_VERSION_1_6) != JNI_OK) goto bail; in JNI_OnLoad()

12