Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DEnergyConsumerSnapshot.java201 final long oldEnergyUJ = mEnergyConsumerSnapshots.get(consumerId, UNAVAILABLE); in updateAndGetDelta() local
215 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() local
331 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()