• Home
  • Raw
  • Download

Lines Matching refs:format

80     public static void d(String prefix, String format, Object... args) {  in d()  argument
83 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d()
85 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d()
89 public static void d(Object objectPrefix, String format, Object... args) { in d() argument
92 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
94 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
98 public static void i(String prefix, String format, Object... args) { in i() argument
100 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i()
104 public static void i(Object objectPrefix, String format, Object... args) { in i() argument
106 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i()
110 public static void v(String prefix, String format, Object... args) { in v() argument
113 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in v()
115 android.util.Slog.v(TAG, buildMessage(prefix, format, args)); in v()
119 public static void v(Object objectPrefix, String format, Object... args) { in v() argument
122 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
124 android.util.Slog.v(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
128 public static void w(String prefix, String format, Object... args) { in w() argument
130 android.util.Slog.w(TAG, buildMessage(prefix, format, args)); in w()
134 public static void w(Object objectPrefix, String format, Object... args) { in w() argument
136 android.util.Slog.w(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in w()
140 public static void e(String prefix, Throwable tr, String format, Object... args) { in e() argument
142 android.util.Slog.e(TAG, buildMessage(prefix, format, args), tr); in e()
146 public static void e(Object objectPrefix, Throwable tr, String format, Object... args) { in e() argument
148 android.util.Slog.e(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args), in e()
153 public static void wtf(String prefix, Throwable tr, String format, Object... args) { in wtf() argument
154 android.util.Slog.wtf(TAG, buildMessage(prefix, format, args), tr); in wtf()
157 public static void wtf(Object objectPrefix, Throwable tr, String format, Object... args) { in wtf() argument
158 android.util.Slog.wtf(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args), in wtf()
162 public static void wtf(String prefix, String format, Object... args) { in wtf() argument
163 String msg = buildMessage(prefix, format, args); in wtf()
167 public static void wtf(Object objectPrefix, String format, Object... args) { in wtf() argument
168 String msg = buildMessage(getPrefixFromObject(objectPrefix), format, args); in wtf()
246 public static void addEvent(EventManager.Loggable recordEntry, String event, String format, in addEvent() argument
248 getEventManager().event(recordEntry, event, format, args); in addEvent()
472 private static String buildMessage(String prefix, String format, Object... args) { in buildMessage() argument
479 msg = (args == null || args.length == 0) ? format in buildMessage()
480 : String.format(Locale.US, format, args); in buildMessage()
482 e(TAG, ife, "Log: IllegalFormatException: formatString='%s' numArgs=%d", format, in buildMessage()
484 msg = format + " (An error occurred while formatting the message.)"; in buildMessage()
486 return String.format(Locale.US, "%s: %s%s", prefix, msg, sessionPostfix); in buildMessage()