Home
last modified time | relevance | path

Searched refs:ID_PASSWORD (Results 1 – 21 of 21) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DAuthenticationTest.java21 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 …]
DLoginActivityTest.java24 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 …]
DSimpleSaveActivityTest.java29 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 …]
DVirtualContainerActivityTest.java19 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 …]
DFillEventHistoryTest.java22 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 …]
DPreFilledLoginActivityTest.java18 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");
DMultiScreenLoginTest.java19 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");
DLoginWithStringsActivityTest.java19 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);
DDialogLauncherActivityTest.java20 import static android.autofillservice.cts.SimpleSaveActivity.ID_PASSWORD;
74 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD);
103 .setField(ID_PASSWORD, "sweet")
DVirtualContainerActivityCompatModeTest.java18 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()
DSessionLifecycleTest.java20 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()
DOnClickActionTest.java31 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");
DValidatorTest.java19 import static android.autofillservice.cts.Helper.ID_PASSWORD;
61 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in integrationTest()
DVirtualContainerActivity.java18 import static android.autofillservice.cts.Helper.ID_PASSWORD;
67 mPassword = mCustomView.addLine(ID_PASSWORD_LABEL, "Password", ID_PASSWORD, BLANK_VALUE, in onCreate()
DMultiWindowLoginActivityTest.java19 import static android.autofillservice.cts.Helper.ID_PASSWORD;
112 .setField(ID_PASSWORD, "sweet")
DWebViewMultiScreenLoginActivityTest.java21 import static android.autofillservice.cts.Helper.ID_PASSWORD;
180 mUiBot.assertChildText(saveUi2, ID_PASSWORD, "sweet");
282 mUiBot.assertChildText(saveUi, ID_PASSWORD, "sweet");
DSimpleSaveActivity.java34 public static final String ID_PASSWORD = "password"; field in SimpleSaveActivity
DCustomDescriptionTest.java19 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()
DDisableAutofillTest.java83 .setField(SimpleSaveActivity.ID_PASSWORD, "pass") in launchSimpleSaveActivity()
DHelper.java95 public static final String ID_PASSWORD = "password"; field in Helper
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java20 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);