Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DEnergyConsumerSnapshotTest.java110 assertNull(snapshot.updateAndGetDelta(null, VOLTAGE_0)); in testUpdateAndGetDelta_empty()
111 assertNull(snapshot.updateAndGetDelta(new EnergyConsumerResult[0], VOLTAGE_0)); in testUpdateAndGetDelta_empty()
119 EnergyConsumerDeltaData delta = snapshot.updateAndGetDelta(RESULTS_0, VOLTAGE_0); in testUpdateAndGetDelta()
127 delta = snapshot.updateAndGetDelta(RESULTS_1, VOLTAGE_1); in testUpdateAndGetDelta()
147 delta = snapshot.updateAndGetDelta(RESULTS_2, VOLTAGE_2); in testUpdateAndGetDelta()
155 delta = snapshot.updateAndGetDelta(RESULTS_3, VOLTAGE_3); in testUpdateAndGetDelta()
181 delta = snapshot.updateAndGetDelta(RESULTS_4, VOLTAGE_4); in testUpdateAndGetDelta()
209 EnergyConsumerDeltaData delta = snapshot.updateAndGetDelta(RESULTS_0, VOLTAGE_0); in testUpdateAndGetDelta_some()
217 delta = snapshot.updateAndGetDelta(RESULTS_1, VOLTAGE_1); in testUpdateAndGetDelta_some()
250 snapshot.updateAndGetDelta(result0, VOLTAGE_1); in testUpdateAndGetDelta_updatesCameraCharge()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DEnergyConsumerSnapshot.java172 public EnergyConsumerDeltaData updateAndGetDelta(EnergyConsumerResult[] ecrs, int voltageMV) { in updateAndGetDelta() method in EnergyConsumerSnapshot
DBatteryExternalStatsWorker.java231 mEnergyConsumerSnapshot.updateAndGetDelta(initialEcrs, voltageMv); in systemServicesReady()
685 energyConsumerDeltas = mEnergyConsumerSnapshot.updateAndGetDelta(ecrs, voltageMv);
/frameworks/base/services/
Dart-profile3152 HSPLcom/android/server/power/stats/EnergyConsumerSnapshot;->updateAndGetDelta([Landroid/hardware/po…