Home
last modified time | relevance | path

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

/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DInlineFillUi.java269 final Dataset dataset = mDatasets.get(i); in getInlineSuggestionsResponse() local
270 final int fieldIndex = dataset.getFieldIds().indexOf(mAutofillId); in getInlineSuggestionsResponse()
275 final InlinePresentation inlinePresentation = dataset.getFieldInlinePresentation( in getInlineSuggestionsResponse()
282 && !includeDataset(dataset, fieldIndex)) { in getInlineSuggestionsResponse()
318 private boolean includeDataset(Dataset dataset, int fieldIndex) { in includeDataset() argument
327 final Dataset.DatasetFieldFilter filter = dataset.getFilter(fieldIndex); in includeDataset()
332 Slog.v(TAG, "Explicitly disabling filter for dataset id" + dataset.getId()); in includeDataset()
342 final AutofillValue value = dataset.getFieldValues().get(fieldIndex); in includeDataset()
344 return dataset.getAuthentication() == null; in includeDataset()
368 void autofill(@NonNull Dataset dataset, int datasetIndex); in autofill() argument
DInlineSuggestionFactory.java83 final Dataset dataset = datasets.get(datasetIndex); in createInlineSuggestions() local
84 final int fieldIndex = dataset.getFieldIds().indexOf(inlineFillUiInfo.mFocusedId); in createInlineSuggestions()
91 dataset.getFieldInlinePresentation(fieldIndex); in createInlineSuggestions()
98 dataset.getAuthentication() == null ? TYPE_SUGGESTION in createInlineSuggestions()
107 dataset.getFieldInlineTooltipPresentation(fieldIndex)); in createInlineSuggestions()
114 () -> uiCallback.autofill(dataset, index), in createInlineSuggestions()
119 response.append(datasetIndex, Pair.create(dataset, inlineSuggestion)); in createInlineSuggestions()
191 public void autofill(Dataset dataset, int datasetIndex) { in createInlineSuggestionTooltip()
DDialogFillUi.java85 void onDatasetPicked(@NonNull Dataset dataset); in onDatasetPicked() argument
292 final Dataset dataset = response.getDatasets().get(i); in createDatasetItems() local
293 final int index = dataset.getFieldIds().indexOf(focusedViewId); in createDatasetItems()
296 dataset.getFieldDialogPresentation(index)); in createDatasetItems()
300 + "service didn't provide a presentation for it on " + dataset); in createDatasetItems()
315 final Dataset.DatasetFieldFilter filter = dataset.getFilter(index); in createDatasetItems()
320 final AutofillValue value = dataset.getFieldValues().get(index); in createDatasetItems()
335 items.add(new ViewItem(dataset, filterPattern, filterable, valueText, view)); in createDatasetItems()
345 mCallback.onDatasetPicked(vi.dataset); in initialDatasetLayout()
575 public final @Nullable Dataset dataset;
[all …]
DFillUi.java91 void onDatasetPicked(@NonNull Dataset dataset); in onDatasetPicked() argument
323 final Dataset dataset = response.getDatasets().get(i); in FillUi() local
324 final int index = dataset.getFieldIds().indexOf(focusedViewId); in FillUi()
327 dataset.getFieldPresentation(index)); in FillUi()
330 + "service didn't provide a presentation for it on " + dataset); in FillUi()
344 final DatasetFieldFilter filter = dataset.getFilter(index); in FillUi()
349 final AutofillValue value = dataset.getFieldValues().get(index); in FillUi()
365 items.add(new ViewItem(dataset, filterPattern, filterable, valueText, view)); in FillUi()
376 mCallback.onDatasetPicked(vi.dataset); in FillUi()
610 public final @Nullable Dataset dataset; field in ViewItem
[all …]
DAutoFillUI.java91 void fill(int requestId, int datasetIndex, @NonNull Dataset dataset, in fill() argument
256 public void onDatasetPicked(Dataset dataset) { in showFillUi()
260 final int datasetIndex = response.getDatasets().indexOf(dataset); in showFillUi()
262 dataset, UI_TYPE_MENU); in showFillUi()
469 public void onDatasetPicked(Dataset dataset) { in showFillDialog()
479 final int datasetIndex = response.getDatasets().indexOf(dataset); in showFillDialog()
480 mCallback.fill(response.getRequestId(), datasetIndex, dataset, in showFillDialog()
/frameworks/base/core/java/android/service/autofill/
DConvertCredentialResponse.java63 @NonNull Dataset dataset, in ConvertCredentialResponse()
65 this.mDataset = dataset; in ConvertCredentialResponse()
120 Dataset dataset = (Dataset) in.readTypedObject(Dataset.CREATOR); in ConvertCredentialResponse() local
123 this.mDataset = dataset; in ConvertCredentialResponse()
DDataset.java241 public Dataset(Dataset dataset, ArrayList<AutofillId> ids) { in Dataset() argument
243 mFieldValues = dataset.mFieldValues; in Dataset()
244 mFieldPresentations = dataset.mFieldPresentations; in Dataset()
245 mFieldDialogPresentations = dataset.mFieldDialogPresentations; in Dataset()
246 mFieldInlinePresentations = dataset.mFieldInlinePresentations; in Dataset()
247 mFieldInlineTooltipPresentations = dataset.mFieldInlineTooltipPresentations; in Dataset()
248 mFieldFilters = dataset.mFieldFilters; in Dataset()
249 mFieldContent = dataset.mFieldContent; in Dataset()
250 mPresentation = dataset.mPresentation; in Dataset()
251 mDialogPresentation = dataset.mDialogPresentation; in Dataset()
[all …]
DFillResponse.java749 public Builder addDataset(@Nullable Dataset dataset) { in addDataset() argument
752 if (dataset == null) { in addDataset()
758 if (!mDatasets.add(dataset)) { in addDataset()
768 public Builder setDatasets(ArrayList<Dataset> dataset) { in setDatasets() argument
769 mDatasets = dataset; in setDatasets()
1147 for (final Dataset dataset : mDatasets) { in build()
1148 if (dataset.getFieldInlinePresentation(0) != null) { in build()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java2071 for (Dataset dataset : datasets) { in addFallbackDatasets()
2072 for (AutofillId currentId : dataset.getFieldIds()) { in addFallbackDatasets()
2075 c2.mAutofillIdToDatasetMap.get(currentId).remove(dataset); in addFallbackDatasets()
2103 for (Dataset dataset : response.getDatasets()) { in computeDatasetsForProviderAndUpdateContainer()
2104 if (dataset.getFieldIds() == null || dataset.getFieldIds().isEmpty()) continue; in computeDatasetsForProviderAndUpdateContainer()
2106 if (dataset.getAutofillDatatypes() != null in computeDatasetsForProviderAndUpdateContainer()
2107 && !dataset.getAutofillDatatypes().isEmpty()) { in computeDatasetsForProviderAndUpdateContainer()
2116 int newSize = dataset.getFieldIds().size(); in computeDatasetsForProviderAndUpdateContainer()
2117 for (AutofillId id : dataset.getFieldIds()) { in computeDatasetsForProviderAndUpdateContainer()
2139 for (int i = 0; i < dataset.getFieldIds().size(); i++) { in computeDatasetsForProviderAndUpdateContainer()
[all …]
DRemoteAugmentedAutofillService.java283 public void autofill(Dataset dataset, int datasetIndex) { in maybeRequestShowInlineSuggestions()
284 if (dataset.getAuthentication() != null) { in maybeRequestShowInlineSuggestions()
286 dataset.getId(), clientState); in maybeRequestShowInlineSuggestions()
287 final IntentSender action = dataset.getAuthentication(); in maybeRequestShowInlineSuggestions()
306 dataset.getId(), clientState); in maybeRequestShowInlineSuggestions()
308 final ArrayList<AutofillId> fieldIds = dataset.getFieldIds(); in maybeRequestShowInlineSuggestions()
309 final ClipData content = dataset.getFieldContent(); in maybeRequestShowInlineSuggestions()
326 + ", values=" + dataset.getFieldValues()); in maybeRequestShowInlineSuggestions()
331 dataset.getFieldValues(), in maybeRequestShowInlineSuggestions()
DFillResponseEventLogger.java409 Dataset dataset = datasetList.get(i); in maybeSetDatasetsCountAfterPotentialPccFiltering()
410 if (dataset != null) { in maybeSetDatasetsCountAfterPotentialPccFiltering()
411 if (dataset.getEligibleReason() == PICK_REASON_PCC_DETECTION_ONLY) { in maybeSetDatasetsCountAfterPotentialPccFiltering()
414 } else if (dataset.getEligibleReason() in maybeSetDatasetsCountAfterPotentialPccFiltering()
DHelper.java148 static ArrayMap<AutofillId, AutofillValue> getFields(@NonNull Dataset dataset) { in getFields() argument
149 final ArrayList<AutofillId> ids = dataset.getFieldIds(); in getFields()
150 final ArrayList<AutofillValue> values = dataset.getFieldValues(); in getFields()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillService.java130 Dataset.Builder dataset = new Dataset.Builder(newDatasetPresentation("dataset")); in handleRequest() local
136 dataset.setValue(autofillId, value, newDatasetPresentation("dataset")); in handleRequest()
142 dataset.setValue(autofillId, value, newDatasetPresentation("dataset")); in handleRequest()
155 callback.onSuccess(fillResponse.addDataset(dataset.build()).build()); in handleRequest()
/frameworks/proto_logging/stats/atoms/autofill/
Dautofill_extension_atoms.proto98 // Tells how the Autofill dataset was/will-be displayed.
99 // How the dataset is supposed to be shown to the user
115 // From the user finishing authentication to the dataset is displayed to the user.
127 // which this same dataset is applicable that are available due to PCC
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java836 File dataset = new File(mRestoreSetFullDir, name); in getNextFullRestoreDataChunk() local
838 mCurFullRestoreStream = new FileInputStream(dataset); in getNextFullRestoreDataChunk()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto4129 // An autofill dataset selection UI was shown
4132 // Type TYPE_ACTION: dataset was selected
4806 // An autofill dataset authentication succeeded
4812 // An autofill service provided an invalid dataset authentication
6197 // Tag used when the service returned an authenticated dataset or response.
/frameworks/proto_logging/stats/
Datoms.proto22380 // If the user starts typing, dataset isn't shown at the moment, but then the
22381 // user deletes text, and the dataset becomes visible, it would count as
22390 // the view). The dataset was requested by display, but not shown.
22393 // How the dataset is supposed to be shown to the user
22435 // The index of the dataset that a user selected. -1 if not selected.
22454 // From the user finishing authentication to the dataset is displayed to the user.
22468 // The selection process of this dataset.
22546 // Tells how Autofill dataset was/will-be displayed.