Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp81 eraseByValue(mEventTimes, inputEventId); in trackListener()
107 mEventTimes.emplace(eventTime, inputEventId); in trackListener()
174 while (!mEventTimes.empty()) { in reportAndPruneMatureRecords()
175 const auto& [oldestEventTime, oldestInputEventId] = *mEventTimes.begin(); in reportAndPruneMatureRecords()
185 mEventTimes.erase(mEventTimes.begin()); in reportAndPruneMatureRecords()
196 StringPrintf("%s mEventTimes.size() = %zu\n", prefix, mEventTimes.size()); in dump()
DLatencyTracker.h81 std::multimap<nsecs_t /*eventTime*/, int32_t /*inputEventId*/> mEventTimes; variable
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java129 private final UptcMap<LongArrayQueue> mEventTimes = new UptcMap<>(); field in CountQuotaTracker
189 final LongArrayQueue times = mEventTimes in noteEvent()
277 mEventTimes.clear(); in dropEverythingLocked()
302 mEventTimes.delete(userId, packageName); in handleRemovedAppLocked()
309 mEventTimes.delete(userId); in handleRemovedUserLocked()
331 mEventTimes.forEach((userId, packageName, tag, events) -> { in maybeUpdateAllQuotaStatusLocked()
421 final LongArrayQueue events = mEventTimes.get(userId, packageName, tag); in updateExecutionStatsLocked()
520 mEventTimes.forEach(mEarliestEventTimeFunctor); in maybeScheduleCleanupAlarmLocked()
552 if (!mEventTimes.contains(userId, packageName)) { in maybeUpdateStatusForPkgLocked()
555 final ArrayMap<String, LongArrayQueue> events = mEventTimes.get(userId, packageName); in maybeUpdateStatusForPkgLocked()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobPackageTracker.java56 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; field in JobPackageTracker
66 mEventTimes[index] = sElapsedRealtimeClock.millis(); in addEvent()
609 TimeUtils.formatDuration(mEventTimes[index]-now, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in dumpHistory()
655 … proto.write(JobPackageHistoryProto.HistoryEvent.TIME_SINCE_EVENT_MS, now - mEventTimes[index]); in dumpHistory()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java653 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; field in DeviceIdleController
659 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
662 mEventTimes[0] = SystemClock.elapsedRealtime(); in addEvent()
5230 TimeUtils.formatDuration(mEventTimes[i], now, pw); in dump()