Lines Matching refs:old_check_jni
115 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest() local
168 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
172 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest() local
191 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
195 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest() local
214 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
218 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest() local
236 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
240 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticMethodIdBadArgumentTest() local
257 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticMethodIdBadArgumentTest()
261 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedField_ToReflectedFieldBadArgumentTest() local
288 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
292 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest() local
317 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
322 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in RegisterAndUnregisterNativesBadArguments() local
341 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in RegisterAndUnregisterNativesBadArguments()
346 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayElementsOfWrongType() local
392 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayElementsOfWrongType()
396 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in ReleasePrimitiveArrayElementsOfWrongType() local
464 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in ReleasePrimitiveArrayElementsOfWrongType()
468 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetReleasePrimitiveArrayCriticalOfWrongType() local
480 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetReleasePrimitiveArrayCriticalOfWrongType()
484 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetPrimitiveArrayRegionElementsOfWrongType() local
538 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetPrimitiveArrayRegionElementsOfWrongType()
542 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in SetPrimitiveArrayRegionElementsOfWrongType() local
595 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in SetPrimitiveArrayRegionElementsOfWrongType()
599 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in NewObjectArrayBadArguments() local
612 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in NewObjectArrayBadArguments()
1311 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1330 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1357 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1363 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1398 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1404 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1438 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1448 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1582 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1592 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1656 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1666 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1776 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
1786 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1798 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1819 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1831 bool old_check_jni = vm_->SetCheckJniEnabled(false); \
1850 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); \
1911 bool old_check_jni = vm_->SetCheckJniEnabled(true); in TEST_F() local
1921 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
1992 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2002 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2131 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2141 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2184 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2194 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2225 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2231 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2253 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2260 EXPECT_TRUE(vm_->SetCheckJniEnabled(old_check_jni)); in TEST_F()
2530 bool old_check_jni = vm_->SetCheckJniEnabled(false); in TEST_F() local
2542 vm_->SetCheckJniEnabled(old_check_jni); in TEST_F()