Home | History | Annotate | Download | only in hdmi

Lines Matching refs:timing

110         Pair<Long, Integer> timing = cache.get(logMessage);
111 if (shouldLogNow(timing, curTime)) {
112 String log = buildMessage(logMessage, timing);
121 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) {
123 .append("[").append(timing == null ? 1 : timing.second).append("]:")
129 Pair<Long, Integer> timing = cache.get(message);
130 if (timing != null) {
131 cache.put(message, new Pair<>(timing.first, timing.second + 1));
135 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) {
136 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS;