Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java24 import android.os.BatteryStats.HistoryItem;
310 HistoryItem item = new HistoryItem(); in testAlarmStartAndFinishLocked()
314 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked()
321 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked()
324 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked()
349 HistoryItem item = new HistoryItem(); in testAlarmStartAndFinishLocked_workSource()
353 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
358 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
361 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
366 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java697 final HistoryItem mHistoryLastWritten = new HistoryItem();
698 final HistoryItem mHistoryLastLastWritten = new HistoryItem();
699 final HistoryItem mHistoryReadTmp = new HistoryItem();
700 final HistoryItem mHistoryAddTmp = new HistoryItem();
716 final HistoryItem mHistoryCur = new HistoryItem();
718 HistoryItem mHistory;
719 HistoryItem mHistoryEnd;
720 HistoryItem mHistoryLastEnd;
721 HistoryItem mHistoryCache;
756 private HistoryItem mHistoryIterator;
[all …]
DBatteryStatsHistory.java255 public Parcel getNextParcel(BatteryStats.HistoryItem out) { in getNextParcel()
/frameworks/base/core/java/android/os/
DBatteryStats.java1596 public final static class HistoryItem implements Parcelable { class in BatteryStats
1598 public HistoryItem next;
1829 public HistoryItem() { in HistoryItem() method in BatteryStats.HistoryItem
1832 public HistoryItem(long time, Parcel src) { in HistoryItem() method in BatteryStats.HistoryItem
1942 public void setTo(HistoryItem o) { in setTo()
1949 public void setTo(long time, byte cmd, HistoryItem o) { in setTo()
1955 private void setToCommon(HistoryItem o) { in setToCommon()
1989 public boolean sameNonEvent(HistoryItem o) { in sameNonEvent()
2005 public boolean same(HistoryItem o) { in same()
2039 = (HashMap<String, SparseIntArray>[]) new HashMap[HistoryItem.EVENT_COUNT];
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java776 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH,
2179 BatteryStats.HistoryItem.EVENT_USER_RUNNING_START,
2194 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_FINISH,
2197 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START,
DBatteryExternalStatsWorker.java470 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS, in updateExternalStatsLocked()
DActivityManagerService.java9087 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, in systemReady()
9089 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START, in systemReady()
16790 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_FOREGROUND_START, in updateProcessForegroundLocked()
16797 BatteryStats.HistoryItem.EVENT_FOREGROUND_FINISH, in updateProcessForegroundLocked()
16838 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_FINISH, in getTopAppLocked()
16844 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_START, in getTopAppLocked()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java838 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE, in notifyBatteryStats()
841 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE, in notifyBatteryStats()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2557 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_START, in addPowerSaveTempWhitelistAppDirectInternal()
2645 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_FINISH, in onAppRemovedFromTempWhitelistLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48649 Landroid/os/BatteryStats$HistoryItem;-><init>(JLandroid/os/Parcel;)V
48650 Landroid/os/BatteryStats$HistoryItem;->batteryChargeUAh:I
48651 Landroid/os/BatteryStats$HistoryItem;->batteryTemperature:S
48652 Landroid/os/BatteryStats$HistoryItem;->CMD_CURRENT_TIME:B
48653 Landroid/os/BatteryStats$HistoryItem;->CMD_NULL:B
48654 Landroid/os/BatteryStats$HistoryItem;->CMD_OVERFLOW:B
48655 Landroid/os/BatteryStats$HistoryItem;->CMD_RESET:B
48656 Landroid/os/BatteryStats$HistoryItem;->CMD_SHUTDOWN:B
48657 Landroid/os/BatteryStats$HistoryItem;->CMD_START:B
48658 Landroid/os/BatteryStats$HistoryItem;->currentTime:J
[all …]
Dboot-image-profile.txt11153 HSPLandroid/os/BatteryStats$HistoryItem;-><init>()V
11154 HSPLandroid/os/BatteryStats$HistoryItem;->clear()V
11155 HSPLandroid/os/BatteryStats$HistoryItem;->readFromParcel(Landroid/os/Parcel;)V
11156 HSPLandroid/os/BatteryStats$HistoryItem;->setTo(JBLandroid/os/BatteryStats$HistoryItem;)V
11157 HSPLandroid/os/BatteryStats$HistoryItem;->setTo(Landroid/os/BatteryStats$HistoryItem;)V
11158 HSPLandroid/os/BatteryStats$HistoryItem;->setToCommon(Landroid/os/BatteryStats$HistoryItem;)V
11159 HSPLandroid/os/BatteryStats$HistoryItem;->writeToParcel(Landroid/os/Parcel;I)V
11161 HPLandroid/os/BatteryStats$HistoryPrinter;->printNextItem(Landroid/os/BatteryStats$HistoryItem;JZZ)…
11162 …tats$HistoryPrinter;->printNextItem(Ljava/io/PrintWriter;Landroid/os/BatteryStats$HistoryItem;JZZ)V
20467 …ternal/os/BatteryStatsHistory;->getNextParcel(Landroid/os/BatteryStats$HistoryItem;)Landroid/os/Pa…
[all …]
Dpreloaded-classes2718 android.os.BatteryStats$HistoryItem