Lines Matching refs:NewHandle
43 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in testTransactionAbort()
50 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
101 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
105 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
118 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
120 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
145 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
153 Handle<mirror::Array> h_obj = hs.NewHandle( in TEST_F()
172 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
176 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
232 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
234 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
268 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
272 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
280 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
332 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
334 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
368 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
372 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
382 Handle<mirror::BooleanArray> booleanArray = hs.NewHandle( in TEST_F()
391 hs.NewHandle(byteArrayField->GetObject(h_klass.Get())->AsByteArray()); in TEST_F()
399 hs.NewHandle(charArrayField->GetObject(h_klass.Get())->AsCharArray()); in TEST_F()
407 hs.NewHandle(shortArrayField->GetObject(h_klass.Get())->AsShortArray()); in TEST_F()
415 hs.NewHandle(intArrayField->GetObject(h_klass.Get())->AsIntArray()); in TEST_F()
423 hs.NewHandle(longArrayField->GetObject(h_klass.Get())->AsLongArray()); in TEST_F()
431 hs.NewHandle(floatArrayField->GetObject(h_klass.Get())->AsFloatArray()); in TEST_F()
439 hs.NewHandle(doubleArrayField->GetObject(h_klass.Get())->AsDoubleArray()); in TEST_F()
448 hs.NewHandle(objectArrayField->GetObject(h_klass.Get())->AsObjectArray<mirror::Object>()); in TEST_F()
455 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
457 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
491 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
495 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$ResolveString;", in TEST_F()
499 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(h_klass->GetDexCache())); in TEST_F()
539 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
543 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$EmptyStatic;", in TEST_F()
562 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
566 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", in TEST_F()
611 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
614 Handle<mirror::Class> boolean_class = hs.NewHandle( in TEST_F()
622 Handle<mirror::Object> true_value = hs.NewHandle(true_field->GetObject(boolean_class.Get())); in TEST_F()
630 Handle<mirror::Class> static_field_class(hs.NewHandle( in TEST_F()
638 Handle<mirror::Class> static_fields_test_class(hs.NewHandle( in TEST_F()
646 Handle<mirror::Class> instance_fields_test_class(hs.NewHandle( in TEST_F()
653 Handle<mirror::Object> instance_fields_test_object = hs.NewHandle( in TEST_F()
658 Handle<mirror::Class> long_array_dim2_class = hs.NewHandle( in TEST_F()
663 Handle<mirror::Array> long_array_dim2 = hs.NewHandle(mirror::Array::Alloc( in TEST_F()
671 Handle<mirror::Array> long_array = hs.NewHandle(mirror::Array::Alloc( in TEST_F()
682 hs.NewHandle(long_array_dim2_class->GetIfTable()); in TEST_F()