Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java35 import android.service.autofill.Dataset;
71 assertThrows(NullPointerException.class, () -> new Dataset.Builder((RemoteViews) null)); in testBuilder_nullPresentation()
77 () -> new Dataset.Builder((InlinePresentation) null)); in testBuilder_nullInlinePresentation()
82 assertThat(new Dataset.Builder(mPresentation)).isNotNull(); in testBuilder_validPresentations()
83 assertThat(new Dataset.Builder(mInlinePresentation)).isNotNull(); in testBuilder_validPresentations()
88 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setNullInlinePresentation()
94 assertThat(new Dataset.Builder().setInlinePresentation(mInlinePresentation)).isNotNull(); in testBuilder_setInlinePresentation()
99 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId()
106 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation()
111 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithNullPresentation()
[all …]
DFillResponseTest.java29 import android.service.autofill.Dataset;
51 private final Dataset mDataset = new Dataset.Builder()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedAugmentedFillResponse.java62 private final Map<AutofillId, Dataset> mDatasets;
64 private final Dataset mOnlyDataset;
65 private final @Nullable List<Dataset> mInlineSuggestions;
103 final Dataset dataset; in asFillResponse()
186 List<android.service.autofill.Dataset> list = new ArrayList<>(); in createResponseWithInlineSuggestion()
187 for (Dataset dataset : mInlineSuggestions) { in createResponseWithInlineSuggestion()
189 android.service.autofill.Dataset.Builder datasetBuilder = in createResponseWithInlineSuggestion()
190 new android.service.autofill.Dataset.Builder(); in createResponseWithInlineSuggestion()
202 android.service.autofill.Dataset realDataset = in createResponseWithInlineSuggestion()
203 new android.service.autofill.Dataset.Builder(inlinePresentation) in createResponseWithInlineSuggestion()
[all …]
DCannedFillResponse.java28 import android.service.autofill.Dataset;
178 final Dataset dataset = cannedDataset.asDataset(nodeResolver); in asFillResponse()
613 public Dataset asDataset(Function<String, ViewNode> nodeResolver) { in asDataset()
614 final Dataset.Builder builder = mPresentation != null in asDataset()
615 ? new Dataset.Builder(mPresentation) in asDataset()
616 : new Dataset.Builder(); in asDataset()
DInstrumentedAutoFillService.java44 import android.service.autofill.Dataset;
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedLoginActivityTest.java118 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
122 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
154 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
158 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me2")
162 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
198 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
202 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
244 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
248 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
279 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
[all …]
DInlineAugmentedAuthTest.java35 import android.service.autofill.Dataset;
73 Dataset authResult = new Dataset.Builder(createInlinePresentation("auth"))
80 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("bla").build(),
82 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("inline")
129 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("bla").build(),
131 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("inline")
172 Dataset authResult = new Dataset.Builder(createInlinePresentation("auth"))
179 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("bla").build(),
181 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("inline")
DInlineAugmentedContentTest.java35 import android.service.autofill.Dataset;
206 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("inline").build(),
208 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("inline")
216 Dataset authResult = new Dataset.Builder(createInlinePresentation("auth"))
223 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("inline").build(),
225 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("inline")
DInlineAugmentedWebViewActivityTest.java149 .addInlineSuggestion(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
153 .setOnlyDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java354 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
392 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
423 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
490 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
519 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
556 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
583 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req2")
595 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
626 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me")
671 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("req1")
[all …]
DDisableAutofillTest.java50 .setOnlyDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
108 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAbstractLoginNotImportantForAutofillTestCase.java77 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_oneField()
113 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_twoFields()
150 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_manualRequest()
188 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Augment Me") in testAutofill_autoThenManualRequests()
208 .setDataset(new CannedAugmentedFillResponse.Dataset.Builder("Fill Me") in testAutofill_autoThenManualRequests()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAugmentedAuthActivity.java25 import android.service.autofill.Dataset;
55 Dataset datasetToReturn, Bundle clientStateToReturn, int resultCodeToReturn) { in createSender()
76 Dataset dataset = intent.getParcelableExtra(EXTRA_DATASET_TO_RETURN); in onCreate()