Searched refs:AccessContext (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | hidden_api.h | 61 class AccessContext { 64 explicit AccessContext(bool is_trusted) in AccessContext() function 70 AccessContext(ObjPtr<mirror::ClassLoader> class_loader, ObjPtr<mirror::DexCache> dex_cache) in AccessContext() function 77 AccessContext(ObjPtr<mirror::ClassLoader> class_loader, const DexFile* dex_file) in AccessContext() function 83 explicit AccessContext(ObjPtr<mirror::Class> klass) in AccessContext() function 95 bool CanAlwaysAccess(const AccessContext& callee) const { in CanAlwaysAccess() 221 const AccessContext& caller_context, 396 const std::function<AccessContext()>& fn_get_access_context, in ShouldDenyAccessToMember() 415 const AccessContext caller_context = fn_get_access_context(); in ShouldDenyAccessToMember() 416 const AccessContext callee_context(member->GetDeclaringClass()); in ShouldDenyAccessToMember() [all …]
|
D | hidden_api.cc | 77 static inline std::ostream& operator<<(std::ostream& os, const AccessContext& value) in operator <<() 447 const AccessContext& caller_context, in HandleCorePlatformApiViolation() 550 const AccessContext& caller_context, 554 const AccessContext& caller_context,
|
D | hidden_api_test.cc | 521 hiddenapi::AccessContext context(loader, dex_file.get()); in CheckAllDexFilesInDomain()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 65 static hiddenapi::AccessContext GetReflectionCaller(Thread* self) in GetReflectionCaller() 129 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller() 130 : hiddenapi::AccessContext(caller); in GetReflectionCaller() 133 static std::function<hiddenapi::AccessContext()> GetHiddenapiAccessContextFunction(Thread* self) { in GetHiddenapiAccessContextFunction() 153 const hiddenapi::AccessContext& access_context, in IsDiscoverable() 294 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(self); in GetDeclaredFields() 556 const hiddenapi::AccessContext& hiddenapi_context) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodMatchesConstructor() 568 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredConstructorsInternal() 631 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredMethodsUnchecked()
|
/art/runtime/mirror/ |
D | class.cc | 1456 const std::function<hiddenapi::AccessContext()>& fn_get_access_context) { in GetDeclaredMethodInternal() 1550 const std::function<hiddenapi::AccessContext()>& fn_get_access_context); 1557 const std::function<hiddenapi::AccessContext()>& fn_get_access_context); 1564 const std::function<hiddenapi::AccessContext()>& fn_get_access_context); 1571 const std::function<hiddenapi::AccessContext()>& fn_get_access_context);
|
D | class.h | 45 class AccessContext; variable 760 const std::function<hiddenapi::AccessContext()>& fn_get_access_context)
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 187 static std::function<hiddenapi::AccessContext()> GetHiddenapiAccessContextFunction( in GetHiddenapiAccessContextFunction() 190 return hiddenapi::AccessContext(frame->GetMethod()->GetDeclaringClass()); in GetHiddenapiAccessContextFunction()
|
/art/runtime/jni/ |
D | jni_internal.cc | 97 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in ShouldDenyAccessToMember() 98 : hiddenapi::AccessContext(caller); in ShouldDenyAccessToMember()
|