/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | AbstractLoginNotImportantForAutofillTestCase.java | 75 final AutofillId usernameId = username.getAutofillId(); in testAutofill_oneField() local 79 .setField(usernameId, "dude") in testAutofill_oneField() 80 .build(), usernameId) in testAutofill_oneField() 89 assertBasicRequestInfo(request, mActivity, usernameId, expectedFocusedValue); in testAutofill_oneField() 95 final UiObject2 ui = mAugmentedUiBot.assertUiShown(usernameId, "Augment Me"); in testAutofill_oneField() 111 final AutofillId usernameId = username.getAutofillId(); in testAutofill_twoFields() local 115 .setField(usernameId, "dude") in testAutofill_twoFields() 117 .build(), usernameId) in testAutofill_twoFields() 126 assertBasicRequestInfo(request, mActivity, usernameId, expectedFocusedValue); in testAutofill_twoFields() 132 final UiObject2 ui = mAugmentedUiBot.assertUiShown(usernameId, "Augment Me"); in testAutofill_twoFields() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 117 final AutofillId usernameId = username.getAutofillId(); 127 assertBasicRequestInfo(augmentedRequest, mActivity, usernameId, expectedFocusedValue); 146 final AutofillId usernameId = username.getAutofillId(); 157 assertBasicRequestInfo(augmentedRequest, mActivity, usernameId, expectedFocusedValue, 358 final AutofillId usernameId = username.getAutofillId(); 363 .setField(usernameId, "dude") 364 .build(), usernameId) 374 assertBasicRequestInfo(request, mActivity, usernameId, expectedFocusedValue); 380 final UiObject2 ui = mAugmentedUiBot.assertUiShown(usernameId, "Augment Me"); 397 final AutofillId usernameId = username.getAutofillId(); [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedLoginActivityTest.java | 118 final AutofillId usernameId = username.getAutofillId(); 124 .setField(usernameId, "dude", createInlinePresentation("dude")) 128 .build(), usernameId) 154 final AutofillId usernameId = username.getAutofillId(); 160 .setField(usernameId, "dude", createInlinePresentation("dude")) 164 .setField(usernameId, "DUDE", createInlinePresentation("DUDE")) 168 .build(), usernameId) 178 assertBasicRequestInfo(request1, mActivity, usernameId, usernameValue); 198 final AutofillId usernameId = username.getAutofillId(); 204 .setField(usernameId, "dude", createInlinePresentation("dude")) [all …]
|
D | InlineAugmentedWebViewActivityTest.java | 97 AutofillId usernameId = getAutofillIdByWebViewTag(autofillRequest, HTML_NAME_USERNAME); 101 AugmentedHelper.assertBasicRequestInfo(request, mActivity, usernameId, 153 AutofillId usernameId = getAutofillIdByWebViewTag(autofillRequest, HTML_NAME_USERNAME); 157 .setField(usernameId, "dude", createInlinePresentation("dude")) 168 AugmentedHelper.assertBasicRequestInfo(request, mActivity, usernameId,
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | CustomDescriptionTest.java | 77 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testCustomDescription() 79 builder.setCustomDescription(descriptionBuilder.apply(usernameId, passwordId)); in testCustomDescription() 120 final AutofillId usernameId = in testRemoteViewsDoNotSpill() 127 usernameId, Pattern.compile("hello")); in testRemoteViewsDoNotSpill() 140 usernameId) in testRemoteViewsDoNotSpill() 170 final AutofillId usernameId = in testSanitizationBeforeBatchUpdates() 175 new RegexValidator(usernameId, Pattern.compile("user")); in testSanitizationBeforeBatchUpdates() 187 usernameId) in testSanitizationBeforeBatchUpdates() 218 final AutofillId usernameId = in testSanitizationBeforeTransformations() 223 .Builder(usernameId, Pattern.compile("user"), "transformed") in testSanitizationBeforeTransformations() [all …]
|
D | OnClickActionTest.java | 86 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_INPUT); 90 .Builder(usernameId, MATCH_ALL, "$1").build();
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | ValidatorTest.java | 65 final AutofillId usernameId = in integrationTest() 67 final LuhnChecksumValidator validator = new LuhnChecksumValidator(usernameId); in integrationTest() 69 assertValidator(validator, usernameId, username, willSaveBeShown); in integrationTest()
|
D | WebViewMultiScreenLoginActivityTest.java | 106 final AutofillId usernameId = nodeResolver.apply(HTML_NAME_USERNAME); 108 .Builder(usernameId, MATCH_ALL, "$1").build(); 217 final AtomicReference<AutofillId> usernameId = new AtomicReference<>(); 222 usernameId.set(nodeResolver.apply(HTML_NAME_USERNAME)); 263 .Builder(usernameId.get(), MATCH_ALL, "$1").build(); 266 Log.d(TAG, "setting CustomDescription: u=" + usernameId + ", p=" + passwordId);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | FillEventHistoryTest.java | 424 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testContextCommitted_oneDatasetSelected() local 428 ImmutableMap.of(usernameId, "id1", passwordId, "id1")); in testContextCommitted_oneDatasetSelected() 725 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testContextCommitted_noDatasetSelected_butManuallyEntered() local 732 assertThat(manuallyEnteredFields.get(usernameId)).containsExactly("id1"); in testContextCommitted_noDatasetSelected_butManuallyEntered() 802 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testContextCommitted_noDatasetSelected_butManuallyEntered_matchingMultipleDatasets() local 808 assertThat(manuallyEnteredFields.get(usernameId)).containsExactly("id1", "id3"); in testContextCommitted_noDatasetSelected_butManuallyEntered_matchingMultipleDatasets()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 460 final AutofillId usernameId = activity.mUsername.getAutofillId(); in testTextChangeBuffer() local 465 .assertViewTextChanged(usernameId, "ab") in testTextChangeBuffer() 466 .assertViewTextChanged(usernameId, "") in testTextChangeBuffer() 467 .assertViewTextChanged(usernameId, "abc") in testTextChangeBuffer() 474 .assertViewTextChanged(usernameId, "abc"); in testTextChangeBuffer()
|