Searched refs:vm (Results 1 – 4 of 4) sorted by relevance
/libnativehelper/tests/ |
D | JniInvocation_test.cpp | 60 JavaVM *vm; in TEST() local 62 EXPECT_DEATH(JNI_CreateJavaVM(&vm, &env, nullptr), "Runtime library not loaded."); in TEST() 67 JavaVM *vm; in TEST() local 68 int status = JNI_GetCreatedJavaVMs(&vm, 1, &vm_count); in TEST()
|
D | libnativehelper_lazy_test.cpp | 57 JavaVM* vm = NULL; in TEST_F() local 62 EXPECT_DEATH(JNI_CreateJavaVM(&vm, &env, NULL), kLoadFailed); in TEST_F() 63 EXPECT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&vm, 1, &count)); in TEST_F()
|
/libnativehelper/tests_mts/jni/ |
D | jni_helper_jni.cpp | 93 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument 95 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/libnativehelper/include_jni/ |
D | jni.h | 988 jint GetJavaVM(JavaVM** vm) in GetJavaVM() 989 { return functions->GetJavaVM(this, vm); } in GetJavaVM() 1113 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved); 1114 JNIEXPORT void JNI_OnUnload(JavaVM* vm, void* reserved);
|