Lines Matching refs:Self

41     StackHandleScope<2> hs(soa.Self());  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()
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()
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()
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()
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()
169 StackHandleScope<4> hs(soa.Self()); 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()
265 StackHandleScope<5> hs(soa.Self()); 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()
417 StackHandleScope<13> hs(soa.Self()); in TEST_F()
423 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
425 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
428 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
506 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F()
508 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
540 StackHandleScope<3> hs(soa.Self()); in TEST_F()
546 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$ResolveString;", in TEST_F()
566 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
582 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
599 StackHandleScope<3> hs(soa.Self()); in TEST_F()
605 class_linker_->FindSystemClass(soa.Self(), "Ljava/util/concurrent/ConcurrentHashMap$Node;"))); in TEST_F()
608 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
611 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction;", class_loader)); in TEST_F()
626 class_linker_->ResolveMethodType(soa.Self(), proto_index, h_dex_cache, class_loader); in TEST_F()
638 StackHandleScope<2> hs(soa.Self()); in TEST_F()
644 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$EmptyStatic;", in TEST_F()
647 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
651 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
655 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
661 StackHandleScope<2> hs(soa.Self()); in TEST_F()
667 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", in TEST_F()
670 class_linker_->VerifyClass(soa.Self(), /* verifier_deps= */ nullptr, h_klass); in TEST_F()
674 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
678 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
722 StackHandleScope<11> hs(soa.Self()); in TEST_F()
728 class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader)); in TEST_F()
742 class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", class_loader))); in TEST_F()
749 class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
757 class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
764 instance_fields_test_class->Alloc(soa.Self(), heap->GetCurrentAllocator())); in TEST_F()
772 class_linker_->FindClass(soa.Self(), "[[[J", class_loader)); in TEST_F()
778 soa.Self(), in TEST_F()
786 soa.Self(), in TEST_F()