Lines Matching refs:soa

32     ScopedObjectAccess soa(Thread::Current());  in testTransactionAbort()  local
34 StackHandleScope<2> hs(soa.Self()); in testTransactionAbort()
36 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in testTransactionAbort()
43 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
46 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
49 h_klass.Assign(class_linker_->FindSystemClass(soa.Self(), in testTransactionAbort()
52 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
56 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort()
59 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
63 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort()
65 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
73 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
77 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in testTransactionAbort()
85 soa.Self()->ClearException(); in testTransactionAbort()
93 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
94 StackHandleScope<2> hs(soa.Self()); in TEST_F()
96 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
101 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()
129 h_obj->MonitorExit(soa.Self()); in TEST_F()
142 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
143 StackHandleScope<2> hs(soa.Self()); in TEST_F()
145 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
156 mirror::Array::Alloc<true>(soa.Self(), h_klass.Get(), kArraySize, in TEST_F()
170 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
171 StackHandleScope<4> hs(soa.Self()); in TEST_F()
173 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F()
177 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
179 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
182 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
233 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
235 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
268 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
269 StackHandleScope<5> hs(soa.Self()); in TEST_F()
271 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F()
275 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
277 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
280 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
283 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
335 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
337 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
370 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
371 StackHandleScope<4> hs(soa.Self()); in TEST_F()
373 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F()
377 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
379 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
382 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
452 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
454 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<2> 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$EmptyStatic;", in TEST_F()
497 class_linker_->VerifyClass(soa.Self(), h_klass); in TEST_F()
502 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
506 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
511 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
512 StackHandleScope<2> hs(soa.Self()); in TEST_F()
514 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F()
518 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", in TEST_F()
521 class_linker_->VerifyClass(soa.Self(), h_klass); in TEST_F()
526 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
530 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()