Home
last modified time | relevance | path

Searched refs:messageTemplate (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java105 boolean expression, @Nullable String messageTemplate, Object... args) { in checkArgument() argument
107 throw new IllegalArgumentException(format(messageTemplate, args)); in checkArgument()
132 boolean expression, @Nullable String messageTemplate, Object... args) { in checkState() argument
134 throw new IllegalStateException(format(messageTemplate, args)); in checkState()
161 @Nullable T reference, @Nullable String messageTemplate, Object... args) { in isNotNull() argument
163 throw new NullPointerException(format(messageTemplate, args)); in isNotNull()
184 public static void isMainThread(@Nullable String messageTemplate, Object... args) { in isMainThread() argument
188 checkState(Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isMainThread() local
207 public static void isWorkerThread(@Nullable String messageTemplate, Object... args) { in isWorkerThread() argument
211 checkState(!Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isWorkerThread()
[all …]
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/util/
DPreconditions.java44 boolean expression, @FormatString String messageTemplate, Object... messageArgs) { in checkState() argument
46 throw new IllegalStateException(String.format(messageTemplate, messageArgs)); in checkState()
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DPermissionsCheckerRule.java113 private void adoptShellPermissions(Set<String> permissionsSet, String messageTemplate) {
117 Log.d(TAG, String.format(messageTemplate, permissionsSet));