Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java37 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()
DPolicyReaderUnitTest.java36 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/
DCarPowerPolicyUtil.java27 public static void assertPolicyIdentical(CarPowerPolicy first, CarPowerPolicy second) { in assertPolicyIdentical() method in CarPowerPolicyUtil
/packages/services/Car/tests/CarServiceTest/src/com/android/car/hardware/power/
DCarPowerManagerTest.java36 import static com.android.car.test.power.CarPowerPolicyUtil.assertPolicyIdentical;
308 assertPolicyIdentical(expected, mCarPowerManager.getCurrentPowerPolicy()); in testGetCurrentPowerPolicy()