Home
last modified time | relevance | path

Searched refs:kEnabled (Results 1 – 8 of 8) sorted by relevance

/art/runtime/
Dhidden_api_test.cc132 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
144 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
163 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
175 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
191 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
196 runtime_->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
Dhidden_api.h41 kEnabled = 2, // ban dark grey & blacklist enumerator
42 kMax = kEnabled,
Dhidden_api.cc466 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()
492 if (hiddenApiPolicy == EnforcementPolicy::kEnabled) { in ShouldDenyAccessToMemberImpl()
Ddexopt_test.cc57 if (runtime->GetHiddenApiEnforcementPolicy() == hiddenapi::EnforcementPolicy::kEnabled) { in Dex2Oat()
Dparsed_options.cc79 {"enabled", hiddenapi::EnforcementPolicy::kEnabled}}; in MakeParser()
Druntime.cc1335 << (core_platform_api_policy_ == hiddenapi::EnforcementPolicy::kEnabled ? "true" : "false"); in Init()
/art/test/674-hiddenapi/
Dhiddenapi.cc37 runtime->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()
38 runtime->SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc325 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in ZygoteHooks_nativePostForkChild()