Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DBatteryInfo.java24 import android.os.BatteryStats.HistoryItem;
62 public void onDataPoint(long time, HistoryItem record) { in bindHistory()
187 void onDataPoint(long time, HistoryItem record); in onDataPoint()
209 final HistoryItem rec = new HistoryItem(); in parse()
216 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse()
217 || rec.cmd == HistoryItem.CMD_RESET) { in parse()
256 final HistoryItem rec = new HistoryItem(); in parse()
270 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse()
271 || rec.cmd == HistoryItem.CMD_RESET) { in parse()
280 if (rec.cmd != HistoryItem.CMD_OVERFLOW in parse()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java304 final HistoryItem mHistoryLastWritten = new HistoryItem();
305 final HistoryItem mHistoryLastLastWritten = new HistoryItem();
306 final HistoryItem mHistoryReadTmp = new HistoryItem();
307 final HistoryItem mHistoryAddTmp = new HistoryItem();
322 final HistoryItem mHistoryCur = new HistoryItem();
324 HistoryItem mHistory;
325 HistoryItem mHistoryEnd;
326 HistoryItem mHistoryLastEnd;
327 HistoryItem mHistoryCache;
362 private HistoryItem mHistoryIterator;
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1277 public final static class HistoryItem implements Parcelable { class in BatteryStats
1278 public HistoryItem next;
1489 public HistoryItem() { in HistoryItem() method in BatteryStats.HistoryItem
1492 public HistoryItem(long time, Parcel src) { in HistoryItem() method in BatteryStats.HistoryItem
1594 public void setTo(HistoryItem o) { in setTo()
1600 public void setTo(long time, byte cmd, HistoryItem o) { in setTo()
1606 private void setToCommon(HistoryItem o) { in setToCommon()
1638 public boolean sameNonEvent(HistoryItem o) { in sameNonEvent()
1651 public boolean same(HistoryItem o) { in same()
1685 = (HashMap<String, SparseIntArray>[]) new HashMap[HistoryItem.EVENT_COUNT];
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java608 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE, in notifyBatteryStats()
611 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE, in notifyBatteryStats()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1726 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_START, in addPowerSaveTempWhitelistAppDirectInternal()
1783 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_FINISH, in checkTempAppWhitelistTimeout()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1557 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS, in updateExternalStatsSync()
DUserController.java627 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH,
DActivityManagerService.java2227 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, in handleMessage()
2247 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_FINISH, in handleMessage()
2250 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START, in handleMessage()
14132 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START,
14134 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START,
22314 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_FOREGROUND_START,
22321 BatteryStats.HistoryItem.EVENT_FOREGROUND_FINISH,
22350 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_FINISH,
22356 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_START,
/frameworks/base/services/
Dprofile-classes1979 Landroid/os/BatteryStats$HistoryItem;
/frameworks/base/
Dcompiled-classes-phone3140 android.os.BatteryStats$HistoryItem