Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 9 of 9) sorted by relevance

/art/runtime/
Dhidden_api.cc413 EnforcementPolicy policy) { in HandleCorePlatformApiViolation() argument
414 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() local
439 DCHECK(policy != EnforcementPolicy::kDisabled) in ShouldDenyAccessToMemberImpl()
443 (policy == EnforcementPolicy::kEnabled) && in ShouldDenyAccessToMemberImpl()
497 EnforcementPolicy policy);
501 EnforcementPolicy policy);
Dhidden_api.h218 EnforcementPolicy policy)
419 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMember() local
420 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()
446 EnforcementPolicy policy = Runtime::Current()->GetCorePlatformApiEnforcementPolicy(); in ShouldDenyAccessToMember() local
447 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()
460 policy); in ShouldDenyAccessToMember()
Druntime.h552 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument
553 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()
560 void SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetCorePlatformApiEnforcementPolicy() argument
561 core_platform_api_policy_ = policy; in SetCorePlatformApiEnforcementPolicy()
Dimage.h565 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy);
566 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy);
Dthread.cc1885 int policy; in DumpState() local
1889 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()
/art/runtime/gc/collector/
Dgc_type.h40 std::ostream& operator<<(std::ostream& os, const GcType& policy);
/art/compiler/optimizing/
Dlocations.h358 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument
359 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
/art/runtime/jdwp/
Djdwp_event.cc607 JdwpSuspendPolicy policy = SP_NONE; in ScanSuspendPolicy() local
610 if (pEvent->suspend_policy > policy) { in ScanSuspendPolicy()
611 policy = pEvent->suspend_policy; in ScanSuspendPolicy()
615 return policy; in ScanSuspendPolicy()
/art/runtime/gc/space/
Dspace.h67 std::ostream& operator<<(std::ostream& os, const GcRetentionPolicy& policy);