Home
last modified time | relevance | path

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

/art/runtime/
Dhidden_api.cc556 EnforcementPolicy policy) { in HandleCorePlatformApiViolation() argument
557 DCHECK(policy != EnforcementPolicy::kDisabled) in HandleCorePlatformApiViolation()
567 if (policy == EnforcementPolicy::kJustWarn) { in HandleCorePlatformApiViolation()
573 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()
662 EnforcementPolicy policy);
666 EnforcementPolicy policy);
730 EnforcementPolicy policy = runtime->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMember() local
731 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()
757 EnforcementPolicy policy = Runtime::Current()->GetCorePlatformApiEnforcementPolicy(); in ShouldDenyAccessToMember() local
758 if (policy == EnforcementPolicy::kDisabled) { in ShouldDenyAccessToMember()
[all …]
Druntime.h657 void SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetHiddenApiEnforcementPolicy() argument
658 hidden_api_policy_ = policy; in SetHiddenApiEnforcementPolicy()
665 void SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetCorePlatformApiEnforcementPolicy() argument
666 core_platform_api_policy_ = policy; in SetCorePlatformApiEnforcementPolicy()
673 void SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) { in SetTestApiEnforcementPolicy() argument
674 test_api_policy_ = policy; in SetTestApiEnforcementPolicy()
Dhidden_api.h229 EnforcementPolicy policy)
Dthread.cc2069 int policy; in DumpState() local
2073 policy = sched_getscheduler(tid); in DumpState()
2074 if (policy == -1) { in DumpState()
2083 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState()
2086 os << " sched=" << policy << "/" << sp.sched_priority in DumpState()
/art/openjdkjvmti/
Dti_class.h98 static jvmtiError GetHiddenApiEnforcementPolicy(jvmtiEnv* env, jint* policy);
99 static jvmtiError SetHiddenApiEnforcementPolicy(jvmtiEnv* env, jint policy);
Dti_class.cc1142 jvmtiError ClassUtil::GetHiddenApiEnforcementPolicy(jvmtiEnv* env, jint* policy) { in GetHiddenApiEnforcementPolicy() argument
1147 } else if (policy == nullptr) { in GetHiddenApiEnforcementPolicy()
1150 *policy = static_cast<jint>(art::Runtime::Current()->GetHiddenApiEnforcementPolicy()); in GetHiddenApiEnforcementPolicy()
1154 jvmtiError ClassUtil::SetHiddenApiEnforcementPolicy(jvmtiEnv* env, jint policy) { in SetHiddenApiEnforcementPolicy() argument
1159 } else if (policy < static_cast<jint>(art::hiddenapi::EnforcementPolicy::kDisabled) || in SetHiddenApiEnforcementPolicy()
1160 policy > static_cast<jint>(art::hiddenapi::EnforcementPolicy::kMax)) { in SetHiddenApiEnforcementPolicy()
1161 JVMTI_LOG(INFO, env) << "Bad policy: " << policy << ", must be between " in SetHiddenApiEnforcementPolicy()
1167 static_cast<art::hiddenapi::EnforcementPolicy>(policy)); in SetHiddenApiEnforcementPolicy()
/art/runtime/gc/collector/
Dgc_type.h42 std::ostream& operator<<(std::ostream& os, GcType policy);
/art/compiler/optimizing/
Dlocations.h376 static Location UnallocatedLocation(Policy policy) { in UnallocatedLocation() argument
377 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
/art/runtime/gc/space/
Dspace.h67 std::ostream& operator<<(std::ostream& os, GcRetentionPolicy policy);
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt4506 Ljava/security/cert/X509CertSelector;->policy:Lsun/security/x509/CertificatePolicySet;