Home
last modified time | relevance | path

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

12

/cts/tests/autofillservice/src/android/autofillservice/cts/
DPartitionedActivityTest.java69 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testAutofillTwoPartitionsSkipFirst()
70 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testAutofillTwoPartitionsSkipFirst()
92 .setField(ID_L2C1, "l2c1", createPresentation("l2c1")) in testAutofillTwoPartitionsSkipFirst()
93 .setField(ID_L2C2, "l2c2", createPresentation("l2c2")) in testAutofillTwoPartitionsSkipFirst()
149 .setField(ID_L1C1, "l1c1") in testAutofillTwoPartitionsInSequence()
150 .setField(ID_L1C2, "l1c2") in testAutofillTwoPartitionsInSequence()
177 .setField(ID_L2C1, "l2c1") in testAutofillTwoPartitionsInSequence()
178 .setField(ID_L2C2, "l2c2") in testAutofillTwoPartitionsInSequence()
224 .setField(ID_L1C1, "l1c1") in autofill4PartitionsTest()
225 .setField(ID_L1C2, "l1c2") in autofill4PartitionsTest()
[all …]
DOptionalSaveActivityTest.java200 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
201 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
202 .setField(ID_CITY, "Shelbyville")
203 .setField(ID_FAVORITE_COLOR, "Lemon"),
225 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
226 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
227 .setField(ID_CITY, "Shelbyville")
228 .setField(ID_FAVORITE_COLOR, "Lemon"),
249 .setField(ID_ADDRESS1, "Shelbyville Nuclear Power Plant")
250 .setField(ID_ADDRESS2, "Shelbyville Bluffs")
[all …]
DAuthenticationTest.java69 .setField(ID_USERNAME, "dude") in datasetAuthTwoFields()
70 .setField(ID_PASSWORD, "sweet") in datasetAuthTwoFields()
76 .setField(ID_USERNAME, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
77 .setField(ID_PASSWORD, UNUSED_AUTOFILL_VALUE) in datasetAuthTwoFields()
149 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsReplaceResponse()
150 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsReplaceResponse()
162 .setField(ID_USERNAME, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
163 .setField(ID_PASSWORD, (AutofillValue) null) in testDatasetAuthTwoFieldsReplaceResponse()
210 .setField(ID_USERNAME, "dude") in testDatasetAuthTwoFieldsNoValues()
211 .setField(ID_PASSWORD, "sweet") in testDatasetAuthTwoFieldsNoValues()
[all …]
DDatasetFilteringTest.java74 .setField(ID_USERNAME, "aa") in testFilter()
78 .setField(ID_USERNAME, "ab") in testFilter()
82 .setField(ID_USERNAME, "b") in testFilter()
128 .setField(ID_USERNAME, "aa") in testFilter_injectingEvents()
132 .setField(ID_USERNAME, "ab") in testFilter_injectingEvents()
136 .setField(ID_USERNAME, "b") in testFilter_injectingEvents()
186 .setField(ID_USERNAME, "aa") in testFilter_usingKeyboard()
190 .setField(ID_USERNAME, "ab") in testFilter_usingKeyboard()
194 .setField(ID_USERNAME, "b") in testFilter_usingKeyboard()
254 .setField(ID_USERNAME, "aa") in testFilter_nullValuesAlwaysMatched()
[all …]
DFillEventHistoryTest.java83 .setField(ID_USERNAME, "dude") in testDatasetAuthenticationSelected()
84 .setField(ID_PASSWORD, "sweet") in testDatasetAuthenticationSelected()
90 .setField(ID_USERNAME, "username") in testDatasetAuthenticationSelected()
124 .setField(ID_USERNAME, "username") in testAuthenticationSelected()
161 .setField(ID_USERNAME, "username") in testDatasetSelected_twoResponses()
191 .setField(ID_PASSWORD, "password2") in testDatasetSelected_twoResponses()
197 .setField(ID_PASSWORD, "password3") in testDatasetSelected_twoResponses()
244 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsNullResponse()
281 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceReturnsFailure()
318 .setField(ID_USERNAME, "username") in testNoEvents_whenServiceTimesout()
[all …]
DLoginActivityTest.java194 .setField(ID_USERNAME, "dude") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
195 .setField(ID_PASSWORD, "sweet") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
196 .setField(ID_EMPTY, "new view on the block") in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
230 .setField(ID_USERNAME, "dude") in testAutofillManuallyAfterServiceReturnedNoDatasets()
231 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAfterServiceReturnedNoDatasets()
379 .setField(ID_USERNAME, "dude") in testAutofillManuallyAlwaysCallServiceAgain()
380 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyAlwaysCallServiceAgain()
389 .setField(ID_USERNAME, "DUDE") in testAutofillManuallyAlwaysCallServiceAgain()
390 .setField(ID_PASSWORD, "SWEET") in testAutofillManuallyAlwaysCallServiceAgain()
438 .setField(ID_USERNAME, "dude") in autofillOneDatasetTest()
[all …]
DVirtualContainerActivityTest.java171 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in autofillTest()
172 .setField(ID_PASSWORD, "sweet", createPresentation("SWEET")) in autofillTest()
262 .setField(ID_USERNAME, "dude") in testAutofillTwoDatasets()
263 .setField(ID_PASSWORD, "sweet") in testAutofillTwoDatasets()
267 .setField(ID_USERNAME, "DUDE") in testAutofillTwoDatasets()
268 .setField(ID_PASSWORD, "SWEET") in testAutofillTwoDatasets()
309 .setField(ID_USERNAME, "dude") in testAutofillManuallyOneDataset()
310 .setField(ID_PASSWORD, "sweet") in testAutofillManuallyOneDataset()
347 .setField(ID_USERNAME, "dude") in autofillManuallyTwoDatasets()
348 .setField(ID_PASSWORD, "sweet") in autofillManuallyTwoDatasets()
[all …]
DCannedFillResponse.java620 public Builder setField(String id, String text) { in setField() method in CannedFillResponse.CannedDataset.Builder
621 return setField(id, AutofillValue.forText(text)); in setField()
631 public Builder setField(String id, String text, Pattern filter) { in setField() method in CannedFillResponse.CannedDataset.Builder
632 return setField(id, AutofillValue.forText(text), true, filter); in setField()
636 return setField(id, AutofillValue.forText(text), false, null); in setUnfilterableField()
646 public Builder setField(String id, int index) { in setField() method in CannedFillResponse.CannedDataset.Builder
647 return setField(id, AutofillValue.forList(index)); in setField()
657 public Builder setField(String id, boolean toggled) { in setField() method in CannedFillResponse.CannedDataset.Builder
658 return setField(id, AutofillValue.forToggle(toggled)); in setField()
668 public Builder setField(String id, long date) { in setField() method in CannedFillResponse.CannedDataset.Builder
[all …]
DCheckoutActivityTest.java89 .setField(ID_CC_NUMBER, "4815162342")
90 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
91 .setField(ID_ADDRESS, 1)
92 .setField(ID_SAVE_CC, true)
134 .setField(ID_CC_NUMBER, "4815162342")
135 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
136 .setField(ID_ADDRESS, 1)
137 .setField(ID_SAVE_CC, true)
177 .setField(ID_CC_NUMBER, "4815162342")
178 .setField(ID_CC_EXPIRATION, INDEX_CC_EXPIRATION_NEVER)
[all …]
DSimpleSaveActivityTest.java110 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave()
111 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave()
156 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_largeAssistStructure()
157 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_largeAssistStructure()
217 .setField(ID_INPUT, "id") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
218 .setField(ID_PASSWORD, "pass") in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
672 .setField(ID_INPUT, "id") in testTapHomeWhileDatasetPickerUiIsShowing()
673 .setField(ID_PASSWORD, "pass") in testTapHomeWhileDatasetPickerUiIsShowing()
732 .setField(ID_INPUT, "id") in testTapHomeWhileSaveUiIsShowing()
733 .setField(ID_PASSWORD, "pass") in testTapHomeWhileSaveUiIsShowing()
[all …]
DWebViewActivityTest.java113 .setField(HTML_NAME_USERNAME, "dude")
114 .setField(HTML_NAME_PASSWORD, "sweet")
238 .setField(HTML_NAME_USERNAME, "dude")
239 .setField(HTML_NAME_PASSWORD, "sweet")
322 .setField(HTML_NAME_USERNAME, "dude", createPresentation("USER"))
323 .setField(HTML_NAME_PASSWORD, "sweet", createPresentation("PASS"))
324 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
325 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
447 .setField(ID_OUTSIDE1, "duder", createPresentation("OUT1"))
448 .setField(ID_OUTSIDE2, "sweeter", createPresentation("OUT2"))
[all …]
DAutofillValueTest.java189 .setField("editText", value)
243 .setField("compoundButton", value)
296 .setField("spinner", value)
360 .setField("datePicker", value)
361 .setField("editText", "filled")
430 .setField("timePicker", value)
431 .setField("editText", "filled")
489 .setField("radioGroup", value)
490 .setField("editText", "filled")
DMutableAutofillIdTest.java63 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
64 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
103 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
139 .setField(ID_L1C1, "l1c1", createPresentation("l1c1")) in testViewGoneDuringAutofillCanStillBeFilled()
140 .setField(ID_L1C2, "l1c2", createPresentation("l1c2")) in testViewGoneDuringAutofillCanStillBeFilled()
DMultipleFragmentLoginTest.java65 .setField("editText1", "editText1-autofilled")
102 .setField("editText3", "editText3-autofilled")
103 .setField("editText4", "editText4-autofilled")
209 .setField("editText1", "whatever")
DVirtualContainerActivityCompatModeTest.java111 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_firstDoesNotExist()
136 .setField(ID_USERNAME, "dude", createPresentation("DUDE")) in testMultipleUrlBars_bothExist()
236 .setField(ID_USERNAME, "dude") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
237 .setField(ID_PASSWORD, "sweet") in testUrlBarChangeCancelSessionWhenServiceCannotSave()
DSessionLifecycleTest.java181 .setField(ID_USERNAME, AutofillValue.forText("autofilled username")) in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
331 .setField(ID_USERNAME, "filled").build()) in testDatasetVisibleWhileAutofilledAppIsLifecycled()
375 .setField(ID_USERNAME, "filled").build()) in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
395 .setField(ID_USERNAME, "filled").build()) in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
434 .setField(ID_USERNAME, "filled").build()) in testDatasetGoesAwayWhenAutofilledAppIsKilled()
DDialogLauncherActivityTest.java102 .setField(ID_USERNAME, "dude")
103 .setField(ID_PASSWORD, "sweet")
DTimePickerTestCase.java59 .setField(ID_OUTPUT, "Y U NO CHANGE ME?") in testAutoFillAndSave()
60 .setField(ID_TIME_PICKER, cal.getTimeInMillis()) in testAutoFillAndSave()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java442 .setField(atomTag) in uploadWakelockDurationBatteryStatsConfig()
444 .setField(WakelockStateChanged.TAG_FIELD_NUMBER)) in uploadWakelockDurationBatteryStatsConfig()
446 .setField(1) in uploadWakelockDurationBatteryStatsConfig()
449 .setField(1))); in uploadWakelockDurationBatteryStatsConfig()
456 .setField(WakelockStateChanged.TYPE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
459 .setField(WakelockStateChanged.STATE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
467 .setField(WakelockStateChanged.TYPE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
470 .setField(WakelockStateChanged.STATE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
478 .setField(WakelockStateChanged.TYPE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
481 .setField(WakelockStateChanged.STATE_FIELD_NUMBER) in uploadWakelockDurationBatteryStatsConfig()
[all …]
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricsUtils.java51 .setField(AppBreadcrumbReported.STATE_FIELD_NUMBER) in startAtomMatcher()
67 .setField(AppBreadcrumbReported.STATE_FIELD_NUMBER) in stopAtomMatcher()
82 .setField(AppBreadcrumbReported.STATE_FIELD_NUMBER) in unspecifiedAtomMatcher()
101 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER) in appBreadcrumbMatcherWithLabel()
114 .setField(AppBreadcrumbReported.STATE_FIELD_NUMBER) in appBreadcrumbMatcherWithLabelAndState()
117 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER) in appBreadcrumbMatcherWithLabelAndState()
128 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER) in simpleAtomMatcher()
DValueMetricsTests.java74 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testValueMetric()
75 .addChild(FieldMatcher.newBuilder().setField( in testValueMetric()
78 .setField(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID) in testValueMetric()
155 .setField(Atom.SYSTEM_ELAPSED_REALTIME_FIELD_NUMBER) in testPullerAcrossBuckets()
156 .addChild(FieldMatcher.newBuilder().setField( in testPullerAcrossBuckets()
235 .setField(Atom.SYSTEM_ELAPSED_REALTIME_FIELD_NUMBER) in testMultipleEventsPerBucket()
236 .addChild(FieldMatcher.newBuilder().setField( in testMultipleEventsPerBucket()
308 .setField(Atom.SYSTEM_ELAPSED_REALTIME_FIELD_NUMBER) in testPullerAcrossBucketsWithActivation()
309 .addChild(FieldMatcher.newBuilder().setField( in testPullerAcrossBucketsWithActivation()
383 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testValueMetricWithConditionAndActivation()
[all …]
DGaugeMetricsTests.java79 FieldMatcher.newBuilder().setField(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID).build(); in testGaugeMetric()
89 .setField(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID) in testGaugeMetric()
91 .setField(AppBreadcrumbReported.STATE_FIELD_NUMBER) in testGaugeMetric()
253 .setField(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID) in testPulledGaugeMetricWithConditionAndActivation()
256 .setDimensionsInWhat(FieldMatcher.newBuilder().setField(whatMatcherId)) in testPulledGaugeMetricWithConditionAndActivation()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java183 .setField(ID_USERNAME, "dude")
184 .setField(ID_PASSWORD, "sweet")
251 .setField(ID_USERNAME, "dude")
252 .setField(ID_PASSWORD, "sweet")
298 .setField(usernameId, "dude")
335 .setField(usernameId, "dude")
366 .setField(usernameId, "dude")
367 .setField(mActivity.getPassword().getAutofillId(), "sweet")
433 .setField(usernameId, "dude")
434 .setField(mActivity.getPassword().getAutofillId(), "sweet")
[all …]
DAbstractLoginNotImportantForAutofillTestCase.java77 .setField(usernameId, "dude") in testAutofill_oneField()
113 .setField(usernameId, "dude") in testAutofill_twoFields()
114 .setField(mActivity.getPassword().getAutofillId(), "sweet") in testAutofill_twoFields()
150 .setField(usernameId, "dude") in testAutofill_manualRequest()
186 .setField(usernameId, "WHATEVER") in testAutofill_autoThenManualRequests()
206 .setField(usernameId, "dude") in testAutofill_autoThenManualRequests()
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java102 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testCountAnomalyDetection()
104 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER) in testCountAnomalyDetection()
265 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testValueAnomalyDetection()
267 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER)) in testValueAnomalyDetection()
315 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testPerfetto()
317 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER)) in testPerfetto()
352 .setField(Atom.APP_BREADCRUMB_REPORTED_FIELD_NUMBER) in testGaugeAnomalyDetection()
354 .setField(AppBreadcrumbReported.LABEL_FIELD_NUMBER)) in testGaugeAnomalyDetection()
402 .setField(ATOM_ID) in testPulledAnomalyDetection()
403 .addChild(FieldMatcher.newBuilder().setField(SLICE_BY_FIELD)) in testPulledAnomalyDetection()
[all …]

12