/frameworks/base/core/tests/coretests/src/android/view/autofill/ |
D | AutofillIdTest.java | 19 import static android.view.autofill.AutofillId.NO_SESSION; 38 final AutofillId id = new AutofillId(42); in testNonVirtual() 41 final AutofillId clone = cloneThroughParcel(id); in testNonVirtual() 47 final AutofillId id = new AutofillId(42, 108); in testVirtual_int() 55 final AutofillId clone = cloneThroughParcel(id); in testVirtual_int() 66 final AutofillId id = new AutofillId(new AutofillId(42), 4815162342L, 108); in testVirtual_long() 74 final AutofillId clone = cloneThroughParcel(id); in testVirtual_long() 85 assertThrows(NullPointerException.class, () -> new AutofillId(null, 108)); in testVirtual_parentObjectConstructor() 87 final AutofillId id = new AutofillId(new AutofillId(42), 108); in testVirtual_parentObjectConstructor() 92 final AutofillId clone = cloneThroughParcel(id); in testVirtual_parentObjectConstructor() [all …]
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillId.java | 30 public final class AutofillId implements Parcelable { class 47 public AutofillId(int id) { in AutofillId() method in AutofillId 53 public AutofillId(@NonNull AutofillId hostId, int virtualChildId) { in AutofillId() method in AutofillId 59 public AutofillId(int hostId, int virtualChildId) { in AutofillId() method in AutofillId 64 public AutofillId(@NonNull AutofillId hostId, int virtualChildId, int sessionId) { in AutofillId() method in AutofillId 70 public AutofillId(@NonNull AutofillId hostId, long virtualChildId, int sessionId) { in AutofillId() method in AutofillId 74 private AutofillId(int flags, int parentId, long virtualChildId, int sessionId) { in AutofillId() method in AutofillId 84 public static final AutofillId NO_AUTOFILL_ID = new AutofillId(0); 98 public static AutofillId create(@NonNull View host, int virtualId) { in create() 100 return new AutofillId(host.getAutofillId(), virtualId); in create() [all …]
|
D | IAutoFillManagerClient.aidl | 28 import android.view.autofill.AutofillId; 49 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values, in autofill() 52 void onGetCredentialResponse(int sessionId, in AutofillId id, in onGetCredentialResponse() 55 void onGetCredentialException(int sessionId, in AutofillId id, in onGetCredentialException() 61 void autofillContent(int sessionId, in AutofillId id, in ClipData content); in autofillContent() 73 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews() 75 in @nullable AutofillId[] fillableIds, in AutofillId saveTriggerId); in setTrackedViews() 80 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 86 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 91 void requestHideFillUiWhenDestroyed(int sessionId, in AutofillId id); in requestHideFillUiWhenDestroyed() [all …]
|
D | IAugmentedAutofillManagerClient.aidl | 23 import android.view.autofill.AutofillId; 37 Rect getViewCoordinates(in AutofillId id); in getViewCoordinates() 42 AssistStructure.ViewNodeParcelable getViewNodeParcelable(in AutofillId id); in getViewNodeParcelable() 47 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values, in autofill() 53 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 59 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 65 boolean requestAutofill(int sessionId, in AutofillId id); in requestAutofill()
|
D | Helper.java | 72 public static @NonNull AutofillId[] toArray(Collection<AutofillId> collection) { in toArray() 74 return new AutofillId[0]; in toArray() 76 final AutofillId[] array = new AutofillId[collection.size()]; in toArray()
|
D | AutofillManager.java | 632 @Nullable private ArraySet<AutofillId> mFillableIds; 635 @Nullable private AutofillId mIdShownFillUi; 642 @Nullable private ArraySet<AutofillId> mEnteredIds; 649 @Nullable private Set<AutofillId> mEnteredForAugmentedAutofillIds; 653 @Nullable private AutofillId mSaveTriggerId; 694 @Nullable private List<AutofillId> mFillDialogTriggerIds; 766 private final ArraySet<AutofillId> mAllTrackedViews = new ArraySet<>(); 824 @NonNull boolean[] autofillClientGetViewVisibility(@NonNull AutofillId[] autofillIds); in autofillClientGetViewVisibility() 846 @NonNull AutofillId[] autofillIds); in autofillClientFindViewsByAutofillIdTraversal() 855 @Nullable View autofillClientFindViewByAutofillIdTraversal(@NonNull AutofillId autofillId); in autofillClientFindViewByAutofillIdTraversal() [all …]
|
D | ParcelableMap.java | 30 class ParcelableMap extends HashMap<AutofillId, AutofillValue> implements Parcelable { 44 for (Map.Entry<AutofillId, AutofillValue> entry : entrySet()) { in writeToParcel() 59 … AutofillId key = source.readParcelable(null, android.view.autofill.AutofillId.class);
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 31 import android.view.autofill.AutofillId; 89 final AutofillId id = new AutofillId(108); in testSetAutofillId() 99 final AutofillId id = new AutofillId(108); in testSetAutofillIds() 100 final ArrayList<AutofillId> ids = new ArrayList<>(1); in testSetAutofillIds() 111 final AutofillId id1 = new AutofillId(108); in testAddAutofillId() 116 final AutofillId id2 = new AutofillId(666); in testAddAutofillId() 126 final AutofillId id1 = new AutofillId(108); in testAddAutofillId_afterSetId() 131 final AutofillId id2 = new AutofillId(666); in testAddAutofillId_afterSetId() 141 final AutofillId id1 = new AutofillId(108); in testAddAutofillId_afterSetIds() 142 final ArrayList<AutofillId> ids = new ArrayList<>(1); in testAddAutofillId_afterSetIds() [all …]
|
D | ContentCaptureSessionTest.java | 31 import android.view.autofill.AutofillId; 76 () -> mSession1.newAutofillId(new AutofillId(42, 42), 42L)); in testNewAutofillId_invalid() 81 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_valid() 82 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_valid() 92 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_differentSessions() 93 final AutofillId childId1 = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions() 94 final AutofillId childId2 = mSession2.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions() 119 final AutofillId parentId = new AutofillId(42); in testNewVirtualViewStructure() 122 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewVirtualViewStructure() 133 () -> mSession1.notifyViewsDisappeared(new AutofillId(42), null)); in testNotifyViewsDisappeared_invalid() [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | SaveInfo.java | 32 import android.view.autofill.AutofillId; 327 private final AutofillId[] mRequiredIds; 328 private final AutofillId[] mOptionalIds; 334 private final AutofillId[][] mSanitizerValues; 335 private final AutofillId mTriggerId; 342 public static SaveInfo copy(SaveInfo s, AutofillId[] optionalIds) { in copy() 351 AutofillId[] requiredIds, AutofillId[] optionalIds, CharSequence description, int flags, in SaveInfo() 353 InternalSanitizer[] sanitizerKeys, AutofillId[][] sanitizerValues, in SaveInfo() 354 AutofillId triggerId) { in SaveInfo() 387 mSanitizerValues = new AutofillId[size][]; in SaveInfo() [all …]
|
D | FillEventHistory.java | 31 import android.view.autofill.AutofillId; 156 final AutofillId[] detectedFields = event.mDetectedFieldIds; in writeToParcel() 338 @Nullable private final ArrayList<AutofillId> mChangedFieldIds; 341 @Nullable private final ArrayList<AutofillId> mManuallyFilledFieldIds; 344 @Nullable private final AutofillId[] mDetectedFieldIds; 441 @NonNull public Map<AutofillId, String> getChangedFields() { in getChangedFields() 447 final ArrayMap<AutofillId, String> changedFields = new ArrayMap<>(size); in getChangedFields() 462 @NonNull public Map<AutofillId, FieldClassification> getFieldsClassification() { in getFieldsClassification() 467 final ArrayMap<AutofillId, FieldClassification> map = new ArrayMap<>(size); in getFieldsClassification() 469 final AutofillId id = mDetectedFieldIds[i]; in getFieldsClassification() [all …]
|
D | CharSequenceTransformation.java | 27 import android.view.autofill.AutofillId; 69 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields; 83 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in apply() 84 final AutofillId id = entry.getKey(); in apply() 119 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields = 133 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @NonNull String subst) { in Builder() 148 public Builder addField(@NonNull AutofillId id, @NonNull Pattern regex, in addField() 194 final AutofillId[] ids = new AutofillId[size]; in writeToParcel() 199 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in writeToParcel() 216 final AutofillId[] ids = parcel.readParcelableArray(null, AutofillId.class);
|
D | FillContext.java | 31 import android.view.autofill.AutofillId; 72 private final @NonNull AutofillId mFocusedId; 78 private transient @Nullable ArrayMap<AutofillId, AssistStructure.ViewNode> mViewNodeLookupTable; 97 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds() 128 final AutofillId id = ids[index]; in findViewNodesByAutofillIds() 190 @NonNull AutofillId focusedId) { in FillContext() 225 public @NonNull AutofillId getFocusedId() { in getFocusedId() 260 AutofillId focusedId = (AutofillId) in.readTypedObject(AutofillId.CREATOR);
|
D | FillResponse.java | 39 import android.view.autofill.AutofillId; 112 private final @Nullable AutofillId[] mAuthenticationIds; 113 private final @Nullable AutofillId[] mIgnoredIds; 114 private final @Nullable AutofillId[] mFillDialogTriggerIds; 116 private final @Nullable AutofillId[] mFieldClassificationIds; 170 IntentSender authentication, AutofillId[] authenticationIds, AutofillId[] ignoredIds, in FillResponse() 171 AutofillId[] fillDialogTriggerIds, long disableDuration, in FillResponse() 172 AutofillId[] fieldClassificationIds, int flags, int requestId, UserData userData, in FillResponse() 299 public @Nullable AutofillId[] getAuthenticationIds() { in getAuthenticationIds() 304 public @Nullable AutofillId[] getFillDialogTriggerIds() { in getFillDialogTriggerIds() [all …]
|
D | LuhnChecksumValidator.java | 26 import android.view.autofill.AutofillId; 42 private final AutofillId[] mIds; 49 public LuhnChecksumValidator(@NonNull AutofillId... ids) { in LuhnChecksumValidator() 92 for (AutofillId id : mIds) { in isValid() 131 return new LuhnChecksumValidator(parcel.readParcelableArray(null, AutofillId.class));
|
D | AutofillServiceHelper.java | 20 import android.view.autofill.AutofillId; 27 static AutofillId[] assertValid(@Nullable AutofillId[] ids) { in assertValid()
|
D | ValueFinder.java | 21 import android.view.autofill.AutofillId; 36 default String findByAutofillId(@NonNull AutofillId id) { in findByAutofillId() 45 AutofillValue findRawValueByAutofillId(@NonNull AutofillId id); in findRawValueByAutofillId()
|
/frameworks/base/core/java/android/view/translation/ |
D | ViewTranslationRequest.java | 25 import android.view.autofill.AutofillId; 60 private final AutofillId mAutofillId; 95 public AutofillId getAutofillId() { in getAutofillId() 108 private @NonNull AutofillId mAutofillId; 118 public Builder(@NonNull AutofillId autofillId) { in Builder() 132 public Builder(@NonNull AutofillId autofillId, long virtualChildId) { in Builder() 133 mAutofillId = new AutofillId(autofillId, virtualChildId, AutofillId.NO_SESSION); in Builder() 220 @NonNull AutofillId autofillId, in ViewTranslationRequest() 294 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in ViewTranslationRequest()
|
D | ViewTranslationResponse.java | 25 import android.view.autofill.AutofillId; 45 private final AutofillId mAutofillId; 80 public AutofillId getAutofillId() { in getAutofillId() 129 @NonNull AutofillId autofillId, in ViewTranslationResponse() 203 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in ViewTranslationResponse() 238 private @NonNull AutofillId mAutofillId; 250 @NonNull AutofillId autofillId) { in Builder()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 43 import android.view.autofill.AutofillId; 130 static AutofillId[] toArray(@Nullable ArraySet<AutofillId> set) { in toArray() 133 final AutofillId[] array = new AutofillId[set.size()]; in toArray() 148 static ArrayMap<AutofillId, AutofillValue> getFields(@NonNull Dataset dataset) { in getFields() 149 final ArrayList<AutofillId> ids = dataset.getFieldIds(); in getFields() 152 final ArrayMap<AutofillId, AutofillValue> fields = new ArrayMap<>(size); in getFields() 201 @NonNull AutofillId autofillId) { in findViewNodeByAutofillId() 272 static ArrayList<AutofillId> getAutofillIds(@NonNull AssistStructure structure, in getAutofillIds() 274 final ArrayList<AutofillId> ids = new ArrayList<>(); in getAutofillIds() 284 @NonNull ArrayList<AutofillId> ids, boolean autofillableOnly) { in addAutofillableIds() [all …]
|
D | LogFieldClassificationScoreOnResultListener.java | 25 import android.view.autofill.AutofillId; 39 private final AutofillId[] mAutofillIds; 42 private final ArrayList<AutofillId> mDetectedFieldIds; 46 int commitReason, int viewsSize, AutofillId[] autofillIds, String[] userValues, in LogFieldClassificationScoreOnResultListener() 47 String[] categoryIds, ArrayList<AutofillId> detectedFieldIds, in LogFieldClassificationScoreOnResultListener()
|
D | AutofillInlineSessionController.java | 24 import android.view.autofill.AutofillId; 84 void onCreateInlineSuggestionsRequestLocked(@NonNull AutofillId autofillId, in onCreateInlineSuggestionsRequestLocked() 106 void destroyLocked(@NonNull AutofillId autofillId) { in destroyLocked() 136 boolean hideInlineSuggestionsUiLocked(@NonNull AutofillId autofillId) { in hideInlineSuggestionsUiLocked() 148 void disableFilterMatching(@NonNull AutofillId autofillId) { in disableFilterMatching() 175 boolean filterInlineFillUiLocked(@NonNull AutofillId autofillId, @Nullable String filterText) { in filterInlineFillUiLocked()
|
/frameworks/base/core/java/android/service/assist/classification/ |
D | FieldClassification.java | 24 import android.view.autofill.AutofillId; 46 private final @NonNull AutofillId mAutofillId; 99 public @NonNull AutofillId getAutofillId() { in getAutofillId() 187 @NonNull AutofillId autofillId, in FieldClassification() 208 @NonNull AutofillId autofillId, in FieldClassification() 272 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in FieldClassification()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/ |
D | CredentialAutofillService.kt | 56 import android.view.autofill.AutofillId in <lambda>() 121 val uniqueAutofillIdsForRequest: MutableSet<AutofillId> = mutableSetOf() in <lambda>() 204 uniqueAutofillIdsForRequest: MutableSet<AutofillId> in <lambda>() 212 val autofillIdToProvidersMap: Map<AutofillId, ArrayList<GetCredentialProviderData>> = in <lambda>() 257 autofillId: AutofillId, in <lambda>() 309 autofillId: AutofillId, in <lambda>() 400 autofillId: AutofillId, in <lambda>() 496 autofillId: AutofillId, in <lambda>() 532 autofillId: AutofillId, in <lambda>() 605 uniqueAutofillIdsForRequest: Set<AutofillId>, in <lambda>() [all …]
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InlineSuggestionsRequestInfo.java | 23 import android.view.autofill.AutofillId; 46 private final @NonNull AutofillId mAutofillId; 81 @NonNull AutofillId autofillId, in InlineSuggestionsRequestInfo() 108 public @NonNull AutofillId getAutofillId() { in getAutofillId() 187 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in InlineSuggestionsRequestInfo()
|