Home
last modified time | relevance | path

Searched refs:mEventTimes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java130 private final UptcMap<LongArrayQueue> mEventTimes = new UptcMap<>(); field in CountQuotaTracker
190 final LongArrayQueue times = mEventTimes in noteEvent()
278 mEventTimes.clear(); in dropEverythingLocked()
304 mEventTimes.delete(userId, packageName); in handleRemovedAppLocked()
311 mEventTimes.delete(userId); in handleRemovedUserLocked()
333 mEventTimes.forEach((userId, packageName, tag, events) -> { in maybeUpdateAllQuotaStatusLocked()
423 final LongArrayQueue events = mEventTimes.get(userId, packageName, tag); in updateExecutionStatsLocked()
522 mEventTimes.forEach(mEarliestEventTimeFunctor); in maybeScheduleCleanupAlarmLocked()
554 if (!mEventTimes.contains(userId, packageName)) { in maybeUpdateStatusForPkgLocked()
557 final ArrayMap<String, LongArrayQueue> events = mEventTimes.get(userId, packageName); in maybeUpdateStatusForPkgLocked()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobPackageTracker.java57 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; field in JobPackageTracker
67 mEventTimes[index] = sElapsedRealtimeClock.millis(); in addEvent()
595 TimeUtils.formatDuration(mEventTimes[index]-now, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in dumpHistory()
641 … proto.write(JobPackageHistoryProto.HistoryEvent.TIME_SINCE_EVENT_MS, now - mEventTimes[index]); in dumpHistory()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java570 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; field in DeviceIdleController
576 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
579 mEventTimes[0] = SystemClock.elapsedRealtime(); in addEvent()
4435 TimeUtils.formatDuration(mEventTimes[i], now, pw); in dump()