Searched refs:expectedChargeUC (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | EnergyConsumerSnapshotTest.java | 129 long expectedChargeUC; in testUpdateAndGetDelta() local 130 expectedChargeUC = calculateChargeConsumedUC(14_000, VOLTAGE_0, 24_000, VOLTAGE_1); in testUpdateAndGetDelta() 131 assertEquals(expectedChargeUC, delta.displayChargeUC[0]); in testUpdateAndGetDelta() 135 expectedChargeUC = calculateChargeConsumedUC(90_000, VOLTAGE_0, 90_000, VOLTAGE_1); in testUpdateAndGetDelta() 136 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[0]); in testUpdateAndGetDelta() 137 expectedChargeUC = calculateChargeConsumedUC(0, VOLTAGE_0, 12_000_000, VOLTAGE_1); in testUpdateAndGetDelta() 138 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[1]); in testUpdateAndGetDelta() 149 expectedChargeUC = calculateChargeConsumedUC(24_000, VOLTAGE_1, 36_000, VOLTAGE_2); in testUpdateAndGetDelta() 150 assertEquals(expectedChargeUC, delta.displayChargeUC[0]); in testUpdateAndGetDelta() 161 expectedChargeUC = calculateChargeConsumedUC(90_000, VOLTAGE_1, 190_000, VOLTAGE_3); in testUpdateAndGetDelta() [all …]
|