/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | CustomDescriptionTest.java | 78 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testCustomDescription() 79 builder.setCustomDescription(descriptionBuilder.apply(usernameId, passwordId)); in testCustomDescription() 254 testCustomDescription((usernameId, passwordId) -> { in validTransformation() argument 259 .addField(passwordId, Pattern.compile(".*(..)"), "..$1") in validTransformation() 275 testCustomDescription((usernameId, passwordId) -> { in validTransformationWithOneTemplateUpdate() argument 280 .addField(passwordId, Pattern.compile(".*(..)"), "..$1") in validTransformationWithOneTemplateUpdate() 302 testCustomDescription((usernameId, passwordId) -> { in validTransformationWithMultipleTemplateUpdates() argument 307 .addField(passwordId, Pattern.compile(".*(..)"), "..$1") in validTransformationWithMultipleTemplateUpdates() 409 testCustomDescription((usernameId, passwordId) -> { in multipleBatchUpdatesTest() argument 428 new CharSequenceTransformation.Builder(passwordId, firstCharGroupRegex, "L3-$1") in multipleBatchUpdatesTest() [all …]
|
D | SimpleSaveActivityTest.java | 435 final AutofillId passwordId = in testDelayedSave() 441 new AutofillId[] {inputId, passwordId}) in testDelayedSave() 1220 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testSanitizeOnSaveWhenAppChangeValues() 1222 passwordId); in testSanitizeOnSaveWhenAppChangeValues() 1262 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testSanitizeOnSaveNoChange() 1264 passwordId); in testSanitizeOnSaveNoChange() 1306 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testDontSaveWhenSanitizedValueForRequiredFieldDidntChange() 1308 passwordId); in testDontSaveWhenSanitizedValueForRequiredFieldDidntChange() 1345 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testDontSaveWhenSanitizedValueForOptionalFieldDidntChange() 1347 passwordId); in testDontSaveWhenSanitizedValueForOptionalFieldDidntChange() [all …]
|
D | OnClickActionTest.java | 87 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); 92 .Builder(passwordId, MATCH_ALL, "$1").build();
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedLoginActivityTest.java | 119 final AutofillId passwordId = password.getAutofillId(); 125 .setField(passwordId, "sweet", createInlinePresentation("sweet")) 155 final AutofillId passwordId = password.getAutofillId(); 161 .setField(passwordId, "sweet", createInlinePresentation("sweet")) 165 .setField(passwordId, "SWEET", createInlinePresentation("SWEET")) 199 final AutofillId passwordId = password.getAutofillId(); 205 .setField(passwordId, "sweet", createInlinePresentation("sweet")) 245 final AutofillId passwordId = password.getAutofillId(); 251 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
|
D | InlineAugmentedWebViewActivityTest.java | 154 AutofillId passwordId = getAutofillIdByWebViewTag(autofillRequest, HTML_NAME_PASSWORD); 158 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | FillEventHistoryTest.java | 231 final AutofillId passwordId = findAutofillIdByResourceId(request.contexts.get(0), in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() local 234 assertThat(changedFields).containsExactly(passwordId, "id2"); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 295 final AutofillId passwordId = findAutofillIdByResourceId(request.contexts.get(0), in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() local 298 assertThat(changedFields).containsExactly(passwordId, "id2"); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() 425 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testContextCommitted_oneDatasetSelected() local 428 ImmutableMap.of(usernameId, "id1", passwordId, "id1")); in testContextCommitted_oneDatasetSelected() 513 final AutofillId passwordId = findAutofillIdByResourceId(request.contexts.get(0), in testContextCommitted_multipleDatasetsSelected() local 515 assertThat(changedFields).containsExactly(passwordId, "id2"); in testContextCommitted_multipleDatasetsSelected() 726 final AutofillId passwordId = findAutofillIdByResourceId(context, ID_PASSWORD); in testContextCommitted_noDatasetSelected_butManuallyEntered() local 733 assertThat(manuallyEnteredFields.get(passwordId)).containsExactly("id2"); in testContextCommitted_noDatasetSelected_butManuallyEntered() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | WebViewMultiScreenLoginActivityTest.java | 158 final AutofillId passwordId = nodeResolver.apply(HTML_NAME_PASSWORD); 160 .Builder(passwordId, MATCH_ALL, "$1").build(); 261 final AutofillId passwordId = nodeResolver.apply(HTML_NAME_PASSWORD); 265 .Builder(passwordId, MATCH_ALL, "$1").build(); 266 Log.d(TAG, "setting CustomDescription: u=" + usernameId + ", p=" + passwordId);
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 461 final AutofillId passwordId = activity.mPassword.getAutofillId(); in testTextChangeBuffer() local 468 .assertViewTextChanged(passwordId, "d") in testTextChangeBuffer() 469 .assertViewTextChanged(passwordId, "") in testTextChangeBuffer() 470 .assertViewTextChanged(passwordId, "") in testTextChangeBuffer() 471 .assertViewTextChanged(passwordId, "de") in testTextChangeBuffer() 472 .assertViewTextChanged(passwordId, "def") in testTextChangeBuffer() 473 .assertViewTextChanged(passwordId, "") in testTextChangeBuffer()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 589 final AutofillId passwordId = password.getAutofillId(); 593 .build(), passwordId) 606 .setField(passwordId, "sweet") 707 final AutofillId passwordId = password.getAutofillId(); 711 .build(), passwordId) 725 .setField(passwordId, "sweet")
|