Searched refs:IsCallerTrusted (Results 1 – 3 of 3) sorted by relevance
/art/runtime/ |
D | hidden_api.h | 162 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()
|
D | jni_internal.cc | 83 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/ |
D | java_lang_Class.cc | 55 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()
|