Searched refs:CanAccess (Results 1 – 10 of 10) sorted by relevance
31 inline bool RegType::CanAccess(const RegType& other) const { in CanAccess() function40 return GetClass()->CanAccess(other.GetClass()); in CanAccess()
208 bool CanAccess(const RegType& other) const
82 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance0()
913 if (caller != nullptr && !caller->CanAccess(klass.Get())) { in Class_newInstance()
460 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedFieldAccessTest()473 if (UNLIKELY(!this->CanAccess(dex_access_to))) { in ResolvedFieldAccessTest()497 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedMethodAccessTest()509 if (UNLIKELY(!this->CanAccess(dex_access_to))) { in ResolvedMethodAccessTest()1166 inline bool Class::CanAccess(ObjPtr<Class> that) { in CanAccess() function
607 bool CanAccess(ObjPtr<Class> that) REQUIRES_SHARED(Locks::mutator_lock_);
250 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc()632 if (UNLIKELY(!referring_class->CanAccess(fields_class) || in FindFieldFast()714 if (verify_access && UNLIKELY(!referring_class->CanAccess(klass))) { in ResolveVerifyAndClinit()
327 EXPECT_TRUE(klass->CanAccess(klass.Get())); in AssertClass()
705 if (caller != nullptr && !caller->CanAccess(c.Get())) { in UnstartedConstructorNewInstance0()
2038 return compiling_class == nullptr || !compiling_class->CanAccess(klass.Get()); in LoadClassNeedsAccessCheck()