Searched refs:applyPowerPolicy (Results 1 – 3 of 3) sorted by relevance
98 applyPowerPolicy(PowerPolicyDef.IdSet.DEFAULT_ALL_ON); in restoreInitCondition()269 private void applyPowerPolicy(String policyId) throws Exception { in applyPowerPolicy() method in PowerPolicyHostTest355 applyPowerPolicy(PowerPolicyDef.IdSet.LISTENER_TEST); in testPowerPolicyListeners()365 applyPowerPolicy(PowerPolicyDef.IdSet.DEFAULT_ALL_ON); in testPowerPolicyListeners()477 applyPowerPolicy(PowerPolicyDef.IdSet.TEST1); in testPowerPolicyChange()482 applyPowerPolicy(PowerPolicyDef.IdSet.TEST2); in testPowerPolicyChange()487 applyPowerPolicy(PowerPolicyDef.IdSet.DEFAULT_ALL_ON); in testPowerPolicyChange()595 applyPowerPolicy(powerOffPolicy.getPolicyId()); in testComponent()
136 mCarPowerManager.applyPowerPolicy(policyId); in testApplyNewPowerPolicy()165 () -> mCarPowerManager.applyPowerPolicy(null)); in testApplyPowerPolicy_nullPolicyId()173 () -> mCarPowerManager.applyPowerPolicy("not_defined_policy_id")); in testApplyPowerPolicy_notDefinedPolicy()181 () -> mCarPowerManager.applyPowerPolicy("system_power_policy_no_user_interaction")); in testApplyPowerPolicy_systemPowerPolicy()
109 () -> mCarPowerManager.applyPowerPolicy("policy_id")); in testApplyPowerPolicy()