Searched refs:kEnabled (Results 1 – 7 of 7) sorted by relevance
34 runtime->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()35 runtime->SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init()
38 kEnabled = 2, // ban dark grey & blacklist enumerator39 kMax = kEnabled,
56 if (runtime->GetHiddenApiEnforcementPolicy() == hiddenapi::EnforcementPolicy::kEnabled) { in Dex2Oat()
430 return policy == EnforcementPolicy::kEnabled; in HandleCorePlatformApiViolation()443 (policy == EnforcementPolicy::kEnabled) && in ShouldDenyAccessToMemberImpl()
116 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()
78 {"enabled", hiddenapi::EnforcementPolicy::kEnabled}}; in MakeParser()
1266 << (core_platform_api_policy_ == hiddenapi::EnforcementPolicy::kEnabled ? "true" : "false"); in Init()