Home
last modified time | relevance | path

Searched refs:getErrorMessage (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListTester.java86 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); in testContextMenus()
104 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); in testContextMenus()
116 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); in testContextMenus()
131 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); in testContextMenus()
DPositionTesterContextMenuListener.java108 public String getErrorMessage() { in getErrorMessage() method in PositionTesterContextMenuListener
/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/
DAppSearchExceptionCtsTest.java35 assertThat(result.getErrorMessage()).isNull(); in testNoMessageException()
46 assertThat(result.getErrorMessage()).isEqualTo("ERROR!"); in testExceptionWithMessage()
61 assertThat(result.getErrorMessage()).isEqualTo("ERROR!"); in testExceptionWithThrowable()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/
DHotwordDetectionServiceFailureTest.java60 assertThat(hotwordDetectionServiceFailure.getErrorMessage()).isEqualTo(TEST_ERROR_MESSAGE); in testHotwordDetectionServiceFailure_getErrorMessage()
87 assertThat(hotwordDetectionServiceFailure.getErrorMessage()).isEqualTo( in testHotwordDetectionServiceFailureParcelizeDeparcelize()
88 targetHotwordDetectionServiceFailure.getErrorMessage()); in testHotwordDetectionServiceFailureParcelizeDeparcelize()
DSoundTriggerFailureTest.java59 assertThat(soundTriggerFailure.getErrorMessage()).isEqualTo(TEST_ERROR_MESSAGE); in testSoundTriggerFailure_getErrorMessage()
86 assertThat(soundTriggerFailure.getErrorMessage()).isEqualTo( in testSoundTriggerFailureParcelizeDeparcelize()
87 targetSoundTriggerFailure.getErrorMessage()); in testSoundTriggerFailureParcelizeDeparcelize()
DVisualQueryDetectionServiceFailureTest.java60 assertThat(visualQueryDetectionServiceFailure.getErrorMessage()).isEqualTo( in testVisualQueryDetectionServiceFailure_getErrorMessage()
88 assertThat(visualQueryDetectionServiceFailure.getErrorMessage()).isEqualTo( in testVisualQueryDetectionServiceFailureParcelizeDeparcelize()
89 targetVisualQueryDetectionServiceFailure.getErrorMessage()); in testVisualQueryDetectionServiceFailureParcelizeDeparcelize()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20004/test-app/src/android/security/cts/CVE_2022_20004_test/
DDeviceTest.java74 assumeTrue(status.getErrorMessage(), in testCVE_2022_20004()
76 assertNotEquals(status.getErrorMessage(), status.getStatusCode(), in testCVE_2022_20004()
96 public String getErrorMessage() { in getErrorMessage() method in DeviceTest.PocStatus
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/
DDeviceTest.java65 assumeTrue(status.getErrorMessage(), status.getStatusCode() != context.getResources() in testMutablePendingIntent()
67 assertNotEquals(status.getErrorMessage(), status.getStatusCode(), in testMutablePendingIntent()
96 public String getErrorMessage() { in getErrorMessage() method in DeviceTest.PocStatus
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DResultHelperTest.java69 resultDataCaptor.getValue()).getErrorMessage()).isEqualTo("msg"); in sendUiFailure()
84 resultDataCaptor.getValue()).getErrorMessage()).isNull(); in sendFailure_nullMessage()
100 resultDataCaptor.getValue()).getErrorMessage()).isEqualTo("error"); in sendUserCancelFailure()
116 resultDataCaptor.getValue()).getErrorMessage()).isEqualTo("error msg"); in sendCancelAndLaunchSettingsFailure()
DFailureResultTest.java53 assertThat(obj.getErrorMessage()).isEqualTo(expectedErrorMessage); in construction_success()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPollingCheck.java57 protected String getErrorMessage() { in getErrorMessage() method in PollingCheck
81 Assert.assertTrue(getErrorMessage(), check()); in run()
158 protected String getErrorMessage() { in waitFor() method
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DPocStatus.java32 public String getErrorMessage() { in getErrorMessage() method in PocStatus
DDeviceTest.java143 result.getErrorMessage(), in testOverlayButtonPresence()
178 result.getErrorMessage(), in testOverlayButtonPresence()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DEnterpriseGlobalSearchSessionShimImpl.java78 instance.getErrorMessage())); in createEnterpriseGlobalSearchSessionAsync()
134 throw new AppSearchException(result.getResultCode(), result.getErrorMessage());
DSearchResultsShimImpl.java66 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
DGlobalSearchSessionShimImpl.java157 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
DAppSearchSessionShimImpl.java227 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DPlaybackStateTest.java73 assertNull(state.getErrorMessage()); in testBuilder()
106 assertEquals(TEST_ERROR_MSG, state.getErrorMessage().toString()); in testBuilder_setterMethods()
214 assertEquals(TEST_ERROR_MSG, stateOut.getErrorMessage()); in testWriteToParcel()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchResultCtsTest.java32 assertThat(result.getErrorMessage()).isNull(); in testNewSuccessfulResult()
/cts/tests/tests/content/src/android/content/cts/
DActivityRequireContentUriPermissionFromCallerTest.java399 String errorMsg = getErrorMessage(modeFlags, assertThrows, attributeActivity.mIsOr); in internalTest_startActivity()
423 private static String getErrorMessage(ModeFlags modeFlags, boolean assertThrows, boolean isOr) { in getErrorMessage() method in ActivityRequireContentUriPermissionFromCallerTest
540 errorMsg = getErrorMessage(modeFlags, assertThrows, testedAttributeActivity.mIsOr); in onStart()
/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogManagerTest.java258 mResourceOveruseStatsPollingCheckCondition::getErrorMessage); in testGetResourceOveruseStats()
350 mResourceOveruseStatsForUserPackagePollingCheckCondition::getErrorMessage); in testGetResourceOveruseStatsForUserPackage()
965 public String getErrorMessage() { in getErrorMessage() method in CarWatchdogManagerTest.ResourceOveruseStatsPollingCheckCondition
1006 public String getErrorMessage() { in getErrorMessage() method in CarWatchdogManagerTest.ResourceOveruseStatsForUserPackagePollingCheckCondition
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/
DAppFunctionManagerCtsTest.java184 assertThat(response.getErrorMessage()).endsWith( in executeAppFunction_otherNonExistingOtherPackage()
203 assertThat(response.getErrorMessage()).endsWith( in executeAppFunction_otherExistingTargetPackage()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DEventsAssertor.java426 final String error = assertion.getErrorMessage(event); in assertNextEvent()
462 String getErrorMessage(@NonNull ContentCaptureEvent event); in getErrorMessage() method
DCtsContentCaptureService.java777 final String error = assertion.getErrorMessage(event); in assertNextEvent()
817 String getErrorMessage(@NonNull MyActivityEvent event); in getErrorMessage() method
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java173 String message = result.getFailure().getErrorMessage(); in testAdpfHintSession()

12