Home
last modified time | relevance | path

Searched refs:autofillId (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillInlineSessionController.java84 void onCreateInlineSuggestionsRequestLocked(@NonNull AutofillId autofillId, in onCreateInlineSuggestionsRequestLocked() argument
94 mComponentName, mHandler, mLock, autofillId, requestConsumer, uiExtras, in onCreateInlineSuggestionsRequestLocked()
106 void destroyLocked(@NonNull AutofillId autofillId) { in destroyLocked() argument
108 mSession.onInlineSuggestionsResponseLocked(InlineFillUi.emptyUi(autofillId)); in destroyLocked()
136 boolean hideInlineSuggestionsUiLocked(@NonNull AutofillId autofillId) { in hideInlineSuggestionsUiLocked() argument
138 return mSession.onInlineSuggestionsResponseLocked(InlineFillUi.emptyUi(autofillId)); in hideInlineSuggestionsUiLocked()
148 void disableFilterMatching(@NonNull AutofillId autofillId) { in disableFilterMatching() argument
149 if (mInlineFillUi != null && mInlineFillUi.getAutofillId().equals(autofillId)) { in disableFilterMatching()
175 boolean filterInlineFillUiLocked(@NonNull AutofillId autofillId, @Nullable String filterText) { in filterInlineFillUiLocked() argument
176 if (mInlineFillUi != null && mInlineFillUi.getAutofillId().equals(autofillId)) { in filterInlineFillUiLocked()
DAutofillInlineSuggestionsRequestSession.java115 @NonNull AutofillId autofillId, in AutofillInlineSuggestionsRequestSession() argument
126 mAutofillId = autofillId; in AutofillInlineSuggestionsRequestSession()
481 private static boolean match(@Nullable AutofillId autofillId, in match() argument
487 return autofillId != null && imeClientFieldId != null in match()
488 && autofillId.getViewId() == imeClientFieldId.getViewId(); in match()
DPresentationStatsEventLogger.java713 public void maybeAddSuccessId(AutofillId autofillId) { in maybeAddSuccessId() argument
717 Slog.w(TAG, "Attempted autofill ids is null, but received autofillId:" + autofillId in maybeAddSuccessId()
720 } else if (autofillIds.contains(autofillId)) { in maybeAddSuccessId()
722 Slog.v(TAG, "Logging autofill for id:" + autofillId); in maybeAddSuccessId()
725 autofillIds.remove(autofillId); in maybeAddSuccessId()
726 event.mAlreadyFilledAutofillIds.add(autofillId); in maybeAddSuccessId()
727 } else if (event.mAlreadyFilledAutofillIds.contains(autofillId)) { in maybeAddSuccessId()
729 Slog.v(TAG, "Successfully filled autofillId:" + autofillId in maybeAddSuccessId()
733 Slog.w(TAG, "Successfully filled autofillId:" + autofillId in maybeAddSuccessId()
DSession.java1147 private AutofillValue findValueLocked(@NonNull AutofillId autofillId) { in findValueLocked() argument
1148 final AutofillValue value = findValueFromThisSessionOnlyLocked(autofillId); in findValueLocked()
1150 return getSanitizedValue(createSanitizers(getSaveInfoLocked()), autofillId, value); in findValueLocked()
1159 + " previous sessions for autofillId " + autofillId); in findValueLocked()
1164 .findValueFromThisSessionOnlyLocked(autofillId); in findValueLocked()
1167 autofillId, previousValue); in findValueLocked()
1176 private AutofillValue findValueFromThisSessionOnlyLocked(@NonNull AutofillId autofillId) { in findValueFromThisSessionOnlyLocked() argument
1177 final ViewState state = mViewStates.get(autofillId); in findValueFromThisSessionOnlyLocked()
1179 if (sDebug) Slog.d(TAG, "findValueLocked(): no view state for " + autofillId); in findValueFromThisSessionOnlyLocked()
1190 Slog.d(TAG, "findValueLocked(): current value for " + autofillId in findValueFromThisSessionOnlyLocked()
[all …]
DHelper.java201 @NonNull AutofillId autofillId) { in findViewNodeByAutofillId() argument
203 return autofillId.equals(node.getAutofillId()); in findViewNodeByAutofillId()
DAutofillManagerServiceImpl.java370 @NonNull IBinder clientCallback, @NonNull AutofillId autofillId, in startSessionLocked() argument
431 + " u=" + mUserId + " i=" + autofillId + " b=" + virtualBounds in startSessionLocked()
436 newSession.updateLocked(autofillId, virtualBounds, value, ACTION_START_SESSION, flags); in startSessionLocked()
668 boolean updateSessionLocked(int sessionId, int uid, AutofillId autofillId, Rect virtualBounds, in updateSessionLocked() argument
675 + autofillId); in updateSessionLocked()
686 session.updateLocked(autofillId, virtualBounds, value, action, flags); in updateSessionLocked()
DAutofillManagerService.java1687 AutofillId autofillId, Rect bounds, AutofillValue value, int userId, in startSession() argument
1693 requireNonNull(autofillId, "autofillId"); in startSession()
1713 clientCallback, autofillId, bounds, value, hasCallback, clientActivity, in startSession()
/frameworks/base/core/java/android/view/translation/
DUiTranslationController.java234 final AutofillId autofillId = mViews.keyAt(i); in dump() local
236 pw.print(pfx); pw.print("autofillId: "); pw.println(autofillId); in dump()
277 final AutofillId autofillId = view.getAutofillId(); in dumpViewInfo() local
278 pw.print(outerPrefix); pw.print("autofillId: "); pw.print(autofillId); in dumpViewInfo()
283 if (mLastRequestAutofillIds.contains(autofillId)) { in dumpViewInfo()
286 final WeakReference<View> viewRef = mViews.get(autofillId); in dumpViewInfo()
315 final AutofillId autofillId = result.getAutofillId(); in onTranslationCompleted() local
316 if (viewIds.indexOf(autofillId.getViewId()) < 0) { in onTranslationCompleted()
317 viewIds.add(autofillId.getViewId()); in onTranslationCompleted()
319 if (autofillId.isNonVirtual()) { in onTranslationCompleted()
[all …]
DViewTranslationRequest.java118 public Builder(@NonNull AutofillId autofillId) { in Builder() argument
119 mAutofillId = autofillId; in Builder()
132 public Builder(@NonNull AutofillId autofillId, long virtualChildId) { in Builder() argument
133 mAutofillId = new AutofillId(autofillId, virtualChildId, AutofillId.NO_SESSION); in Builder()
220 @NonNull AutofillId autofillId, in ViewTranslationRequest()
222 this.mAutofillId = autofillId; in ViewTranslationRequest()
294 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in ViewTranslationRequest() local
298 this.mAutofillId = autofillId; in ViewTranslationRequest()
DViewTranslationResponse.java129 @NonNull AutofillId autofillId, in ViewTranslationResponse()
131 this.mAutofillId = autofillId; in ViewTranslationResponse()
203 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in ViewTranslationResponse() local
207 this.mAutofillId = autofillId; in ViewTranslationResponse()
250 @NonNull AutofillId autofillId) { in Builder()
251 mAutofillId = autofillId; in Builder()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/
DCredentialAutofillService.kt220 autofillIdToProvidersMap.forEach { (autofillId, providers) -> in <lambda>() method
222 autofillId, providers, entryIconMap, fillResponseBuilder, typePriorityMap) in <lambda>()
234 autofillId, in <lambda>()
241 for (autofillId in uniqueAutofillIdsForRequest) { in <lambda>() method
244 autofillId, in <lambda>()
257 autofillId: AutofillId, in <lambda>()
293 autofillId, in <lambda>()
309 autofillId: AutofillId, in <lambda>()
382 autofillId, in <lambda>()
400 autofillId: AutofillId, in <lambda>()
[all …]
/frameworks/base/core/java/android/service/assist/classification/
DFieldClassification.java187 @NonNull AutofillId autofillId, in FieldClassification()
189 this(autofillId, hints, new ArraySet<>()); in FieldClassification()
208 @NonNull AutofillId autofillId, in FieldClassification()
211 this.mAutofillId = autofillId; in FieldClassification()
272 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in FieldClassification() local
276 this.mAutofillId = autofillId; in FieldClassification()
/frameworks/base/core/java/android/inputmethodservice/
DInlineSuggestionSessionController.java237 boolean match(@Nullable AutofillId autofillId) { in match() argument
238 return match(autofillId, mImeClientFieldId); in match()
253 private static boolean match(@Nullable AutofillId autofillId, in match() argument
259 return autofillId != null && imeClientFieldId != null in match()
260 && autofillId.getViewId() == imeClientFieldId.getViewId(); in match()
/frameworks/base/core/java/android/view/autofill/
DAutofillClientController.java353 final AutofillId autofillId = autofillIds[i]; in autofillClientGetViewVisibility() local
354 if (autofillId == null) { in autofillClientGetViewVisibility()
358 final View view = autofillClientFindViewByAutofillIdTraversal(autofillId); in autofillClientGetViewVisibility()
360 if (!autofillId.isVirtualInt()) { in autofillClientGetViewVisibility()
363 visible[i] = view.isVisibleToUserForAutofill(autofillId.getVirtualChildIntId()); in autofillClientGetViewVisibility()
390 public View autofillClientFindViewByAutofillIdTraversal(AutofillId autofillId) { in autofillClientFindViewByAutofillIdTraversal() argument
391 if (autofillId == null) return null; in autofillClientFindViewByAutofillIdTraversal()
398 final View view = rootView.findViewByAutofillIdTraversal(autofillId.getViewId()); in autofillClientFindViewByAutofillIdTraversal()
DAutofillManager.java855 @Nullable View autofillClientFindViewByAutofillIdTraversal(@NonNull AutofillId autofillId); in autofillClientFindViewByAutofillIdTraversal() argument
3639 private View findView(@NonNull AutofillId autofillId) { in findView() argument
3642 return client.autofillClientFindViewByAutofillIdTraversal(autofillId); in findView()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInlineSuggestionsRequestInfo.java81 @NonNull AutofillId autofillId, in InlineSuggestionsRequestInfo() argument
86 this.mAutofillId = autofillId; in InlineSuggestionsRequestInfo()
187 AutofillId autofillId = (AutofillId) in.readTypedObject(AutofillId.CREATOR); in InlineSuggestionsRequestInfo() local
193 this.mAutofillId = autofillId; in InlineSuggestionsRequestInfo()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillService.java134 AutofillId autofillId = getAutofillIdByResourceId(request, response.mUsername.first); in handleRequest() local
136 dataset.setValue(autofillId, value, newDatasetPresentation("dataset")); in handleRequest()
140 AutofillId autofillId = getAutofillIdByResourceId(request, response.mPassword.first); in handleRequest() local
142 dataset.setValue(autofillId, value, newDatasetPresentation("dataset")); in handleRequest()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DInlineFillUi.java99 public static InlineFillUi emptyUi(@NonNull AutofillId autofillId) { in emptyUi() argument
100 return new InlineFillUi(autofillId); in emptyUi()
406 void notifyInlineUiShown(@NonNull AutofillId autofillId); in notifyInlineUiShown() argument
411 void notifyInlineUiHidden(@NonNull AutofillId autofillId); in notifyInlineUiHidden() argument
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java478 public AutofillId autofillId; field in EditorInfo
1244 + " autofillId=" + autofillId in dump()
1284 newEditorInfo.autofillId = autofillId; in createCopyInternal()
1318 dest.writeParcelable(autofillId, flags); in writeToParcel()
1360 …res.autofillId = source.readParcelable(AutofillId.class.getClassLoader(), android.view.autofill.Au…
1414 && Objects.equals(autofillId, that.autofillId) in kindofEquals()
DInputMethodManager.java5006 editorInfo.autofillId = servedView.getAutofillId(); in createInputConnection()
5015 editorInfo.autofillId = AutofillId.NO_AUTOFILL_ID; in createInputConnection()
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DEditorInfoTest.java81 TEST_EDITOR_INFO.autofillId = AutofillId.NO_AUTOFILL_ID;
529 info.autofillId = new AutofillId(123); in testDump_filled()
596 infoCopy.autofillId = new AutofillId(42); in testKindofEqualsComparesAutofillId()
/frameworks/base/core/java/android/service/autofill/augmented/
DAugmentedAutofillService.java185 @NonNull AutofillId autofillId) { in requestAutofill() argument
188 || !proxy.mFocusedId.equals(autofillId)) { in requestAutofill()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2642 AutofillId autofillId = node.getAutofillId(); in dump() local
2643 if (autofillId == null) { in dump()
2646 Log.i(TAG, prefix + " Autofill info: id= " + autofillId in dump()
/frameworks/base/core/java/android/view/
DViewGroup.java1484 public View findViewByAutofillIdTraversal(int autofillId) { in findViewByAutofillIdTraversal() argument
1485 View foundView = super.findViewByAutofillIdTraversal(autofillId); in findViewByAutofillIdTraversal()
1494 foundView = child.findViewByAutofillIdTraversal(autofillId); in findViewByAutofillIdTraversal()
DView.java27599 public <T extends View> T findViewByAutofillIdTraversal(int autofillId) { in findViewByAutofillIdTraversal() argument
27600 if (getAutofillViewId() == autofillId) { in findViewByAutofillIdTraversal()
33770 AutofillId autofillId = getAutofillId(); in dispatchCreateViewTranslationRequest() local
33771 if (viewIds.containsKey(autofillId)) { in dispatchCreateViewTranslationRequest()
33772 if (viewIds.get(autofillId) == null) { in dispatchCreateViewTranslationRequest()
33777 onCreateVirtualViewTranslationRequests(viewIds.get(autofillId), supportedFormats, in dispatchCreateViewTranslationRequest()

12