Home
last modified time | relevance | path

Searched refs:CanAccess (Results 1 – 10 of 10) sorted by relevance

/art/runtime/entrypoints/
Dentrypoint_utils-inl.h63 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckObjectAlloc()
197 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc()
246 if (UNLIKELY(!referrer->CanAccess(klass))) { in AllocArrayFromCodeResolved()
520 if (UNLIKELY(!referring_class->CanAccess(fields_class) || in FindFieldFast()
555 if (UNLIKELY(!referring_class->CanAccess(methods_class) || in FindMethodFast()
587 if (verify_access && UNLIKELY(!referring_class->CanAccess(klass))) { in ResolveVerifyAndClinit()
Dentrypoint_utils.cc70 if (UNLIKELY(!referrer_klass->CanAccess(klass))) { in CheckFilledNewArrayAlloc()
/art/runtime/mirror/
Dclass-inl.h251 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedFieldAccessTest()
260 if (UNLIKELY(!this->CanAccess(dex_access_to))) { in ResolvedFieldAccessTest()
283 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedMethodAccessTest()
292 if (UNLIKELY(!this->CanAccess(dex_access_to))) { in ResolvedMethodAccessTest()
Dclass.h538 bool CanAccess(Class* that) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in CanAccess() function
/art/runtime/verifier/
Dreg_type.cc639 bool RegType::CanAccess(RegType& other) { in CanAccess() function in art::verifier::RegType
646 return GetClass()->CanAccess(other.GetClass()); in CanAccess()
Dreg_type.h228 bool CanAccess(RegType& other) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Dmethod_verifier.cc2985 !referrer.IsUnresolvedTypes() && !referrer.CanAccess(result)) { in ResolveClassAndCheckAccess()
/art/compiler/driver/
Dcompiler_driver.cc902 bool result = referrer_class->CanAccess(resolved_class); in CanAccessTypeWithoutChecks()
936 bool result = referrer_class->CanAccess(resolved_class) && resolved_class->IsInstantiable(); in CanAccessInstantiableTypeWithoutChecks()
/art/runtime/
Dclass_linker.cc4684 if (!klass->CanAccess(super_class)) { in LoadSuperAndInterfaces()
4708 if (!klass->CanAccess(interface)) { in LoadSuperAndInterfaces()
4745 if (!klass->CanAccess(super)) { in LinkSuperClass()
5759 if (!referring_class->CanAccess(methods_class)) { in ResolveMethod()
Dclass_linker_test.cc249 EXPECT_TRUE(klass->CanAccess(klass.Get())); in AssertClass()