Lines Matching refs:hiddenapi
59 static hiddenapi::AccessContext GetReflectionCaller(Thread* self) in GetReflectionCaller()
112 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller()
113 : hiddenapi::AccessContext(caller); in GetReflectionCaller()
116 static std::function<hiddenapi::AccessContext()> GetHiddenapiAccessContextFunction(Thread* self) { in GetHiddenapiAccessContextFunction()
125 return hiddenapi::ShouldDenyAccessToMember(member, in ShouldDenyAccessToMember()
127 hiddenapi::AccessMethod::kReflection); in ShouldDenyAccessToMember()
136 const hiddenapi::AccessContext& access_context, in IsDiscoverable()
143 return !hiddenapi::ShouldDenyAccessToMember( in IsDiscoverable()
144 member, access_context, hiddenapi::AccessMethod::kNone); in IsDiscoverable()
265 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(self); in GetDeclaredFields()
514 const hiddenapi::AccessContext& hiddenapi_context) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodMatchesConstructor()
526 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredConstructorsInternal()
580 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredMethodsUnchecked()