Searched refs:IsInSamePackage (Results 1 – 5 of 5) sorted by relevance
86 TEST_F(ObjectTest, IsInSamePackage) { in TEST_F() argument88 EXPECT_TRUE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/lang/Class;")); in TEST_F()89 EXPECT_TRUE(Class::IsInSamePackage("LFoo;", "LBar;")); in TEST_F()92 EXPECT_FALSE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/io/File;")); in TEST_F()93 EXPECT_FALSE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/lang/reflect/Method;")); in TEST_F()
602 bool IsInSamePackage(Class* that) SHARED_REQUIRES(Locks::mutator_lock_);604 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);608 return that->IsPublic() || this->IsInSamePackage(that); in CanAccess()635 return this->IsInSamePackage(access_to); in CanAccessMember()
285 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() function in art::mirror::Class299 bool Class::IsInSamePackage(Class* that) { in IsInSamePackage() function in art::mirror::Class322 return IsInSamePackage(klass1->GetDescriptor(&temp1), klass2->GetDescriptor(&temp2)); in IsInSamePackage()
868 !declaring_class->IsInSamePackage(calling_class)) { in VerifyAccess()874 return declaring_class->IsInSamePackage(calling_class); in VerifyAccess()
205 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass()209 EXPECT_TRUE(mirror::Class::IsInSamePackage(klass->GetDescriptor(&temp), in AssertClass()