Lines Matching refs:JavaLangObject

715   mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");  in TEST_F()  local
716 ASSERT_TRUE(JavaLangObject != nullptr); in TEST_F()
717 ASSERT_TRUE(JavaLangObject->GetClass() != nullptr); in TEST_F()
718 ASSERT_EQ(JavaLangObject->GetClass(), JavaLangObject->GetClass()->GetClass()); in TEST_F()
719 EXPECT_EQ(JavaLangObject, JavaLangObject->GetClass()->GetSuperClass()); in TEST_F()
721 ASSERT_STREQ(JavaLangObject->GetDescriptor(&temp), "Ljava/lang/Object;"); in TEST_F()
722 EXPECT_TRUE(JavaLangObject->GetSuperClass() == nullptr); in TEST_F()
723 EXPECT_FALSE(JavaLangObject->HasSuperClass()); in TEST_F()
724 EXPECT_TRUE(JavaLangObject->GetClassLoader() == nullptr); in TEST_F()
725 EXPECT_EQ(mirror::Class::kStatusInitialized, JavaLangObject->GetStatus()); in TEST_F()
726 EXPECT_FALSE(JavaLangObject->IsErroneous()); in TEST_F()
727 EXPECT_TRUE(JavaLangObject->IsLoaded()); in TEST_F()
728 EXPECT_TRUE(JavaLangObject->IsResolved()); in TEST_F()
729 EXPECT_TRUE(JavaLangObject->IsVerified()); in TEST_F()
730 EXPECT_TRUE(JavaLangObject->IsInitialized()); in TEST_F()
731 EXPECT_FALSE(JavaLangObject->IsArrayInstance()); in TEST_F()
732 EXPECT_FALSE(JavaLangObject->IsArrayClass()); in TEST_F()
733 EXPECT_TRUE(JavaLangObject->GetComponentType() == nullptr); in TEST_F()
734 EXPECT_FALSE(JavaLangObject->IsInterface()); in TEST_F()
735 EXPECT_TRUE(JavaLangObject->IsPublic()); in TEST_F()
736 EXPECT_FALSE(JavaLangObject->IsFinal()); in TEST_F()
737 EXPECT_FALSE(JavaLangObject->IsPrimitive()); in TEST_F()
738 EXPECT_FALSE(JavaLangObject->IsSynthetic()); in TEST_F()
739 EXPECT_EQ(2U, JavaLangObject->NumDirectMethods()); in TEST_F()
740 EXPECT_EQ(11U, JavaLangObject->NumVirtualMethods()); in TEST_F()
742 EXPECT_EQ(2U, JavaLangObject->NumInstanceFields()); in TEST_F()
744 EXPECT_EQ(4U, JavaLangObject->NumInstanceFields()); in TEST_F()
746 EXPECT_STREQ(JavaLangObject->GetInstanceField(0)->GetName(), "shadow$_klass_"); in TEST_F()
747 EXPECT_STREQ(JavaLangObject->GetInstanceField(1)->GetName(), "shadow$_monitor_"); in TEST_F()
749 EXPECT_STREQ(JavaLangObject->GetInstanceField(2)->GetName(), "shadow$_x_rb_ptr_"); in TEST_F()
750 EXPECT_STREQ(JavaLangObject->GetInstanceField(3)->GetName(), "shadow$_x_xpadding_"); in TEST_F()
753 EXPECT_EQ(0U, JavaLangObject->NumStaticFields()); in TEST_F()
754 EXPECT_EQ(0U, JavaLangObject->NumDirectInterfaces()); in TEST_F()
764 EXPECT_EQ(JavaLangObject, MyClass->GetClass()->GetSuperClass()); in TEST_F()
766 EXPECT_TRUE(MyClass->GetSuperClass() == JavaLangObject); in TEST_F()
789 EXPECT_EQ(JavaLangObject->GetClass()->GetClass(), MyClass->GetClass()->GetClass()); in TEST_F()
1145 mirror::Class* JavaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in TEST_F() local
1146 ASSERT_TRUE(JavaLangObject != nullptr); in TEST_F()
1147 EXPECT_TRUE(JavaLangObject->IsInitialized()) << "Not testing already initialized class from the " in TEST_F()
1149 CheckVerificationAttempted(JavaLangObject, true); in TEST_F()