Home
last modified time | relevance | path

Searched refs:getAutofillId (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivity.java116 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertJustInitialViewsAppeared()
129 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared()
130 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared()
131 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in assertJustInitialViewsAppeared()
150 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsDisappeared()
165 grandpa1.getAutofillId(), grandpa2.getAutofillId(), in assertInitialViewsDisappeared()
166 activity.mUsernameLabel.getAutofillId(), activity.mUsername.getAutofillId(), in assertInitialViewsDisappeared()
167 activity.mPasswordLabel.getAutofillId(), activity.mPassword.getAutofillId()); in assertInitialViewsDisappeared()
173 grandpa1.getAutofillId(), grandpa2.getAutofillId(), in assertInitialViewsDisappeared()
174 decorView.getAutofillId(), in assertInitialViewsDisappeared()
[all …]
DLoginActivityTest.java240 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_rootViewSession()
247 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession()
248 assertViewAppeared(mainEvents, 4, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_rootViewSession()
255 decorView.getAutofillId(), in testSimpleLifecycle_rootViewSession()
256 grandpa2.getAutofillId(), grandpa1.getAutofillId()); in testSimpleLifecycle_rootViewSession()
278 grandpa1.getAutofillId()); in testSimpleLifecycle_rootViewSession()
286 activity.mUsernameLabel.getAutofillId(), activity.mUsername.getAutofillId(), in testSimpleLifecycle_rootViewSession()
287 activity.mPasswordLabel.getAutofillId(), activity.mPassword.getAutofillId()); in testSimpleLifecycle_rootViewSession()
364 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate()
381 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DCustomViewActivity.java78 Log.d(TAG, "onCreate(): custom view id is " + mCustomView.getAutofillId()); in onCreate()
123 Log.v(TAG, "assertJustInitialViewsAppeared(): grandpa1=" + grandpa1.getAutofillId() in assertJustInitialViewsAppeared()
124 + ", grandpa2=" + grandpa2.getAutofillId() + ", decor=" in assertJustInitialViewsAppeared()
125 + decorView.getAutofillId()); in assertJustInitialViewsAppeared()
135 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared()
136 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared()
151 getDecorView().getAutofillId(), mCustomView.getAutofillId()); in assertInitialViewsDisappeared()
DCustomViewActivityTest.java135 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testSessionLifecycleEvents()
136 Log.v(TAG, "assertJustInitialViewsAppeared(): grandpa1=" + grandpa1.getAutofillId() in testSessionLifecycleEvents()
137 + ", grandpa2=" + grandpa2.getAutofillId() + ", decor=" in testSessionLifecycleEvents()
138 + decorView.getAutofillId() + "customView=" + customViewId); in testSessionLifecycleEvents()
149 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testSessionLifecycleEvents()
150 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testSessionLifecycleEvents()
171 final AutofillId customViewId = customView.getAutofillId(); in testVirtualView_wrongWay()
177 final AutofillId childId = child.getAutofillId(); in testVirtualView_wrongWay()
200 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_wrongWay()
201 Log.v(TAG, "assertJustInitialViewsAppeared(): grandpa1=" + grandpa1.getAutofillId() in testVirtualView_wrongWay()
[all …]
DAbstractRootViewActivity.java81 + " rootView=" + getRootView().getAutofillId() in onResume()
82 + ", grandParent=" + getGrandParent().getAutofillId() in onResume()
83 + ", grandGrandParent=" + getGrandGrandParent().getAutofillId()); in onResume()
DEventsAssertor.java232 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewEvent()
302 if (expectedView != null && !node.getAutofillId().equals(expectedView.getAutofillId())) { in assertEventId()
304 expectedView.getAutofillId(), node.getAutofillId(), event); in assertEventId()
329 assertWithMessage("wrong autofill id on %s", event).that(node.getAutofillId()) in assertEvent()
330 .isEqualTo(expectedView.getAutofillId()); in assertEvent()
DChildlessActivityTest.java308 final AutofillId rootId = rootView.getAutofillId(); in testAddAndRemoveImportantChild()
319 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testAddAndRemoveImportantChild()
320 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testAddAndRemoveImportantChild()
321 .assertViewAppeared(sessionId, rootView, grandpa1.getAutofillId()) in testAddAndRemoveImportantChild()
325 .assertViewDisappeared(child.getAutofillId()) in testAddAndRemoveImportantChild()
364 .assertViewAppeared(sessionId, child, rootView.getAutofillId()) in testAddImportantChildAfterSessionStarted()
365 .assertViewAppeared(sessionId, rootView, grandpa.getAutofillId()) in testAddImportantChildAfterSessionStarted()
392 final AutofillId childId = child.getAutofillId(); in testAddAndRemoveImportantChildOnDifferentSession()
413 .assertViewAppeared(mainSessionId, rootView, grandpa.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()
425 .assertViewAppeared(childSessionId, child, rootView.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMutableAutofillIdTest.java60 final AutofillId oldIdField1 = field1.getAutofillId(); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
75 assertEqualsIgnoreSession(node1Request1.getAutofillId(), oldIdField1); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
98 assertThat(field1.getAutofillId()).isEqualTo(newIdField1); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
117 assertEqualsIgnoreSession(node1Request2.getAutofillId(), newIdField1); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
136 final AutofillId oldIdField1 = field1.getAutofillId(); in testViewGoneDuringAutofillCanStillBeFilled()
151 assertEqualsIgnoreSession(node1Request1.getAutofillId(), oldIdField1); in testViewGoneDuringAutofillCanStillBeFilled()
164 assertEqualsIgnoreSession(field1.getAutofillId(), newIdField1); in testViewGoneDuringAutofillCanStillBeFilled()
200 final AutofillId oldIdField1 = field1.getAutofillId(); in saveWhenIdChanged()
212 assertEqualsIgnoreSession(node1Request1.getAutofillId(), oldIdField1); in saveWhenIdChanged()
225 assertThat(field1.getAutofillId()).isEqualTo(newIdField1); in saveWhenIdChanged()
[all …]
DDuplicateIdActivityTest.java130 final AutofillId id1 = view1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
131 final AutofillId id2 = view2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
169 final AutofillId recreatedId1 = recreatedView1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
170 final AutofillId recreatedId2 = recreatedView2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
171 final AutofillId newId1 = newView1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
194 assertEqualsIgnoreSession(newId1, child.getAutofillId()); in testDoNotRestoreDuplicateAutofillIds()
/cts/tests/translation/src/android/translation/cts/unittests/
DViewTranslationRequestTest.java50 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(mAutofillId, 12345L, 0)); in testBuilderVirtualAutofillId_validSetText()
63 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validSetText()
78 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_setTextTwice()
91 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testGetValue_invalidId()
109 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_multipleTexts()
DViewTranslationResponseTest.java53 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validAddText()
64 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validAddError()
79 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testGetValue_invalidId()
101 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_multipleResults()
DTranslationRequestTest.java57 assertThat(viewRequest.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validViewTranslationRequest()
107 assertThat(viewRequest.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_mixingSetters()
160 assertThat(viewRequest.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_sameAutofillIdViewTranslationRequests()
167 assertThat(viewRequest2.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_sameAutofillIdViewTranslationRequests()
195 assertThat(request1.getAutofillId()).isEqualTo(new AutofillId(17)); in testParceledRequest_validViewTranslationRequests()
202 assertThat(request2.getAutofillId()).isEqualTo(new AutofillId(42)); in testParceledRequest_validViewTranslationRequests()
DTranslationResponseTest.java66 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validViewTranslationResponse()
88 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(42)); in testBuilder_errorViewTranslationResponse()
155 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_mixingAdders()
183 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_mixingSetters()
218 assertThat(viewResponse1.getAutofillId()).isEqualTo(new AutofillId(17)); in testParceledResponse_validViewTranslationResponses()
224 assertThat(viewResponse2.getAutofillId()).isEqualTo(new AutofillId(42)); in testParceledResponse_validViewTranslationResponses()
DTextViewTranslationTest.java91 assertThat(request.getAutofillId()).isEqualTo(mTestTextView.getAutofillId()); in testOnCreateViewTranslationRequest()
164 new ViewTranslationResponse.Builder(mTestTextView.getAutofillId()) in testonViewTranslationResponse()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DViewNodeTest.java63 assertThat(node.getAutofillId()).isEqualTo(initialId); in testAutofillIdMethods_orphanView()
68 assertThat(node.getAutofillId()).isEqualTo(newId); in testAutofillIdMethods_orphanView()
72 assertThat(node.getAutofillId()).isEqualTo(new AutofillId(66, 6)); in testAutofillIdMethods_orphanView()
91 assertThat(node.getAutofillId()).isEqualTo(initialChildId); in testAutofillIdMethods_parentedView()
96 assertThat(node.getAutofillId()).isEqualTo(newChildId); in testAutofillIdMethods_parentedView()
101 assertThat(node.getAutofillId()).isEqualTo(newChildId); in testAutofillIdMethods_parentedView()
105 assertThat(node.getAutofillId()).isEqualTo(new AutofillId(66, 6)); in testAutofillIdMethods_parentedView()
115 assertThat(node.getAutofillId()).isEqualTo(new AutofillId(initialParentId, 108, 666)); in testAutofillIdMethods_explicitIdsConstructor()
120 assertThat(node.getAutofillId()).isEqualTo(newChildId); in testAutofillIdMethods_explicitIdsConstructor()
124 assertThat(node.getAutofillId()).isEqualTo(new AutofillId(66, 6)); in testAutofillIdMethods_explicitIdsConstructor()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAbstractLoginNotImportantForAutofillTestCase.java49 final AutofillId expectedFocusedId = username.getAutofillId(); in testAutofill_none()
74 final AutofillId usernameId = username.getAutofillId(); in testAutofill_oneField()
110 final AutofillId usernameId = username.getAutofillId(); in testAutofill_twoFields()
115 .setField(mActivity.getPassword().getAutofillId(), "sweet") in testAutofill_twoFields()
147 final AutofillId usernameId = username.getAutofillId(); in testAutofill_manualRequest()
185 final AutofillId usernameId = username.getAutofillId(); in testAutofill_autoThenManualRequests()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedLoginActivityTest.java113 final AutofillId usernameId = username.getAutofillId();
114 final AutofillId passwordId = password.getAutofillId();
149 final AutofillId usernameId = username.getAutofillId();
150 final AutofillId passwordId = password.getAutofillId();
193 final AutofillId usernameId = username.getAutofillId();
194 final AutofillId passwordId = password.getAutofillId();
239 final AutofillId usernameId = username.getAutofillId();
240 final AutofillId passwordId = password.getAutofillId();
276 final AutofillId usernameId = username.getAutofillId();
310 final AutofillId usernameId = mActivity.getUsername().getAutofillId();
[all …]
DInlineAugmentedAuthTest.java70 final AutofillId unFieldId = unField.getAutofillId();
123 final AutofillId unFieldId = unField.getAutofillId();
169 final AutofillId unFieldId = unField.getAutofillId();
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java112 final AutofillId usernameId = username.getAutofillId();
141 final AutofillId usernameId = username.getAutofillId();
172 final AutofillId expectedFocusedId = username.getAutofillId();
241 final AutofillId expectedFocusedId = username.getAutofillId();
309 final AutofillId expectedFocusedId = username.getAutofillId();
350 final AutofillId usernameId = username.getAutofillId();
389 final AutofillId usernameId = username.getAutofillId();
419 final AutofillId usernameId = username.getAutofillId();
425 .setField(mActivity.getPassword().getAutofillId(), "sweet")
486 final AutofillId usernameId = username.getAutofillId();
[all …]
DDisableAutofillTest.java65 assertBasicRequestInfo(request, preSimpleActivity, preInput.getAutofillId(), in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
69 final UiObject2 ui = mAugmentedUiBot.assertUiShown(preInput.getAutofillId(), "Augment Me"); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
105 final AutofillId inputId = input.getAutofillId(); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
/cts/tests/translation/src/android/translation/cts/
DCustomTextViewActivity.java53 views.add(mResponseNotSetText.getAutofillId()); in getViewsForTranslation()
54 views.add(mCustomText.getAutofillId()); in getViewsForTranslation()
DUiTranslationManagerTest.java202 assertThat(viewRequest.getAutofillId()).isEqualTo(views.get(0)); in testUiTranslation()
293 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
299 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
305 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
379 assertThat(viewRequest.getAutofillId()).isEqualTo(views.get(0)); in testUiTranslation_hasContentDescription()
552 assertThat(viewRequest1.getAutofillId()).isEqualTo(views.get(0)); in testVirtualViewUiTranslation()
558 assertThat(viewRequest2.getAutofillId()).isEqualTo(views.get(1)); in testVirtualViewUiTranslation()
577 assertThat(capturedView.getAutofillId()).isEqualTo(mVirtualContainerView.getAutofillId()); in testVirtualViewUiTranslation()
DSimpleActivity.java48 views.add(mHelloText.getAutofillId()); in getViewsForTranslation()
DVirtualContainerViewActivity.java43 AutofillId autofillId = mVirtualContainerView.getAutofillId(); in getViewsForTranslation()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DWebViewMultiScreenLoginActivityTest.java27 import static android.autofillservice.cts.testcore.Helper.getAutofillId;
106 final AutofillId usernameId = getAutofillId(nodeResolver, HTML_NAME_USERNAME);
158 final AutofillId passwordId = getAutofillId(nodeResolver, HTML_NAME_PASSWORD);
222 usernameId.set(getAutofillId(nodeResolver, HTML_NAME_USERNAME));
261 final AutofillId passwordId = getAutofillId(nodeResolver, HTML_NAME_PASSWORD);

12