Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java1363 boolean isSuccess = applyPowerPolicyFromCommand(policyId); in testApplyPowerPolicyFromCommand_powerPolicyRefactorFlagDisabled()
1378 boolean isSuccess = applyPowerPolicyFromCommand(policyId); in testApplyPowerPolicyFromCommand_powerPolicyRefactorFlagEnabled()
1391 mService.applyPowerPolicyFromCommand( in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagDisabled()
1395 applyPowerPolicyFromCommand(null)).isFalse(); in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagDisabled()
1397 applyPowerPolicyFromCommand("unregistered_policy_id")).isFalse(); in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagDisabled()
1409 mService.applyPowerPolicyFromCommand( in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagEnabled()
1413 applyPowerPolicyFromCommand(null)).isFalse(); in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagEnabled()
1415 applyPowerPolicyFromCommand("unregistered_policy_id")).isFalse(); in testApplyPowerPolicyInvalidCommand_powerPolicyRefactorFlagEnabled()
2567 boolean isSuccess = applyPowerPolicyFromCommand(policyId); in testApplyNonPreemptivePolicyOverPreemptivePolicy()
2842 private boolean applyPowerPolicyFromCommand(String policyId) { in applyPowerPolicyFromCommand() method in CarPowerManagementServiceUnitTest
[all …]
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java3196 boolean result = mCarPowerManagementService.applyPowerPolicyFromCommand(args, writer);
3225 boolean result = mCarPowerManagementService.applyPowerPolicyFromCommand(appArgs, writer);
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3515 public boolean applyPowerPolicyFromCommand(String[] args, IndentingPrintWriter writer) { in applyPowerPolicyFromCommand() method in CarPowerManagementService