Home
last modified time | relevance | path

Searched refs:msgArgs (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DLogger.java44 public void wtf(@FormatString String msgFmt, @Nullable Object... msgArgs) { in wtf() argument
45 log(LogLevel.WTF, msgFmt, msgArgs); in wtf()
50 public void wtf(Throwable t, @FormatString String msgFmt, @Nullable Object... msgArgs) { in wtf() argument
51 log(LogLevel.WTF, t, msgFmt, msgArgs); in wtf()
56 public void e(@FormatString String msgFmt, @Nullable Object... msgArgs) { in e() argument
57 log(LogLevel.ERROR, msgFmt, msgArgs); in e()
62 public void e(Throwable t, @FormatString String msgFmt, @Nullable Object... msgArgs) { in e() argument
63 log(LogLevel.ERROR, t, msgFmt, msgArgs); in e()
68 public void w(@FormatString String msgFmt, @Nullable Object... msgArgs) { in w() argument
69 log(LogLevel.WARNING, msgFmt, msgArgs); in w()
[all …]
DDynamicLogger.java78 public void log(LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
79 mRealLogger.log(level, tag, msgFmt, msgArgs); in log()
89 Object... msgArgs) { in log() argument
90 mRealLogger.log(level, tag, throwable, msgFmt, msgArgs); in log()
204 LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
205 String msg = String.format(Locale.ENGLISH, msgFmt, msgArgs); in log()
237 Object... msgArgs) { in log() argument
238 String msg = String.format(Locale.ENGLISH, msgFmt, msgArgs); in log()
304 LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
305 log(level, tag, /* throwable= */ null, msgFmt, msgArgs); in log()
[all …]
DStandardStreamsLogger.java56 public void log(LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
57 String msg = String.format(msgFmt, msgArgs); in log()
69 Object... msgArgs) { in log() argument
70 String msg = String.format(msgFmt, msgArgs); in log()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeDurationPreferenceController.java62 Map<String, Object> msgArgs = new HashMap<>(); in getSummary() local
63 msgArgs.put("count", zenDuration / 60); in getSummary()
64 summary = msgFormat.format(msgArgs); in getSummary()
69 Map<String, Object> msgArgs = new HashMap<>(); in getSummary() local
70 msgArgs.put("count", zenDuration); in getSummary()
71 summary = msgFormat.format(msgArgs); in getSummary()
DZenModeSettings.java206 Map<String, Object> msgArgs = new HashMap<>(); in getSoundSummary() local
207 msgArgs.put("count", getEnabledAutomaticRulesCount()); in getSoundSummary()
208 return msgFormat.format(msgArgs); in getSoundSummary()
229 Map<String, Object> msgArgs = new HashMap<>(); in getAutomaticRulesSummary() local
230 msgArgs.put("count", getEnabledAutomaticRulesCount()); in getAutomaticRulesSummary()
231 return msgFormat.format(msgArgs); in getAutomaticRulesSummary()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/
DFakeLogger.java45 public void log(LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
46 addEntry(level, tag, /* throwable= */ null, msgFmt, msgArgs); in log()
56 Object... msgArgs) { in log() argument
57 addEntry(level, tag, throwable, msgFmt, msgArgs); in log()
76 @Nullable Object... msgArgs) { in addEntry() argument
77 String message = String.format(msgFmt, msgArgs); in addEntry()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DAbstractSyncCallback.java100 protected final void logE(@FormatString final String msgFmt, @Nullable Object... msgArgs) { in logE() argument
101 String msg = String.format(Locale.ENGLISH, msgFmt, msgArgs); in logE()
111 protected final void logD(@FormatString final String msgFmt, @Nullable Object... msgArgs) { in logD() argument
112 String msg = String.format(Locale.ENGLISH, msgFmt, msgArgs); in logD()
122 protected final void logV(@FormatString final String msgFmt, @Nullable Object... msgArgs) { in logV() argument
123 String msg = String.format(Locale.ENGLISH, msgFmt, msgArgs); in logV()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DAndroidLogger.java38 public void log(LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
39 String message = String.format(msgFmt, msgArgs); in log()
71 Object... msgArgs) { in log() argument
72 String message = String.format(msgFmt, msgArgs); in log()
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/
DConsoleLogger.java37 public void log(LogLevel level, String tag, @FormatString String msgFmt, Object... msgArgs) { in log() argument
38 String message = "[" + tag + "] " + String.format(msgFmt, msgArgs); in log()
70 Object... msgArgs) { in log() argument
71 String message = "[" + tag + "] " + String.format(msgFmt, msgArgs); in log()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DCountDownAnimationView.java136 Map<String, Object> msgArgs = new HashMap<>(); in setCountDownLeft() local
137 msgArgs.put("seconds_left", timeLeft.getSeconds()); in setCountDownLeft()
138 setContentDescription(msgFormat.format(msgArgs)); in setCountDownLeft()
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/
DDpcActivity.java167 public void showToast(String msgFormat, Object... msgArgs) { in showToast() argument
168 String text = String.format(msgFormat, msgArgs); in showToast()
172 public void showToast(Exception e, String msgFormat, Object... msgArgs) { in showToast() argument
173 String text = String.format(msgFormat, msgArgs); in showToast()
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallbackModeExitDialog.java313 Map<String, Object> msgArgs = new HashMap<>(); in getDialogText() local
314 msgArgs.put("count", minutes); in getDialogText()
319 R.string.alert_dialog_not_avaialble_in_ecm, time), msgArgs); in getDialogText()
328 time), msgArgs); in getDialogText()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/
DJobUtil.java94 public static void logV(@FormatString String msgFmt, @Nullable Object... msgArgs) { in logV() argument
97 UTC_CLOCK.instant(), String.format(Locale.ENGLISH, msgFmt, msgArgs)); in logV()