Lines Matching refs:hiddenapi
66 static hiddenapi::AccessContext GetReflectionCaller(Thread* self) in GetReflectionCaller()
131 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller()
132 : hiddenapi::AccessContext(caller); in GetReflectionCaller()
135 static std::function<hiddenapi::AccessContext()> GetHiddenapiAccessContextFunction(Thread* self) { in GetHiddenapiAccessContextFunction()
144 return hiddenapi::ShouldDenyAccessToMember(member, in ShouldDenyAccessToMember()
146 hiddenapi::AccessMethod::kReflection); in ShouldDenyAccessToMember()
155 const hiddenapi::AccessContext& access_context, in IsDiscoverable()
162 return !hiddenapi::ShouldDenyAccessToMember( in IsDiscoverable()
163 member, access_context, hiddenapi::AccessMethod::kNone); in IsDiscoverable()
296 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(self); in GetDeclaredFields()
558 const hiddenapi::AccessContext& hiddenapi_context) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodMatchesConstructor()
570 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredConstructorsInternal()
633 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredMethodsUnchecked()