Home
last modified time | relevance | path

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

123

/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.java79 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
80 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields()
86 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
87 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
159 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsReplaceResponse()
160 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsReplaceResponse()
172 .setField(ID_USERNAME, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
173 .setField(ID_PASSWORD, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
220 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsNoValues()
221 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsNoValues()
[all …]
DLoginActivityTest.java190 .setField(ID_USERNAME, "dude") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
191 .setField(ID_PASSWORD, "sweet") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
192 .setField(ID_EMPTY, "new view on the block") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
226 .setField(ID_USERNAME, "dude") in testAutofillManuallyAfterServiceReturnedNoDatasets()
227 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAfterServiceReturnedNoDatasets()
376 .setField(ID_USERNAME, "dude") in testAutofillManuallyAlwaysCallServiceAgain()
377 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAlwaysCallServiceAgain()
389 .setField(ID_USERNAME, "DUDE") in testAutofillManuallyAlwaysCallServiceAgain()
390 .setField(ID_PASSWORD, "SWEET") in testAutofillManuallyAlwaysCallServiceAgain()
450 .setField(AUTOFILL_HINT_USERNAME, "dude") in autofillPccDatasetTest_setForAllHints()
[all …]
DFillEventHistoryTest.java127 .setField(ID_USERNAME, "ab1") in testContextCommitted_idlessDatasets()
128 .setField(ID_PASSWORD, "ab1") in testContextCommitted_idlessDatasets()
132 .setField(ID_USERNAME, "ab2") in testContextCommitted_idlessDatasets()
133 .setField(ID_PASSWORD, "ab2") in testContextCommitted_idlessDatasets()
182 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
183 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
188 .setField(ID_USERNAME, "username2") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
189 .setField(ID_PASSWORD, "password2") in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
246 .setField(ID_USERNAME, "username1") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
247 .setField(ID_PASSWORD, "password1") in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
[all …]
DVirtualContainerActivityTest.java188 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in autofillTest()
189 .setField(ID_PASSWORD, "sweet", createPresentation("SWEET")) in autofillTest()
279 .setField(ID_USERNAME, "dude") in testAutofillTwoDatasets()
280 .setField(ID_PASSWORD, "sweet") in testAutofillTwoDatasets()
284 .setField(ID_USERNAME, "DUDE") in testAutofillTwoDatasets()
285 .setField(ID_PASSWORD, "SWEET") in testAutofillTwoDatasets()
328 .setField(ID_USERNAME, "dude") in testAutofillManuallyOneDataset()
329 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyOneDataset()
366 .setField(ID_USERNAME, "dude") in autofillManuallyTwoDatasets()
367 .setField(ID_PASSWORD, "sweet") in autofillManuallyTwoDatasets()
[all …]
DCheckoutActivityTest.java112 .setField(ID_CC_NUMBER, "4815162342")
113 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
114 .setField(ID_ADDRESS, 1)
115 .setField(ID_SAVE_CC, true)
157 .setField(ID_CC_NUMBER, "4815162342")
158 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
159 .setField(ID_ADDRESS, 1)
160 .setField(ID_SAVE_CC, true)
200 .setField(ID_CC_NUMBER, "4815162342")
201 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
[all …]
DWebViewActivityTest.java127 .setField(HTML_NAME_USERNAME, "dude")
128 .setField(HTML_NAME_PASSWORD, "sweet")
252 .setField(HTML_NAME_USERNAME, "dude")
253 .setField(HTML_NAME_PASSWORD, "sweet")
339 .setField(HTML_NAME_USERNAME, "dude", createPresentation("USER"))
340 .setField(HTML_NAME_PASSWORD, "sweet", createPresentation("PASS"))
341 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
342 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
469 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
470 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOptionalSaveActivityTest.java206 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
207 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
208 .setField(ID_CITY, "Shelbyville")
209 .setField(ID_FAVORITE_COLOR, "Lemon"),
231 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
232 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
233 .setField(ID_CITY, "Shelbyville")
234 .setField(ID_FAVORITE_COLOR, "Lemon"),
255 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
256 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
[all …]
DSimpleSaveActivityTest.java135 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave()
136 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave()
180 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_largeAssistStructure()
181 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_largeAssistStructure()
240 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
241 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
543 .setField(ID_USERNAME, "id") in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi()
544 .setField(ID_PASSWORD, "pwd") in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi()
605 .setField(ID_INPUT, "id") in testCloseSaveUiThenStartNewSessionRightAway()
772 .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()
268 .setField(ID_USERNAME, "abcdefg") in testFilter_noSuggestionShownAfterUserTypesThreeCharacters()
[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.java79 .setField(usernameId, "dude") in testAutofill_oneField()
115 .setField(usernameId, "dude") in testAutofill_twoFields()
116 .setField(mActivity.getPassword().getAutofillId(), "sweet") in testAutofill_twoFields()
152 .setField(usernameId, "dude") in testAutofill_manualRequest()
190 .setField(usernameId, "WHATEVER") in testAutofill_autoThenManualRequests()
210 .setField(usernameId, "dude") in testAutofill_autoThenManualRequests()
DFillEventHistoryCommonTestCase.java111 .setField(ID_USERNAME, "dude") in testDatasetAuthenticationSelected()
112 .setField(ID_PASSWORD, "sweet") in testDatasetAuthenticationSelected()
118 .setField(ID_USERNAME, "username") in testDatasetAuthenticationSelected()
157 .setField(ID_USERNAME, "username") in testAuthenticationSelected()
205 .setField(ID_USERNAME, "username") in testDatasetSelected_twoResponses()
239 .setField(ID_PASSWORD, "password2") in testDatasetSelected_twoResponses()
245 .setField(ID_PASSWORD, "password3") in testDatasetSelected_twoResponses()
299 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsNullResponse()
342 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsFailure()
386 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceTimesout()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DLoginActivityTest.java92 .setField(ID_USERNAME, "dude") in testPccRequest()
93 .setField(ID_PASSWORD, "sweet") in testPccRequest()
134 .setField(ID_USERNAME, "dude") in testShowFillDialogCustomIcon()
135 .setField(ID_PASSWORD, "sweet") in testShowFillDialogCustomIcon()
185 .setField(ID_USERNAME, "dude") in testHideServiceIcon()
186 .setField(ID_PASSWORD, "sweet") in testHideServiceIcon()
251 .setField(ID_USERNAME, "dude") in testTextView_clickTwiceWithShowFillDialog_showIme()
252 .setField(ID_PASSWORD, "sweet") in testTextView_clickTwiceWithShowFillDialog_showIme()
293 .setField(ID_USERNAME, "dude") in testShowFillDialog()
294 .setField(ID_PASSWORD, "sweet") in testShowFillDialog()
[all …]
DMultipleStepsSignInActivityTest.java65 .setField(ID_USERNAME, "dude") in testShowFillDialog_contentChanged_shownFillDialog()
93 .setField(ID_PASSWORD, "sweet") in testShowFillDialog_contentChanged_shownFillDialog()
126 .setField(ID_USERNAME, "dude") in testShowFillDialog_backPrevPage_notShownFillDialog()
144 .setField(ID_PASSWORD, "sweet") in testShowFillDialog_backPrevPage_notShownFillDialog()
193 .setField(ID_USERNAME, "dude") in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog()
211 .setField(ID_PASSWORD, "sweet") in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java94 .setField(ID_USERNAME, "dude") in testFillResponseAuth_withNewAutofillSessionStartByActivity()
95 .setField(ID_PASSWORD, "sweet") in testFillResponseAuth_withNewAutofillSessionStartByActivity()
142 .setField(ID_USERNAME, "dude") in testFillResponseAuth()
143 .setField(ID_PASSWORD, "sweet") in testFillResponseAuth()
199 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
200 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields()
204 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
205 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
278 .setField(ID_USERNAME, "dude", null, in testDatasetAuthEphemeralOrPinned()
280 .setField(ID_PASSWORD, "sweet", null, in testDatasetAuthEphemeralOrPinned()
[all …]
DInlineTooltipTest.java64 .setField(ID_USERNAME, "dude") in testShowTooltip()
89 .setField(ID_USERNAME, "dude") in testShowTooltipWithTwoFields()
96 .setField(ID_PASSWORD, "sweet") in testShowTooltipWithTwoFields()
101 .setField(ID_PASSWORD, "lollipop") in testShowTooltipWithTwoFields()
147 .setField(ID_USERNAME, "dude") in testShowTooltipWithSecondDataset()
152 .setField(ID_USERNAME, "sweet") in testShowTooltipWithSecondDataset()
159 .setField(ID_USERNAME, "candy") in testShowTooltipWithSecondDataset()
DInlineFilteringTest.java63 .setField(ID_USERNAME, "dude") in testFiltering_filtersByPrefix()
64 .setField(ID_PASSWORD, "sweet") in testFiltering_filtersByPrefix()
69 .setField(ID_USERNAME, "test") in testFiltering_filtersByPrefix()
70 .setField(ID_PASSWORD, "tweet") in testFiltering_filtersByPrefix()
109 .setField(ID_USERNAME, "sergey") in testFiltering_privacy()
114 .setField(ID_USERNAME, "page") in testFiltering_privacy()
158 .setField(ID_USERNAME, "sergey") in testFiltering_privacy_textReplacement()
188 .setField(ID_USERNAME, "pinned") in testFiltering_pinnedAreNotFiltered()
DInlineAugmentedLoginActivityTest.java124 .setField(usernameId, "dude", createInlinePresentation("dude"))
125 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
160 .setField(usernameId, "dude", createInlinePresentation("dude"))
161 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
164 .setField(usernameId, "DUDE", createInlinePresentation("DUDE"))
165 .setField(passwordId, "SWEET", createInlinePresentation("SWEET"))
204 .setField(usernameId, "dude", createInlinePresentation("dude"))
205 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
250 .setField(usernameId, "dude", createInlinePresentation("dude"))
251 .setField(passwordId, "sweet", createInlinePresentation("sweet"))
[all …]
DInlineLoginActivityTest.java113 .setField(ID_USERNAME, "dude") in testAutofill_disjointDatasets()
118 .setField(ID_PASSWORD, "sweet") in testAutofill_disjointDatasets()
123 .setField(ID_PASSWORD, "lollipop") in testAutofill_disjointDatasets()
187 .setField(ID_USERNAME, "dude") in assertAutofill_SwitchActivity()
188 .setField(ID_PASSWORD, "password") in assertAutofill_SwitchActivity()
232 .setField(ID_USERNAME, "dude") in testAutofill_selectDatasetThenHideInlineSuggestion()
277 .setField(ID_USERNAME, "dude") in testLongClickAttribution()
325 .setField(ID_USERNAME, "dude") in testAutofill_noInvalid()
360 .setField(ID_USERNAME, "dude") in testSwitchInputMethod()
381 .setField(ID_USERNAME, "dude2") in testSwitchInputMethod()
[all …]
DInlineLoginMixedCredentialActivityTest.java192 .setField(ID_USERNAME, "dude") in testAutofill_selectNonCredentialView()
197 .setField(ID_PASSWORD, "sweet") in testAutofill_selectNonCredentialView()
202 .setField(ID_CARD_NUMBER, "1111-1111-1111-1111") in testAutofill_selectNonCredentialView()
258 .setField(ID_USERNAME, "dude") in testAutofill_selectNonCredentialThenCredential()
263 .setField(ID_PASSWORD, "sweet") in testAutofill_selectNonCredentialThenCredential()
268 .setField(ID_CARD_NUMBER, "1111-1111-1111-1111") in testAutofill_selectNonCredentialThenCredential()
305 .setField(ID_USERNAME, "dude") in testAutofill_selectCredentialThenNonCredential()
310 .setField(ID_PASSWORD, "sweet") in testAutofill_selectCredentialThenNonCredential()
315 .setField(ID_CARD_NUMBER, "1111-1111-1111-1111") in testAutofill_selectCredentialThenNonCredential()
350 .setField(ID_USERNAME, "dude") in testAutofill_startAndEndWithCredential()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDelayFillTest.java70 .setField(ID_USERNAME, "filled").build())
87 .setField(ID_USERNAME, "filled")
115 .setField(ID_USERNAME, "filled")
132 .setField(ID_USERNAME, "filled")
161 .setField(ID_USERNAME, "filled").build())
178 .setField(ID_USERNAME, "filled")
199 .setField(ID_USERNAME, "filled")
228 .setField(ID_USERNAME, "filled").build())
246 .setField(ID_USERNAME, "filled").build())
267 .setField(ID_USERNAME, "filled")
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedFillResponse.java822 builder.setField(id, fieldBuilder.build());
824 builder.setField(autofillId, fieldBuilder.build());
903 builder.setField(autofillId, fieldBuilder.build());
956 public Builder setField(String id, String text) {
957 return setField(id, AutofillValue.forText(text));
964 public Builder setField(String text) {
965 return setField(AutofillManager.ANY_HINT, AutofillValue.forText(text));
975 public Builder setField(String id, String text, Pattern filter) {
976 return setField(id, AutofillValue.forText(text), true, filter);
980 return setField(id, AutofillValue.forText(text), false, null);
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DPccFieldClassificationTest.java141 .setField(ID_USERNAME, "dude") in testFieldClassification_withFillDialog()
142 .setField(ID_PASSWORD, "sweet") in testFieldClassification_withFillDialog()
206 .setField(ID_USERNAME, "dude") in testFieldClassification_withDropdownDialog()
207 .setField(ID_PASSWORD, "sweet") in testFieldClassification_withDropdownDialog()
263 .setField(ID_USERNAME, "dude") in testFieldClassification_mergeResultsFromPccAndProvider_sameDataset()
264 .setField(AUTOFILL_HINT_PASSWORD, "sweet") in testFieldClassification_mergeResultsFromPccAndProvider_sameDataset()
328 .setField(ID_USERNAME, "dude") in testFieldClassification_mergeResultsFromPccAndProvider_separateDataset()
332 .setField(AUTOFILL_HINT_PASSWORD, "sweet") in testFieldClassification_mergeResultsFromPccAndProvider_separateDataset()
408 .setField(ID_USERNAME, "username") in testFieldClassification_preferPccDetection_sameDetection()
409 .setField(ID_PASSWORD, "password") in testFieldClassification_preferPccDetection_sameDetection()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java202 .setField(ID_USERNAME, "dude")
203 .setField(ID_PASSWORD, "sweet")
270 .setField(ID_USERNAME, "dude")
271 .setField(ID_PASSWORD, "sweet")
334 .setField(ID_USERNAME, "dude")
335 .setField(ID_PASSWORD, "sweet")
363 .setField(usernameId, "dude")
401 .setField(usernameId, "dude")
432 .setField(usernameId, "dude")
433 .setField(mActivity.getPassword().getAutofillId(), "sweet")
[all …]

123