Home
last modified time | relevance | path

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

/art/runtime/
Dhidden_api.h162 inline bool IsCallerTrusted(ObjPtr<mirror::Class> caller, in IsCallerTrusted() function
230 inline bool IsCallerTrusted(ObjPtr<mirror::Class> caller) REQUIRES_SHARED(Locks::mutator_lock_) { in IsCallerTrusted() function
232 detail::IsCallerTrusted(caller, caller->GetClassLoader(), caller->GetDexCache()); in IsCallerTrusted()
245 detail::IsCallerTrusted(/* caller */ nullptr, caller_class_loader, caller_dex_cache); in GetMemberAction()
Djni_internal.cc83 static bool IsCallerTrusted(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) { in IsCallerTrusted() function
84 return hiddenapi::IsCallerTrusted(GetCallingClass(self, /* num_frames */ 1)); in IsCallerTrusted()
91 member, self, IsCallerTrusted, hiddenapi::kJNI); in ShouldBlockAccessToMember()
/art/runtime/native/
Djava_lang_Class.cc55 static bool IsCallerTrusted(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) { in IsCallerTrusted() function
102 hiddenapi::IsCallerTrusted(visitor.caller->GetDeclaringClass()); in IsCallerTrusted()
110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self); in ShouldEnforceHiddenApi()
119 member, self, IsCallerTrusted, hiddenapi::kReflection); in ShouldBlockAccessToMember()