Home
last modified time | relevance | path

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

/libnativehelper/tests_mts/jni/
Djni_invocation_test.cpp23 ASSERT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&createdVMs[0], 2, &count)); in TEST_F()
29 ASSERT_EQ(JNI_OK, mEnv->GetJavaVM(&currentVM)); in TEST_F()
Dlibnativehelper_test.cpp23 EXPECT_EQ(JNI_OK, result); in SetUp()
Djni_helper_jni.cpp95 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
138 if (rc != JNI_OK) return rc; in JNI_OnLoad()
/libnativehelper/header_only_include/nativehelper/
Dnativehelper_utils.h43 if (env->ThrowNew(e_class, nullptr) != JNI_OK) { in jniThrowNullPointerException()
/libnativehelper/tests/
Dlibnativehelper_lazy_test.cpp63 EXPECT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&vm, 1, &count)); in TEST_F()
DJniInvocation_test.cpp69 EXPECT_EQ(status, JNI_OK); in TEST()
/libnativehelper/
Dlibnativehelper_lazy.c199 if (status == JNI_OK) { in JNI_CreateJavaVM()
217 return JNI_OK; in JNI_GetCreatedJavaVMs()
DJniInvocation.c102 return JNI_OK; in JNI_GetCreatedJavaVMs()
DJNIHelp.c269 if ((*env)->Throw(env, (jthrowable)instance) != JNI_OK) { in ThrowException()
/libnativehelper/include/nativehelper/
DJNIHelp.h325 if (env->Throw((jthrowable)instance) != JNI_OK) { in ThrowException()
/libnativehelper/include_jni/
Djni.h1131 #define JNI_OK (0) /* no error */ macro