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.java276 final HistoryEventTracker mActiveEvents = new HistoryEventTracker(); field in BatteryStatsImpl
2953 if (!mActiveEvents.updateState(code, name, uid, 0)) { in noteEventLocked()
2987 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_START, name, uid, 0)) { in noteProcessStartLocked()
3021 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_FINISH, name, uid, 0)) { in noteProcessFinishLocked()
3037 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_START, name, uid, 0)) { in noteSyncStartLocked()
3048 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_FINISH, name, uid, 0)) { in noteSyncFinishLocked()
3059 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_START, name, uid, 0)) { in noteJobStartLocked()
3070 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_FINISH, name, uid, 0)) { in noteJobFinishLocked()
3083 if (!mActiveEvents.updateState(HistoryItem.EVENT_ALARM_START, name, uid, 0)) { in noteAlarmStartLocked()
3096 if (!mActiveEvents.updateState(HistoryItem.EVENT_ALARM_FINISH, name, uid, 0)) { in noteAlarmFinishLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1529 private final HashMap<String, SparseIntArray>[] mActiveEvents field in BatteryStats.HistoryEventTracker
1535 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
1538 mActiveEvents[idx] = active; in updateState()
1552 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
1577 mActiveEvents[idx] = null; in removeEvents()
1581 return mActiveEvents[code]; in getStateForEvent()