Searched refs:oldEnergyUJ (Results 1 – 1 of 1) sorted by relevance
201 final long oldEnergyUJ = mEnergyConsumerSnapshots.get(consumerId, UNAVAILABLE); in updateAndGetDelta() local215 if (oldEnergyUJ < 0) continue; // Generally happens only on initialization. in updateAndGetDelta()216 if (newEnergyUJ == oldEnergyUJ) continue; in updateAndGetDelta()218 final long deltaUJ = newEnergyUJ - oldEnergyUJ; in updateAndGetDelta()221 + ": new energy (" + newEnergyUJ + ") < old energy (" + oldEnergyUJ in updateAndGetDelta()327 final long oldEnergyUJ = uidOldEnergyMap.get(uid, 0L); in updateAndGetDeltaForTypeOther() local331 if (oldEnergyUJ < 0) continue; in updateAndGetDeltaForTypeOther()332 if (newEnergyUJ == oldEnergyUJ) continue; in updateAndGetDeltaForTypeOther()333 final long deltaUJ = newEnergyUJ - oldEnergyUJ; in updateAndGetDeltaForTypeOther()336 + ") but old energy (" + oldEnergyUJ + "). Average voltage (" + avgVoltageMV in updateAndGetDeltaForTypeOther()