Home
last modified time | relevance | path

Searched refs:vms_buf (Results 1 – 2 of 2) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc50 JavaVM* vms_buf[1]; in TEST_F() local
52 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F()
55 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()
62 JavaVM* vms_buf[1]; in attach_current_thread_callback() local
65 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback()
69 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()
71 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback()
80 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
Djava_vm_ext.cc1232 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument
1238 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()