Home
last modified time | relevance | path

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

/art/test/674-hiddenapi/
Dhiddenapi.cc34 runtime->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()
35 runtime->SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()
/art/runtime/
Dhidden_api.h38 kEnabled = 2, // ban dark grey & blacklist enumerator
39 kMax = kEnabled,
Ddexopt_test.cc56 if (runtime->GetHiddenApiEnforcementPolicy() == hiddenapi::EnforcementPolicy::kEnabled) { in Dex2Oat()
Dhidden_api.cc430 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()
443 (policy == EnforcementPolicy::kEnabled) && in ShouldDenyAccessToMemberImpl()
Dhidden_api_test.cc116 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
125 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
134 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
Dparsed_options.cc78 {"enabled", hiddenapi::EnforcementPolicy::kEnabled}}; in MakeParser()
Druntime.cc1266 << (core_platform_api_policy_ == hiddenapi::EnforcementPolicy::kEnabled ? "true" : "false"); in Init()