Lines Matching refs:Handle
67 Handle<String> string( in AssertString()
112 Handle<ObjectArray<Object>> a1(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F()
122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F()
133 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
147 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F()
212 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TestPrimitiveArray()
223 Handle<Class> aioobe = hs.NewHandle( in TestPrimitiveArray()
260 Handle<PointerArray> a32 = in TEST_F()
277 Handle<PointerArray> a64 = in TEST_F()
304 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F()
315 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
335 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F()
346 Handle<Class> aioobe = hs.NewHandle( in TEST_F()
365 Handle<Class> int_class(hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "I"))); in TEST_F()
366 Handle<Class> int_array_class = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
405 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader>(class_loader))); in TEST_F()
406 Handle<Class> klass = in TEST_F()
428 Handle<CharArray> char_array(hs.NewHandle(CharArray::Alloc(soa.Self(), 0))); in TEST_F()
473 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
481 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
489 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
490 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
498 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
506 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
507 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
508 Handle<String> string_3(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "Android"))); in TEST_F()
509 Handle<String> string_4(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "and"))); in TEST_F()
510 Handle<String> string_5(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
523 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
536 Handle<ClassLoader> class_loader_1(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader_1))); in TEST_F()
537 Handle<ClassLoader> class_loader_2(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader_2))); in TEST_F()
539 Handle<Class> klass1 = in TEST_F()
542 Handle<Class> klass2 = in TEST_F()
568 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
569 Handle<String> A(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "A"))); in TEST_F()
570 Handle<String> ABC(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
581 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
583 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
584 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
588 Handle<Object> x(hs.NewHandle(X->AllocObject(soa.Self()))); in TEST_F()
589 Handle<Object> y(hs.NewHandle(Y->AllocObject(soa.Self()))); in TEST_F()
598 Handle<Class> java_lang_Class = in TEST_F()
600 Handle<Class> Object_array_class = in TEST_F()
607 Handle<Object> array = in TEST_F()
609 Handle<Class> java_lang_Cloneable = in TEST_F()
611 Handle<Class> java_io_Serializable = in TEST_F()
621 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
622 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
623 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
631 Handle<Class> string = in TEST_F()
633 Handle<Class> charseq = in TEST_F()
661 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
662 Handle<Class> X = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LX;", class_loader)); in TEST_F()
663 Handle<Class> Y = hs.NewHandle(class_linker_->FindClass(soa.Self(), "LY;", class_loader)); in TEST_F()
667 Handle<Class> YA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[LY;", class_loader)); in TEST_F()
668 Handle<Class> YAA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[[LY;", class_loader)); in TEST_F()
672 Handle<Class> XAA = hs.NewHandle(class_linker_->FindClass(soa.Self(), "[[LX;", class_loader)); in TEST_F()
675 Handle<Class> O = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;")); in TEST_F()
676 Handle<Class> OA = in TEST_F()
678 Handle<Class> OAA = in TEST_F()
680 Handle<Class> OAAA = in TEST_F()
687 Handle<Class> S = in TEST_F()
689 Handle<Class> SA = in TEST_F()
691 Handle<Class> SAA = in TEST_F()
697 Handle<Class> IA = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
720 Handle<String> s(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
754 Handle<String> s(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
756 Handle<Class> c(hs.NewHandle(s->GetClass())); in TEST_F()
797 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader>(jclass_loader))); in TEST_F()
798 Handle<mirror::Class> h_X( in TEST_F()
858 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
861 Handle<mirror::ShortArray> a(hs.NewHandle(mirror::ShortArray::Alloc(soa.Self(), 2))); in TEST_F()