Searched refs:JNI_OK (Results 1 – 11 of 11) sorted by relevance
/libnativehelper/tests_mts/jni/ |
D | jni_invocation_test.cpp | 23 ASSERT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&createdVMs[0], 2, &count)); in TEST_F() 29 ASSERT_EQ(JNI_OK, mEnv->GetJavaVM(¤tVM)); in TEST_F()
|
D | libnativehelper_test.cpp | 23 EXPECT_EQ(JNI_OK, result); in SetUp()
|
D | jni_helper_jni.cpp | 95 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/ |
D | nativehelper_utils.h | 43 if (env->ThrowNew(e_class, nullptr) != JNI_OK) { in jniThrowNullPointerException()
|
/libnativehelper/tests/ |
D | libnativehelper_lazy_test.cpp | 63 EXPECT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&vm, 1, &count)); in TEST_F()
|
D | JniInvocation_test.cpp | 69 EXPECT_EQ(status, JNI_OK); in TEST()
|
/libnativehelper/ |
D | libnativehelper_lazy.c | 199 if (status == JNI_OK) { in JNI_CreateJavaVM() 217 return JNI_OK; in JNI_GetCreatedJavaVMs()
|
D | JniInvocation.c | 102 return JNI_OK; in JNI_GetCreatedJavaVMs()
|
D | JNIHelp.c | 269 if ((*env)->Throw(env, (jthrowable)instance) != JNI_OK) { in ThrowException()
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 325 if (env->Throw((jthrowable)instance) != JNI_OK) { in ThrowException()
|
/libnativehelper/include_jni/ |
D | jni.h | 1131 #define JNI_OK (0) /* no error */ macro
|