Home
last modified time | relevance | path

Searched refs:saveUi (Results 1 – 13 of 13) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOnClickActionTest.java125 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC);
128 final UiObject2 showButton = assertHidden(saveUi);
132 final UiObject2 hideButton = assertShown(saveUi);
136 assertHidden(saveUi);
139 showButton.click(); assertShown(saveUi);
140 hideButton.click(); assertHidden(saveUi);
141 showButton.click(); assertShown(saveUi);
142 hideButton.click(); assertHidden(saveUi);
145 mUiBot.saveForAutofill(saveUi, true);
157 private UiObject2 assertHidden(UiObject2 saveUi) throws Exception {
[all …]
DPreSimpleSaveActivityTest.java96 final UiObject2 saveUi = assertSaveUiWithLinkIsShown(SAVE_DATA_TYPE_PASSWORD); in saveUiRestoredAfterTappingLinkTest() local
97 tapSaveUiLink(saveUi); in saveUiRestoredAfterTappingLinkTest()
154 final UiObject2 saveUi = assertSaveUiWithLinkIsShown(SAVE_DATA_TYPE_PASSWORD); in tapLinkThenTapBackThenStartOverTest() local
155 tapSaveUiLink(saveUi); in tapLinkThenTapBackThenStartOverTest()
245 final UiObject2 saveUi = assertSaveUiWithLinkIsShown(SAVE_DATA_TYPE_PASSWORD); in saveUiCancelledAfterTappingLinkTest() local
246 tapSaveUiLink(saveUi); in saveUiCancelledAfterTappingLinkTest()
298 final UiObject2 saveUi = assertSaveUiWithLinkIsShown(SAVE_DATA_TYPE_PASSWORD); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest() local
301 tapSaveUiLink(saveUi); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
379 final UiObject2 saveUi; in tapLinkAfterUpdateAppliedTest() local
381 saveUi = assertSaveUiWithLinkIsShown(SAVE_DATA_TYPE_PASSWORD, "TAP ME IF YOU CAN"); in tapLinkAfterUpdateAppliedTest()
[all …]
DCustomDescriptionDateTest.java97 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC);
100 final UiObject2 staticText = saveUi.findObject(By.res(mPackageName, "static_text"));
105 mUiBot.assertChild(saveUi, "first", (o) -> assertThat(o.getText()).isEqualTo("12/2010"));
106 mUiBot.assertChild(saveUi, "second", (o) -> assertThat(o.getText()).isEqualTo("12-10"));
DSimpleSaveActivityTest.java154 final UiObject2 saveUi = mUiBot.assertUpdateShowing(SAVE_DATA_TYPE_GENERIC); in testAutoFillOneDatasetAndSave() local
157 mUiBot.saveForAutofill(saveUi, true); in testAutoFillOneDatasetAndSave()
206 final UiObject2 saveUi = mUiBot.assertUpdateShowing(SAVE_DATA_TYPE_GENERIC); in testAutoFillOneDatasetAndSave_largeAssistStructure() local
209 mUiBot.saveForAutofill(saveUi, true); in testAutoFillOneDatasetAndSave_largeAssistStructure()
328 UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC); in saveTest() local
335 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC); in saveTest()
339 mUiBot.saveForAutofill(saveUi, true); in saveTest()
388 final UiObject2 saveUi = mUiBot.assertSaveShowing(null, SAVE_DATA_TYPE_USERNAME, in testPartitionedSave() local
392 mUiBot.saveForAutofill(saveUi, true); in testPartitionedSave()
646 UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC); in testSaveWithParcelableOnClientState() local
[all …]
DCustomDescriptionTest.java656 final UiObject2 saveUi = assertSaveUiShowing(); in assertSaveUiWithoutCustomDescriptionIsShown() local
659 assertWithMessage("found static_text on SaveUI (%s)", mUiBot.getChildrenAsText(saveUi)) in assertSaveUiWithoutCustomDescriptionIsShown()
660 .that(saveUi.findObject(By.res(mPackageName, "static_text"))).isNull(); in assertSaveUiWithoutCustomDescriptionIsShown()
665 final UiObject2 saveUi = assertSaveUiShowing(); in assertSaveUiWithCustomDescriptionIsShown() local
668 final UiObject2 staticText = saveUi.findObject(By.res(mPackageName, "static_text")); in assertSaveUiWithCustomDescriptionIsShown()
672 return saveUi; in assertSaveUiWithCustomDescriptionIsShown()
701 final UiObject2 saveUi = assertSaveUiWithCustomDescriptionIsShown(); in assertSaveUiWithLinesIsShown() local
702 mUiBot.assertChild(saveUi, "first", line1Visitor); in assertSaveUiWithLinesIsShown()
703 mUiBot.assertChild(saveUi, "second", line2Visitor); in assertSaveUiWithLinesIsShown()
704 mUiBot.assertChild(saveUi, "third", line3Visitor); in assertSaveUiWithLinesIsShown()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineSimpleSaveActivityTest.java102 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_GENERIC);
105 mUiBot.saveForAutofill(saveUi, true);
154 final UiObject2 saveUi = mUiBot.assertUpdateShowing(SAVE_DATA_TYPE_GENERIC);
157 mUiBot.saveForAutofill(saveUi, true);
DInlineFillEventHistoryTest.java123 final UiObject2 saveUi = mUiBot.assertUpdateShowing(SAVE_DATA_TYPE_GENERIC); in testOneDatasetAndSave() local
126 mUiBot.saveForAutofill(saveUi, true); in testOneDatasetAndSave()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DCustomDescriptionWithLinkTestCase.java322 final UiObject2 saveUi = mUiBot.assertSaveShowing(saveType); in assertSaveUiWithLinkIsShown() local
324 final UiObject2 link = getLink(saveUi); in assertSaveUiWithLinkIsShown()
326 return saveUi; in assertSaveUiWithLinkIsShown()
335 protected final void tapSaveUiLink(UiObject2 saveUi) { in tapSaveUiLink() argument
336 getLink(saveUi).click(); in tapSaveUiLink()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DMultiScreenDifferentActivitiesTest.java74 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_PASSWORD); in testActivityNotDelayedIsNotMerged() local
77 mUiBot.saveForAutofill(saveUi, true); in testActivityNotDelayedIsNotMerged()
122 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_PASSWORD); in testDelayedActivityIsMerged() local
125 mUiBot.saveForAutofill(saveUi, true); in testDelayedActivityIsMerged()
DWebViewMultiScreenLoginActivityTest.java298 final UiObject2 saveUi = mUiBot.assertSaveShowing(
301 mUiBot.assertChildText(saveUi, ID_PASSWORD_LABEL, "Pass:");
302 mUiBot.assertChildText(saveUi, ID_PASSWORD, "sweet");
303 mUiBot.assertChildText(saveUi, ID_USERNAME_LABEL, "User:");
304 mUiBot.assertChildText(saveUi, ID_USERNAME, "dude");
307 mUiBot.saveForAutofill(saveUi, true);
DMultiScreenLoginTest.java418 final UiObject2 saveUi = mUiBot.assertSaveShowing(
422 mUiBot.assertChildText(saveUi, ID_USERNAME_LABEL, "User:");
423 mUiBot.assertChildText(saveUi, ID_USERNAME, "dude");
424 mUiBot.assertChildText(saveUi, ID_PASSWORD_LABEL, "Pass:");
425 mUiBot.assertChildText(saveUi, ID_PASSWORD, "sweet");
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DCheckoutActivityTest.java344 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_CREDIT_CARD);
347 final UiObject2 staticText = saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT));
351 final UiObject2 number = saveUi.findObject(By.res(packageName, "first"));
355 final UiObject2 expiration = saveUi.findObject(By.res(packageName, "second"));
359 final UiObject2 image = saveUi.findObject(By.res(packageName, "img"));
422 final UiObject2 saveUi = mUiBot.assertSaveShowing(SAVE_DATA_TYPE_CREDIT_CARD);
425 assertThat(saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT))).isNull();
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java926 final UiObject2 saveUi = assertUpdateShowing(types); in updateForAutofill() local
927 saveForAutofill(saveUi, yesDoIt); in updateForAutofill()