/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsNoteTest.java | 24 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/ |
D | BatteryStatsImpl.java | 701 final HistoryItem mHistoryLastWritten = new HistoryItem(); 702 final HistoryItem mHistoryLastLastWritten = new HistoryItem(); 703 final HistoryItem mHistoryReadTmp = new HistoryItem(); 704 final HistoryItem mHistoryAddTmp = new HistoryItem(); 720 final HistoryItem mHistoryCur = new HistoryItem(); 722 HistoryItem mHistory; 723 HistoryItem mHistoryEnd; 724 HistoryItem mHistoryLastEnd; 725 HistoryItem mHistoryCache; 760 private HistoryItem mHistoryIterator; [all …]
|
D | BatteryStatsHistory.java | 256 public Parcel getNextParcel(BatteryStats.HistoryItem out) { in getNextParcel()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1606 public static final class HistoryItem { class in BatteryStats 1608 public HistoryItem next; 1839 public HistoryItem() { in HistoryItem() method in BatteryStats.HistoryItem 1842 public HistoryItem(Parcel src) { in HistoryItem() method in BatteryStats.HistoryItem 1947 public void setTo(HistoryItem o) { in setTo() 1954 public void setTo(long time, byte cmd, HistoryItem o) { in setTo() 1960 private void setToCommon(HistoryItem o) { in setToCommon() 1994 public boolean sameNonEvent(HistoryItem o) { in sameNonEvent() 2010 public boolean same(HistoryItem o) { in same() 2044 = (HashMap<String, SparseIntArray>[]) new HashMap[HistoryItem.EVENT_COUNT]; [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 481 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS, in updateExternalStatsLocked()
|
D | UserController.java | 957 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH, 2473 BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, 2507 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_FINISH, 2510 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START,
|
D | ActivityManagerService.java | 9644 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, in systemReady() 9646 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START, in systemReady() 17882 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_FOREGROUND_START, in updateProcessForegroundLocked() 17889 BatteryStats.HistoryItem.EVENT_FOREGROUND_FINISH, in updateProcessForegroundLocked() 17929 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_FINISH, in getTopAppLocked() 17935 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_START, in getTopAppLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 859 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE, in notifyBatteryStats() 862 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE, in notifyBatteryStats()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 2568 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_START, in addPowerSaveTempWhitelistAppDirectInternal() 2656 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_FINISH, in onAppRemovedFromTempWhitelistLocked()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14947 HSPLandroid/os/BatteryStats$HistoryItem;-><init>()V 14948 HSPLandroid/os/BatteryStats$HistoryItem;->clear()V 14949 HSPLandroid/os/BatteryStats$HistoryItem;->readFromParcel(Landroid/os/Parcel;)V 14950 HSPLandroid/os/BatteryStats$HistoryItem;->setTo(JBLandroid/os/BatteryStats$HistoryItem;)V 14951 HSPLandroid/os/BatteryStats$HistoryItem;->setTo(Landroid/os/BatteryStats$HistoryItem;)V 14952 HSPLandroid/os/BatteryStats$HistoryItem;->setToCommon(Landroid/os/BatteryStats$HistoryItem;)V 14953 HSPLandroid/os/BatteryStats$HistoryItem;->writeToParcel(Landroid/os/Parcel;I)V 14955 HPLandroid/os/BatteryStats$HistoryPrinter;->printNextItem(Landroid/os/BatteryStats$HistoryItem;JZZ)… 14956 …tats$HistoryPrinter;->printNextItem(Ljava/io/PrintWriter;Landroid/os/BatteryStats$HistoryItem;JZZ)V 28238 …ternal/os/BatteryStatsHistory;->getNextParcel(Landroid/os/BatteryStats$HistoryItem;)Landroid/os/Pa… [all …]
|
D | preloaded-classes | 4556 android.os.BatteryStats$HistoryItem
|