Searched refs:applyPowerPolicyFromCommand (Results 1 – 3 of 3) sorted by relevance
1363 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 …]
3196 boolean result = mCarPowerManagementService.applyPowerPolicyFromCommand(args, writer);3225 boolean result = mCarPowerManagementService.applyPowerPolicyFromCommand(appArgs, writer);
3515 public boolean applyPowerPolicyFromCommand(String[] args, IndentingPrintWriter writer) { in applyPowerPolicyFromCommand() method in CarPowerManagementService