Home
last modified time | relevance | path

Searched refs:kSystemPolicyIdNoUserInteraction (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp476 if (policy->policyId != kSystemPolicyIdNoUserInteraction) { in readSystemPolicyOverrides()
715 kSystemPolicyIdNoUserInteraction)) in dump()
810 CarPowerPolicyPtr systemPolicy = mPreemptivePowerPolicies.at(kSystemPolicyIdNoUserInteraction); in reconstructNoUserInteractionPolicy()
844 mPreemptivePowerPolicies.emplace(kSystemPolicyIdNoUserInteraction, in initPreemptivePowerPolicy()
845 createPolicy(kSystemPolicyIdNoUserInteraction, in initPreemptivePowerPolicy()
DPolicyManager.h49 constexpr const char kSystemPolicyIdNoUserInteraction[] = "system_power_policy_no_user_interaction"; variable
DCarPowerPolicyServer.cpp1062 ret = applyPowerPolicy(kSystemPolicyIdNoUserInteraction, in notifySilentModeChangeLegacy()
1082 ret = applyPowerPolicyInternal(kSystemPolicyIdNoUserInteraction, /*force=*/false, in notifySilentModeChangeInternal()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPolicyManagerTest.cpp78 constexpr const char* kSystemPolicyIdNoUserInteraction = "system_power_policy_no_user_interaction"; variable
437 auto policyMeta = policyManager.getPowerPolicy(kSystemPolicyIdNoUserInteraction); in checkSystemPowerPolicy()
452 auto policyMeta = policyManager.getPowerPolicy(kSystemPolicyIdNoUserInteraction); in checkInvalidPolicies()
458 ASSERT_TRUE(policyManager.getPowerPolicy(kSystemPolicyIdNoUserInteraction).ok()); in assertDefaultPolicies()