/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | WebViewActivityTest.java | 153 Helper.findWebViewNodeByFormName(fillRequest.structure, "FORM AM I"); in autofillOneDatasetTest() 159 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_USERNAME); in autofillOneDatasetTest() 160 Helper.assertTextIsSanitized(usernameNode); in autofillOneDatasetTest() 161 final HtmlInfo usernameHtmlInfo = Helper.assertHasHtmlTag(usernameNode, "input"); in autofillOneDatasetTest() 162 Helper.assertHasAttribute(usernameHtmlInfo, "type", "text"); in autofillOneDatasetTest() 163 Helper.assertHasAttribute(usernameHtmlInfo, "name", "username"); in autofillOneDatasetTest() 169 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_PASSWORD); in autofillOneDatasetTest() 170 Helper.assertTextIsSanitized(passwordNode); in autofillOneDatasetTest() 171 final HtmlInfo passwordHtmlInfo = Helper.assertHasHtmlTag(passwordNode, "input"); in autofillOneDatasetTest() 172 Helper.assertHasAttribute(passwordHtmlInfo, "type", "password"); in autofillOneDatasetTest() [all …]
|
D | PreFilledLoginActivityTest.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 19 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 21 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL; 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 23 import static android.autofillservice.cts.Helper.assertTextFromResouces; 24 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 25 import static android.autofillservice.cts.Helper.assertTextOnly; 26 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | AutoFillServiceTestCase.java | 19 import static android.autofillservice.cts.Helper.getContext; 20 import static android.autofillservice.cts.Helper.getLoggingLevel; 21 import static android.autofillservice.cts.Helper.hasAutofillFeature; 22 import static android.autofillservice.cts.Helper.setLoggingLevel; 131 Helper.preTestCleanup(); in cleanupStaticState() 177 Helper.enableAutofillService(getContext(), SERVICE_NAME); in enableService() 187 Helper.disableAutofillService(getContext(), SERVICE_NAME); in disableService() 195 Helper.assertAutofillServiceStatus(SERVICE_NAME, true); in assertServiceEnabled() 202 Helper.assertAutofillServiceStatus(SERVICE_NAME, false); in assertServiceDisabled()
|
D | InitializedCheckoutActivityTest.java | 24 import static android.autofillservice.cts.Helper.assertListValue; 25 import static android.autofillservice.cts.Helper.assertTextAndValue; 26 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 27 import static android.autofillservice.cts.Helper.assertToggleValue; 28 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | LoginWithStringsActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 20 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 22 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL; 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 24 import static android.autofillservice.cts.Helper.assertTextFromResouces; 25 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 26 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | TimePickerTestCase.java | 20 import static android.autofillservice.cts.Helper.assertNumberOfChildren; 21 import static android.autofillservice.cts.Helper.assertTextAndValue; 22 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 23 import static android.autofillservice.cts.Helper.assertTimeValue; 24 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | DatePickerTestCase.java | 20 import static android.autofillservice.cts.Helper.assertDateValue; 21 import static android.autofillservice.cts.Helper.assertNumberOfChildren; 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 23 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 24 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | DialogLauncherActivityTest.java | 18 import static android.autofillservice.cts.Helper.ID_USERNAME; 19 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 76 Helper.dumpStructure("D'OH!", fillRequest.structure); in autofillNoDatasetsTest() 112 if (!Helper.isAutofillWindowFullScreen(mActivity)) { in autofillOneDatasetTest()
|
D | VirtualContainerActivityCompatModeTest.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 19 import static android.autofillservice.cts.Helper.ID_USERNAME; 20 import static android.autofillservice.cts.Helper.assertTextAndValue; 21 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 22 import static android.autofillservice.cts.Helper.findNodeByResourceId; 23 import static android.autofillservice.cts.Helper.getContext; 24 import static android.autofillservice.cts.Helper.hasAutofillFeature; 86 Helper.enableAutofillService(getContext(), SERVICE_NAME); in enableService() 94 Helper.disableAutofillService(getContext(), SERVICE_NAME); in disableService()
|
D | VirtualContainerActivity.java | 18 import static android.autofillservice.cts.Helper.ID_PASSWORD; 19 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 21 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL;
|
D | PreSimpleSaveActivityTest.java | 18 import static android.autofillservice.cts.Helper.ID_STATIC_TEXT; 19 import static android.autofillservice.cts.Helper.assertTextAndValue; 20 import static android.autofillservice.cts.Helper.findNodeByResourceId; 84 Helper.assertHasSessions(mPackageName); in saveUiRestoredAfterTappingLinkTest() 143 Helper.assertHasSessions(mPackageName); in tapLinkThenTapBackThenStartOverTest() 203 Helper.assertHasSessions(mPackageName); in tapLinkThenTapBackThenStartOverTest() 237 Helper.assertHasSessions(mPackageName); in saveUiCancelledAfterTappingLinkTest() 295 Helper.assertHasSessions(mPackageName); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest() 330 Helper.assertHasSessions(mPackageName); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest() 376 Helper.assertHasSessions(mPackageName); in tapLinkAfterUpdateAppliedTest()
|
D | SessionLifecycleTest.java | 19 import static android.autofillservice.cts.Helper.ID_LOGIN; 20 import static android.autofillservice.cts.Helper.ID_PASSWORD; 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 23 import static android.autofillservice.cts.Helper.findNodeByResourceId; 24 import static android.autofillservice.cts.Helper.getContext; 88 Helper.disableAutoRotation(mUiBot); in disableAutoRotation() 96 Helper.allowAutoRotation(); in allowAutoRotation() 130 assumeTrue("Rotation is supported", Helper.isRotationSupported(mContext)); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
|
D | ManualAuthenticationActivity.java | 56 (id) -> Helper.findNodeByResourceId(structure, id)); in onCreate() 59 (id) -> Helper.findNodeByResourceId(structure, id)); in onCreate()
|
D | CheckoutActivityTest.java | 28 import static android.autofillservice.cts.Helper.assertListValue; 29 import static android.autofillservice.cts.Helper.assertTextAndValue; 30 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 31 import static android.autofillservice.cts.Helper.assertToggleIsSanitized; 32 import static android.autofillservice.cts.Helper.assertToggleValue; 33 import static android.autofillservice.cts.Helper.findNodeByResourceId; 34 import static android.autofillservice.cts.Helper.getContext; 315 final UiObject2 staticText = saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT)); in customizedSaveUi() 386 assertThat(saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT))).isNull(); in testCustomizedSaveUiWhenListResolutionFails()
|
D | FatActivityTest.java | 34 import static android.autofillservice.cts.Helper.findNodeByAutofillHint; 35 import static android.autofillservice.cts.Helper.findNodeByResourceId; 36 import static android.autofillservice.cts.Helper.findNodeByText; 37 import static android.autofillservice.cts.Helper.getNumberNodes; 38 import static android.autofillservice.cts.Helper.importantForAutofillAsString;
|
D | DuplicateIdActivityTest.java | 46 Helper.disableAutoRotation(mUiBot); in setup() 56 Helper.allowAutoRotation(); in teardown() 78 assumeTrue("Rotation is supported", Helper.isRotationSupported(mContext)); in testDoNotRestoreDuplicateAutofillIds()
|
D | SimpleSaveActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_STATIC_TEXT; 20 import static android.autofillservice.cts.Helper.assertTextAndValue; 21 import static android.autofillservice.cts.Helper.assertTextValue; 22 import static android.autofillservice.cts.Helper.findNodeByResourceId; 196 assumeTrue("Rotation is supported", Helper.isRotationSupported(mContext)); in testSave_afterRotation() 220 Helper.assertHasSessions(mPackageName); in saveTest() 261 Helper.assertHasSessions(mPackageName); in testSave_launchIntent() 291 Helper.assertHasSessions(mPackageName); in testSaveThenStartNewSessionRightAway() 374 Helper.assertHasSessions(mPackageName); in testCancelPreventsSaveUiFromShowing() 425 Helper.assertHasSessions(mPackageName); in dismissSaveTest() [all …]
|
D | VirtualContainerActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 20 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 21 import static android.autofillservice.cts.Helper.ID_USERNAME; 22 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL; 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 24 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 25 import static android.autofillservice.cts.Helper.assertTextOnly; 26 import static android.autofillservice.cts.Helper.dumpStructure; 27 import static android.autofillservice.cts.Helper.findNodeByResourceId; 770 boolean autofillViewBoundsMatches = !Helper.isAutofillWindowFullScreen(mContext); in assertDatasetShown()
|
D | ValidatorTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 20 import static android.autofillservice.cts.Helper.ID_USERNAME;
|
D | InstrumentedAutoFillService.java | 21 import static android.autofillservice.cts.Helper.dumpStructure; 22 import static android.autofillservice.cts.Helper.getActivityName; 62 static final String SERVICE_PACKAGE = Helper.MY_PACKAGE; 568 (id) -> Helper.findNodeByResourceId(contexts, id)); in onFillRequest() 572 (name) -> Helper.findNodeByHtmlName(contexts, name)); in onFillRequest() 576 (id) -> Helper.findNodeByHtmlNameOrResourceId(contexts, id)); in onFillRequest()
|
D | MultiWindowLoginActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 20 import static android.autofillservice.cts.Helper.ID_USERNAME;
|
D | LoginActivityTest.java | 21 import static android.autofillservice.cts.Helper.ID_PASSWORD; 22 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 23 import static android.autofillservice.cts.Helper.ID_USERNAME; 24 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL; 25 import static android.autofillservice.cts.Helper.assertHasFlags; 26 import static android.autofillservice.cts.Helper.assertNumberOfChildren; 27 import static android.autofillservice.cts.Helper.assertTextAndValue; 28 import static android.autofillservice.cts.Helper.assertTextIsSanitized; 29 import static android.autofillservice.cts.Helper.assertTextOnly; 30 import static android.autofillservice.cts.Helper.assertValue; [all …]
|
D | LoginWithCustomHighlightActivityTest.java | 19 import static android.autofillservice.cts.Helper.ID_USERNAME;
|
D | SettingsIntentTest.java | 116 .setData(Uri.parse("package:" + Helper.MY_PACKAGE)); in newSettingsIntent()
|
D | FillEventHistoryTest.java | 22 import static android.autofillservice.cts.Helper.ID_PASSWORD; 23 import static android.autofillservice.cts.Helper.ID_USERNAME; 24 import static android.autofillservice.cts.Helper.NULL_DATASET_ID; 25 import static android.autofillservice.cts.Helper.assertDeprecatedClientState; 26 import static android.autofillservice.cts.Helper.assertFillEventForAuthenticationSelected; 27 import static android.autofillservice.cts.Helper.assertFillEventForDatasetAuthenticationSelected; 28 import static android.autofillservice.cts.Helper.assertFillEventForDatasetSelected; 29 import static android.autofillservice.cts.Helper.assertFillEventForSaveShown; 30 import static android.autofillservice.cts.Helper.assertNoDeprecatedClientState;
|