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.java25 import android.os.BatteryStats.HistoryItem;
311 HistoryItem item = new HistoryItem(); in testAlarmStartAndFinishLocked()
315 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked()
322 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked()
325 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked()
350 HistoryItem item = new HistoryItem(); in testAlarmStartAndFinishLocked_workSource()
354 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
359 assertEquals(HistoryItem.EVENT_NONE, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
362 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
367 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode); in testAlarmStartAndFinishLocked_workSource()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java655 final HistoryItem mHistoryLastWritten = new HistoryItem();
656 final HistoryItem mHistoryLastLastWritten = new HistoryItem();
657 final HistoryItem mHistoryReadTmp = new HistoryItem();
658 final HistoryItem mHistoryAddTmp = new HistoryItem();
673 final HistoryItem mHistoryCur = new HistoryItem();
675 HistoryItem mHistory;
676 HistoryItem mHistoryEnd;
677 HistoryItem mHistoryLastEnd;
678 HistoryItem mHistoryCache;
713 private HistoryItem mHistoryIterator;
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1489 public final static class HistoryItem implements Parcelable { class in BatteryStats
1490 public HistoryItem next;
1707 public HistoryItem() { in HistoryItem() method in BatteryStats.HistoryItem
1710 public HistoryItem(long time, Parcel src) { in HistoryItem() method in BatteryStats.HistoryItem
1812 public void setTo(HistoryItem o) { in setTo()
1818 public void setTo(long time, byte cmd, HistoryItem o) { in setTo()
1824 private void setToCommon(HistoryItem o) { in setToCommon()
1856 public boolean sameNonEvent(HistoryItem o) { in sameNonEvent()
1869 public boolean same(HistoryItem o) { in same()
1903 = (HashMap<String, SparseIntArray>[]) new HashMap[HistoryItem.EVENT_COUNT];
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java710 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH,
1988 BatteryStats.HistoryItem.EVENT_USER_RUNNING_START,
2003 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_FINISH,
2006 BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START,
DBatteryExternalStatsWorker.java447 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS, in updateExternalStatsLocked()
DActivityManagerService.java15239 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, in systemReady()
15241 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_FOREGROUND_START, in systemReady()
24834 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_FOREGROUND_START, in updateProcessForegroundLocked()
24841 BatteryStats.HistoryItem.EVENT_FOREGROUND_FINISH, in updateProcessForegroundLocked()
24870 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_FINISH, in resumedAppLocked()
24876 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_TOP_START, in resumedAppLocked()
/frameworks/base/config/
Dhiddenapi-vendor-list.txt317 Landroid/os/BatteryStats$HistoryItem;-><init>()V
318 Landroid/os/BatteryStats$HistoryItem;->batteryLevel:B
319 Landroid/os/BatteryStats$HistoryItem;->cmd:B
320 Landroid/os/BatteryStats$HistoryItem;->states:I
321 Landroid/os/BatteryStats$HistoryItem;->time:J
326 Landroid/os/BatteryStats;->getNextHistoryLocked(Landroid/os/BatteryStats$HistoryItem;)Z
Dhiddenapi-light-greylist.txt3844 Landroid/os/BatteryStats$HistoryItem;->batteryHealth:B
3845 Landroid/os/BatteryStats$HistoryItem;->batteryPlugType:B
3846 Landroid/os/BatteryStats$HistoryItem;->batteryStatus:B
3847 Landroid/os/BatteryStats$HistoryItem;->batteryVoltage:C
3848 Landroid/os/BatteryStats$HistoryItem;->clear()V
3849 Landroid/os/BatteryStats$HistoryItem;->CMD_UPDATE:B
3850 Landroid/os/BatteryStats$HistoryItem;->next:Landroid/os/BatteryStats$HistoryItem;
3851 Landroid/os/BatteryStats$HistoryItem;->same(Landroid/os/BatteryStats$HistoryItem;)Z
3852 Landroid/os/BatteryStats$HistoryItem;->setTo(JBLandroid/os/BatteryStats$HistoryItem;)V
3853 Landroid/os/BatteryStats$HistoryItem;->setTo(Landroid/os/BatteryStats$HistoryItem;)V
[all …]
Dboot-image-profile.txt4149 HPLandroid/os/BatteryStats$HistoryItem;->readFromParcel(Landroid/os/Parcel;)V
4151 HPLandroid/os/BatteryStats$HistoryPrinter;->printNextItem(Landroid/os/BatteryStats$HistoryItem;JZZ)…
4152 …tats$HistoryPrinter;->printNextItem(Ljava/io/PrintWriter;Landroid/os/BatteryStats$HistoryItem;JZZ)V
8960 …android/internal/os/BatteryStatsImpl;->getNextHistoryLocked(Landroid/os/BatteryStats$HistoryItem;)Z
9081 …l/os/BatteryStatsImpl;->readHistoryDelta(Landroid/os/Parcel;Landroid/os/BatteryStats$HistoryItem;)V
27003 HSPLandroid/os/BatteryStats$HistoryItem;-><init>()V
27004 HSPLandroid/os/BatteryStats$HistoryItem;->clear()V
27005 HSPLandroid/os/BatteryStats$HistoryItem;->setToCommon(Landroid/os/BatteryStats$HistoryItem;)V
27006 HSPLandroid/os/BatteryStats$HistoryItem;->writeToParcel(Landroid/os/Parcel;I)V
27183 HSPLandroid/os/BatteryStats;->getNextHistoryLocked(Landroid/os/BatteryStats$HistoryItem;)Z
[all …]
Dpreloaded-classes2404 android.os.BatteryStats$HistoryItem
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java795 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE, in notifyBatteryStats()
798 mInjector.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE, in notifyBatteryStats()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1869 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_START, in addPowerSaveTempWhitelistAppDirectInternal()
1957 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_TEMP_WHITELIST_FINISH, in onAppRemovedFromTempWhitelistLocked()