Lines Matching refs:vm_
36 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
41 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
112 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
165 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
169 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest()
188 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
192 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest()
211 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
215 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest()
233 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
237 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticMethodIdBadArgumentTest()
254 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticMethodIdBadArgumentTest()
258 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
285 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
289 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
314 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
319 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in RegisterAndUnregisterNativesBadArguments()
338 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in RegisterAndUnregisterNativesBadArguments()
343 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayElementsOfWrongType()
389 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayElementsOfWrongType()
393 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in ReleasePrimitiveArrayElementsOfWrongType()
461 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in ReleasePrimitiveArrayElementsOfWrongType()
465 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetReleasePrimitiveArrayCriticalOfWrongType()
477 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetReleasePrimitiveArrayCriticalOfWrongType()
481 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayRegionElementsOfWrongType()
535 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayRegionElementsOfWrongType()
539 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in SetPrimitiveArrayRegionElementsOfWrongType()
592 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in SetPrimitiveArrayRegionElementsOfWrongType()
596 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in NewObjectArrayBadArguments()
609 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in NewObjectArrayBadArguments()
660 JavaVMExt* vm_; member in art::JniInternalTest
1219 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1229 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1238 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1265 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1268 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1271 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1306 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1309 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1312 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1346 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1351 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1356 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1489 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1494 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1499 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1563 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1570 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1573 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1668 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1673 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1678 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1690 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1702 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1711 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1723 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1733 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1742 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1835 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1841 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1845 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1955 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1961 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1965 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2008 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2014 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2018 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2049 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2051 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2055 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2077 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2081 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2084 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2253 jint detach_result = vm_->DetachCurrentThread(); in TEST_F()
2255 jint attach_result = vm_->AttachCurrentThread(&env_, nullptr); in TEST_F()