Home
last modified time | relevance | path

Searched refs:IsInSamePackage (Results 1 – 6 of 6) sorted by relevance

/art/runtime/mirror/
Dobject_test.cc97 TEST_F(ObjectTest, IsInSamePackage) { in TEST_F() argument
99 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()
Dclass.cc347 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() function in art::mirror::Class
361 bool Class::IsInSamePackage(ObjPtr<Class> that) { in IsInSamePackage() function in art::mirror::Class
384 return IsInSamePackage(klass1->GetDescriptor(&temp1), klass2->GetDescriptor(&temp2)); in IsInSamePackage()
494 if (!klass->IsInSamePackage(declaring_class)) { in IsInheritedMethod()
Dclass-inl.h1093 return that->IsPublic() || this->IsInSamePackage(that); in CanAccess()
1117 return this->IsInSamePackage(access_to); in CanAccessMember()
Dclass.h626 bool IsInSamePackage(ObjPtr<Class> that) REQUIRES_SHARED(Locks::mutator_lock_);
628 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);
/art/runtime/
Dreflection.cc908 !declaring_class->IsInSamePackage(calling_class)) { in VerifyAccess()
914 return declaring_class->IsInSamePackage(calling_class); in VerifyAccess()
Dclass_linker_test.cc282 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass()
284 EXPECT_TRUE(mirror::Class::IsInSamePackage(klass->GetDescriptor(&temp), in AssertClass()