Home
last modified time | relevance | path

Searched refs:setField (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DPartitionedActivityTest.java72 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testAutofillTwoPartitionsSkipFirst()
73 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testAutofillTwoPartitionsSkipFirst()
95 .setField(ID_L2C1, "l2c1", createPresentation("l2c1")) in testAutofillTwoPartitionsSkipFirst()
96 .setField(ID_L2C2, "l2c2", createPresentation("l2c2")) in testAutofillTwoPartitionsSkipFirst()
150 .setField(ID_L1C1, "l1c1") in testAutofillTwoPartitionsInSequence()
151 .setField(ID_L1C2, "l1c2") in testAutofillTwoPartitionsInSequence()
178 .setField(ID_L2C1, "l2c1") in testAutofillTwoPartitionsInSequence()
179 .setField(ID_L2C2, "l2c2") in testAutofillTwoPartitionsInSequence()
223 .setField(ID_L1C1, "l1c1") in autofill4PartitionsTest()
224 .setField(ID_L1C2, "l1c2") in autofill4PartitionsTest()
[all …]
DAuthenticationTest.java76 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
77 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields()
83 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
84 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
156 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsReplaceResponse()
157 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsReplaceResponse()
169 .setField(ID_USERNAME, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
170 .setField(ID_PASSWORD, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
217 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsNoValues()
218 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsNoValues()
[all …]
DLoginActivityTest.java162 .setField(ID_USERNAME, "dude") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
163 .setField(ID_PASSWORD, "sweet") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
164 .setField(ID_EMPTY, "new view on the block") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
198 .setField(ID_USERNAME, "dude") in testAutofillManuallyAfterServiceReturnedNoDatasets()
199 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAfterServiceReturnedNoDatasets()
348 .setField(ID_USERNAME, "dude") in testAutofillManuallyAlwaysCallServiceAgain()
349 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAlwaysCallServiceAgain()
361 .setField(ID_USERNAME, "DUDE") in testAutofillManuallyAlwaysCallServiceAgain()
362 .setField(ID_PASSWORD, "SWEET") in testAutofillManuallyAlwaysCallServiceAgain()
413 .setField(ID_USERNAME, "dude") in autofillOneDatasetTest()
[all …]
DFillEventHistoryTest.java122 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasets()
123 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasets()
127 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasets()
128 .setField(ID_PASSWORD, "password2") in testContextCommitted_idlessDatasets()
175 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
176 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
181 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
182 .setField(ID_PASSWORD, "password2") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
239 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
240 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
[all …]
DVirtualContainerActivityTest.java181 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in autofillTest()
182 .setField(ID_PASSWORD, "sweet", createPresentation("SWEET")) in autofillTest()
272 .setField(ID_USERNAME, "dude") in testAutofillTwoDatasets()
273 .setField(ID_PASSWORD, "sweet") in testAutofillTwoDatasets()
277 .setField(ID_USERNAME, "DUDE") in testAutofillTwoDatasets()
278 .setField(ID_PASSWORD, "SWEET") in testAutofillTwoDatasets()
321 .setField(ID_USERNAME, "dude") in testAutofillManuallyOneDataset()
322 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyOneDataset()
359 .setField(ID_USERNAME, "dude") in autofillManuallyTwoDatasets()
360 .setField(ID_PASSWORD, "sweet") in autofillManuallyTwoDatasets()
[all …]
DCheckoutActivityTest.java110 .setField(ID_CC_NUMBER, "4815162342")
111 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
112 .setField(ID_ADDRESS, 1)
113 .setField(ID_SAVE_CC, true)
155 .setField(ID_CC_NUMBER, "4815162342")
156 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
157 .setField(ID_ADDRESS, 1)
158 .setField(ID_SAVE_CC, true)
198 .setField(ID_CC_NUMBER, "4815162342")
199 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
[all …]
DWebViewActivityTest.java122 .setField(HTML_NAME_USERNAME, "dude")
123 .setField(HTML_NAME_PASSWORD, "sweet")
247 .setField(HTML_NAME_USERNAME, "dude")
248 .setField(HTML_NAME_PASSWORD, "sweet")
334 .setField(HTML_NAME_USERNAME, "dude", createPresentation("USER"))
335 .setField(HTML_NAME_PASSWORD, "sweet", createPresentation("PASS"))
336 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
337 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
459 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
460 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
[all …]
DVirtualContainerActivityCompatModeTest.java117 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_firstDoesNotExist()
142 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_bothExist()
242 .setField(ID_USERNAME, "dude") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
243 .setField(ID_PASSWORD, "sweet") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
DMultipleFragmentLoginTest.java72 .setField("editText1", "editText1-autofilled")
109 .setField("editText3", "editText3-autofilled")
110 .setField("editText4", "editText4-autofilled")
216 .setField("editText1", "whatever")
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOptionalSaveActivityTest.java205 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
206 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
207 .setField(ID_CITY, "Shelbyville")
208 .setField(ID_FAVORITE_COLOR, "Lemon"),
230 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
231 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
232 .setField(ID_CITY, "Shelbyville")
233 .setField(ID_FAVORITE_COLOR, "Lemon"),
254 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
255 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
[all …]
DSimpleSaveActivityTest.java134 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave()
135 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave()
180 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_largeAssistStructure()
181 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_largeAssistStructure()
241 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
242 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
541 .setField(ID_USERNAME, "id") in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi()
542 .setField(ID_PASSWORD, "pwd") in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi()
603 .setField(ID_INPUT, "id") in testCloseSaveUiThenStartNewSessionRightAway()
781 .setField(ID_INPUT, "id") in testTapHomeWhileDatasetPickerUiIsShowing()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DDatasetFilteringTest.java85 .setField(ID_USERNAME, "aa") in testFilter()
89 .setField(ID_USERNAME, "ab") in testFilter()
93 .setField(ID_USERNAME, "b") 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()
202 .setField(ID_USERNAME, "aa") in testFilter_usingKeyboard()
206 .setField(ID_USERNAME, "ab") in testFilter_usingKeyboard()
210 .setField(ID_USERNAME, "b") in testFilter_usingKeyboard()
271 .setField(ID_USERNAME, "aa") in testFilter_nullValuesAlwaysMatched()
[all …]
DLoginActivityCommonTestCase.java136 .setField(ID_USERNAME, "dude" + i) in testBasicLoginAutofill()
137 .setField(ID_PASSWORD, "sweet" + i) in testBasicLoginAutofill()
195 .setField(ID_USERNAME, "dude") in testClearFocusBeforeRespond()
222 .setField(ID_USERNAME, "dude") in testSwitchFocusBeforeResponse()
233 .setField(ID_PASSWORD, "sweet") in testSwitchFocusBeforeResponse()
260 .setField(ID_USERNAME, "dude") in testManualRequestWhileFirstResponseDelayed()
269 .setField(ID_USERNAME, "dude2") in testManualRequestWhileFirstResponseDelayed()
295 .setField(ID_USERNAME, "dude") in testResponseFirstAfterResponseSecond()
304 .setField(ID_USERNAME, "dude2") in testResponseFirstAfterResponseSecond()
DAbstractLoginNotImportantForAutofillTestCase.java78 .setField(usernameId, "dude") in testAutofill_oneField()
114 .setField(usernameId, "dude") in testAutofill_twoFields()
115 .setField(mActivity.getPassword().getAutofillId(), "sweet") in testAutofill_twoFields()
151 .setField(usernameId, "dude") in testAutofill_manualRequest()
189 .setField(usernameId, "WHATEVER") in testAutofill_autoThenManualRequests()
209 .setField(usernameId, "dude") in testAutofill_autoThenManualRequests()
DFillEventHistoryCommonTestCase.java106 .setField(ID_USERNAME, "dude") in testDatasetAuthenticationSelected()
107 .setField(ID_PASSWORD, "sweet") in testDatasetAuthenticationSelected()
113 .setField(ID_USERNAME, "username") in testDatasetAuthenticationSelected()
149 .setField(ID_USERNAME, "username") in testAuthenticationSelected()
193 .setField(ID_USERNAME, "username") in testDatasetSelected_twoResponses()
225 .setField(ID_PASSWORD, "password2") in testDatasetSelected_twoResponses()
231 .setField(ID_PASSWORD, "password3") in testDatasetSelected_twoResponses()
282 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsNullResponse()
323 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsFailure()
365 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceTimesout()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java92 .setField(ID_USERNAME, "dude") in testFillResponseAuth_withNewAutofillSessionStartByActivity()
93 .setField(ID_PASSWORD, "sweet") in testFillResponseAuth_withNewAutofillSessionStartByActivity()
137 .setField(ID_USERNAME, "dude") in testFillResponseAuth()
138 .setField(ID_PASSWORD, "sweet") in testFillResponseAuth()
192 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
193 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields()
197 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
198 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
271 .setField(ID_USERNAME, "dude", null, in testDatasetAuthEphemeralOrPinned()
273 .setField(ID_PASSWORD, "sweet", null, in testDatasetAuthEphemeralOrPinned()
[all …]
DInlineAugmentedLoginActivityTest.java119 .setField(usernameId, "dude", createInlinePresentation("dude"))
120 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
155 .setField(usernameId, "dude", createInlinePresentation("dude"))
156 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
159 .setField(usernameId, "DUDE", createInlinePresentation("DUDE"))
160 .setField(passwordId, "SWEET", createInlinePresentation("SWEET"))
199 .setField(usernameId, "dude", createInlinePresentation("dude"))
200 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
245 .setField(usernameId, "dude", createInlinePresentation("dude"))
246 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
[all …]
DInlineTooltipTest.java65 .setField(ID_USERNAME, "dude") in testShowTooltip()
90 .setField(ID_USERNAME, "dude") in testShowTooltipWithTwoFields()
97 .setField(ID_PASSWORD, "sweet") in testShowTooltipWithTwoFields()
102 .setField(ID_PASSWORD, "lollipop") in testShowTooltipWithTwoFields()
148 .setField(ID_USERNAME, "dude") in testShowTooltipWithSecondDataset()
153 .setField(ID_USERNAME, "sweet") in testShowTooltipWithSecondDataset()
160 .setField(ID_USERNAME, "candy") in testShowTooltipWithSecondDataset()
DInlineFilteringTest.java64 .setField(ID_USERNAME, "dude") in testFiltering_filtersByPrefix()
65 .setField(ID_PASSWORD, "sweet") in testFiltering_filtersByPrefix()
70 .setField(ID_USERNAME, "test") in testFiltering_filtersByPrefix()
71 .setField(ID_PASSWORD, "tweet") in testFiltering_filtersByPrefix()
110 .setField(ID_USERNAME, "sergey") in testFiltering_privacy()
115 .setField(ID_USERNAME, "page") in testFiltering_privacy()
159 .setField(ID_USERNAME, "sergey") in testFiltering_privacy_textReplacement()
189 .setField(ID_USERNAME, "pinned") in testFiltering_pinnedAreNotFiltered()
DInlineLoginActivityTest.java91 .setField(ID_USERNAME, "dude") in testAutofill_disjointDatasets()
96 .setField(ID_PASSWORD, "sweet") in testAutofill_disjointDatasets()
101 .setField(ID_PASSWORD, "lollipop") in testAutofill_disjointDatasets()
165 .setField(ID_USERNAME, "dude") in assertAutofill_SwitchActivity()
166 .setField(ID_PASSWORD, "password") in assertAutofill_SwitchActivity()
210 .setField(ID_USERNAME, "dude") in testAutofill_selectDatasetThenHideInlineSuggestion()
255 .setField(ID_USERNAME, "dude") in testLongClickAttribution()
302 .setField(ID_USERNAME, "dude") in testAutofill_noInvalid()
337 .setField(ID_USERNAME, "dude") in testSwitchInputMethod()
358 .setField(ID_USERNAME, "dude2") in testSwitchInputMethod()
[all …]
DInlineWebViewActivityTest.java126 .setField(HTML_NAME_USERNAME, "dude")
127 .setField(HTML_NAME_PASSWORD, "sweet")
198 .setField(HTML_NAME_USERNAME, "dude")
199 .setField(HTML_NAME_PASSWORD, "sweet")
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedFillResponse.java729 public Builder setField(String id, String text) { in setField() method in CannedFillResponse.CannedDataset.Builder
730 return setField(id, AutofillValue.forText(text)); in setField()
740 public Builder setField(String id, String text, Pattern filter) { in setField() method in CannedFillResponse.CannedDataset.Builder
741 return setField(id, AutofillValue.forText(text), true, filter); in setField()
745 return setField(id, AutofillValue.forText(text), false, null); in setUnfilterableField()
755 public Builder setField(String id, int index) { in setField() method in CannedFillResponse.CannedDataset.Builder
756 return setField(id, AutofillValue.forList(index)); in setField()
766 public Builder setField(String id, boolean toggled) { in setField() method in CannedFillResponse.CannedDataset.Builder
767 return setField(id, AutofillValue.forToggle(toggled)); in setField()
777 public Builder setField(String id, long date) { in setField() method in CannedFillResponse.CannedDataset.Builder
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java194 .setField(ID_USERNAME, "dude")
195 .setField(ID_PASSWORD, "sweet")
262 .setField(ID_USERNAME, "dude")
263 .setField(ID_PASSWORD, "sweet")
326 .setField(ID_USERNAME, "dude")
327 .setField(ID_PASSWORD, "sweet")
355 .setField(usernameId, "dude")
393 .setField(usernameId, "dude")
424 .setField(usernameId, "dude")
425 .setField(mActivity.getPassword().getAutofillId(), "sweet")
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java192 .setField(ID_USERNAME, AutofillValue.forText("autofilled username")) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
353 .setField(ID_USERNAME, "filled").build()) in testDatasetVisibleWhileAutofilledAppIsLifecycled()
383 .setField(ID_USERNAME, "filled").build()) in testDatasetVisibleWhileAutofilledAppIsLifecycled()
409 .setField(ID_USERNAME, "filled").build()) in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
429 .setField(ID_USERNAME, "filled").build()) in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
455 .setField(ID_USERNAME, "filled").build()) in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
480 .setField(ID_USERNAME, "filled").build()) in testDatasetGoesAwayWhenAutofilledAppIsKilled()
DMutableAutofillIdTest.java65 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
66 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
105 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
141 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testViewGoneDuringAutofillCanStillBeFilled()
142 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testViewGoneDuringAutofillCanStillBeFilled()

12