Lines Matching refs:Self

874   StackHandleScope<1> hs(soa.Self());  in TEST_F()
878 mirror::Class* outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader); in TEST_F()
883 mirror::Class* inner = class_linker_->FindClass(soa.Self(), "LNested$Inner;", class_loader); in TEST_F()
905 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
908 StackHandleScope<1> hs(soa.Self()); in TEST_F()
912 mirror::Class* MyClass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F()
957 StackHandleScope<1> hs(soa.Self()); in TEST_F()
961 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F()
977 StackHandleScope<2> hs(soa.Self()); in TEST_F()
982 = class_linker_->FindClass(soa.Self(), "LAllFields;", class_loader); in TEST_F()
996 = class_linker_->FindClass(soa.Self(), "[Ljava/lang/Object;", class_loader); in TEST_F()
1012 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1017 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LErroneousInit;", class_loader)); in TEST_F()
1031 bool initialized = class_linker_->EnsureInitialized(soa.Self(), in TEST_F()
1036 EXPECT_TRUE(soa.Self()->IsExceptionPending()); in TEST_F()
1037 soa.Self()->ClearException(); in TEST_F()
1060 mirror::Class* array_class = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1062 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
1075 StackHandleScope<5> hs(soa.Self()); in TEST_F()
1076 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F()
1077 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F()
1081 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F()
1082 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[D"), double_array->GetClass()); in TEST_F()
1086 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F()
1087 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[I"), int_array->GetClass()); in TEST_F()
1091 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0))); in TEST_F()
1092 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[C"), char_array->GetClass()); in TEST_F()
1096 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0))); in TEST_F()
1097 EXPECT_EQ(class_linker_->FindSystemClass(soa.Self(), "[S"), short_array->GetClass()); in TEST_F()
1110 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader); in TEST_F()
1112 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Byte;", class_loader); in TEST_F()
1114 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Character;", class_loader); in TEST_F()
1116 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Double;", class_loader); in TEST_F()
1118 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Float;", class_loader); in TEST_F()
1120 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Integer;", class_loader); in TEST_F()
1122 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Long;", class_loader); in TEST_F()
1124 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Short;", class_loader); in TEST_F()
1130 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1135 mirror::Class* MyClass_1 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_1); in TEST_F()
1136 mirror::Class* MyClass_2 = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader_2); in TEST_F()
1144 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1148 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1149 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1159 ArtField* s0 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s0", "Z"); in TEST_F()
1164 ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s1", "B"); in TEST_F()
1169 ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s2", "C"); in TEST_F()
1174 ArtField* s3 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s3", "S"); in TEST_F()
1179 ArtField* s4 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s4", "I"); in TEST_F()
1184 ArtField* s5 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s5", "J"); in TEST_F()
1189 ArtField* s6 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s6", "F"); in TEST_F()
1194 ArtField* s7 = mirror::Class::FindStaticField(soa.Self(), statics.Get(), "s7", "D"); in TEST_F()
1200 soa.Self(), statics.Get(), "s8", "Ljava/lang/String;"); in TEST_F()
1203 mirror::String* str_value = mirror::String::AllocFromModifiedUtf8(soa.Self(), "robot"); in TEST_F()
1221 StackHandleScope<6> hs(soa.Self()); in TEST_F()
1225 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$I;", class_loader))); in TEST_F()
1227 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$J;", class_loader))); in TEST_F()
1229 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$K;", class_loader))); in TEST_F()
1231 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$A;", class_loader))); in TEST_F()
1233 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInterfaces$B;", class_loader))); in TEST_F()
1278 mirror::Class::FindStaticField(soa.Self(), A.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1280 mirror::Class::FindStaticField(soa.Self(), B.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1282 mirror::Class::FindStaticField(soa.Self(), J.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1284 mirror::Class::FindStaticField(soa.Self(), K.Get(), "foo", "Ljava/lang/String;"); in TEST_F()
1300 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1303 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", class_loader); in TEST_F()
1314 soa.Self(), in TEST_F()
1321 soa.Self(), in TEST_F()
1331 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1334 hs.Self()->AssertNoPendingException(); in TEST_F()
1336 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), descriptor, class_loader); in TEST_F()
1338 hs.Self()->AssertPendingException(); in TEST_F()
1340 klass = class_linker_->LookupClass(soa.Self(), descriptor, class_loader.Get()); in TEST_F()
1351 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1355 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Enum;"); in TEST_F()
1359 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/math/RoundingMode;"); in TEST_F()
1363 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/RandomAccessFile;"); in TEST_F()
1367 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/InputStream;"); in TEST_F()
1369 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/io/FileInputStream;"); in TEST_F()
1374 c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ThreadPoolExecutor;"); in TEST_F()
1376 …c = class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ScheduledThreadPoolExecutor;… in TEST_F()
1396 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Class;", class_loader); in TEST_F()
1400 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Object;", class_loader); in TEST_F()
1404 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/String;", class_loader); in TEST_F()
1408 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/DexCache;", class_loader); in TEST_F()
1433 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F()
1443 StackHandleScope<1> hs(soa.Self()); in TEST_F()
1446 soa.Self(), "Ljava/lang/SecurityManager;"))); in TEST_F()
1452 class_linker_->EnsureInitialized(soa.Self(), security_manager, true, true); in TEST_F()
1459 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1463 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1467 class_linker_->EnsureInitialized(soa.Self(), statics, true, true); in TEST_F()
1474 StackHandleScope<3> hs(soa.Self()); in TEST_F()
1480 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
1486 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1494 StackHandleScope<2> hs(soa.Self()); in TEST_F()
1498 ReaderMutexLock mu(soa.Self(), *Locks::dex_lock_); in TEST_F()
1500 dex_cache.Assign(soa.Self()->DecodeJObject(data.weak_root)->AsDexCache()); in TEST_F()
1508 dex_cache.Assign(dex_cache->Clone(soa.Self())->AsDexCache()); in TEST_F()
1510 Handle<mirror::String> location(hs.NewHandle(mirror::String::AllocFromUtf16(soa.Self(), in TEST_F()
1523 WriterMutexLock mu(soa.Self(), *Locks::dex_lock_); in TEST_F()
1531 StackHandleScope<7> hs(soa.Self()); in TEST_F()
1536 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F()
1537 class_linker_->EnsureInitialized(soa.Self(), method_types, true, true); in TEST_F()
1548 class_linker_->FindDexCache(soa.Self(), dex_file)); in TEST_F()
1557 class_linker_->ResolveMethodType(soa.Self(), method1_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1563 Handle<mirror::Class> string_class(hs.NewHandle(class_linker_->FindClass(soa.Self(), in TEST_F()
1571 class_linker_->ResolveMethodType(soa.Self(), method1_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1584 class_linker_->ResolveMethodType(soa.Self(), method2_id.proto_idx_, dex_cache, class_loader)); in TEST_F()
1602 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1604 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
1611 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F()
1613 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
1622 mirror::Class* java_lang_String = class_linker_->FindSystemClass(soa.Self(), in TEST_F()
1633 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); in TEST_F()
1672 class_linker_->FindClass(soa.Self(), descriptor.c_str(), class_loader_to_search)); in VerifyClassResolution()