Lines Matching refs:Self

893   StackHandleScope<1> hs(soa.Self());  in TEST_F()
897 ObjPtr<mirror::Class> outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader); in TEST_F()
903 class_linker_->FindClass(soa.Self(), "LNested$Inner;", class_loader); in TEST_F()
925 StackHandleScope<2> hs(soa.Self()); in TEST_F()
927 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
933 ObjPtr<mirror::Class> MyClass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F()
978 StackHandleScope<1> hs(soa.Self()); in TEST_F()
982 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F()
998 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1003 = class_linker_->FindClass(soa.Self(), "LAllFields;", class_loader); in TEST_F()
1016 = class_linker_->FindClass(soa.Self(), "[Ljava/lang/Object;", class_loader); in TEST_F()
1032 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1037 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LErroneousInit;", class_loader)); in TEST_F()
1051 bool initialized = class_linker_->EnsureInitialized(soa.Self(), in TEST_F()
1056 EXPECT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
1057 soa.Self()->ClearException(); in TEST_F()
1081 class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1083 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
1096 StackHandleScope<5> hs(soa.Self()); in TEST_F()
1097 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F()
1098 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F()
1102 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F()
1103 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[D"), double_array->GetClass()); in TEST_F()
1107 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F()
1108 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[I"), int_array->GetClass()); in TEST_F()
1112 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0))); in TEST_F()
1113 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[C"), char_array->GetClass()); in TEST_F()
1117 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0))); in TEST_F()
1118 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[S"), short_array->GetClass()); in TEST_F()
1131 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader); in TEST_F()
1133 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Byte;", class_loader); in TEST_F()
1135 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Character;", class_loader); in TEST_F()
1137 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Double;", class_loader); in TEST_F()
1139 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Float;", class_loader); in TEST_F()
1141 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Integer;", class_loader); in TEST_F()
1143 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Long;", class_loader); in TEST_F()
1145 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Short;", class_loader); in TEST_F()
1151 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1157 class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_1)); in TEST_F()
1159 class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_2); in TEST_F()
1167 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1171 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1172 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1182 ArtField* s0 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s0", "Z"); in TEST_F()
1187 ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s1", "B"); in TEST_F()
1192 ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s2", "C"); in TEST_F()
1197 ArtField* s3 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s3", "S"); in TEST_F()
1202 ArtField* s4 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s4", "I"); in TEST_F()
1207 ArtField* s5 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s5", "J"); in TEST_F()
1212 ArtField* s6 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s6", "F"); in TEST_F()
1217 ArtField* s7 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s7", "D"); in TEST_F()
1223 soa.Self(), statics.Get(), "s8", "Ljava/lang/String;"); in TEST_F()
1226 ObjPtr<mirror::String> str_value = mirror::String::AllocFromModifiedUtf8(soa.Self(), "robot"); in TEST_F()
1244 StackHandleScope<6> hs(soa.Self()); in TEST_F()
1248 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F()
1250 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F()
1252 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$K;", class_loader))); in TEST_F()
1254 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$A;", class_loader))); in TEST_F()
1256 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$B;", class_loader))); in TEST_F()
1301 mirror::Class::FindStaticField(soa.Self(), A.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1303 mirror::Class::FindStaticField(soa.Self(), B.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1305 mirror::Class::FindStaticField(soa.Self(), J.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1307 mirror::Class::FindStaticField(soa.Self(), K.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1323 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1327 class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", class_loader); in TEST_F()
1338 soa.Self(), in TEST_F()
1345 soa.Self(), in TEST_F()
1355 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1358 hs.Self()->AssertNoPendingException(); in TEST_F()
1360 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), descriptor, class_loader); in TEST_F()
1362 hs.Self()->AssertPendingException(); in TEST_F()
1364 klass = class_linker_->LookupClass(soa.Self(), descriptor, class_loader.Get()); in TEST_F()
1375 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1379 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Enum;"); in TEST_F()
1383 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/math/RoundingMode;"); in TEST_F()
1387 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/RandomAccessFile;"); in TEST_F()
1391 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/InputStream;"); in TEST_F()
1393 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/FileInputStream;"); in TEST_F()
1398 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ThreadPoolExecutor;"); in TEST_F()
1400 …c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ScheduledThreadPoolExecutor;… in TEST_F()
1419 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Class;", class_loader); in TEST_F()
1423 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Object;", class_loader); in TEST_F()
1427 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/String;", class_loader); in TEST_F()
1431 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/DexCache;", class_loader); in TEST_F()
1457 class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1467 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1470 soa.Self(), "Ljava/lang/SecurityManager;"))); in TEST_F()
1476 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1483 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1487 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1491 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1498 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1504 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
1510 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1518 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1522 ReaderMutexLock mu(soa.Self(), *Locks::dex_lock_); in TEST_F()
1524 dex_cache.Assign(soa.Self()->DecodeJObject(data.weak_root)->AsDexCache()); in TEST_F()
1532 dex_cache.Assign(mirror::Object::Clone(dex_cache, soa.Self())->AsDexCache()); in TEST_F()
1534 Handle<mirror::String> location(hs.NewHandle(mirror::String::AllocFromUtf16(soa.Self(), in TEST_F()
1547 WriterMutexLock mu(soa.Self(), *Locks::dex_lock_); in TEST_F()
1555 StackHandleScope<7> hs(soa.Self()); in TEST_F()
1560 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F()
1561 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
1572 class_linker_->FindDexCache(soa.Self(), dex_file)); in TEST_F()
1581 class_linker_->ResolveMethodType(soa.Self(), method1_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1587 Handle<mirror::Class> string_class(hs.NewHandle(class_linker_->FindClass(soa.Self(), in TEST_F()
1595 class_linker_->ResolveMethodType(soa.Self(), method1_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1608 class_linker_->ResolveMethodType(soa.Self(), method2_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1626 ObjPtr<mirror::Class> c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1628 ObjPtr<mirror::Object> o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
1635 ObjPtr<mirror::Class> c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1637 ObjPtr<mirror::Object> o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
1646 ObjPtr<mirror::Class> java_lang_String = class_linker_->FindSystemClass(soa.Self(), in TEST_F()
1657 ObjPtr<mirror::Class> c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); in TEST_F()
1696 class_linker_->FindClass(soa.Self(), descriptor.c_str(), class_loader_to_search)); in VerifyClassResolution()