/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 | 28 public final class AutofillId implements Parcelable { class 45 public AutofillId(int id) { in AutofillId() method in AutofillId 51 public AutofillId(@NonNull AutofillId hostId, int virtualChildId) { in AutofillId() method in AutofillId 57 public AutofillId(int hostId, int virtualChildId) { in AutofillId() method in AutofillId 63 public AutofillId(@NonNull AutofillId hostId, long virtualChildId, int sessionId) { in AutofillId() method in AutofillId 67 private AutofillId(int flags, int parentId, long virtualChildId, int sessionId) { in AutofillId() method in AutofillId 76 public static AutofillId withoutSession(@NonNull AutofillId id) { in withoutSession() 78 return new AutofillId(flags, id.mViewId, id.mVirtualLongId, NO_SESSION); in withoutSession() 187 final AutofillId other = (AutofillId) obj; in equals() 197 public boolean equalsIgnoreSession(@Nullable AutofillId other) { in equalsIgnoreSession() [all …]
|
D | IAutoFillManagerClient.aidl | 25 import android.view.autofill.AutofillId; 46 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values); in autofill() 58 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews() 60 in @nullable AutofillId[] fillableIds, in AutofillId saveTriggerId); in setTrackedViews() 65 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 71 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 77 void notifyNoFillUi(int sessionId, in AutofillId id, int sessionFinishedState); in notifyNoFillUi() 84 void dispatchUnhandledKey(int sessionId, in AutofillId id, in KeyEvent keyEvent); in dispatchUnhandledKey() 104 void setSessionFinished(int newState, in List<AutofillId> autofillableIds); in setSessionFinished()
|
D | IAugmentedAutofillManagerClient.aidl | 22 import android.view.autofill.AutofillId; 36 Rect getViewCoordinates(in AutofillId id); in getViewCoordinates() 41 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values); in autofill() 46 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 52 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi()
|
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 | 485 @Nullable private ArraySet<AutofillId> mFillableIds; 488 @Nullable private AutofillId mIdShownFillUi; 495 @Nullable private ArraySet<AutofillId> mEnteredIds; 502 @Nullable private Set<AutofillId> mEnteredForAugmentedAutofillIds; 506 @Nullable private AutofillId mSaveTriggerId; 590 @NonNull boolean[] autofillClientGetViewVisibility(@NonNull AutofillId[] autofillIds); in autofillClientGetViewVisibility() 612 @NonNull AutofillId[] autofillIds); in autofillClientFindViewsByAutofillIdTraversal() 621 @Nullable View autofillClientFindViewByAutofillIdTraversal(@NonNull AutofillId autofillId); in autofillClientFindViewByAutofillIdTraversal() 661 @Nullable AutofillId autofillClientGetNextAutofillId(); in autofillClientGetNextAutofillId() 903 private boolean shouldIgnoreViewEnteredLocked(@NonNull AutofillId id, int flags) { in shouldIgnoreViewEnteredLocked() [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);
|
D | IAutoFillManager.aidl | 28 import android.view.autofill.AutofillId; 43 void startSession(IBinder activityToken, in IBinder appCallback, in AutofillId autoFillId, in startSession() 49 void updateSession(int sessionId, in AutofillId id, in Rect bounds, in updateSession() 51 void setAutofillFailure(int sessionId, in List<AutofillId> ids, int userId); in setAutofillFailure()
|
/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 | 25 import android.view.autofill.AutofillId; 53 () -> mSession1.newAutofillId(new AutofillId(42, 42), 42L)); in testNewAutofillId_invalid() 58 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_valid() 59 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_valid() 69 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_differentSessions() 70 final AutofillId childId1 = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions() 71 final AutofillId childId2 = mSession2.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions() 94 final AutofillId parentId = new AutofillId(42); in testNewVirtualViewStructure() 97 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewVirtualViewStructure() 108 () -> 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; 270 private final AutofillId[] mRequiredIds; 271 private final AutofillId[] mOptionalIds; 277 private final AutofillId[][] mSanitizerValues; 278 private final AutofillId mTriggerId; 296 mSanitizerValues = new AutofillId[size][]; in SaveInfo() 316 public @Nullable AutofillId[] getRequiredIds() { in getRequiredIds() 321 public @Nullable AutofillId[] getOptionalIds() { in getOptionalIds() 360 public AutofillId[][] getSanitizerValues() { in getSanitizerValues() 366 public AutofillId getTriggerId() { in getTriggerId() [all …]
|
D | FillEventHistory.java | 31 import android.view.autofill.AutofillId; 156 final AutofillId[] detectedFields = event.mDetectedFieldIds; in writeToParcel() 247 @Nullable private final ArrayList<AutofillId> mChangedFieldIds; 250 @Nullable private final ArrayList<AutofillId> mManuallyFilledFieldIds; 253 @Nullable private final AutofillId[] mDetectedFieldIds; 344 @NonNull public Map<AutofillId, String> getChangedFields() { in getChangedFields() 350 final ArrayMap<AutofillId, String> changedFields = new ArrayMap<>(size); in getChangedFields() 365 @NonNull public Map<AutofillId, FieldClassification> getFieldsClassification() { in getFieldsClassification() 370 final ArrayMap<AutofillId, FieldClassification> map = new ArrayMap<>(size); in getFieldsClassification() 372 final AutofillId id = mDetectedFieldIds[i]; in getFieldsClassification() [all …]
|
D | CharSequenceTransformation.java | 27 import android.view.autofill.AutofillId; 68 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields; 82 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in apply() 83 final AutofillId id = entry.getKey(); in apply() 118 @NonNull private final LinkedHashMap<AutofillId, Pair<Pattern, String>> mFields = 132 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @NonNull String subst) { in Builder() 147 public Builder addField(@NonNull AutofillId id, @NonNull Pattern regex, in addField() 193 final AutofillId[] ids = new AutofillId[size]; in writeToParcel() 198 for (Entry<AutofillId, Pair<Pattern, String>> entry : mFields.entrySet()) { in writeToParcel() 215 final AutofillId[] ids = parcel.readParcelableArray(null, AutofillId.class);
|
D | FillResponse.java | 33 import android.view.autofill.AutofillId; 81 private final @Nullable AutofillId[] mAuthenticationIds; 82 private final @Nullable AutofillId[] mIgnoredIds; 84 private final @Nullable AutofillId[] mFieldClassificationIds; 142 public @Nullable AutofillId[] getAuthenticationIds() { in getAuthenticationIds() 147 public @Nullable AutofillId[] getIgnoredIds() { in getIgnoredIds() 157 public @Nullable AutofillId[] getFieldClassificationIds() { in getFieldClassificationIds() 202 private AutofillId[] mAuthenticationIds; 203 private AutofillId[] mIgnoredIds; 205 private AutofillId[] mFieldClassificationIds; [all …]
|
D | Dataset.java | 26 import android.view.autofill.AutofillId; 99 private final ArrayList<AutofillId> mFieldIds; 118 public @Nullable ArrayList<AutofillId> getFieldIds() { in getFieldIds() 198 private ArrayList<AutofillId> mFieldIds; 326 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value) { in setValue() 352 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value, in setValue() 387 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value, in setValue() 423 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value, in setValue() 432 private void setLifeTheUniverseAndEverything(@NonNull AutofillId id, in setLifeTheUniverseAndEverything() 513 final ArrayList<AutofillId> ids = [all …]
|
D | FillContext.java | 31 import android.view.autofill.AutofillId; 52 private final @NonNull AutofillId mFocusedId; 58 @Nullable private ArrayMap<AutofillId, AssistStructure.ViewNode> mViewNodeLookupTable; 63 @NonNull AutofillId autofillId) { in FillContext() 97 public AutofillId getFocusedId() { in getFocusedId() 129 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds() 160 final AutofillId id = ids[index]; in findViewNodesByAutofillIds()
|
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()
|
D | ImageTransformation.java | 29 import android.view.autofill.AutofillId; 62 private final AutofillId mId; 112 private final AutofillId mId; 129 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) { in Builder() 144 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId, in Builder() 249 final AutofillId id = parcel.readParcelable(null);
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 32 import android.view.autofill.AutofillId; 75 static AutofillId[] toArray(@Nullable ArraySet<AutofillId> set) { in toArray() 78 final AutofillId[] array = new AutofillId[set.size()]; in toArray() 93 static ArrayMap<AutofillId, AutofillValue> getFields(@NonNull Dataset dataset) { in getFields() 94 final ArrayList<AutofillId> ids = dataset.getFieldIds(); in getFields() 97 final ArrayMap<AutofillId, AutofillValue> fields = new ArrayMap<>(size); in getFields() 143 @NonNull AutofillId autofillId) { in findViewNodeByAutofillId() 214 static ArrayList<AutofillId> getAutofillIds(@NonNull AssistStructure structure, in getAutofillIds() 216 final ArrayList<AutofillId> ids = new ArrayList<>(); in getAutofillIds() 226 @NonNull ArrayList<AutofillId> ids, boolean autofillableOnly) { in addAutofillableIds()
|
D | Session.java | 88 import android.view.autofill.AutofillId; 172 private final ArrayMap<AutofillId, ViewState> mViewStates = new ArrayMap<>(); 178 @Nullable private AutofillId mCurrentViewId; 285 private ArrayList<AutofillId> mAugmentedAutofillableIds; 338 final ArrayList<AutofillId> ids = Helper.getAutofillIds(structure, 357 final AutofillId urlBarId = mUrlBar.getAutofillId(); 401 private AutofillId[] getIdsOfAllViewStatesLocked() { in getIdsOfAllViewStatesLocked() 403 final AutofillId[] ids = new AutofillId[numViewState]; in getIdsOfAllViewStatesLocked() 413 public String findByAutofillId(@NonNull AutofillId id) { in findByAutofillId() 437 public AutofillValue findRawValueByAutofillId(AutofillId id) { in findRawValueByAutofillId() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureEvent.java | 29 import android.view.autofill.AutofillId; 133 private @Nullable AutofillId mId; 134 private @Nullable ArrayList<AutofillId> mIds; 153 public ContentCaptureEvent setAutofillId(@NonNull AutofillId id) { in setAutofillId() 159 public ContentCaptureEvent setAutofillIds(@NonNull ArrayList<AutofillId> ids) { in setAutofillIds() 169 public ContentCaptureEvent addAutofillId(@NonNull AutofillId id) { in addAutofillId() 282 public AutofillId getId() { in getId() 293 public List<AutofillId> getIds() { in getIds() 323 final List<AutofillId> ids = event.getIds(); in mergeEvent() 324 final AutofillId id = event.getId(); in mergeEvent() [all …]
|
D | ContentCaptureSession.java | 29 import android.view.autofill.AutofillId; 378 public final void notifyViewDisappeared(@NonNull AutofillId id) { in notifyViewDisappeared() 385 abstract void internalNotifyViewDisappeared(@NonNull AutofillId id); in internalNotifyViewDisappeared() 400 public final void notifyViewsDisappeared(@NonNull AutofillId hostId, in notifyViewsDisappeared() 409 internalNotifyViewDisappeared(new AutofillId(hostId, id, mId)); in notifyViewsDisappeared() 419 public final void notifyViewTextChanged(@NonNull AutofillId id, @Nullable CharSequence text) { in notifyViewTextChanged() 427 abstract void internalNotifyViewTextChanged(@NonNull AutofillId id, in internalNotifyViewTextChanged() 494 public @NonNull AutofillId newAutofillId(@NonNull AutofillId hostId, long virtualChildId) { in newAutofillId() 497 return new AutofillId(hostId, virtualChildId, mId); in newAutofillId() 511 public final ViewStructure newVirtualViewStructure(@NonNull AutofillId parentId, in newVirtualViewStructure()
|
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | MyAutofillService.java | 154 private final Pair<AutofillId, String> mUsername; 155 private final Pair<AutofillId, String> mPassword; 156 private final AutofillId[] mIgnoredIds; 165 private Pair<AutofillId, String> mUsername; 166 private Pair<AutofillId, String> mPassword; 167 private AutofillId[] mIgnoredIds; 170 Builder setUsername(@NonNull AutofillId id, @NonNull String value) { in setUsername() 176 Builder setPassword(@NonNull AutofillId id, @NonNull String value) { in setPassword() 182 Builder setIgnored(AutofillId... ids) { in setIgnored()
|