Lines Matching refs:ok
52 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F() local
53 EXPECT_EQ(JNI_OK, ok); in TEST_F()
65 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback() local
66 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback()
67 if (ok == JNI_OK) { 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()
77 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback()
79 if (ok == JNI_OK) { in attach_current_thread_callback()
80 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
81 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback()
130 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F() local
131 ASSERT_EQ(JNI_OK, ok); in TEST_F()
132 ok = vm_->DetachCurrentThread(); in TEST_F()
133 EXPECT_EQ(JNI_OK, ok); in TEST_F()
150 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F() local
151 ASSERT_EQ(JNI_OK, ok); in TEST_F()
180 ok = vm_->DetachCurrentThread(); in TEST_F()
181 EXPECT_EQ(JNI_OK, ok); in TEST_F()