Searched refs:policy (Results 1 – 6 of 6) sorted by relevance
40 std::ostream& operator<<(std::ostream& os, const GcType& policy);
223 EnforcementPolicy policy)433 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMember() local434 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()460 EnforcementPolicy policy = Runtime::Current()->GetCorePlatformApiEnforcementPolicy(); in ShouldDenyAccessToMember() local461 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()474 policy); in ShouldDenyAccessToMember()
449 EnforcementPolicy policy) { in HandleCorePlatformApiViolation() argument450 DCHECK(policy != EnforcementPolicy::kDisabled) in HandleCorePlatformApiViolation()460 if (policy == EnforcementPolicy::kJustWarn) { in HandleCorePlatformApiViolation()466 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()552 EnforcementPolicy policy);556 EnforcementPolicy policy);
587 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument588 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()595 void SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetCorePlatformApiEnforcementPolicy() argument596 core_platform_api_policy_ = policy; in SetCorePlatformApiEnforcementPolicy()603 void SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetTestApiEnforcementPolicy() argument604 test_api_policy_ = policy; in SetTestApiEnforcementPolicy()
358 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument359 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
67 std::ostream& operator<<(std::ostream& os, const GcRetentionPolicy& policy);