Lines Matching refs:hiddenapi
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()
142 return hiddenapi::ShouldDenyAccessToMember(member, in ShouldDenyAccessToMember()
144 hiddenapi::AccessMethod::kReflection); in ShouldDenyAccessToMember()
153 const hiddenapi::AccessContext& access_context, in IsDiscoverable()
160 return !hiddenapi::ShouldDenyAccessToMember( in IsDiscoverable()
161 member, access_context, hiddenapi::AccessMethod::kNone); 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()