Lines Matching refs:soa

39     ScopedObjectAccess soa(Thread::Current());  in testTransactionAbort()  local
41 StackHandleScope<2> hs(soa.Self()); in testTransactionAbort()
43 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in testTransactionAbort()
50 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
53 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
56 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), kTransactionAbortErrorDescriptor)); in testTransactionAbort()
58 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
64 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort()
70 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in testTransactionAbort()
77 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
81 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in testTransactionAbort()
88 soa.Self()->ClearException(); in testTransactionAbort()
96 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
97 StackHandleScope<2> hs(soa.Self()); in TEST_F()
99 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
103 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
113 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
114 StackHandleScope<2> hs(soa.Self()); in TEST_F()
116 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
118 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
123 h_obj->MonitorEnter(soa.Self()); in TEST_F()
128 h_obj->MonitorExit(soa.Self()); in TEST_F()
140 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
141 StackHandleScope<2> hs(soa.Self()); in TEST_F()
143 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
152 mirror::Array::Alloc(soa.Self(), in TEST_F()
167 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
168 StackHandleScope<4> hs(soa.Self()); in TEST_F()
170 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
175 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
178 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
229 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
231 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
262 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
263 StackHandleScope<5> hs(soa.Self()); in TEST_F()
265 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
270 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
273 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
276 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
328 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
330 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
413 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
414 StackHandleScope<13> hs(soa.Self()); in TEST_F()
416 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
421 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
424 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
502 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
504 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 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()
561 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
577 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
593 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
594 StackHandleScope<3> hs(soa.Self()); in TEST_F()
596 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
600 class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ConcurrentHashMap$Node;"))); in TEST_F()
603 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
621 class_linker_->ResolveMethodType(soa.Self(), proto_index, h_dex_cache, class_loader); in TEST_F()
632 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
633 StackHandleScope<2> hs(soa.Self()); in TEST_F()
635 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
641 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
645 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
649 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
654 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
655 StackHandleScope<2> hs(soa.Self()); in TEST_F()
657 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
663 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
667 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
671 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
714 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
715 StackHandleScope<11> hs(soa.Self()); in TEST_F()
717 hs.NewHandle(soa.Decode<mirror::ClassLoader>(LoadDex("Transaction")))); in TEST_F()
757 instance_fields_test_class->Alloc(soa.Self(), heap->GetCurrentAllocator())); in TEST_F()
770 soa.Self(), in TEST_F()
778 soa.Self(), in TEST_F()