Searched refs:policy (Results 1 – 9 of 9) sorted by relevance
413 EnforcementPolicy policy) { in HandleCorePlatformApiViolation() argument414 DCHECK(policy != EnforcementPolicy::kDisabled) in HandleCorePlatformApiViolation()424 if (policy == EnforcementPolicy::kJustWarn) { in HandleCorePlatformApiViolation()430 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()438 EnforcementPolicy policy = runtime->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMemberImpl() local439 DCHECK(policy != EnforcementPolicy::kDisabled) in ShouldDenyAccessToMemberImpl()443 (policy == EnforcementPolicy::kEnabled) && in ShouldDenyAccessToMemberImpl()497 EnforcementPolicy policy);501 EnforcementPolicy policy);
218 EnforcementPolicy policy)419 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMember() local420 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()446 EnforcementPolicy policy = Runtime::Current()->GetCorePlatformApiEnforcementPolicy(); in ShouldDenyAccessToMember() local447 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()460 policy); in ShouldDenyAccessToMember()
552 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument553 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()560 void SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetCorePlatformApiEnforcementPolicy() argument561 core_platform_api_policy_ = policy; in SetCorePlatformApiEnforcementPolicy()
565 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy);566 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy);
1885 int policy; in DumpState() local1889 policy = sched_getscheduler(tid); in DumpState()1890 if (policy == -1) { in DumpState()1899 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState()1902 os << " sched=" << policy << "/" << sp.sched_priority in DumpState()
40 std::ostream& operator<<(std::ostream& os, const GcType& policy);
358 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument359 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
607 JdwpSuspendPolicy policy = SP_NONE; in ScanSuspendPolicy() local610 if (pEvent->suspend_policy > policy) { in ScanSuspendPolicy()611 policy = pEvent->suspend_policy; in ScanSuspendPolicy()615 return policy; in ScanSuspendPolicy()
67 std::ostream& operator<<(std::ostream& os, const GcRetentionPolicy& policy);