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

/art/runtime/gc/collector/
H A Dgc_type.h40 std::ostream& operator<<(std::ostream& os, const GcType& policy);
/art/runtime/
H A Dhidden_api.h31 // Hidden API enforcement policy
76 EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); local
77 if (policy == EnforcementPolicy::kNoChecks) {
82 // if policy is "just warn", always warn. We returned above for whitelist APIs.
83 if (policy == EnforcementPolicy::kJustWarn) {
86 DCHECK(policy >= EnforcementPolicy::kDarkGreyAndBlackList);
89 if (static_cast<int>(policy) > static_cast<int>(api_list)) {
H A Dhidden_api.cc62 static constexpr bool EnumsEqual(EnforcementPolicy policy, HiddenApiAccessFlags::ApiList apiList) { argument
63 return static_cast<int>(policy) == static_cast<int>(apiList);
H A Dimage.h456 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy);
457 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy);
H A Druntime.h531 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { argument
532 hidden_api_policy_ = policy;
H A Dthread.cc1696 int policy; local
1700 policy = sched_getscheduler(tid);
1701 if (policy == -1) {
1710 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp),
1713 os << " sched=" << policy << "/" << sp.sched_priority
/art/compiler/optimizing/
H A Dlocations.h76 // a policy that specifies what kind of location is suitable. Payload
77 // contains register allocation policy.
358 static Location UnallocatedLocation(Policy policy) {
359 return Location(kUnallocated, PolicyField::Encode(policy));
/art/runtime/gc/space/
H A Dspace.h59 // Objects are retained forever with this policy for a space.
67 std::ostream& operator<<(std::ostream& os, const GcRetentionPolicy& policy);
90 // The policy of when objects are collected associated with this space.
/art/runtime/jdwp/
H A Djdwp_event.cc604 * suspension policy.
607 JdwpSuspendPolicy policy = SP_NONE; local
610 if (pEvent->suspend_policy > policy) {
611 policy = pEvent->suspend_policy;
615 return policy;
/art/runtime/native/
H A Djava_lang_Class.cc109 hiddenapi::EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); local
110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self);

Completed in 4774 milliseconds