/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AuthenticationTest.java | 21 import static android.autofillservice.cts.Helper.ID_PASSWORD; 70 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields() 77 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields() 150 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsReplaceResponse() 163 .setField(ID_PASSWORD, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse() 211 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsNoValues() 218 .setField(ID_PASSWORD, (String) null) in testDatasetAuthTwoFieldsNoValues() 254 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoDatasets() 265 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets() 271 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets() [all …]
|
D | LoginActivityTest.java | 24 import static android.autofillservice.cts.Helper.ID_PASSWORD; 195 .setField(ID_PASSWORD, "sweet") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 231 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAfterServiceReturnedNoDatasets() 296 ID_PASSWORD, in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 328 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 380 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAlwaysCallServiceAgain() 390 .setField(ID_PASSWORD, "SWEET") in testAutofillManuallyAlwaysCallServiceAgain() 439 .setField(ID_PASSWORD, "sweet") in autofillOneDatasetTest() 473 assertTextIsSanitized(request.structure, ID_PASSWORD); in autofillOneDatasetTest() 482 findNodeByResourceId(request.structure, ID_PASSWORD).isFocused()).isFalse(); in autofillOneDatasetTest() [all …]
|
D | SimpleSaveActivityTest.java | 29 import static android.autofillservice.cts.SimpleSaveActivity.ID_PASSWORD; 108 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_INPUT, ID_PASSWORD) in testAutoFillOneDatasetAndSave() 111 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave() 138 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave() 154 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_INPUT, ID_PASSWORD) in testAutoFillOneDatasetAndSave_largeAssistStructure() 157 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_largeAssistStructure() 192 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_largeAssistStructure() 215 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_INPUT, ID_PASSWORD) in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 218 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 232 final UiObject2 password = mUiBot.assertShownByRelativeId(ID_PASSWORD); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() [all …]
|
D | VirtualContainerActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 172 .setField(ID_PASSWORD, "sweet", createPresentation("SWEET")) in autofillTest() 196 final ViewNode password = findNodeByResourceId(request.structure, ID_PASSWORD); in autofillTest() 210 assertThat(password.getIdEntry()).isEqualTo(ID_PASSWORD); in autofillTest() 263 .setField(ID_PASSWORD, "sweet") in testAutofillTwoDatasets() 268 .setField(ID_PASSWORD, "SWEET") in testAutofillTwoDatasets() 310 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyOneDataset() 348 .setField(ID_PASSWORD, "sweet") in autofillManuallyTwoDatasets() 353 .setField(ID_PASSWORD, "8675309") in autofillManuallyTwoDatasets() 387 .setField(ID_PASSWORD, "sweet") in testAutofillCallbacks() [all …]
|
D | FillEventHistoryTest.java | 22 import static android.autofillservice.cts.Helper.ID_PASSWORD; 84 .setField(ID_PASSWORD, "sweet") in testDatasetAuthenticationSelected() 191 .setField(ID_PASSWORD, "password2") in testDatasetSelected_twoResponses() 197 .setField(ID_PASSWORD, "password3") in testDatasetSelected_twoResponses() 202 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_PASSWORD).build()); in testDatasetSelected_twoResponses() 373 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in testEventsFromPreviousSessionIsDiscarded() 460 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in textContextCommitted_withoutDatasets() 509 .setField(ID_PASSWORD, "whatever") in testContextCommitted_withoutFlagOnLastResponse() 546 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasets() 551 .setField(ID_PASSWORD, "password2") in testContextCommitted_idlessDatasets() [all …]
|
D | PreFilledLoginActivityTest.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 61 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 84 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t"); 100 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "malkovich");
|
D | MultiScreenLoginTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 118 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_PASSWORD) 138 assertTextAndValue(findNodeByResourceId(saveRequest2.structure, ID_PASSWORD), "sweet"); 184 ID_PASSWORD) 222 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet"); 273 ID_PASSWORD) 314 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet"); 375 findAutofillIdByResourceId(contexts.get(1), ID_PASSWORD); 415 mUiBot.assertChildText(saveUi, ID_PASSWORD, "sweet");
|
D | LoginWithStringsActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 76 .setField(ID_PASSWORD, "sweet") 79 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 92 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD);
|
D | DialogLauncherActivityTest.java | 20 import static android.autofillservice.cts.SimpleSaveActivity.ID_PASSWORD; 74 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD); 103 .setField(ID_PASSWORD, "sweet")
|
D | VirtualContainerActivityCompatModeTest.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 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() 218 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); in testUrlBarChangeIgnoredWhenServiceCanSave() 237 .setField(ID_PASSWORD, "sweet") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
|
D | SessionLifecycleTest.java | 20 import static android.autofillservice.cts.Helper.ID_PASSWORD; 183 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 187 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 241 mUiBot.setTextByRelativeId(ID_PASSWORD, "new password"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 264 ID_PASSWORD); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() 290 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testAuthCanceledWhileAutofilledAppIsLifecycled()
|
D | OnClickActionTest.java | 31 import static android.autofillservice.cts.SimpleSaveActivity.ID_PASSWORD; 76 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_INPUT, ID_PASSWORD) 80 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); 144 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
|
D | ValidatorTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 61 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in integrationTest()
|
D | VirtualContainerActivity.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 67 mPassword = mCustomView.addLine(ID_PASSWORD_LABEL, "Password", ID_PASSWORD, BLANK_VALUE, in onCreate()
|
D | MultiWindowLoginActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 112 .setField(ID_PASSWORD, "sweet")
|
D | WebViewMultiScreenLoginActivityTest.java | 21 import static android.autofillservice.cts.Helper.ID_PASSWORD; 180 mUiBot.assertChildText(saveUi2, ID_PASSWORD, "sweet"); 282 mUiBot.assertChildText(saveUi, ID_PASSWORD, "sweet");
|
D | SimpleSaveActivity.java | 34 public static final String ID_PASSWORD = "password"; field in SimpleSaveActivity
|
D | CustomDescriptionTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 67 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in testCustomDescription() 71 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testCustomDescription()
|
D | DisableAutofillTest.java | 83 .setField(SimpleSaveActivity.ID_PASSWORD, "pass") in launchSimpleSaveActivity()
|
D | Helper.java | 95 public static final String ID_PASSWORD = "password"; field in Helper
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 20 import static android.autofillservice.cts.Helper.ID_PASSWORD; 181 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 184 .setField(ID_PASSWORD, "sweet") 213 final ViewNode passwordNode = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); 249 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) 252 .setField(ID_PASSWORD, "sweet") 281 final ViewNode passwordNode = findNodeByResourceId(saveRequest.structure, ID_PASSWORD);
|