Lines Matching refs:hs

70     StackHandleScope<1> hs(self);  in AssertNonExistentClass()  local
71 Handle<mirror::Object> exception = hs.NewHandle<mirror::Object>(self->GetException()); in AssertNonExistentClass()
185 StackHandleScope<2> hs(self); in AssertArrayClass() local
186 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass()
188 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass()
414 StackHandleScope<1> hs(self); in AssertDexFileClass() local
416 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass()
893 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
895 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Nested")))); in TEST_F()
925 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
926 Handle<mirror::Class> JavaLangObject = hs.NewHandle( in TEST_F()
931 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
978 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
980 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
998 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
1000 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("AllFields")))); in TEST_F()
1005 Handle<mirror::DexCache> dex_cache = hs.NewHandle(all_fields_klass->GetDexCache()); in TEST_F()
1032 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
1034 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("ErroneousInit")))); in TEST_F()
1037 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LErroneousInit;", class_loader)); in TEST_F()
1040 Handle<mirror::DexCache> dex_cache = hs.NewHandle(klass->GetDexCache()); in TEST_F()
1096 StackHandleScope<5> hs(soa.Self()); in TEST_F() local
1097 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F()
1102 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F()
1107 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F()
1112 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0))); in TEST_F()
1117 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0))); in TEST_F()
1151 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
1153 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
1155 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
1156 Handle<mirror::Class> MyClass_1 = hs.NewHandle( in TEST_F()
1167 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
1169 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); in TEST_F()
1171 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1244 StackHandleScope<6> hs(soa.Self()); in TEST_F() local
1246 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Interfaces")))); 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()
1323 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
1325 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1355 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
1357 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1358 hs.Self()->AssertNoPendingException(); in TEST_F()
1362 hs.Self()->AssertPendingException(); in TEST_F()
1467 StackHandleScope<1> hs(soa.Self()); in TEST_F() local
1469 Handle<mirror::Class> security_manager(hs.NewHandle(class_linker_->FindSystemClass( in TEST_F()
1483 StackHandleScope<2> hs(soa.Self()); in TEST_F() local
1485 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); in TEST_F()
1487 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1498 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
1500 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); 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() local
1520 MutableHandle<mirror::DexCache> dex_cache(hs.NewHandle<mirror::DexCache>(nullptr)); in TEST_F()
1534 Handle<mirror::String> location(hs.NewHandle(mirror::String::AllocFromUtf16(soa.Self(), in TEST_F()
1555 StackHandleScope<7> hs(soa.Self()); in TEST_F() local
1558 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MethodTypes")))); in TEST_F()
1560 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F()
1571 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F()
1580 Handle<mirror::MethodType> method1_type = hs.NewHandle( in TEST_F()
1587 Handle<mirror::Class> string_class(hs.NewHandle(class_linker_->FindClass(soa.Self(), in TEST_F()
1594 Handle<mirror::MethodType> method1_type2 = hs.NewHandle( in TEST_F()
1607 Handle<mirror::MethodType> method2_type = hs.NewHandle( in TEST_F()
1691 StackHandleScope<3> hs(self); in VerifyClassResolution() local
1693 hs.NewHandle(soa.Decode<mirror::ClassLoader>(class_loader_to_search_obj))); in VerifyClassResolution()
1695 Handle<mirror::Class> klass = hs.NewHandle( in VerifyClassResolution()
1708 hs.NewHandle(soa.Decode<mirror::ClassLoader>(expected_class_loader_obj))); in VerifyClassResolution()