Home | History | Annotate | Download | only in hdmi

Lines Matching refs:logMessage

51     // Value (Pair(Long, Integer)): a pair of last log time millis and the number of logMessage.
60 static final void warning(String logMessage, Object... objs) {
61 getLogger().warningInternal(toLogString(logMessage, objs));
64 private void warningInternal(String logMessage) {
65 String log = updateLog(mWarningTimingCache, logMessage);
71 static final void error(String logMessage, Object... objs) {
72 getLogger().errorInternal(toLogString(logMessage, objs));
75 private void errorInternal(String logMessage) {
76 String log = updateLog(mErrorTimingCache, logMessage);
82 static final void debug(String logMessage, Object... objs) {
83 getLogger().debugInternal(toLogString(logMessage, objs));
86 private void debugInternal(String logMessage) {
88 Slog.d(TAG, logMessage);
92 private static final String toLogString(String logMessage, Object[] objs) {
94 return String.format(logMessage, objs);
96 return logMessage;
109 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) {
111 Pair<Long, Integer> timing = cache.get(logMessage);
113 String log = buildMessage(logMessage, timing);
114 cache.put(logMessage, new Pair<>(curTime, 1));
117 increaseLogCount(cache, logMessage);