Searched refs:powerPolicyId (Results 1 – 1 of 1) sorted by relevance
1819 String powerPolicyId = args[1]; in definePowerPolicyFromCommand() local1845 int status = definePowerPolicy(powerPolicyId, enabledComponents, disabledComponents); in definePowerPolicyFromCommand()1850 writer.printf("Power policy(%s) is successfully defined.\n", powerPolicyId); in definePowerPolicyFromCommand()1861 public int definePowerPolicy(String powerPolicyId, String[] enabledComponents, in definePowerPolicy() argument1863 int status = mPolicyReader.definePowerPolicy(powerPolicyId, in definePowerPolicy()1875 daemon.notifyPowerPolicyDefinition(powerPolicyId, enabledComponents, in definePowerPolicy()1897 String powerPolicyId = args[1]; in applyPowerPolicyFromCommand() local1898 if (powerPolicyId == null) { in applyPowerPolicyFromCommand()1902 boolean isPreemptive = mPolicyReader.isPreemptivePowerPolicy(powerPolicyId); in applyPowerPolicyFromCommand()1903 int status = isPreemptive ? applyPreemptivePowerPolicy(powerPolicyId) in applyPowerPolicyFromCommand()[all …]