Lines Matching refs:hiddenapi
102 hiddenapi::IsCallerTrusted(visitor.caller->GetDeclaringClass()); in IsCallerTrusted()
109 hiddenapi::EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldEnforceHiddenApi()
110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self); in ShouldEnforceHiddenApi()
118 hiddenapi::Action action = hiddenapi::GetMemberAction( in ShouldBlockAccessToMember()
119 member, self, IsCallerTrusted, hiddenapi::kReflection); in ShouldBlockAccessToMember()
120 if (action != hiddenapi::kAllow) { in ShouldBlockAccessToMember()
121 hiddenapi::NotifyHiddenApiListener(member); in ShouldBlockAccessToMember()
124 return action == hiddenapi::kDeny; in ShouldBlockAccessToMember()
140 return hiddenapi::GetMemberAction(member, in IsDiscoverable()
143 hiddenapi::kNone) in IsDiscoverable()
144 != hiddenapi::kDeny; in IsDiscoverable()