Lines Matching refs:NewHandle

179     Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader));  in AssertArrayClass()
181 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass()
409 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass()
876 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Nested")))); in TEST_F()
910 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
959 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
979 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("AllFields")))); in TEST_F()
984 Handle<mirror::DexCache> dex_cache = hs.NewHandle(all_fields_klass->GetDexCache()); in TEST_F()
1014 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("ErroneousInit")))); in TEST_F()
1017 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LErroneousInit;", class_loader)); in TEST_F()
1020 Handle<mirror::DexCache> dex_cache = hs.NewHandle(klass->GetDexCache()); in TEST_F()
1076 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F()
1081 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F()
1086 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F()
1091 Handle<mirror::CharArray> char_array(hs.NewHandle(mirror::CharArray::Alloc(soa.Self(), 0))); in TEST_F()
1096 Handle<mirror::ShortArray> short_array(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 0))); in TEST_F()
1132 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
1134 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
1146 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); in TEST_F()
1148 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1223 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Interfaces")))); 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()
1302 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1333 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1445 Handle<mirror::Class> security_manager(hs.NewHandle(class_linker_->FindSystemClass( in TEST_F()
1461 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); in TEST_F()
1463 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStatics;", class_loader))); in TEST_F()
1476 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Statics")))); 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()
1496 MutableHandle<mirror::DexCache> dex_cache(hs.NewHandle<mirror::DexCache>(nullptr)); in TEST_F()
1510 Handle<mirror::String> location(hs.NewHandle(mirror::String::AllocFromUtf16(soa.Self(), in TEST_F()
1534 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MethodTypes")))); in TEST_F()
1536 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F()
1547 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F()
1556 Handle<mirror::MethodType> method1_type = hs.NewHandle( in TEST_F()
1563 Handle<mirror::Class> string_class(hs.NewHandle(class_linker_->FindClass(soa.Self(), in TEST_F()
1570 Handle<mirror::MethodType> method1_type2 = hs.NewHandle( in TEST_F()
1583 Handle<mirror::MethodType> method2_type = hs.NewHandle( in TEST_F()
1669 hs.NewHandle(soa.Decode<mirror::ClassLoader>(class_loader_to_search_obj))); in VerifyClassResolution()
1671 Handle<mirror::Class> klass = hs.NewHandle( in VerifyClassResolution()
1684 hs.NewHandle(soa.Decode<mirror::ClassLoader>(expected_class_loader_obj))); in VerifyClassResolution()