Searched refs:AccessContext (Results 1 – 9 of 9) 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 | 76 static inline std::ostream& operator<<(std::ostream& os, const AccessContext& value) in operator <<() 453 const AccessContext& caller_context, in HandleCorePlatformApiViolation() 556 const AccessContext& caller_context, 560 const AccessContext& caller_context,
|
D | hidden_api_test.cc | 553 hiddenapi::AccessContext context(loader, dex_file.get()); in CheckAllDexFilesInDomain()
|
D | class_linker.cc | 5590 hiddenapi::AccessContext(class_loader.Get(), dex_cache.Get()), in InitializeClass() 8802 hiddenapi::AccessContext(class_loader, dex_cache), in FindResolvedMethod() 8834 hiddenapi::AccessContext(class_loader, dex_cache), in CheckNoSuchMethod() 8981 hiddenapi::AccessContext(class_loader.Get(), dex_cache.Get()), in ResolveMethodWithoutInvokeType() 9083 hiddenapi::AccessContext(class_loader, dex_cache), in FindResolvedField() 9110 hiddenapi::AccessContext(class_loader, dex_cache), in FindResolvedFieldJLS()
|
/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);
|
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()
|