Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyGroups.java30 public final class PowerPolicyGroups { class
33 public PowerPolicyGroups() { } in PowerPolicyGroups() method in PowerPolicyGroups
35 public PowerPolicyGroups(PowerPolicyGroupDef[] defs) { in PowerPolicyGroups() method in PowerPolicyGroups
74 PowerPolicyGroups peer = (PowerPolicyGroups) o; in equals()
83 public static PowerPolicyGroups parse(List<String> defStrs) { in parse()
84 PowerPolicyGroups policyGroups = new PowerPolicyGroups(); in parse()
119 static PowerPolicyGroups parseProto(PolicyReaderProto policyReaderProto) in parseProto()
121 PowerPolicyGroups policyGroups = new PowerPolicyGroups(); in parseProto()
249 public static final PowerPolicyGroups POLICY_GROUPS1 = new PowerPolicyGroups(
DPowerPolicyTestHelper.java154 public void checkPowerPolicyGroups(PowerPolicyGroups expected) { in checkPowerPolicyGroups()
163 public void checkPowerPolicyGroupsDefined(PowerPolicyGroups policyGroups) { in checkPowerPolicyGroupsDefined()
167 PowerPolicyGroups.PowerPolicyGroupDef groupDef = policyGroups.getGroup(groupId); in checkPowerPolicyGroupsDefined()
DCpmsFrameworkLayerStateInfo.java66 private final PowerPolicyGroups mPowerPolicyGroups;
79 List<String> enables, List<String> disables, PowerPolicyGroups policyGroups, in CpmsFrameworkLayerStateInfo()
132 public PowerPolicyGroups getPowerPolicyGroups() { in getPowerPolicyGroups()
214 PowerPolicyGroups policyGroups = null; in parse()
242 policyGroups = PowerPolicyGroups.parse(groupList); in parse()
511 PowerPolicyGroups policyGroups = PowerPolicyGroups.parseProto(policyReaderProto); in parseProto()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java28 import android.car.cts.powerpolicy.PowerPolicyGroups;
506 PowerPolicyGroups emptyGroups = new PowerPolicyGroups(); in testPowerPolicyChange()
512 definePowerPolicyGroup(PowerPolicyGroups.TestSet.POLICY_GROUP_DEF1.toShellCommandString()); in testPowerPolicyChange()
513 definePowerPolicyGroup(PowerPolicyGroups.TestSet.POLICY_GROUP_DEF2.toShellCommandString()); in testPowerPolicyChange()
516 testHelper.checkPowerPolicyGroupsDefined(PowerPolicyGroups.TestSet.POLICY_GROUPS1); in testPowerPolicyChange()
519 setPowerPolicyGroup(PowerPolicyGroups.TestSet.GROUP_ID1); in testPowerPolicyChange()
521 testHelper.checkCurrentPolicyGroupId(PowerPolicyGroups.TestSet.GROUP_ID1, mUseProtoDump); in testPowerPolicyChange()