Home
last modified time | relevance | path

Searched refs:usernameId (Results 1 – 10 of 10) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAbstractLoginNotImportantForAutofillTestCase.java75 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/
DAugmentedLoginActivityTest.java117 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/
DInlineAugmentedLoginActivityTest.java118 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 …]
DInlineAugmentedWebViewActivityTest.java97 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/
DCustomDescriptionTest.java77 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 …]
DOnClickActionTest.java86 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_INPUT);
90 .Builder(usernameId, MATCH_ALL, "$1").build();
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DValidatorTest.java65 final AutofillId usernameId = in integrationTest()
67 final LuhnChecksumValidator validator = new LuhnChecksumValidator(usernameId); in integrationTest()
69 assertValidator(validator, usernameId, username, willSaveBeShown); in integrationTest()
DWebViewMultiScreenLoginActivityTest.java106 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/
DFillEventHistoryTest.java424 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/
DLoginActivityTest.java460 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()