Home | History | Annotate | Download | only in hdmi

Lines Matching refs:timing

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