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.java236 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_rootViewSession()
243 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession()
244 assertViewAppeared(mainEvents, 4, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_rootViewSession()
251 decorView.getAutofillId(), in testSimpleLifecycle_rootViewSession()
252 grandpa2.getAutofillId(), grandpa1.getAutofillId()); in testSimpleLifecycle_rootViewSession()
274 grandpa1.getAutofillId()); in testSimpleLifecycle_rootViewSession()
282 activity.mUsernameLabel.getAutofillId(), activity.mUsername.getAutofillId(), in testSimpleLifecycle_rootViewSession()
283 activity.mPasswordLabel.getAutofillId(), activity.mPassword.getAutofillId()); in testSimpleLifecycle_rootViewSession()
360 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate()
377 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DCustomViewActivityTest.java143 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testSessionLifecycleEvents()
144 Log.v(TAG, "assertJustInitialViewsAppeared(): grandpa1=" + grandpa1.getAutofillId() in testSessionLifecycleEvents()
145 + ", grandpa2=" + grandpa2.getAutofillId() + ", decor=" in testSessionLifecycleEvents()
146 + decorView.getAutofillId() + "customView=" + customViewId); in testSessionLifecycleEvents()
158 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in testSessionLifecycleEvents()
159 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in testSessionLifecycleEvents()
184 final AutofillId customViewId = customView.getAutofillId(); in testVirtualView_wrongWay()
190 final AutofillId childId = child.getAutofillId(); in testVirtualView_wrongWay()
213 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_wrongWay()
214 Log.v(TAG, "assertJustInitialViewsAppeared(): grandpa1=" + grandpa1.getAutofillId() in testVirtualView_wrongWay()
[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()
DAbstractRootViewActivity.java81 + " rootView=" + getRootView().getAutofillId() in onResume()
82 + ", grandParent=" + getGrandParent().getAutofillId() in onResume()
83 + ", grandGrandParent=" + getGrandGrandParent().getAutofillId()); in onResume()
DChildlessActivityTest.java311 final AutofillId rootId = rootView.getAutofillId(); in testAddAndRemoveImportantChild()
322 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in testAddAndRemoveImportantChild()
323 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in testAddAndRemoveImportantChild()
324 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in testAddAndRemoveImportantChild()
328 assertViewDisappeared(events, 9, child.getAutofillId()); in testAddAndRemoveImportantChild()
368 assertViewAppeared(events, 2, sessionId, child, rootView.getAutofillId()); in testAddImportantChildAfterSessionStarted()
369 assertViewAppeared(events, 3, sessionId, rootView, grandpa.getAutofillId()); in testAddImportantChildAfterSessionStarted()
396 final AutofillId childId = child.getAutofillId(); in testAddAndRemoveImportantChildOnDifferentSession()
416 assertViewAppeared(mainEvents, 2, mainSessionId, rootView, grandpa.getAutofillId()); in testAddAndRemoveImportantChildOnDifferentSession()
427 assertViewAppeared(childEvents, 1, childSessionId, child, rootView.getAutofillId()); in testAddAndRemoveImportantChildOnDifferentSession()
[all …]
DBlankWithTitleActivity.java66 assertViewsOptionallyDisappeared(events, minEvents, decorView.getAutofillId(), in assertDefaultEvents()
67 title.getAutofillId()); in assertDefaultEvents()
/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.java116 final AutofillId id1 = view1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
117 final AutofillId id2 = view2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
155 final AutofillId recreatedId1 = recreatedView1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
156 final AutofillId recreatedId2 = recreatedView2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
157 final AutofillId newId1 = newView1.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
180 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()
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()
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()
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/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();
DInlineAugmentedContentTest.java90 final AutofillId targetFieldId = targetField.getAutofillId();
123 final AutofillId targetFieldId = targetField.getAutofillId();
157 final AutofillId targetFieldId = targetField.getAutofillId();
/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/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()
260 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
266 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
272 assertThat(capturedView.getAutofillId()).isEqualTo(mTextView.getAutofillId()); in testUiTranslation_CustomViewTranslationCallback()
346 assertThat(viewRequest.getAutofillId()).isEqualTo(views.get(0)); in testUiTranslation_hasContentDescription()
519 assertThat(viewRequest1.getAutofillId()).isEqualTo(views.get(0)); in testVirtualViewUiTranslation()
525 assertThat(viewRequest2.getAutofillId()).isEqualTo(views.get(1)); in testVirtualViewUiTranslation()
544 assertThat(capturedView.getAutofillId()).isEqualTo(mVirtualContainerView.getAutofillId()); in testVirtualViewUiTranslation()
DSimpleActivity.java48 views.add(mHelloText.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