Lines Matching refs:soa
38 ScopedObjectAccess soa(Thread::Current()); in testTransactionAbort() local
40 StackHandleScope<2> hs(soa.Self()); in testTransactionAbort()
42 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in testTransactionAbort()
49 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
52 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
55 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
58 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
62 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort()
65 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort()
69 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort()
71 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort()
78 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
82 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in testTransactionAbort()
89 soa.Self()->ClearException(); in testTransactionAbort()
97 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
98 StackHandleScope<2> hs(soa.Self()); in TEST_F()
100 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
104 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
114 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
115 StackHandleScope<2> hs(soa.Self()); in TEST_F()
117 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
119 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
124 h_obj->MonitorEnter(soa.Self()); in TEST_F()
129 h_obj->MonitorExit(soa.Self()); in TEST_F()
141 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
142 StackHandleScope<2> hs(soa.Self()); in TEST_F()
144 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
153 mirror::Array::Alloc(soa.Self(), in TEST_F()
168 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
169 StackHandleScope<4> hs(soa.Self()); in TEST_F()
171 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
175 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
177 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
180 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
231 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
233 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
264 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
265 StackHandleScope<5> hs(soa.Self()); in TEST_F()
267 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
271 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
273 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
276 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
279 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
331 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
333 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
364 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
365 StackHandleScope<13> hs(soa.Self()); in TEST_F()
367 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
371 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
373 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
376 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
454 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
456 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
487 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
488 StackHandleScope<3> hs(soa.Self()); in TEST_F()
490 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
494 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$ResolveString;", in TEST_F()
514 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
530 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
535 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
536 StackHandleScope<3> hs(soa.Self()); in TEST_F()
538 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
542 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction;", class_loader))); in TEST_F()
557 class_linker_->ResolveMethodType(soa.Self(), proto_index, h_dex_cache, class_loader); in TEST_F()
568 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
569 StackHandleScope<2> hs(soa.Self()); in TEST_F()
571 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
575 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$EmptyStatic;", in TEST_F()
578 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
582 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
586 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
591 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
592 StackHandleScope<2> hs(soa.Self()); in TEST_F()
594 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
598 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", in TEST_F()
601 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
605 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
609 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
652 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
653 StackHandleScope<11> hs(soa.Self()); in TEST_F()
655 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
659 class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader)); in TEST_F()
673 class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", class_loader))); in TEST_F()
680 class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
688 class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
695 instance_fields_test_class->Alloc(soa.Self(), heap->GetCurrentAllocator())); in TEST_F()
703 class_linker_->FindClass(soa.Self(), "[[[J", class_loader)); in TEST_F()
709 soa.Self(), in TEST_F()
717 soa.Self(), in TEST_F()