Home
last modified time | relevance | path

Searched refs:mActiveEvents (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java294 final HistoryEventTracker mActiveEvents = new HistoryEventTracker(); field in BatteryStatsImpl
3531 if (!mActiveEvents.updateState(code, name, uid, 0)) { in noteEventLocked()
3565 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_START, name, uid, 0)) { in noteProcessStartLocked()
3599 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_FINISH, name, uid, 0)) { in noteProcessFinishLocked()
3615 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_START, name, uid, 0)) { in noteSyncStartLocked()
3626 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_FINISH, name, uid, 0)) { in noteSyncFinishLocked()
3637 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_START, name, uid, 0)) { in noteJobStartLocked()
3648 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_FINISH, name, uid, 0)) { in noteJobFinishLocked()
3661 if (!mActiveEvents.updateState(HistoryItem.EVENT_ALARM_START, name, uid, 0)) { in noteAlarmStartLocked()
3674 if (!mActiveEvents.updateState(HistoryItem.EVENT_ALARM_FINISH, name, uid, 0)) { in noteAlarmFinishLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1684 private final HashMap<String, SparseIntArray>[] mActiveEvents field in BatteryStats.HistoryEventTracker
1690 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
1693 mActiveEvents[idx] = active; in updateState()
1707 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
1732 mActiveEvents[idx] = null; in removeEvents()
1736 return mActiveEvents[code]; in getStateForEvent()