Lines Matching refs:EnforcementPolicy
35 enum class EnforcementPolicy { enum
42 inline EnforcementPolicy EnforcementPolicyFromInt(int api_policy_int) { in EnforcementPolicyFromInt()
44 DCHECK_LE(api_policy_int, static_cast<int>(EnforcementPolicy::kMax)); in EnforcementPolicyFromInt()
45 return static_cast<EnforcementPolicy>(api_policy_int); in EnforcementPolicyFromInt()
144 explicit ScopedHiddenApiEnforcementPolicySetting(EnforcementPolicy new_policy) in ScopedHiddenApiEnforcementPolicySetting()
154 const EnforcementPolicy initial_policy_;
218 EnforcementPolicy policy)
419 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMember()
420 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()
446 EnforcementPolicy policy = Runtime::Current()->GetCorePlatformApiEnforcementPolicy(); in ShouldDenyAccessToMember()
447 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()