Lines Matching refs:format

83     public static void d(String prefix, String format, Object... args) {  in d()  argument
86 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d()
88 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d()
92 public static void d(Object objectPrefix, String format, Object... args) { in d() argument
95 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
97 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
102 public static void i(String prefix, String format, Object... args) { in i() argument
104 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i()
108 public static void i(Object objectPrefix, String format, Object... args) { in i() argument
110 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i()
114 public static void v(String prefix, String format, Object... args) { in v() argument
117 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in v()
119 android.util.Slog.v(TAG, buildMessage(prefix, format, args)); in v()
123 public static void v(Object objectPrefix, String format, Object... args) { in v() argument
126 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
128 android.util.Slog.v(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
133 public static void w(String prefix, String format, Object... args) { in w() argument
135 android.util.Slog.w(TAG, buildMessage(prefix, format, args)); in w()
139 public static void w(Object objectPrefix, String format, Object... args) { in w() argument
141 android.util.Slog.w(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in w()
145 public static void e(String prefix, Throwable tr, String format, Object... args) { in e() argument
147 android.util.Slog.e(TAG, buildMessage(prefix, format, args), tr); in e()
151 public static void e(Object objectPrefix, Throwable tr, String format, Object... args) { in e() argument
153 android.util.Slog.e(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args), in e()
158 public static void wtf(String prefix, Throwable tr, String format, Object... args) { in wtf() argument
159 android.util.Slog.wtf(TAG, buildMessage(prefix, format, args), tr); in wtf()
162 public static void wtf(Object objectPrefix, Throwable tr, String format, Object... args) { in wtf() argument
163 android.util.Slog.wtf(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args), in wtf()
167 public static void wtf(String prefix, String format, Object... args) { in wtf() argument
168 String msg = buildMessage(prefix, format, args); in wtf()
172 public static void wtf(Object objectPrefix, String format, Object... args) { in wtf() argument
173 String msg = buildMessage(getPrefixFromObject(objectPrefix), format, args); in wtf()
251 public static void addEvent(EventManager.Loggable recordEntry, String event, String format, in addEvent() argument
253 getEventManager().event(recordEntry, event, format, args); in addEvent()
468 private static String buildMessage(String prefix, String format, Object... args) { in buildMessage() argument
475 msg = (args == null || args.length == 0) ? format in buildMessage()
476 : String.format(Locale.US, format, args); in buildMessage()
478 e(TAG, ife, "Log: IllegalFormatException: formatString='%s' numArgs=%d", format, in buildMessage()
480 msg = format + " (An error occurred while formatting the message.)"; in buildMessage()
482 return String.format(Locale.US, "%s: %s%s", prefix, msg, sessionPostfix); in buildMessage()