Searched refs:policy (Results 1 – 10 of 10) sorted by relevance
/art/runtime/ |
D | hidden_api.h | 76 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()
|
D | hidden_api.cc | 62 static constexpr bool EnumsEqual(EnforcementPolicy policy, HiddenApiAccessFlags::ApiList apiList) { in EnumsEqual() argument 63 return static_cast<int>(policy) == static_cast<int>(apiList); in EnumsEqual()
|
D | image.h | 456 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy); 457 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy);
|
D | runtime.h | 531 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument 532 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()
|
D | thread.cc | 1696 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/ |
D | gc_type.h | 40 std::ostream& operator<<(std::ostream& os, const GcType& policy);
|
/art/compiler/optimizing/ |
D | locations.h | 358 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument 359 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 607 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/ |
D | space.h | 67 std::ostream& operator<<(std::ostream& os, const GcRetentionPolicy& policy);
|
/art/runtime/native/ |
D | java_lang_Class.cc | 109 hiddenapi::EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldEnforceHiddenApi() local 110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self); in ShouldEnforceHiddenApi()
|