Home
last modified time | relevance | path

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

/frameworks/libs/modules-utils/java/com/android/internal/util/
DPreconditions.java79 final @CompileTimeConstant @NonNull String messageTemplate, in checkArgument() argument
82 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkArgument()
131 final @NonNull @CompileTimeConstant String messageTemplate, in checkStringNotEmpty() argument
134 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkStringNotEmpty()
190 final @NonNull @CompileTimeConstant String messageTemplate, in checkNotNull() argument
193 throw new NullPointerException(String.format(messageTemplate, messageArgs)); in checkNotNull()
238 final @NonNull @CompileTimeConstant String messageTemplate, in checkState() argument
241 throw new IllegalStateException(String.format(messageTemplate, messageArgs)); in checkState()
284 final @NonNull @CompileTimeConstant String messageTemplate, in checkCallAuthorization() argument
287 throw new SecurityException(String.format(messageTemplate, messageArgs)); in checkCallAuthorization()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlValidator.java101 String messageTemplate, Object... messageArgs) throws XmlSerializerException { in checkSerializerCondition() argument
103 throw new XmlSerializerException(TextUtils.formatSimple(messageTemplate, messageArgs)); in checkSerializerCondition()
113 String messageTemplate, Object... messageArgs) throws XmlParserException { in checkParserCondition() argument
115 throw new XmlParserException(TextUtils.formatSimple(messageTemplate, messageArgs)); in checkParserCondition()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java62 final String messageTemplate, in checkArgument() argument
65 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkArgument()
146 final String messageTemplate, in checkNotNull() argument
149 throw new NullPointerException(String.format(messageTemplate, messageArgs)); in checkNotNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/message/
DProfileMessageController.kt81 view.context.getString(messageTemplate(data.profileType), data.labeledIcon.label) in <lambda>()
88 private fun messageTemplate(profile: FirstRunProfile): Int { in <lambda>() method in com.android.systemui.screenshot.message.ProfileMessageController
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DAbstractExtendedMockitoRule.java406 private static void checkState(boolean expression, String messageTemplate,
409 throw new IllegalStateException(String.format(messageTemplate, messageArgs));
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java739 final T reference, final String messageTemplate, final Object... messageArgs) { in checkNotNull() argument
740 return Objects.requireNonNull(reference, String.format(messageTemplate, messageArgs)); in checkNotNull()