/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 497 public boolean checkConsoleOutput(String expectedMessage) throws CecClientWrapperException { in checkConsoleOutput() argument 498 return checkConsoleOutput(expectedMessage, DEFAULT_TIMEOUT); in checkConsoleOutput() 502 public boolean checkConsoleOutput(String expectedMessage, long timeoutMillis) in checkConsoleOutput() argument 505 return checkConsoleOutput(expectedMessage, timeoutMillis, mInputConsole); in checkConsoleOutput() 510 String expectedMessage, long timeoutMillis, BufferedReader inputConsole) in checkConsoleOutput() argument 520 && line.toLowerCase().contains(expectedMessage.toLowerCase())) { in checkConsoleOutput() 521 CLog.v("Found " + expectedMessage + " in " + line); in checkConsoleOutput() 573 public List<LogicalAddress> getAllDestLogicalAddresses(CecOperand expectedMessage, int duration) in getAllDestLogicalAddresses() argument 575 return getAllDestLogicalAddresses(expectedMessage, "", duration); in getAllDestLogicalAddresses() 583 CecOperand expectedMessage, String params, int duration) in getAllDestLogicalAddresses() argument [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | FillEventHistoryTest.java | 81 final String expectedMessage = getWelcomeMessage("malkovich"); in testContextCommitted_whenServiceDidntDoAnything() local 83 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_whenServiceDidntDoAnything() 107 final String expectedMessage = getWelcomeMessage("malkovich"); in textContextCommitted_withoutDatasets() local 109 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in textContextCommitted_withoutDatasets() 159 final String expectedMessage = getWelcomeMessage("AB"); in testContextCommitted_idlessDatasets() local 161 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasets() 214 final String expectedMessage = getWelcomeMessage("username1"); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() local 216 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 278 final String expectedMessage = getWelcomeMessage("username2"); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() local 280 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() [all …]
|
D | LoginWithStringsActivityTest.java | 126 final String expectedMessage = getWelcomeMessage("dude"); 128 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
|
D | LoginActivityTest.java | 310 final String expectedMessage = getWelcomeMessage("malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() local 312 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 1133 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSave() local 1135 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSave() 1237 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() local 1239 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSaveHidingOverlays() 1639 final String expectedMessage = getWelcomeMessage("malkovich"); in saveOnlyTest() local 1641 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveOnlyTest() 1700 final String expectedMessage = getWelcomeMessage("malkovich"); in saveGoesAway() local 1702 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveGoesAway() [all …]
|
D | AuthenticationTest.java | 729 final String expectedMessage = getWelcomeMessage("malkovich"); in fillDatasetAuthWithClientState() local 731 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillDatasetAuthWithClientState() 1039 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthServiceHasNoDataTest() local 1041 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthServiceHasNoDataTest() 1134 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthWithClientState() local 1136 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthWithClientState()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | WelcomeActivity.java | 105 public static void assertShowing(UiBot uiBot, @Nullable String expectedMessage) in assertShowing() argument 108 if (expectedMessage == null) { in assertShowing() 109 expectedMessage = "Welcome to the jungle!"; in assertShowing() 112 .isEqualTo(expectedMessage); in assertShowing()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DialogTests.java | 165 final String expectedMessage = mContext.getResources().getString(R.string.dialog_message, in testInterceptorActivity_moreDetails() local 172 assertNotNull("Given dialog message: " + expectedMessage + " not shown", in testInterceptorActivity_moreDetails() 173 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_moreDetails() 194 final String expectedMessage = "This is a test message"; in testInterceptorActivity_strings() local 200 .setMessage(expectedMessage) in testInterceptorActivity_strings() 215 assertNotNull("Given dialog message: " + expectedMessage + " not shown", in testInterceptorActivity_strings() 216 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_strings()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerNegativeTest.java | 63 String expectedMessage, Object... args) in callMethodExpectingSecurityException() argument 82 MoreAsserts.assertContainsRegex(expectedMessage, in callMethodExpectingSecurityException() 90 private void checkAidlCall(String method, String expectedMessage, Object... args) in checkAidlCall() argument 96 expectedMessage, args); in checkAidlCall() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
D | NdefTagTester.java | 70 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/nfc/src/android/nfc/tech/cts/interactive/ |
D | NdefTagTester.java | 70 final NdefMessage expectedMessage = new NdefMessage(expectedRecords); in writeTag() local 71 writeMessage(tag, expectedMessage); in writeTag() 94 NfcUtils.areMessagesEqual(message, expectedMessage)); in writeTag()
|
/cts/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 221 String expectedMessage = Os.strerror(OsConstants.EAGAIN); in testSetSoTimeout_readTimeout() local 222 result.assertThrewIOException(expectedMessage); in testSetSoTimeout_readTimeout() 258 String expectedMessage = Os.strerror(OsConstants.EAGAIN); in testSetSoTimeout_writeTimeout() local 259 result.assertThrewIOException(expectedMessage); in testSetSoTimeout_writeTimeout() 538 void assertThrewIOException(String expectedMessage) { in assertThrewIOException() argument 540 assertEquals("Unexpected exception message", expectedMessage, e.getMessage()); in assertThrewIOException()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RangeTest.java | 150 String expectedMessage = expected ? action : ("not " + action); in verifyAction() local 151 assertEquals("Expected " + needle + " to be " + expectedMessage + " of " + object, in verifyAction()
|
D | RationalTest.java | 456 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/ |
D | FillEventHistoryCommonTestCase.java | 505 final String expectedMessage = getWelcomeMessage("malkovich"); in testEventsFromPreviousSessionIsDiscarded() local 507 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testEventsFromPreviousSessionIsDiscarded() 569 final String expectedMessage = getWelcomeMessage(BACKDOOR_USERNAME); in testContextCommitted_withoutFlagOnLastResponse() local 571 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_withoutFlagOnLastResponse() 909 final String expectedMessage = getWelcomeMessage(BACKDOOR_USERNAME); in tapLogin() local 911 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in tapLogin()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAuthenticationTest.java | 553 final String expectedMessage = getWelcomeMessage("malkovich"); in fillDatasetAuthWithClientState() local 556 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillDatasetAuthWithClientState()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 219 final String expectedMessage = getWelcomeMessage("malkovich"); 221 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); 287 final String expectedMessage = getWelcomeMessage("malkovich"); 289 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebChromeClientTest.java | 406 final String expectedMessage = "message" + k; in testOnConsoleMessage() local 408 expectedMessage, in testOnConsoleMessage()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 1280 String expectedMessage = "mAllowStartForeground false"; in testFgsStartFromBGException() local 1282 assertTrue(expectedException.getMessage().contains(expectedMessage)); in testFgsStartFromBGException()
|