Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyDef.java38 private PowerPolicyDef(String policyId, PowerComponent[] enables, PowerComponent[] disables) { in PowerPolicyDef() argument
41 mDisables = disables; in PowerPolicyDef()
60 String[] disables = Arrays.stream(mDisables).map(PowerComponent::getValue) in toString() local
67 if (disables.length > 0) { in toString()
68 str.append(" --disable ").append(String.join(",", disables)); in toString()
127 String[] disables = null; in parse() local
131 disables = tmpStr.split(",\\s*"); in parse()
133 PowerComponent[] disabledComps = PowerComponent.asComponentArray(disables); in parse()
149 PowerComponent[] disables = {removingComp}; in createWithComponentOff() local
152 return new PowerPolicyDef(policyId, enables, disables); in createWithComponentOff()
DCpmsFrameworkLayerStateInfo.java69 ArrayList<String> enables, ArrayList<String> disables, PowerPolicyGroups policyGroups, in CpmsFrameworkLayerStateInfo() argument
74 mDisables = disables; in CpmsFrameworkLayerStateInfo()
186 ArrayList<String> disables = null; in parse() local
223 disables = parser.getDisables(); in parse()
225 Collections.sort(disables); in parse()
265 disables, policyGroups, controlledEnables, controlledDisables, monitoringHw, in parse()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DPowerPolicyListenerImpl.java63 String[] disables = Arrays.stream(policy.getDisabledComponents()) in getPolicyString() local
75 if (disables.length == 0) { in getPolicyString()
78 policyStr.append(String.join(",", disables)); in getPolicyString()
DPowerPolicyTestCommand.java115 String[] disables = Arrays.stream(cpp.getDisabledComponents()) in execute() local
121 mTestClient.printfResult("disabledComponents:%s)\n", String.join(",", disables)); in execute()