Searched refs:assertPolicyIdentical (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 37 import static com.android.car.test.power.CarPowerPolicyUtil.assertPolicyIdentical; 92 assertPolicyIdentical(expected, policy); in testGetAccumulatedPolicy_firstTime() 106 assertPolicyIdentical(expected, mHandler.getAccumulatedPolicy()); in testApplyPowerPolicy_oneTime() 125 assertPolicyIdentical(expected, mHandler.getAccumulatedPolicy()); in testApplyPowerPolicy_multipleTimes() 145 assertPolicyIdentical(expected, mHandler.getAccumulatedPolicy()); in testApplyPowerPolicy_withCustomComponents() 160 assertPolicyIdentical(expected, mHandler.getAccumulatedPolicy()); in testApplyPowerPolicy_withCustomComponents()
|
D | PolicyReaderUnitTest.java | 36 import static com.android.car.test.power.CarPowerPolicyUtil.assertPolicyIdentical; 423 assertPolicyIdentical(systemPolicy, expectedSystemPolicy); in assertSystemPowerPolicy() 433 assertPolicyIdentical(actualPolicy, expectedPolicy); in checkPolicy() 440 assertPolicyIdentical(expectedPolicy, actualPolicy); in checkPolicyGroup()
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/power/ |
D | CarPowerPolicyUtil.java | 27 public static void assertPolicyIdentical(CarPowerPolicy first, CarPowerPolicy second) { in assertPolicyIdentical() method in CarPowerPolicyUtil
|
/packages/services/Car/tests/CarServiceTest/src/com/android/car/hardware/power/ |
D | CarPowerManagerTest.java | 36 import static com.android.car.test.power.CarPowerPolicyUtil.assertPolicyIdentical; 308 assertPolicyIdentical(expected, mCarPowerManager.getCurrentPowerPolicy()); in testGetCurrentPowerPolicy()
|