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(), in testTransactionAbort()
59 class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
63 h_klass.Assign(class_linker_->FindClass(soa.Self(), "LTransaction$AbortHelperClass;", in testTransactionAbort()
66 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
70 h_klass.Assign(class_linker_->FindClass(soa.Self(), tested_class_signature, class_loader)); in testTransactionAbort()
72 class_linker_->VerifyClass(soa.Self(), h_klass); in testTransactionAbort()
79 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in testTransactionAbort()
83 ASSERT_TRUE(soa.Self()->IsExceptionPending()); in testTransactionAbort()
90 soa.Self()->ClearException(); in testTransactionAbort()
99 StackHandleScope<2> hs(soa.Self()); in TEST_F()
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()
116 StackHandleScope<2> hs(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()
125 h_obj->MonitorEnter(soa.Self()); in TEST_F()
130 h_obj->MonitorExit(soa.Self()); in TEST_F()
143 StackHandleScope<2> hs(soa.Self()); in TEST_F()
145 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F()
154 mirror::Array::Alloc(soa.Self(), in TEST_F()
170 StackHandleScope<4> hs(soa.Self()); in TEST_F()
176 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
178 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
181 ASSERT_FALSE(soa.Self()->IsExceptionPending()); 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()
266 StackHandleScope<5> hs(soa.Self()); in TEST_F()
272 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
274 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
277 ASSERT_FALSE(soa.Self()->IsExceptionPending()); 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()
366 StackHandleScope<13> hs(soa.Self()); in TEST_F()
372 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticArrayFieldsTest;", class_loader))); in TEST_F()
374 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
377 ASSERT_FALSE(soa.Self()->IsExceptionPending()); 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()
489 StackHandleScope<3> hs(soa.Self()); in TEST_F()
495 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$ResolveString;", in TEST_F()
515 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
531 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
537 StackHandleScope<2> hs(soa.Self()); in TEST_F()
543 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$EmptyStatic;", in TEST_F()
546 class_linker_->VerifyClass(soa.Self(), h_klass); in TEST_F()
550 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
554 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
560 StackHandleScope<2> hs(soa.Self()); in TEST_F()
566 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", in TEST_F()
569 class_linker_->VerifyClass(soa.Self(), h_klass); in TEST_F()
573 bool success = class_linker_->EnsureInitialized(soa.Self(), h_klass, true, true); in TEST_F()
577 ASSERT_FALSE(soa.Self()->IsExceptionPending()); in TEST_F()
609 StackHandleScope<11> hs(soa.Self()); in TEST_F()
615 class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader)); in TEST_F()
619 mirror::Class::FindField(soa.Self(), boolean_class.Get(), "TRUE", "Ljava/lang/Boolean;"); in TEST_F()
626 mirror::Class::FindField(soa.Self(), boolean_class.Get(), "value", "Z"); in TEST_F()
631 class_linker_->FindClass(soa.Self(), "LTransaction$StaticFieldClass;", class_loader))); in TEST_F()
635 mirror::Class::FindField(soa.Self(), static_field_class.Get(), "intField", "I"); in TEST_F()
639 class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F()
643 mirror::Class::FindField(soa.Self(), static_fields_test_class.Get(), "intField", "I"); in TEST_F()
647 class_linker_->FindClass(soa.Self(), "LInstanceFieldsTest;", class_loader))); in TEST_F()
651 mirror::Class::FindField(soa.Self(), instance_fields_test_class.Get(), "intField", "I"); in TEST_F()
654 instance_fields_test_class->Alloc(soa.Self(), heap->GetCurrentAllocator())); in TEST_F()
659 class_linker_->FindClass(soa.Self(), "[[J", class_loader)); in TEST_F()
664 soa.Self(), in TEST_F()
672 soa.Self(), in TEST_F()
689 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
690 EXPECT_FALSE(transaction.ReadConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
693 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), true_value.Get())); in TEST_F()
694 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), array_iftable.Get())); in TEST_F()
696 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
697 EXPECT_FALSE(transaction.ReadConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
700 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), instance_fields_test_object.Get())); in TEST_F()
701 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), long_array_dim2.Get())); in TEST_F()
703 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
704 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), instance_fields_test_object.Get())); in TEST_F()
705 EXPECT_TRUE(transaction.WriteValueConstraint(soa.Self(), long_array_dim2->GetClass())); in TEST_F()
706 EXPECT_TRUE(transaction.WriteValueConstraint(soa.Self(), long_array_dim2.Get())); in TEST_F()
707 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F()
708 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F()
713 EXPECT_TRUE(strict_transaction.WriteConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
714 EXPECT_TRUE(strict_transaction.ReadConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
717 EXPECT_TRUE(strict_transaction.WriteConstraint(soa.Self(), true_value.Get())); in TEST_F()
718 EXPECT_TRUE(strict_transaction.WriteConstraint(soa.Self(), array_iftable.Get())); in TEST_F()
720 EXPECT_TRUE(strict_transaction.WriteConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
721 EXPECT_TRUE(strict_transaction.ReadConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
724 EXPECT_FALSE(strict_transaction.WriteConstraint(soa.Self(), instance_fields_test_object.Get())); in TEST_F()
725 EXPECT_FALSE(strict_transaction.WriteConstraint(soa.Self(), long_array_dim2.Get())); in TEST_F()
727 EXPECT_FALSE(strict_transaction.WriteConstraint(soa.Self(), static_field_class.Get())); in TEST_F()
728 EXPECT_FALSE(strict_transaction.ReadConstraint(soa.Self(), static_field_class.Get())); in TEST_F()
730 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
732 strict_transaction.WriteValueConstraint(soa.Self(), instance_fields_test_object.Get())); in TEST_F()
734 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array_dim2->GetClass())); in TEST_F()
735 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array_dim2.Get())); in TEST_F()
736 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F()
737 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F()