Lines Matching refs:vm_
34 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
39 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
110 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
163 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
167 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest()
186 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
190 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest()
209 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
213 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest()
231 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
235 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticMethodIdBadArgumentTest()
252 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticMethodIdBadArgumentTest()
256 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
283 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
287 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
312 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
317 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in RegisterAndUnregisterNativesBadArguments()
336 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in RegisterAndUnregisterNativesBadArguments()
341 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayElementsOfWrongType()
387 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayElementsOfWrongType()
391 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in ReleasePrimitiveArrayElementsOfWrongType()
459 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in ReleasePrimitiveArrayElementsOfWrongType()
463 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetReleasePrimitiveArrayCriticalOfWrongType()
475 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetReleasePrimitiveArrayCriticalOfWrongType()
479 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayRegionElementsOfWrongType()
533 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayRegionElementsOfWrongType()
537 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in SetPrimitiveArrayRegionElementsOfWrongType()
590 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in SetPrimitiveArrayRegionElementsOfWrongType()
594 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in NewObjectArrayBadArguments()
607 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in NewObjectArrayBadArguments()
610 JavaVMExt* vm_; member in art::JniInternalTest
1158 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1168 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1177 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1204 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1207 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1210 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1245 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1248 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1251 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1285 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1290 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1295 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1428 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1433 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1438 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1496 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1503 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1506 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1601 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1606 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1611 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1623 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1635 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1644 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1656 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1666 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); \
1675 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1768 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1774 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1778 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1888 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1894 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1898 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1941 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1947 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1951 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1982 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
1984 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
1988 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2010 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F()
2014 EXPECT_FALSE(vm_->SetCheckJniEnabled(true)); in TEST_F()
2017 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()