Lines Matching refs:vm_
40 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
45 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
116 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
169 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
173 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest()
192 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
196 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest()
215 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
219 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest()
237 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
241 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticMethodIdBadArgumentTest()
258 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticMethodIdBadArgumentTest()
262 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
289 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
293 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
318 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
323 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in RegisterAndUnregisterNativesBadArguments()
342 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in RegisterAndUnregisterNativesBadArguments()
347 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayElementsOfWrongType()
393 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayElementsOfWrongType()
397 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in ReleasePrimitiveArrayElementsOfWrongType()
465 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in ReleasePrimitiveArrayElementsOfWrongType()
469 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetReleasePrimitiveArrayCriticalOfWrongType()
481 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetReleasePrimitiveArrayCriticalOfWrongType()
485 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayRegionElementsOfWrongType()
539 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayRegionElementsOfWrongType()
543 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in SetPrimitiveArrayRegionElementsOfWrongType()
596 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in SetPrimitiveArrayRegionElementsOfWrongType()
600 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in NewObjectArrayBadArguments()
613 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in NewObjectArrayBadArguments()
664 JavaVMExt* vm_; member in art::JniInternalTest
1312 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1322 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1331 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1358 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1361 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1364 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1399 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1402 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1405 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1439 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1444 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1449 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1705 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1710 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1715 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1788 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1795 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1798 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1908 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1913 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1918 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1930 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1942 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1951 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1963 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1973 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1982 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
2043 bool old_check_jni = vm_->SetCheckJniEnabled(true); in TEST_F()
2053 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2124 bool old_check_jni = vm_->SetCheckJniEnabled(true); in TEST_F()
2129 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2258 bool old_check_jni = vm_->SetCheckJniEnabled(true); in TEST_F()
2263 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2306 bool old_check_jni = vm_->SetCheckJniEnabled(true); in TEST_F()
2311 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2342 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2344 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2348 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2370 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2374 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2377 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2565 jint detach_result = vm_->DetachCurrentThread(); in TEST_F()
2567 jint attach_result = vm_->AttachCurrentThread(&env_, nullptr); in TEST_F()
2702 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2703 vm_->SetCheckJniEnabled(true); in TEST_F()
2714 vm_->SetCheckJniEnabled(old_check_jni); in TEST_F()