Home
last modified time | relevance | path

Searched refs:BatteryStats (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsSamplingTimerTest.java19 import android.os.BatteryStats;
44 assertEquals(1, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
45 assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
49 assertEquals(1, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
50 assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
54 assertEquals(1, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
55 assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED)); in testSettingStalePreservesData()
70 assertEquals(0, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testEndSampleAndContinueWhenTimeOrCountDecreases()
71 assertEquals(0, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED)); in testEndSampleAndContinueWhenTimeOrCountDecreases()
80 assertEquals(0, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testEndSampleAndContinueWhenTimeOrCountDecreases()
[all …]
DBatteryStatsStopwatchTimerTest.java19 import android.os.BatteryStats;
38 null, BatteryStats.SENSOR, null, timeBase); in testCount()
47 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
49 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
51 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
53 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
58 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
66 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
69 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
75 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount()
[all …]
DBatteryStatsHistoryIteratorTest.java22 import android.os.BatteryStats;
90 BatteryStats.HistoryItem item; in unconstrainedIteration()
93 assertThat(item.cmd).isEqualTo(BatteryStats.HistoryItem.CMD_RESET); in unconstrainedIteration()
97 BatteryStats.HistoryItem.CMD_UPDATE, BatteryStats.HistoryItem.EVENT_NONE, in unconstrainedIteration()
102 BatteryStats.HistoryItem.CMD_UPDATE, BatteryStats.HistoryItem.EVENT_NONE, in unconstrainedIteration()
107 BatteryStats.HistoryItem.CMD_UPDATE, in unconstrainedIteration()
108 BatteryStats.HistoryItem.EVENT_ALARM | BatteryStats.HistoryItem.EVENT_FLAG_START, in unconstrainedIteration()
113 BatteryStats.HistoryItem.CMD_UPDATE, in unconstrainedIteration()
114 BatteryStats.HistoryItem.EVENT_ALARM | BatteryStats.HistoryItem.EVENT_FLAG_FINISH, in unconstrainedIteration()
156 BatteryStats.HistoryItem item = iterator.next(); in assertIncludedEvents()
[all …]
DBatteryStatsSensorTest.java24 import android.os.BatteryStats;
71 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
73 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
76 assertEquals(2, sensorTimer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop()
78 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop()
80 assertEquals(1, sensorBgTimer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop()
82 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop()
102 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery()
105 sensorTimer.getTotalTimeLocked(curr, BatteryStats.STATS_SINCE_CHARGED)); in testCountingWhileOffBattery()
106 assertEquals(0, sensorTimer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCountingWhileOffBattery()
[all …]
DBatteryStatsCounterTest.java19 import android.os.BatteryStats;
46 assertEquals(0, counter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCounter()
54 assertEquals(4, counter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCounter()
61 assertEquals(4, counter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCounter()
67 assertEquals(6, counter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCounter()
82 assertEquals(3, origCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testParceling()
94 assertEquals(4, summaryCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testParceling()
99 assertEquals(4, summaryCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testParceling()
104 assertEquals(6, summaryCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testParceling()
116 assertEquals(7, fullParcelCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testParceling()
[all …]
DBatteryStatsImplTest.java19 import static android.os.BatteryStats.Uid.NUM_PROCESS_STATE;
20 import static android.os.BatteryStats.Uid.PROCESS_STATE_BACKGROUND;
21 import static android.os.BatteryStats.Uid.PROCESS_STATE_CACHED;
22 import static android.os.BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE;
23 import static android.os.BatteryStats.Uid.PROCESS_STATE_TOP;
48 import android.os.BatteryStats;
190 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStatsLocked(testUids[i]); in testUpdateProcStateCpuTimes()
215 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
249 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
290 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java19 import android.os.BatteryStats;
20 import static android.os.BatteryStats.STATS_SINCE_CHARGED;
50 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) { in writeUid()
52 BatteryStats.Timer timer; in writeUid()
53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; in writeUid()
54 SparseArray<? extends BatteryStats.Uid.Pid> pids; in writeUid()
55 BatteryStats.ControllerActivityCounter controller; in writeUid()
85 for (final Map.Entry<String,? extends BatteryStats.Uid.Wakelock> entry: in writeUid()
88 final BatteryStats.Uid.Wakelock wakelock = entry.getValue(); in writeUid()
91 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_FULL); in writeUid()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DSensorPowerCalculator.java21 import android.os.BatteryStats;
47 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
67 private double calculateApp(UidBatteryConsumer.Builder app, BatteryStats.Uid u, in calculateApp()
70 BatteryStats.STATS_SINCE_CHARGED); in calculateApp()
72 calculateDuration(u, rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED)) in calculateApp()
77 private long calculateDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculateDuration()
79 final SparseArray<? extends BatteryStats.Uid.Sensor> sensorStats = u.getSensorStats(); in calculateDuration()
83 if (sensorHandle == BatteryStats.Uid.Sensor.GPS) { in calculateDuration()
87 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise); in calculateDuration()
88 final BatteryStats.Timer timer = sensor.getSensorTime(); in calculateDuration()
[all …]
DWakelockPowerCalculator.java19 import android.os.BatteryStats;
51 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
64 BatteryStats.STATS_SINCE_CHARGED); in calculate()
83 BatteryStats.STATS_SINCE_CHARGED, osPowerMah, osDurationMs, totalAppDurationMs); in calculate()
109 private void calculateApp(PowerAndDuration result, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
112 final ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> wakelockStats = in calculateApp()
116 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i); in calculateApp()
120 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); in calculateApp()
131 + " power=" + BatteryStats.formatCharge(result.powerMah)); in calculateApp()
135 private void calculateRemaining(PowerAndDuration result, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
[all …]
DScreenPowerCalculator.java23 import android.os.BatteryStats;
72 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
79 rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED, consumptionUC); in calculate()
131 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateTotalDurationAndPower()
148 BatteryStats.Uid u, long rawRealtimeUs) { in calculateAppUsingEnergyConsumption()
161 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
165 private double calculateTotalPowerFromBrightness(BatteryStats batteryStats, in calculateTotalPowerFromBrightness()
173 for (int bin = 0; bin < BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; bin++) { in calculateTotalPowerFromBrightness()
177 brightnessTime) * (bin + 0.5f) / BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; in calculateTotalPowerFromBrightness()
180 + " power=" + BatteryStats.formatCharge(binPowerMah)); in calculateTotalPowerFromBrightness()
[all …]
DGnssPowerCalculator.java20 import android.os.BatteryStats;
51 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
55 BatteryStats.STATS_SINCE_CHARGED); in calculate()
86 private double calculateApp(UidBatteryConsumer.Builder app, BatteryStats.Uid u, in calculateApp()
89 final long durationMs = computeDuration(u, rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED); in calculateApp()
105 private long computeDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in computeDuration()
106 final SparseArray<? extends BatteryStats.Uid.Sensor> sensorStats = u.getSensorStats(); in computeDuration()
107 final BatteryStats.Uid.Sensor sensor = sensorStats.get(BatteryStats.Uid.Sensor.GPS); in computeDuration()
112 final BatteryStats.Timer timer = sensor.getSensorTime(); in computeDuration()
120 private double getAverageGnssPower(BatteryStats stats, long rawRealtimeUs, int statsType) { in getAverageGnssPower()
DMemoryPowerCalculator.java20 import android.os.BatteryStats;
46 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
49 BatteryStats.STATS_SINCE_CHARGED); in calculate()
51 BatteryStats.STATS_SINCE_CHARGED); in calculate()
58 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
60 LongSparseArray<? extends BatteryStats.Timer> timers = batteryStats.getKernelMemoryStats(); in calculateDuration()
68 private double calculatePower(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculatePower()
70 LongSparseArray<? extends BatteryStats.Timer> timers = batteryStats.getKernelMemoryStats(); in calculatePower()
DWifiPowerCalculator.java19 import android.os.BatteryStats;
89 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
114 rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED, in calculate()
144 BatteryStats.STATS_SINCE_CHARGED, batteryStats.hasWifiActivityReporting(), in calculate()
160 BatteryStats.Uid u, @BatteryConsumer.PowerModel int powerModel, in calculateApp()
165 BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp()
168 BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp()
171 BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp()
174 BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp()
178 final BatteryStats.ControllerActivityCounter counter = u.getWifiControllerActivity(); in calculateApp()
[all …]
DMobileRadioPowerCalculator.java20 import android.os.BatteryStats;
126 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
154 final BatteryStats.Uid uid = app.getBatteryStatsUid(); in calculate()
165 BatteryStats.STATS_SINCE_CHARGED); in calculate()
175 if (appConsumptionUC != BatteryStats.POWER_DATA_UNAVAILABLE) { in calculate()
205 BatteryStats.STATS_SINCE_CHARGED) / 1000; in calculate()
234 final BatteryStats.Uid uid = app.getBatteryStatsUid(); in calculate()
273 final BatteryStats.ControllerActivityCounter modemActivity = in calculate()
278 BatteryStats.STATS_SINCE_CHARGED); in calculate()
280 BatteryStats.STATS_SINCE_CHARGED); in calculate()
[all …]
DPowerStatsAggregator.java18 import android.os.BatteryStats;
83 BatteryStats.HistoryItem item = iterator.next(); in aggregatePowerStats()
91 } else if (item.cmd == BatteryStats.HistoryItem.CMD_CURRENT_TIME in aggregatePowerStats()
92 || item.cmd == BatteryStats.HistoryItem.CMD_RESET) { in aggregatePowerStats()
99 (item.states & BatteryStats.HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0 in aggregatePowerStats()
109 (item.states & BatteryStats.HistoryItem.STATE_SCREEN_ON_FLAG) != 0 in aggregatePowerStats()
119 & BatteryStats.HistoryItem.IMPORTANT_FOR_POWER_STATS_STATES) in aggregatePowerStats()
122 & BatteryStats.HistoryItem.IMPORTANT_FOR_POWER_STATS_STATES2) in aggregatePowerStats()
126 & BatteryStats.HistoryItem.IMPORTANT_FOR_POWER_STATS_STATES; in aggregatePowerStats()
128 & BatteryStats.HistoryItem.IMPORTANT_FOR_POWER_STATS_STATES2; in aggregatePowerStats()
DIdlePowerCalculator.java20 import android.os.BatteryStats;
53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
56 BatteryStats.STATS_SINCE_CHARGED); in calculate()
70 private void calculatePowerAndDuration(BatteryStats batteryStats, long rawRealtimeUs, in calculatePowerAndDuration()
84 + " power=" + BatteryStats.formatCharge(suspendPowerMah)); in calculatePowerAndDuration()
86 + " power=" + BatteryStats.formatCharge(idlePowerMah)); in calculatePowerAndDuration()
DSystemServicePowerCalculator.java20 import android.os.BatteryStats;
66 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
68 final BatteryStats.Uid systemUid = batteryStats.getUidStats().get(Process.SYSTEM_UID); in calculate()
103 final BatteryStats.Uid uid = app.getBatteryStatsUid(); in calculate()
120 private double calculatePowerUsingEnergyConsumption(BatteryStats batteryStats, in calculatePowerUsingEnergyConsumption()
121 BatteryStats.Uid systemUid, long consumptionUC) { in calculatePowerUsingEnergyConsumption()
128 systemUid, BatteryStats.STATS_SINCE_CHARGED); in calculatePowerUsingEnergyConsumption()
137 private double calculatePowerUsingPowerProfile(BatteryStats batteryStats) { in calculatePowerUsingPowerProfile()
DAmbientDisplayPowerCalculator.java22 import android.os.BatteryStats;
53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
58 BatteryStats.STATS_SINCE_CHARGED); in calculate()
68 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
73 BatteryStats batteryStats, long rawRealtimeUs, long consumptionUC) { in calculateTotalPower()
83 private double calculateEstimatedPower(BatteryStats batteryStats, long rawRealtimeUs) { in calculateEstimatedPower()
DBatteryUsageStatsProvider.java22 import android.os.BatteryStats;
81 if (!BatteryStats.checkWifiOnly(mContext)) { in getPowerCalculators()
204 SparseArray<? extends BatteryStats.Uid> uidStats = stats.getUidStats(); in getCurrentBatteryUsageStats()
206 final BatteryStats.Uid uid = uidStats.valueAt(i); in getCurrentBatteryUsageStats()
300 private long getProcessForegroundTimeMs(BatteryStats.Uid uid, long realtimeUs) { in getProcessForegroundTimeMs()
301 final long topStateDurationUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_TOP, in getProcessForegroundTimeMs()
302 realtimeUs, BatteryStats.STATS_SINCE_CHARGED); in getProcessForegroundTimeMs()
304 final BatteryStats.Timer foregroundActivityTimer = uid.getForegroundActivityTimer(); in getProcessForegroundTimeMs()
307 BatteryStats.STATS_SINCE_CHARGED); in getProcessForegroundTimeMs()
315 BatteryStats.Uid.PROCESS_STATE_FOREGROUND, realtimeUs, in getProcessForegroundTimeMs()
[all …]
DBluetoothPowerCalculator.java20 import android.os.BatteryStats;
21 import android.os.BatteryStats.ControllerActivityCounter;
71 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
108 + " power=" + BatteryStats.formatCharge(powerAndDuration.powerMah)); in calculate()
164 private void calculatePowerAndDuration(@Nullable BatteryStats.Uid uid, in calculatePowerAndDuration()
177 final BatteryStats.LongCounter idleTimeCounter = counter.getIdleTimeCounter(); in calculatePowerAndDuration()
178 final BatteryStats.LongCounter rxTimeCounter = counter.getRxTimeCounter(); in calculatePowerAndDuration()
179 final BatteryStats.LongCounter txTimeCounter = counter.getTxTimeCounters()[0]; in calculatePowerAndDuration()
180 final long idleTimeMs = idleTimeCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED); in calculatePowerAndDuration()
181 final long rxTimeMs = rxTimeCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED); in calculatePowerAndDuration()
[all …]
DPowerCalculator.java20 import android.os.BatteryStats;
53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
71 protected void calculateApp(UidBatteryConsumer.Builder app, BatteryStats.Uid u, in calculateApp()
83 if (consumedEnergyUC != BatteryStats.POWER_DATA_UNAVAILABLE in getPowerModel()
91 return consumedEnergyUC != BatteryStats.POWER_DATA_UNAVAILABLE in getPowerModel()
DBatteryChargeCalculator.java20 import android.os.BatteryStats;
36 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
39 batteryStats.getDischargeAmount(BatteryStats.STATS_SINCE_CHARGED)); in calculate()
55 batteryStats.getDischargeAmount(BatteryStats.STATS_SINCE_CHARGED)) in calculate()
70 long dischargeMah = batteryStats.getUahDischarge(BatteryStats.STATS_SINCE_CHARGED) / 1000; in calculate()
DCpuPowerCalculator.java19 import android.os.BatteryStats;
103 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
142 private void calculateApp(UidBatteryConsumer.Builder app, BatteryStats.Uid u, in calculateApp()
146 calculatePowerAndDuration(u, powerModel, consumptionUC, BatteryStats.STATS_SINCE_CHARGED, in calculateApp()
166 BatteryStats.Uid u, BatteryConsumer.Key[] keys) { in calculateEnergyConsumptionPerProcessState()
185 BatteryStats.Uid u, BatteryConsumer.Key[] keys, Result result) { in calculateModeledPowerPerProcessState()
192 for (int uidProcState = 0; uidProcState < BatteryStats.Uid.NUM_PROCESS_STATE; in calculateModeledPowerPerProcessState()
195 BatteryStats.mapUidProcessStateToBatteryConsumerProcessState(uidProcState); in calculateModeledPowerPerProcessState()
224 private void calculatePowerAndDuration(BatteryStats.Uid u, in calculatePowerAndDuration()
242 + BatteryStats.formatCharge(powerMah)); in calculatePowerAndDuration()
[all …]
DFlashlightPowerCalculator.java19 import android.os.BatteryStats;
45 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
50 BatteryStats.STATS_SINCE_CHARGED) / 1000; in calculate()
63 protected void calculateApp(UidBatteryConsumer.Builder app, BatteryStats.Uid u, in calculateApp()
66 rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED); in calculateApp()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistoryIterator.java21 import android.os.BatteryStats;
32 public class BatteryStatsHistoryIterator implements Iterator<BatteryStats.HistoryItem>,
39 private final BatteryStats.HistoryStepDetails mReadHistoryStepDetails =
40 new BatteryStats.HistoryStepDetails();
41 private final SparseArray<BatteryStats.HistoryTag> mHistoryTags = new SparseArray<>();
44 private BatteryStats.HistoryItem mHistoryItem = new BatteryStats.HistoryItem();
71 public BatteryStats.HistoryItem next() { in next()
99 if (mHistoryItem.cmd != BatteryStats.HistoryItem.CMD_CURRENT_TIME in advance()
100 && mHistoryItem.cmd != BatteryStats.HistoryItem.CMD_RESET in advance()
119 private void readHistoryDelta(Parcel src, BatteryStats.HistoryItem cur) { in readHistoryDelta()
[all …]

12345