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.java197 final HistoryEventTracker mActiveEvents = new HistoryEventTracker(); field in BatteryStatsImpl
2500 if (!mActiveEvents.updateState(code, name, uid, 0)) { in noteEventLocked()
2536 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_START, name, uid, 0)) { in noteProcessStartLocked()
2571 if (!mActiveEvents.updateState(HistoryItem.EVENT_PROC_FINISH, name, uid, 0)) { in noteProcessFinishLocked()
2589 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_START, name, uid, 0)) { in noteSyncStartLocked()
2600 if (!mActiveEvents.updateState(HistoryItem.EVENT_SYNC_FINISH, name, uid, 0)) { in noteSyncFinishLocked()
2611 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_START, name, uid, 0)) { in noteJobStartLocked()
2622 if (!mActiveEvents.updateState(HistoryItem.EVENT_JOB_FINISH, name, uid, 0)) { in noteJobFinishLocked()
2639 mActiveEvents.removeEvents(HistoryItem.EVENT_WAKE_LOCK); in setRecordAllHistoryLocked()
2642 HashMap<String, SparseIntArray> active = mActiveEvents.getStateForEvent( in setRecordAllHistoryLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java943 private final HashMap<String, SparseIntArray>[] mActiveEvents field in BatteryStats.HistoryEventTracker
949 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
952 mActiveEvents[idx] = active; in updateState()
966 HashMap<String, SparseIntArray> active = mActiveEvents[idx]; in updateState()
991 mActiveEvents[idx] = null; in removeEvents()
995 return mActiveEvents[code]; in getStateForEvent()