Searched refs:policy (Results 1 – 7 of 7) sorted by relevance
40 std::ostream& operator<<(std::ostream& os, 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()
455 EnforcementPolicy policy) { in HandleCorePlatformApiViolation() argument456 DCHECK(policy != EnforcementPolicy::kDisabled) in HandleCorePlatformApiViolation()466 if (policy == EnforcementPolicy::kJustWarn) { in HandleCorePlatformApiViolation()472 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()558 EnforcementPolicy policy);562 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()
1897 int policy; in DumpState() local1901 policy = sched_getscheduler(tid); in DumpState()1902 if (policy == -1) { in DumpState()1911 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState()1914 os << " sched=" << policy << "/" << sp.sched_priority in DumpState()
371 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument372 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
67 std::ostream& operator<<(std::ostream& os, GcRetentionPolicy policy);