Home
last modified time | relevance | path

Searched refs:applyPowerPolicy (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java98 applyPowerPolicy(PowerPolicyDef.IdSet.DEFAULT_ALL_ON); in restoreInitCondition()
269 private void applyPowerPolicy(String policyId) throws Exception { in applyPowerPolicy() method in PowerPolicyHostTest
355 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()
/cts/tests/tests/car/src/android/car/cts/
DCarPowerManagerTest.java136 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()
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/power/
DCarPowerManagerPermissionTest.java109 () -> mCarPowerManager.applyPowerPolicy("policy_id")); in testApplyPowerPolicy()