Home
last modified time | relevance | path

Searched refs:ID_USERNAME (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DDatasetFilteringTest.java19 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
85 .setField(ID_USERNAME, "aa") in testFilter()
89 .setField(ID_USERNAME, "ab") in testFilter()
93 .setField(ID_USERNAME, "b") in testFilter()
99 mUiBot.selectByRelativeId(ID_USERNAME); in testFilter()
141 .setField(ID_USERNAME, "aa") in testFilter_injectingEvents()
145 .setField(ID_USERNAME, "ab") in testFilter_injectingEvents()
149 .setField(ID_USERNAME, "b") in testFilter_injectingEvents()
155 mUiBot.selectByRelativeId(ID_USERNAME); in testFilter_injectingEvents()
202 .setField(ID_USERNAME, "aa") in testFilter_usingKeyboard()
[all …]
DLoginActivityCommonTestCase.java22 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
63 mUiBot.selectByRelativeId(ID_USERNAME); in testAutoFillNoDatasets()
88 mUiBot.selectByRelativeId(ID_USERNAME); in testAutoFillNoDatasets_multipleFields_alwaysNull()
136 .setField(ID_USERNAME, "dude" + i) in testBasicLoginAutofill()
147 mUiBot.selectByRelativeId(ID_USERNAME); in testBasicLoginAutofill()
165 .isEqualTo(findAutofillIdByResourceId(fillContext, ID_USERNAME)); in testBasicLoginAutofill()
174 findNodeByResourceId(request.structure, ID_USERNAME).isFocused()).isTrue(); in testBasicLoginAutofill()
186 mUiBot.selectByRelativeId(ID_USERNAME); in testClearFocusBeforeRespond()
195 .setField(ID_USERNAME, "dude") in testClearFocusBeforeRespond()
212 mUiBot.selectByRelativeId(ID_USERNAME); in testSwitchFocusBeforeResponse()
[all …]
DFillEventHistoryCommonTestCase.java25 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
106 .setField(ID_USERNAME, "dude") in testDatasetAuthenticationSelected()
113 .setField(ID_USERNAME, "username") in testDatasetAuthenticationSelected()
122 mUiBot.focusByRelativeId(ID_USERNAME); in testDatasetAuthenticationSelected()
149 .setField(ID_USERNAME, "username") in testAuthenticationSelected()
157 .setAuthentication(authentication, ID_USERNAME) in testAuthenticationSelected()
161 mUiBot.focusByRelativeId(ID_USERNAME); in testAuthenticationSelected()
193 .setField(ID_USERNAME, "username") in testDatasetSelected_twoResponses()
201 mUiBot.focusByRelativeId(ID_USERNAME); in testDatasetSelected_twoResponses()
282 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsNullResponse()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java24 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
124 mUiBot.assertGoneByRelativeId(ID_USERNAME, Timeouts.ACTIVITY_RESURRECTION); in finishLoginActivityOnAnotherProcess()
162 mUiBot.assertShownByRelativeId(ID_USERNAME); in startAndWaitExternalActivity()
192 .setField(ID_USERNAME, AutofillValue.forText("autofilled username")) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
194 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
198 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
204 mUiBot.selectByRelativeId(ID_USERNAME); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
218 mUiBot.assertShownByRelativeId(ID_USERNAME); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
247 eventually("getTextById(" + ID_USERNAME + ")", () -> { in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
248 return mUiBot.getTextByRelativeId(ID_USERNAME).equals("autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
[all …]
DMultiWindowLoginActivityTest.java19 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
121 .setField(ID_USERNAME, "dude")
143 mUiBot.assertShownByRelativeId(Helper.ID_USERNAME); // MultiWindowLoginActivity
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java24 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
92 .setField(ID_USERNAME, "dude") in testFillResponseAuth_withNewAutofillSessionStartByActivity()
100 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testFillResponseAuth_withNewAutofillSessionStartByActivity()
106 assertSuggestionShownBySelectViewId(ID_USERNAME, "Tap to auth!"); in testFillResponseAuth_withNewAutofillSessionStartByActivity()
137 .setField(ID_USERNAME, "dude") in testFillResponseAuth()
145 .setAuthentication(authentication, ID_USERNAME, ID_PASSWORD) in testFillResponseAuth()
154 assertSuggestionShownBySelectViewId(ID_USERNAME, "Tap to auth!"); in testFillResponseAuth()
192 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
197 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
207 assertSuggestionShownBySelectViewId(ID_USERNAME, "auth"); in datasetAuthTwoFields()
[all …]
DInlineLoginActivityTest.java21 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
91 .setField(ID_USERNAME, "dude") in testAutofill_disjointDatasets()
110 mUiBot.selectByRelativeId(ID_USERNAME); in testAutofill_disjointDatasets()
122 mUiBot.selectByRelativeId(ID_USERNAME); in testAutofill_disjointDatasets()
138 .isEqualTo(findAutofillIdByResourceId(fillContext, ID_USERNAME)); in testAutofill_disjointDatasets()
142 findNodeByResourceId(request.structure, ID_USERNAME).isFocused()).isTrue(); in testAutofill_disjointDatasets()
165 .setField(ID_USERNAME, "dude") in assertAutofill_SwitchActivity()
173 mUiBot.selectByRelativeId(ID_USERNAME); in assertAutofill_SwitchActivity()
187 mUiBot.selectByRelativeId(ID_USERNAME); in assertAutofill_SwitchActivity()
210 .setField(ID_USERNAME, "dude") in testAutofill_selectDatasetThenHideInlineSuggestion()
[all …]
DInlineTooltipTest.java19 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
65 .setField(ID_USERNAME, "dude") in testShowTooltip()
75 mUiBot.selectByRelativeId(ID_USERNAME); in testShowTooltip()
90 .setField(ID_USERNAME, "dude") in testShowTooltipWithTwoFields()
112 mUiBot.selectByRelativeId(ID_USERNAME); in testShowTooltipWithTwoFields()
127 mUiBot.selectByRelativeId(ID_USERNAME); in testShowTooltipWithTwoFields()
148 .setField(ID_USERNAME, "dude") in testShowTooltipWithSecondDataset()
153 .setField(ID_USERNAME, "sweet") in testShowTooltipWithSecondDataset()
160 .setField(ID_USERNAME, "candy") in testShowTooltipWithSecondDataset()
168 mUiBot.selectByRelativeId(ID_USERNAME); in testShowTooltipWithSecondDataset()
DInlineFilteringTest.java20 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
64 .setField(ID_USERNAME, "dude") in testFiltering_filtersByPrefix()
70 .setField(ID_USERNAME, "test") in testFiltering_filtersByPrefix()
78 mUiBot.selectByRelativeId(ID_USERNAME); in testFiltering_filtersByPrefix()
110 .setField(ID_USERNAME, "sergey") in testFiltering_privacy()
115 .setField(ID_USERNAME, "page") in testFiltering_privacy()
122 mUiBot.selectByRelativeId(ID_USERNAME); in testFiltering_privacy()
159 .setField(ID_USERNAME, "sergey") in testFiltering_privacy_textReplacement()
166 mUiBot.selectByRelativeId(ID_USERNAME); in testFiltering_privacy_textReplacement()
189 .setField(ID_USERNAME, "pinned") in testFiltering_pinnedAreNotFiltered()
[all …]
DInlineAugmentedLoginActivityTest.java23 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
127 mUiBot.selectByRelativeId(ID_USERNAME);
167 mUiBot.selectByRelativeId(ID_USERNAME);
207 mUiBot.selectByRelativeId(ID_USERNAME);
253 mUiBot.selectByRelativeId(ID_USERNAME);
287 mUiBot.selectByRelativeId(ID_USERNAME);
321 mUiBot.selectByRelativeId(ID_USERNAME);
344 mUiBot.selectByRelativeId(ID_USERNAME);
371 mUiBot.selectByRelativeId(ID_USERNAME);
391 mUiBot.selectByRelativeId(ID_USERNAME);
DInlineFillEventHistoryTest.java20 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
80 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in testOneDatasetAndSave()
82 .setField(ID_USERNAME, "id") in testOneDatasetAndSave()
90 mUiBot.selectByRelativeId(ID_USERNAME); in testOneDatasetAndSave()
DInlineAugmentedAuthTest.java23 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
89 mUiBot.selectByRelativeId(ID_USERNAME);
138 mUiBot.selectByRelativeId(ID_USERNAME);
188 mUiBot.selectByRelativeId(ID_USERNAME);
213 mUiBot.assertShownByRelativeId(ID_USERNAME);
DInlineAugmentedContentTest.java22 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
95 mUiBot.selectByRelativeId(ID_USERNAME);
129 mUiBot.selectByRelativeId(ID_USERNAME);
166 mUiBot.selectByRelativeId(ID_USERNAME);
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java30 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
162 .setField(ID_USERNAME, "dude") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
198 .setField(ID_USERNAME, "dude") in testAutofillManuallyAfterServiceReturnedNoDatasets()
263 ID_USERNAME, in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
294 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
348 .setField(ID_USERNAME, "dude") in testAutofillManuallyAlwaysCallServiceAgain()
361 .setField(ID_USERNAME, "DUDE") in testAutofillManuallyAlwaysCallServiceAgain()
413 .setField(ID_USERNAME, "dude") in autofillOneDatasetTest()
451 .isEqualTo(findAutofillIdByResourceId(fillContext, ID_USERNAME)); in autofillOneDatasetTest()
455 findNodeByResourceId(request.structure, ID_USERNAME).isFocused()).isTrue(); in autofillOneDatasetTest()
[all …]
DAuthenticationTest.java23 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
76 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
83 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
156 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsReplaceResponse()
169 .setField(ID_USERNAME, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
217 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsNoValues()
224 .setField(ID_USERNAME, (String) null) in testDatasetAuthTwoFieldsNoValues()
260 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoDatasets()
271 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets()
277 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in testDatasetAuthTwoDatasets()
[all …]
DLoginWithStringsActivityTest.java23 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
80 .setField(ID_USERNAME, "dude")
84 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD)
96 assertTextIsSanitized(fillRequest.structure, ID_USERNAME);
106 assertHintFromResources(fillRequest.structure, ID_USERNAME, "Hint for username",
138 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME);
140 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_USERNAME);
150 assertHintFromResources(fillRequest.structure, ID_USERNAME, "Hint for username",
DVirtualContainerActivityTest.java24 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
181 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in autofillTest()
204 final ViewNode username = findNodeByResourceId(request.structure, ID_USERNAME); in autofillTest()
219 assertThat(username.getIdEntry()).isEqualTo(ID_USERNAME); in autofillTest()
272 .setField(ID_USERNAME, "dude") in testAutofillTwoDatasets()
277 .setField(ID_USERNAME, "DUDE") in testAutofillTwoDatasets()
321 .setField(ID_USERNAME, "dude") in testAutofillManuallyOneDataset()
359 .setField(ID_USERNAME, "dude") in autofillManuallyTwoDatasets()
364 .setField(ID_USERNAME, "jenny") in autofillManuallyTwoDatasets()
399 .setField(ID_USERNAME, "dude") in testAutofillCallbacks()
[all …]
DFillEventHistoryTest.java22 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
93 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD) in textContextCommitted_withoutDatasets()
122 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasets()
127 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasets()
175 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
181 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
239 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
245 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
307 .setField(ID_USERNAME, "username1") in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
313 .setField(ID_USERNAME, "username2") in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
[all …]
DPreFilledLoginActivityTest.java20 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
66 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD)
87 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME),
104 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich");
DVirtualContainerActivityCompatModeTest.java22 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
117 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_firstDoesNotExist()
142 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_bothExist()
166 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD).build()); in testFocusOnUrlBarIsIgnored()
189 .setRequiredSavableIds(SAVE_DATA_TYPE_PASSWORD, ID_USERNAME, ID_PASSWORD).build()); in testUrlBarChangeIgnoredWhenServiceCanSave()
223 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testUrlBarChangeIgnoredWhenServiceCanSave()
242 .setField(ID_USERNAME, "dude") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
DDialogLauncherActivityTest.java19 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
78 assertTextIsSanitized(fillRequest.structure, ID_USERNAME);
107 .setField(ID_USERNAME, "dude")
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DValidatorTest.java20 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
63 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in integrationTest()
66 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in integrationTest()
DMultiScreenLoginTest.java21 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
93 .setRequiredSavableIds(SAVE_DATA_TYPE_USERNAME, ID_USERNAME)
110 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude");
222 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude");
314 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude");
375 ID_USERNAME);
420 mUiBot.assertChildText(saveUi, ID_USERNAME, "dude");
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DAutofillSaveDialogTest.java19 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
54 .setRequiredSavableIds(SAVE_DATA_TYPE_USERNAME, ID_USERNAME) in testShowSaveUiWhenLaunchActivityWithFlagClearTopAndSingleTop()
99 .setRequiredSavableIds(SAVE_DATA_TYPE_USERNAME, ID_USERNAME) in testShowSaveUiWhenLaunchActivityWithFlagClearTaskAndNewTask()
DCustomDescriptionTest.java20 import static android.autofillservice.cts.testcore.Helper.ID_USERNAME;
72 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME, ID_PASSWORD) in testCustomDescription()
75 final AutofillId usernameId = findAutofillIdByResourceId(context, ID_USERNAME); in testCustomDescription()
106 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in testSanitizationBeforeBatchUpdates()
112 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in testSanitizationBeforeBatchUpdates()
154 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in testSanitizationBeforeTransformations()
160 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in testSanitizationBeforeTransformations()
534 .setRequiredSavableIds(SAVE_DATA_TYPE_GENERIC, ID_USERNAME) in multipleTransformationsForSameFieldTest()
538 findAutofillIdByResourceId(contexts.get(0), ID_USERNAME); in multipleTransformationsForSameFieldTest()

12