Home
last modified time | relevance | path

Searched refs:same_package (Results 1 – 3 of 3) sorted by relevance

/art/test/064-field-access/src/
DMain.java543 boolean same_package = false; in doReflectionTests()
552 same_package = true; in doReflectionTests()
581 (!same_package && f.getName().contains("Package")) || in doReflectionTests()
582 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests()
588 (!same_package && f.getName().contains("Package")) || in doReflectionTests()
589 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests()
634 (!same_package && m.getName().contains("Package")) || in doReflectionTests()
635 (!same_package && m.getName().contains("Protected"))) { in doReflectionTests()
/art/compiler/optimizing/
Dsharpening.cc210 bool same_package = in ComputeLoadClassKind() local
213 desired_load_kind = same_package in ComputeLoadClassKind()
Dinstruction_builder.cc893 SamePackageCompare same_package(dex_compilation_unit); in ResolveMethod() local
895 bool declaring_class_accessible = declaring_class->IsPublic() || same_package(declaring_class); in ResolveMethod()
904 if (!referenced_class->IsPublic() && !same_package(referenced_class)) { in ResolveMethod()
2049 SamePackageCompare same_package(*dex_compilation_unit_); in ResolveField() local
2051 bool declaring_class_accessible = declaring_class->IsPublic() || same_package(declaring_class); in ResolveField()
2060 if (!referenced_class->IsPublic() && !same_package(referenced_class)) { in ResolveField()
2489 SamePackageCompare same_package(*outer_compilation_unit_); in LoadClassNeedsAccessCheck() local
2490 if (!same_package(dex_compilation_unit_->GetCompilingClass().Get())) { in LoadClassNeedsAccessCheck()
2500 SamePackageCompare same_package(*dex_compilation_unit_); in LoadClassNeedsAccessCheck() local
2501 return !same_package(klass); in LoadClassNeedsAccessCheck()