Home
last modified time | relevance | path

Searched refs:dataset (Results 1 – 12 of 12) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java201 Dataset dataset = builder.build(); in testBuilder_setValue() local
202 assertThat(dataset.getFieldIds()).isEqualTo(singletonList(mId)); in testBuilder_setValue()
203 assertThat(dataset.getFieldValues()).isEqualTo(singletonList(mValue)); in testBuilder_setValue()
211 Dataset dataset = builder.build(); in testBuilder_setValueForMultipleFields() local
212 assertThat(dataset.getFieldIds()).isEqualTo(asList(mId, mId2)); in testBuilder_setValueForMultipleFields()
213 assertThat(dataset.getFieldValues()).isEqualTo(asList(mValue, mValue)); in testBuilder_setValueForMultipleFields()
220 Dataset dataset = builder.build(); in testBuilder_setValueAcceptsNullValue() local
221 assertThat(dataset.getFieldIds()).isEqualTo(singletonList(mId)); in testBuilder_setValueAcceptsNullValue()
222 assertThat(dataset.getFieldValues()).isEqualTo(singletonList(null)); in testBuilder_setValueAcceptsNullValue()
230 Dataset dataset = builder.build(); in testBuilder_setValueWithAuthentication() local
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedAugmentedFillResponse.java103 final Dataset dataset; in asFillResponse() local
105 dataset = mOnlyDataset; in asFillResponse()
107 dataset = mDatasets.get(focusedId); in asFillResponse()
109 if (dataset == null) { in asFillResponse()
114 Log.d(TAG, "asFillResponse: id=" + focusedId + ", dataset=" + dataset); in asFillResponse()
135 Log.d(TAG, "Setting autofill UI text to:" + dataset.mPresentation); in asFillResponse()
136 rootView.setText(dataset.mPresentation); in asFillResponse()
144 final AutofillValue onlyValue = dataset.getOnlyFieldValue(); in asFillResponse()
150 values = dataset.getValues(); in asFillResponse()
187 for (Dataset dataset : mInlineSuggestions) { in createResponseWithInlineSuggestion()
[all …]
DInlineUiBot.java81 final UiObject2 dataset = strip.findObject(By.text(name)); in selectSuggestion() local
82 if (dataset == null) { in selectSuggestion()
85 dataset.click(); in selectSuggestion()
109 final UiObject2 dataset = strip.findObject(By.text(name)); in longPressSuggestion() local
110 if (dataset == null) { in longPressSuggestion()
113 dataset.click(LONG_PRESS_MS); in longPressSuggestion()
143 final UiObject2 dataset = strip.findObject(By.text(name)); in assertSuggestion() local
144 if (dataset == null) { in assertSuggestion()
152 final UiObject2 dataset = strip.findObject(By.text(name)); in assertNoSuggestion() local
153 if (dataset != null) { in assertNoSuggestion()
DCannedFillResponse.java245 final Dataset dataset = cannedDatasetToDataset.apply(cannedDataset);
246 assertWithMessage("Cannot create dataset").that(dataset).isNotNull();
247 builder.addDataset(dataset);
439 public Builder addDataset(CannedDataset dataset) {
441 mDatasets.add(dataset);
DUiBot.java404 final UiObject2 dataset = picker.findObject(By.text(name)); in selectDataset() local
405 if (dataset == null) { in selectDataset()
408 dataset.click(); in selectDataset()
1481 public void selectFillDialogDataset(String dataset) throws Exception {
1482 final UiObject2 picker = assertFillDialogDatasets(dataset);
1483 selectDataset(picker, dataset);
DInstrumentedAutoFillService.java529 public Replier addResponse(CannedDataset dataset) { in addResponse() argument
531 .addDataset(dataset) in addResponse()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAuthenticationActivity.java124 public static IntentSender createSender(Context context, int id, CannedDataset dataset) { in createSender() argument
125 return createSender(context, id, dataset, null); in createSender()
133 CannedDataset dataset, Bundle outClientState) { in createSender() argument
134 return createSender(context, id, dataset, outClientState, null); in createSender()
138 CannedDataset dataset, Bundle outClientState, Boolean isEphemeralDataset) { in createSender() argument
141 sDatasets.put(id, dataset); in createSender()
308 final CannedDataset dataset = in doIt() local
329 } else if (dataset != null) { in doIt()
330 result = dataset.asDatasetForPcc(autofillPccResolver); in doIt()
DAugmentedAuthActivity.java76 Dataset dataset = intent.getParcelableExtra(EXTRA_DATASET_TO_RETURN); in onCreate() local
79 Log.d(TAG, "Output: dataset=" + dataset + ", clientState=" + clientState in onCreate()
83 result.putExtra(AutofillManager.EXTRA_AUTHENTICATION_RESULT, dataset); in onCreate()
DManualAuthenticationActivity.java40 public static void setDataset(CannedFillResponse.CannedDataset dataset) { in setDataset() argument
41 sDataset = dataset; in setDataset()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOptionalSaveActivityTest.java301 private void autofillAndSaveOnChangeTest(CannedDataset.Builder dataset, Runnable changes,
308 .addDataset(dataset.setPresentation(createPresentation("Da Dataset")).build())
399 private void autofillNoChangeNoSaveTest(CannedDataset.Builder dataset, Runnable changes)
406 .addDataset(dataset.setPresentation(createPresentation("Da Dataset")).build())
621 for (CannedDataset dataset : datasets) {
622 response.addDataset(dataset);
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java507 final CannedDataset dataset = new CannedDataset.Builder() in fillDatasetAuthWithClientState() local
513 dataset) in fillDatasetAuthWithClientState()
515 dataset, Helper.newClientState("CSI", "FromIntent")); in fillDatasetAuthWithClientState()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DAuthenticationTest.java691 final CannedDataset dataset = new CannedDataset.Builder() in fillDatasetAuthWithClientState() local
697 dataset) in fillDatasetAuthWithClientState()
699 dataset, Helper.newClientState("CSI", "FromIntent")); in fillDatasetAuthWithClientState()