Home
last modified time | relevance | path

Searched refs:Dataset (Results 1 – 8 of 8) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DDatasetTest.java25 import android.service.autofill.Dataset;
49 assertThrows(NullPointerException.class, () -> new Dataset.Builder(null)); in testBuilder_nullPresentation()
54 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId()
61 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation()
66 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithNullPresentation()
73 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter()
79 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentationNullFilter()
85 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithPresentationNullPresentation()
92 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithoutPresentation()
98 final Dataset.Builder builder = new Dataset.Builder(); in testBuild_noValues()
[all …]
DCannedFillResponse.java26 import android.service.autofill.Dataset;
169 final Dataset dataset = cannedDataset.asDataset(nodeResolver); in asFillResponse()
552 Dataset asDataset(Function<String, ViewNode> nodeResolver) { in asDataset()
553 final Dataset.Builder builder = (mPresentation == null) in asDataset()
554 ? new Dataset.Builder() in asDataset()
555 : new Dataset.Builder(mPresentation); in asDataset()
DFillResponseTest.java29 import android.service.autofill.Dataset;
51 private final Dataset mDataset = new Dataset.Builder()
DInstrumentedAutoFillService.java43 import android.service.autofill.Dataset;
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCannedAugmentedFillResponse.java55 private final Map<AutofillId, Dataset> mDatasets;
57 private final Dataset mOnlyDataset;
94 final Dataset dataset; in asFillResponse()
166 private final Map<AutofillId, Dataset> mDatasets = new ArrayMap<>();
169 private Dataset mOnlyDataset;
184 public Builder setDataset(@NonNull Dataset dataset, @NonNull AutofillId... ids) { in setDataset()
209 public Builder setOnlyDataset(@NonNull Dataset dataset) { in setOnlyDataset()
228 public static class Dataset { class in CannedAugmentedFillResponse
233 private Dataset(@NonNull Builder builder) { in Dataset() method in CannedAugmentedFillResponse.Dataset
294 public Dataset build() { in build()
[all …]
DAugmentedLoginActivityTest.java297 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
334 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
365 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
432 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
461 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
498 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
525 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req2")
537 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
568 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
612 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
[all …]
DAbstractLoginNotImportantForAutofillTestCase.java76 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_oneField()
112 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_twoFields()
149 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_manualRequest()
185 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_autoThenManualRequests()
205 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Fill Me") in testAutofill_autoThenManualRequests()
DDisableAutofillTest.java48 .setOnlyDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
106 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()