Home
last modified time | relevance | path

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

/art/runtime/
Dhidden_api.h76 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in GetActionFromAccessFlags() local
77 if (policy == EnforcementPolicy::kNoChecks) { in GetActionFromAccessFlags()
83 if (policy == EnforcementPolicy::kJustWarn) { in GetActionFromAccessFlags()
86 DCHECK(policy >= EnforcementPolicy::kDarkGreyAndBlackList); in GetActionFromAccessFlags()
89 if (static_cast<int>(policy) > static_cast<int>(api_list)) { in GetActionFromAccessFlags()
Dhidden_api.cc62 static constexpr bool EnumsEqual(EnforcementPolicy policy, HiddenApiAccessFlags::ApiList apiList) { in EnumsEqual() argument
63 return static_cast<int>(policy) == static_cast<int>(apiList); in EnumsEqual()
Dimage.h456 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy);
457 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy);
Druntime.h531 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument
532 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()
Dthread.cc1696 int policy; in DumpState() local
1700 policy = sched_getscheduler(tid); in DumpState()
1701 if (policy == -1) { in DumpState()
1710 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState()
1713 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);
/art/runtime/native/
Djava_lang_Class.cc109 hiddenapi::EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldEnforceHiddenApi() local
110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self); in ShouldEnforceHiddenApi()