Home
last modified time | relevance | path

Searched refs:expectedMessage (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java368 public boolean checkConsoleOutput(String expectedMessage) throws Exception { in checkConsoleOutput() argument
369 return checkConsoleOutput(expectedMessage, DEFAULT_TIMEOUT); in checkConsoleOutput()
373 public boolean checkConsoleOutput(String expectedMessage, in checkConsoleOutput() argument
376 return checkConsoleOutput(expectedMessage, timeoutMillis, mInputConsole); in checkConsoleOutput()
381 String expectedMessage, long timeoutMillis, BufferedReader inputConsole) in checkConsoleOutput() argument
389 if (line != null && line.toLowerCase().contains(expectedMessage.toLowerCase())) { in checkConsoleOutput()
390 CLog.v("Found " + expectedMessage + " in " + line); in checkConsoleOutput()
435 public List<LogicalAddress> getAllDestLogicalAddresses(CecOperand expectedMessage, int duration) in getAllDestLogicalAddresses() argument
437 return getAllDestLogicalAddresses(expectedMessage, "", duration); in getAllDestLogicalAddresses()
445 CecOperand expectedMessage, String params, int duration) throws Exception { in getAllDestLogicalAddresses() argument
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DFillEventHistoryTest.java78 final String expectedMessage = getWelcomeMessage("malkovich"); in testContextCommitted_whenServiceDidntDoAnything() local
80 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_whenServiceDidntDoAnything()
104 final String expectedMessage = getWelcomeMessage("malkovich"); in textContextCommitted_withoutDatasets() local
106 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in textContextCommitted_withoutDatasets()
154 final String expectedMessage = getWelcomeMessage("USERNAME"); in testContextCommitted_idlessDatasets() local
156 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasets()
207 final String expectedMessage = getWelcomeMessage("username1"); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() local
209 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
271 final String expectedMessage = getWelcomeMessage("username2"); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() local
273 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
[all …]
DLoginActivityTest.java282 final String expectedMessage = getWelcomeMessage("malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() local
284 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
983 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSave() local
985 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSave()
1087 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() local
1089 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSaveHidingOverlays()
1448 final String expectedMessage = getWelcomeMessage("malkovich"); in saveOnlyTest() local
1450 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveOnlyTest()
1509 final String expectedMessage = getWelcomeMessage("malkovich"); in saveGoesAway() local
1511 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveGoesAway()
[all …]
DLoginWithStringsActivityTest.java126 final String expectedMessage = getWelcomeMessage("dude");
128 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
DAuthenticationTest.java734 final String expectedMessage = getWelcomeMessage("malkovich"); in fillDatasetAuthWithClientState() local
736 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillDatasetAuthWithClientState()
1024 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthServiceHasNoDataTest() local
1026 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthServiceHasNoDataTest()
1119 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthWithClientState() local
1121 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthWithClientState()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DWelcomeActivity.java104 public static void assertShowing(UiBot uiBot, @Nullable String expectedMessage) in assertShowing() argument
107 if (expectedMessage == null) { in assertShowing()
108 expectedMessage = "Welcome to the jungle!"; in assertShowing()
111 .isEqualTo(expectedMessage); in assertShowing()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java154 final String expectedMessage = mContext.getResources().getString(R.string.dialog_message, in testInterceptorActivity_moreDetails() local
161 assertNotNull("Given dialog message: " + expectedMessage + " not shown", in testInterceptorActivity_moreDetails()
162 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_moreDetails()
183 final String expectedMessage = "This is a test message"; in testInterceptorActivity_strings() local
189 .setMessage(expectedMessage) in testInterceptorActivity_strings()
204 assertNotNull("Given dialog message: " + expectedMessage + " not shown", in testInterceptorActivity_strings()
205 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_strings()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerNegativeTest.java62 String expectedMessage, Object... args) in callMethodExpectingSecurityException() argument
81 MoreAsserts.assertContainsRegex(expectedMessage, in callMethodExpectingSecurityException()
89 private void checkAidlCall(String method, String expectedMessage, Object... args) in checkAidlCall() argument
95 expectedMessage, args); in checkAidlCall() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DNdefTagTester.java70 final NdefMessage expectedMessage = new NdefMessage(expectedRecords); in writeTag() local
71 writeMessage(tag, expectedMessage); in writeTag()
94 NfcUtils.areMessagesEqual(message, expectedMessage)); in writeTag()
/cts/tests/tests/util/src/android/util/cts/
DRangeTest.java150 String expectedMessage = expected ? action : ("not " + action); in verifyAction() local
151 assertEquals("Expected " + needle + " to be " + expectedMessage + " of " + object, in verifyAction()
DRationalTest.java456 String expectedMessage = expected ? action : ("not " + action); in verifyAction() local
457 assertEquals("Expected " + object + " to be " + expectedMessage, in verifyAction()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DFillEventHistoryCommonTestCase.java473 final String expectedMessage = getWelcomeMessage("malkovich"); in testEventsFromPreviousSessionIsDiscarded() local
475 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testEventsFromPreviousSessionIsDiscarded()
533 final String expectedMessage = getWelcomeMessage(BACKDOOR_USERNAME); in testContextCommitted_withoutFlagOnLastResponse() local
535 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_withoutFlagOnLastResponse()
779 final String expectedMessage = getWelcomeMessage(BACKDOOR_USERNAME); in tapLogin() local
781 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in tapLogin()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java393 final String expectedMessage = "message" + k; in testOnConsoleMessage() local
395 expectedMessage, in testOnConsoleMessage()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java546 final String expectedMessage = getWelcomeMessage("malkovich"); in fillDatasetAuthWithClientState() local
549 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillDatasetAuthWithClientState()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java211 final String expectedMessage = getWelcomeMessage("malkovich");
213 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
279 final String expectedMessage = getWelcomeMessage("malkovich");
281 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
/cts/tests/app/src/android/app/cts/
DActivityManagerFgsBgStartTest.java1143 String expectedMessage = "mAllowStartForeground false"; in testFgsStartFromBGException() local
1145 assertTrue(expectedException.getMessage().contains(expectedMessage)); in testFgsStartFromBGException()