/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewFadingEdgeTest.java | 151 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/ |
D | MockImeSessionRule.java | 65 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/ |
D | SELinuxTargetSdkTestBase.java | 134 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/ |
D | BaseNetworkService.java | 59 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/ |
D | DefaultFocusHighlightTest.java | 218 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/ |
D | MockAccountAuthenticator.java | 487 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/ |
D | VideoEncoderTest.java | 84 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/ |
D | TestAccountAuthenticator.java | 397 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/ |
D | macroized_tests.c | 135 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/ |
D | MockJobService.java | 468 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument 474 mExecutedErrorMessage = errorMsg; in notifyExecution()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 463 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument 469 mExecutedErrorMessage = errorMsg; in notifyExecution()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AutoRevokeTest.kt | 597 inline fun <T> T?.assertNotNull(errorMsg: () -> String): T { in assertNotNull() 598 return if (this == null) throw AssertionError(errorMsg()) else this in assertNotNull()
|