Lines Matching refs:NewHandle

71     Handle<mirror::Object> exception = hs.NewHandle<mirror::Object>(self->GetException());  in AssertNonExistentClass()
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()
416 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass()
895 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Nested")))); in TEST_F()
926 Handle<mirror::Class> JavaLangObject = hs.NewHandle( in TEST_F()
931 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
980 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("MyClass")))); in TEST_F()
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()
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()
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()
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()
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()
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()
1325 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1357 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
1469 Handle<mirror::Class> security_manager(hs.NewHandle(class_linker_->FindSystemClass( in TEST_F()
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()
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()
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()
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()
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()