/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | SessionLifecycleTest.java | 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 113 mUiBot.assertGoneByRelativeId(ID_USERNAME, Timeouts.ACTIVITY_RESURRECTION); in finishLoginActivityOnAnotherProcess() 151 mUiBot.assertShownByRelativeId(ID_USERNAME); in startAndWaitExternalActivity() 181 .setField(ID_USERNAME, AutofillValue.forText("autofilled username")) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 183 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 187 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 193 mUiBot.selectByRelativeId(ID_USERNAME); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 207 mUiBot.assertShownByRelativeId(ID_USERNAME); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 236 eventually("getTextById(" + ID_USERNAME + ")", () -> { in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 237 return mUiBot.getTextByRelativeId(ID_USERNAME).equals("autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() [all …]
|
D | DatasetFilteringTest.java | 19 import static android.autofillservice.cts.Helper.ID_USERNAME; 74 .setField(ID_USERNAME, "aa") in testFilter() 78 .setField(ID_USERNAME, "ab") in testFilter() 82 .setField(ID_USERNAME, "b") in testFilter() 128 .setField(ID_USERNAME, "aa") in testFilter_injectingEvents() 132 .setField(ID_USERNAME, "ab") in testFilter_injectingEvents() 136 .setField(ID_USERNAME, "b") in testFilter_injectingEvents() 186 .setField(ID_USERNAME, "aa") in testFilter_usingKeyboard() 190 .setField(ID_USERNAME, "ab") in testFilter_usingKeyboard() 194 .setField(ID_USERNAME, "b") in testFilter_usingKeyboard() [all …]
|
D | LoginActivityTest.java | 26 import static android.autofillservice.cts.Helper.ID_USERNAME; 194 .setField(ID_USERNAME, "dude") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 230 .setField(ID_USERNAME, "dude") in testAutofillManuallyAfterServiceReturnedNoDatasets() 295 ID_USERNAME, in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 326 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 379 .setField(ID_USERNAME, "dude") in testAutofillManuallyAlwaysCallServiceAgain() 389 .setField(ID_USERNAME, "DUDE") in testAutofillManuallyAlwaysCallServiceAgain() 438 .setField(ID_USERNAME, "dude") in autofillOneDatasetTest() 476 .isEqualTo(findAutofillIdByResourceId(fillContext, ID_USERNAME)); in autofillOneDatasetTest() 480 findNodeByResourceId(request.structure, ID_USERNAME).isFocused()).isTrue(); in autofillOneDatasetTest() [all …]
|
D | AuthenticationTest.java | 22 import static android.autofillservice.cts.Helper.ID_USERNAME; 69 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields() 76 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields() 149 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsReplaceResponse() 162 .setField(ID_USERNAME, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse() 210 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsNoValues() 217 .setField(ID_USERNAME, (String) null) in testDatasetAuthTwoFieldsNoValues() 253 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoDatasets() 264 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets() 270 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets() [all …]
|
D | VirtualContainerActivityTest.java | 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 171 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in autofillTest() 194 final ViewNode username = findNodeByResourceId(request.structure, ID_USERNAME); in autofillTest() 209 assertThat(username.getIdEntry()).isEqualTo(ID_USERNAME); in autofillTest() 262 .setField(ID_USERNAME, "dude") in testAutofillTwoDatasets() 267 .setField(ID_USERNAME, "DUDE") in testAutofillTwoDatasets() 309 .setField(ID_USERNAME, "dude") in testAutofillManuallyOneDataset() 347 .setField(ID_USERNAME, "dude") in autofillManuallyTwoDatasets() 352 .setField(ID_USERNAME, "jenny") in autofillManuallyTwoDatasets() 386 .setField(ID_USERNAME, "dude") in testAutofillCallbacks() [all …]
|
D | FillEventHistoryTest.java | 23 import static android.autofillservice.cts.Helper.ID_USERNAME; 83 .setField(ID_USERNAME, "dude") in testDatasetAuthenticationSelected() 90 .setField(ID_USERNAME, "username") in testDatasetAuthenticationSelected() 124 .setField(ID_USERNAME, "username") in testAuthenticationSelected() 132 .setAuthentication(authentication, ID_USERNAME) in testAuthenticationSelected() 161 .setField(ID_USERNAME, "username") in testDatasetSelected_twoResponses() 244 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsNullResponse() 281 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsFailure() 318 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceTimesout() 373 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in testEventsFromPreviousSessionIsDiscarded() [all …]
|
D | LoginWithStringsActivityTest.java | 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 75 .setField(ID_USERNAME, "dude") 79 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 91 assertTextIsSanitized(fillRequest.structure, ID_USERNAME); 127 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); 129 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_USERNAME);
|
D | VirtualContainerActivityCompatModeTest.java | 19 import static android.autofillservice.cts.Helper.ID_USERNAME; 111 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_firstDoesNotExist() 136 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_bothExist() 160 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD).build()); in testFocusOnUrlBarIsIgnored() 183 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD).build()); in testUrlBarChangeIgnoredWhenServiceCanSave() 217 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testUrlBarChangeIgnoredWhenServiceCanSave() 236 .setField(ID_USERNAME, "dude") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
|
D | PreFilledLoginActivityTest.java | 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 61 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 82 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME), 99 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich");
|
D | DialogLauncherActivityTest.java | 18 import static android.autofillservice.cts.Helper.ID_USERNAME; 73 assertTextIsSanitized(fillRequest.structure, ID_USERNAME); 102 .setField(ID_USERNAME, "dude")
|
D | ValidatorTest.java | 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 61 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in integrationTest() 64 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in integrationTest()
|
D | MultiScreenLoginTest.java | 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 86 .setRequiredSavableIds(SAVE_DATA_TYPE_USERNAME, ID_USERNAME) 103 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude"); 215 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 307 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 368 ID_USERNAME); 413 mUiBot.assertChildText(saveUi, ID_USERNAME, "dude");
|
D | MultiWindowLoginActivityTest.java | 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 111 .setField(ID_USERNAME, "dude") 131 mUiBot.assertShownByRelativeId(Helper.ID_USERNAME); // MultiWindowLoginActivity
|
D | CustomDescriptionTest.java | 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 67 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in testCustomDescription() 70 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testCustomDescription() 101 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in testSanitizationBeforeBatchUpdates() 107 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in testSanitizationBeforeBatchUpdates() 149 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in testSanitizationBeforeTransformations() 155 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in testSanitizationBeforeTransformations() 529 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in multipleTransformationsForSameFieldTest() 533 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in multipleTransformationsForSameFieldTest()
|
D | LoginWithCustomHighlightActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_USERNAME; 56 .setField(ID_USERNAME, "dude")
|
D | VirtualContainerActivity.java | 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 65 mUsername = mCustomView.addLine(ID_USERNAME_LABEL, "Username", ID_USERNAME, BLANK_VALUE, in onCreate()
|
D | WebViewMultiScreenLoginActivityTest.java | 23 import static android.autofillservice.cts.Helper.ID_USERNAME; 132 mUiBot.assertChildText(saveUi1, ID_USERNAME, "dude"); 284 mUiBot.assertChildText(saveUi, ID_USERNAME, "dude");
|
D | Helper.java | 93 public static final String ID_USERNAME = "username"; field in Helper
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 181 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 183 .setField(ID_USERNAME, "dude") 211 final ViewNode usernameNode = findNodeByResourceId(saveRequest.structure, ID_USERNAME); 249 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 251 .setField(ID_USERNAME, "dude") 279 final ViewNode usernameNode = findNodeByResourceId(saveRequest.structure, ID_USERNAME);
|