Home
last modified time | relevance | path

Searched refs:access_to (Results 1 – 2 of 2) sorted by relevance

/art/runtime/mirror/
Dclass-inl.h248 inline bool Class::ResolvedFieldAccessTest(Class* access_to, ArtField* field, in ResolvedFieldAccessTest() argument
251 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedFieldAccessTest()
266 DCHECK_EQ(this->CanAccessMember(access_to, field->GetAccessFlags()), in ResolvedFieldAccessTest()
269 if (LIKELY(this->CanAccessMember(access_to, field->GetAccessFlags()))) { in ResolvedFieldAccessTest()
279 inline bool Class::ResolvedMethodAccessTest(Class* access_to, ArtMethod* method, in ResolvedMethodAccessTest() argument
283 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedMethodAccessTest()
299 DCHECK_EQ(this->CanAccessMember(access_to, method->GetAccessFlags()), in ResolvedMethodAccessTest()
302 if (LIKELY(this->CanAccessMember(access_to, method->GetAccessFlags()))) { in ResolvedMethodAccessTest()
311 inline bool Class::CanAccessResolvedField(Class* access_to, ArtField* field, in CanAccessResolvedField() argument
313 return ResolvedFieldAccessTest<false, false>(access_to, field, field_idx, dex_cache); in CanAccessResolvedField()
[all …]
Dclass.h545 bool CanAccessMember(Class* access_to, uint32_t member_flags) in CanAccessMember() argument
548 if (this == access_to) { in CanAccessMember()
561 if (!this->IsInterface() && this->IsSubClass(access_to)) { in CanAccessMember()
566 return this->IsInSamePackage(access_to); in CanAccessMember()
572 bool CanAccessResolvedField(Class* access_to, ArtField* field,
575 bool CheckResolvedFieldAccess(Class* access_to, ArtField* field,
582 bool CanAccessResolvedMethod(Class* access_to, ArtMethod* resolved_method,
586 bool CheckResolvedMethodAccess(Class* access_to, ArtMethod* resolved_method,
1057 bool ResolvedFieldAccessTest(Class* access_to, ArtField* field,
1061 bool ResolvedMethodAccessTest(Class* access_to, ArtMethod* resolved_method,