Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 8 of 8) 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/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java127 protected void appDomainContext(String contextRegex, String errorMsg) throws IOException { in appDomainContext() argument
131 String msg = errorMsg + context; in appDomainContext()
139 protected void appDataContext(String contextRegex, String errorMsg) throws Exception { in appDataContext() argument
144 String msg = errorMsg + context; in appDataContext()
/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/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/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/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java463 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument
469 mExecutedErrorMessage = errorMsg; in notifyExecution()
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java463 ArrayList<JobWorkItem> receivedWork, String errorMsg) { in notifyExecution() argument
469 mExecutedErrorMessage = errorMsg; in notifyExecution()