Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFadingEdgeTest.java151 assertEquals(data.errorMsg, in testFadingEdge()
153 assertEquals(data.errorMsg, in testFadingEdge()
193 final String errorMsg; field in TextViewFadingEdgeTest.TestCase
202 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument
205 this.errorMsg = errorMsg; in TestCase()
215 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() argument
217 this(errorMsg, text, horizontalFadingEnabled, gravity, textAlignment, false, in TestCase()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSessionRule.java65 final String errorMsg = MockImeSession.getUnavailabilityReason(mContext); in apply() field in MockImeSessionRule
66 if (errorMsg != null) { in apply()
67 Log.w(TAG, "Mock IME not available: " + errorMsg); in apply() argument
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java134 protected void appDomainContext(String contextRegex, String errorMsg) throws IOException { in appDomainContext() argument
138 String msg = errorMsg + context; in appDomainContext()
146 protected void appDataContext(String contextRegex, String errorMsg) throws Exception { in appDataContext() argument
151 String msg = errorMsg + context; in appDataContext()
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DBaseNetworkService.java59 static final void writeResult(Parcel out, String errorMsg, Throwable where) { in writeResult() argument
60 if (errorMsg != null) { in writeResult()
62 out.writeString(errorMsg); in writeResult()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDefaultFocusHighlightTest.java218 String errorMsg = "[" + drawableName + "] Testing no ColorStateList failed."; in testColorStateListHandledDrawable() local
220 assertFalse(errorMsg, drawable.hasFocusStateSpecified()); in testColorStateListHandledDrawable()
226 errorMsg = "[" + drawableName + "] Testing ColorStateList No." + i + " failed."; in testColorStateListHandledDrawable()
230 assertTrue(errorMsg, drawable.hasFocusStateSpecified()); in testColorStateListHandledDrawable()
232 assertFalse(errorMsg, drawable.hasFocusStateSpecified()); in testColorStateListHandledDrawable()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java487 String errorMsg = "Default Error Message"; in fillResultWithError() local
490 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); in fillResultWithError()
493 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg); in fillResultWithError()
515 String errorMsg = "Default Error Message"; in isCredentialsUpdateSuggested() local
517 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg); in isCredentialsUpdateSuggested()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java84 private final AtomicReference<String> errorMsg = new AtomicReference(null); field in VideoEncoderTest.VideoStorage
145 errorMsg.set("received codec error during decode" + e); in play()
165 assertNull(errorMsg.get(), errorMsg.get()); in play()
481 private final AtomicReference<String> errorMsg = new AtomicReference(null); field in VideoEncoderTest.VideoProcessor
504 while (!mCompleted && errorMsg.get() == null) { in processLoop()
555 assertNull(errorMsg.get(), errorMsg.get()); in processLoop()
651 errorMsg.set("received error on " + codecName + ": " + e); in onError()
706 private final AtomicReference<String> errorMsg = new AtomicReference(null); field in VideoEncoderTest.SurfaceVideoProcessor
734 while (!mCompleted && errorMsg.get() == null) { in processLoop()
802 assertNull(errorMsg.get(), errorMsg.get()); in processLoop()
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java397 String errorMsg = "Default Error Message"; in fillDefaultError() local
400 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); in fillDefaultError()
403 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg); in fillDefaultError()
/cts/tests/tests/jni/libjnitest/
Dmacroized_tests.c135 static jmethodID findStaticMethod(JNIEnv *env, char **errorMsg, in findStaticMethod() argument
141 *errorMsg = failure("could not find static test method %s:%s", in findStaticMethod()
151 static jmethodID findInstanceMethod(JNIEnv *env, char **errorMsg, in findInstanceMethod() argument
156 *errorMsg = failure("could not find instance test method %s:%s", in findInstanceMethod()
168 static jmethodID findAppropriateMethod(JNIEnv *env, char **errorMsg, in findAppropriateMethod() argument
172 return findStaticMethod(env, errorMsg, name, sig); in findAppropriateMethod()
174 return findInstanceMethod(env, errorMsg, name, sig); in findAppropriateMethod()
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java468 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument
474 mExecutedErrorMessage = errorMsg; in notifyExecution()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java463 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument
469 mExecutedErrorMessage = errorMsg; in notifyExecution()
/cts/tests/tests/os/src/android/os/cts/
DAutoRevokeTest.kt597 inline fun <T> T?.assertNotNull(errorMsg: () -> String): T { in assertNotNull()
598 return if (this == null) throw AssertionError(errorMsg()) else this in assertNotNull()