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()
555 bool IsInSamePackage(Class* that) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);557 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);561 return that->IsPublic() || this->IsInSamePackage(that); in CanAccess()588 return this->IsInSamePackage(access_to); in CanAccessMember()
296 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() function in art::mirror::Class310 bool Class::IsInSamePackage(Class* that) { in IsInSamePackage() function in art::mirror::Class333 return IsInSamePackage(klass1->GetDescriptor(&temp1), klass2->GetDescriptor(&temp2)); in IsInSamePackage()
863 !declaring_class->IsInSamePackage(calling_class)) { in VerifyAccess()869 return declaring_class->IsInSamePackage(calling_class); in VerifyAccess()
202 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass()206 EXPECT_TRUE(mirror::Class::IsInSamePackage(klass->GetDescriptor(&temp), in AssertClass()