Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/service/src/com/android/car/power/
H A DCarPowerManagementService.java1819 String powerPolicyId = args[1]; in definePowerPolicyFromCommand() local
1845 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() argument
1863 int status = mPolicyReader.definePowerPolicy(powerPolicyId, in definePowerPolicy()
1875 daemon.notifyPowerPolicyDefinition(powerPolicyId, enabledComponents, in definePowerPolicy()
1897 String powerPolicyId = args[1]; in applyPowerPolicyFromCommand() local
1898 if (powerPolicyId == null) { in applyPowerPolicyFromCommand()
1902 boolean isPreemptive = mPolicyReader.isPreemptivePowerPolicy(powerPolicyId); in applyPowerPolicyFromCommand()
1903 int status = isPreemptive ? applyPreemptivePowerPolicy(powerPolicyId) in applyPowerPolicyFromCommand()
[all …]