Searched refs:IsInSamePackage (Results 1 – 6 of 6) sorted by relevance
97 TEST_F(ObjectTest, IsInSamePackage) { in TEST_F() argument99 EXPECT_TRUE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/lang/Class;")); in TEST_F()100 EXPECT_TRUE(Class::IsInSamePackage("LFoo;", "LBar;")); in TEST_F()103 EXPECT_FALSE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/io/File;")); in TEST_F()104 EXPECT_FALSE(Class::IsInSamePackage("Ljava/lang/Object;", "Ljava/lang/reflect/Method;")); in TEST_F()
347 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() function in art::mirror::Class361 bool Class::IsInSamePackage(ObjPtr<Class> that) { in IsInSamePackage() function in art::mirror::Class384 return IsInSamePackage(klass1->GetDescriptor(&temp1), klass2->GetDescriptor(&temp2)); in IsInSamePackage()494 if (!klass->IsInSamePackage(declaring_class)) { in IsInheritedMethod()
1093 return that->IsPublic() || this->IsInSamePackage(that); in CanAccess()1117 return this->IsInSamePackage(access_to); in CanAccessMember()
626 bool IsInSamePackage(ObjPtr<Class> that) REQUIRES_SHARED(Locks::mutator_lock_);628 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);
908 !declaring_class->IsInSamePackage(calling_class)) { in VerifyAccess()914 return declaring_class->IsInSamePackage(calling_class); in VerifyAccess()
282 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass()284 EXPECT_TRUE(mirror::Class::IsInSamePackage(klass->GetDescriptor(&temp), in AssertClass()