Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/tests/
DJniInvocation_test.cpp60 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()
Dlibnativehelper_lazy_test.cpp57 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/
Djni_helper_jni.cpp93 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/
Djni.h988 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);