Searched refs:otherTotalChargeUC (Results 1 – 3 of 3) sorted by relevance
122 assertNull(delta.otherTotalChargeUC); in testUpdateAndGetDelta()133 assertNotNull(delta.otherTotalChargeUC); in testUpdateAndGetDelta()136 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[0]); in testUpdateAndGetDelta()138 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[1]); in testUpdateAndGetDelta()139 assertEquals(0, delta.otherTotalChargeUC[2]); // First good pull. Treat delta as 0. in testUpdateAndGetDelta()152 assertNull(delta.otherTotalChargeUC); in testUpdateAndGetDelta()159 assertNotNull(delta.otherTotalChargeUC); in testUpdateAndGetDelta()162 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[0]); in testUpdateAndGetDelta()164 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[1]); in testUpdateAndGetDelta()166 assertEquals(expectedChargeUC, delta.otherTotalChargeUC[2]); in testUpdateAndGetDelta()[all …]
127 public @Nullable long[] otherTotalChargeUC = null; field in EnergyConsumerSnapshot.EnergyConsumerDeltaData139 && isEmpty(otherTotalChargeUC); in isEmpty()264 if (output.otherTotalChargeUC == null) { in updateAndGetDelta()265 output.otherTotalChargeUC = new long[mNumOtherOrdinals]; in updateAndGetDelta()268 output.otherTotalChargeUC[ordinal] = deltaChargeUC; in updateAndGetDelta()
747 && energyConsumerDeltas.otherTotalChargeUC != null) {749 for (int ord = 0; ord < energyConsumerDeltas.otherTotalChargeUC.length; ord++) {750 long totalEnergy = energyConsumerDeltas.otherTotalChargeUC[ord];