/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | WebViewActivityTest.java | 107 Helper.assertAutofillEnabled(myWebView.getContext(), true); 141 Helper.findWebViewNodeByFormName(fillRequest.structure, "FORM AM I"); 147 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_USERNAME); 148 Helper.assertTextIsSanitized(usernameNode); 149 final HtmlInfo usernameHtmlInfo = Helper.assertHasHtmlTag(usernameNode, "input"); 150 Helper.assertHasAttribute(usernameHtmlInfo, "type", "text"); 151 Helper.assertHasAttribute(usernameHtmlInfo, "name", "username"); 157 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_PASSWORD); 158 Helper.assertTextIsSanitized(passwordNode); 159 final HtmlInfo passwordHtmlInfo = Helper.assertHasHtmlTag(passwordNode, "input"); [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 | 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 | ServiceDisabledForSureTest.java | 19 import static android.autofillservice.cts.Helper.disableAutofillService; 20 import static android.autofillservice.cts.Helper.enableAutofillService; 72 Helper.assertAutofillEnabled(afm, false); 75 Helper.assertAutofillEnabled(afm, true); 78 Helper.assertAutofillEnabled(afm, false);
|
D | ServiceEnabledForSureTest.java | 19 import static android.autofillservice.cts.Helper.disableAutofillService; 20 import static android.autofillservice.cts.Helper.enableAutofillService; 70 Helper.assertAutofillEnabled(afm, true); 73 Helper.assertAutofillEnabled(afm, false); 76 Helper.assertAutofillEnabled(afm, true);
|
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 | 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 | 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; 86 Helper.enableAutofillService(getContext(), SERVICE_NAME); in enableService() 91 Helper.disableAutofillService(getContext()); in disableService()
|
D | WebViewMultiScreenLoginActivityTest.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.assertTextAndValue; 26 import static android.autofillservice.cts.Helper.findNodeByHtmlName; 27 import static android.autofillservice.cts.Helper.getAutofillId; 91 Helper.assertAutofillEnabled(myWebView.getContext(), true); 197 Helper.assertAutofillEnabled(myWebView.getContext(), true);
|
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); 112 if (!Helper.isAutofillWindowFullScreen(mActivity)) {
|
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; 98 Helper.disableAutoRotation(mUiBot); in disableAutoRotation() 106 Helper.allowAutoRotation(); in allowAutoRotation() 156 assumeTrue("Rotation is supported", Helper.isRotationSupported(mContext)); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
|
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 | 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.findAutofillIdByResourceId; 34 import static android.autofillservice.cts.Helper.findNodeByResourceId; 35 import static android.autofillservice.cts.Helper.getContext; 325 final UiObject2 staticText = saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT)); 403 assertThat(saveUi.findObject(By.res(packageName, Helper.ID_STATIC_TEXT))).isNull();
|
D | AutoFillServiceTestCase.java | 19 import static android.autofillservice.cts.Helper.getContext; 319 Helper.setDefaultAugmentedAutofillServiceEnabled(false); 325 Helper.setDefaultAugmentedAutofillServiceEnabled(true); 381 Helper.enableAutofillService(getContext(), SERVICE_NAME); 388 Helper.disableAutofillService(getContext()); 395 Helper.assertAutofillServiceStatus(SERVICE_NAME, true); 402 Helper.assertAutofillServiceStatus(SERVICE_NAME, false);
|
D | OnClickActionTest.java | 25 import static android.autofillservice.cts.Helper.ID_PASSWORD_LABEL; 26 import static android.autofillservice.cts.Helper.ID_USERNAME_LABEL; 27 import static android.autofillservice.cts.Helper.assertTextAndValue; 28 import static android.autofillservice.cts.Helper.findAutofillIdByResourceId; 29 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
D | ValidatorTest.java | 19 import static android.autofillservice.cts.Helper.ID_PASSWORD; 20 import static android.autofillservice.cts.Helper.ID_USERNAME; 21 import static android.autofillservice.cts.Helper.findAutofillIdByResourceId;
|
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 | 21 import static android.autofillservice.cts.Helper.assertEqualsIgnoreSession; 56 Helper.disableAutoRotation(mUiBot); in setup() 62 Helper.allowAutoRotation(); in teardown() 90 assumeTrue("Rotation is supported", Helper.isRotationSupported(mContext)); in testDoNotRestoreDuplicateAutofillIds()
|
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; 776 boolean autofillViewBoundsMatches = !Helper.isAutofillWindowFullScreen(mContext); in assertDatasetShown()
|
D | InstrumentedAutoFillService.java | 22 import static android.autofillservice.cts.Helper.dumpStructure; 23 import static android.autofillservice.cts.Helper.getActivityName; 75 static final String SERVICE_PACKAGE = Helper.MY_PACKAGE; 379 + ", bundle=" + data + ", structure=" + Helper.toString(structure) + "]"; in toString() 659 (id) -> Helper.findNodeByResourceId(contexts, id)); in onFillRequest() 663 (name) -> Helper.findNodeByHtmlName(contexts, name)); in onFillRequest() 667 (id) -> Helper.findNodeByHtmlNameOrResourceId(contexts, id)); in onFillRequest() 678 Helper.offer(mFillRequests, new FillRequest(contexts, data, cancellationSignal, in onFillRequest() 694 Helper.offer(mSaveRequests, new SaveRequest(contexts, data, callback, datasetIds), in onSaveRequest()
|
D | MultiScreenLoginTest.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.findAutofillIdByResourceId; 25 import static android.autofillservice.cts.Helper.findNodeByResourceId;
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | WhitelistTest.java | 19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 20 import static android.contentcaptureservice.cts.Helper.NO_ACTIVITIES; 21 import static android.contentcaptureservice.cts.Helper.NO_PACKAGES; 22 import static android.contentcaptureservice.cts.Helper.read; 23 import static android.contentcaptureservice.cts.Helper.sContext; 24 import static android.contentcaptureservice.cts.Helper.toSet;
|
D | AbstractContentCaptureIntegrationTest.java | 19 import static android.contentcaptureservice.cts.Helper.MY_PACKAGE; 20 import static android.contentcaptureservice.cts.Helper.resetService; 21 import static android.contentcaptureservice.cts.Helper.sContext; 22 import static android.contentcaptureservice.cts.Helper.setService; 23 import static android.contentcaptureservice.cts.Helper.toSet; 175 Helper.setDefaultServiceEnabled(false); in disableDefaultService() 181 Helper.setDefaultServiceEnabled(true); in enableDefaultService()
|
D | CanaryTest.java | 19 import static android.contentcaptureservice.cts.Helper.RESOURCE_STRING_SERVICE_NAME; 20 import static android.contentcaptureservice.cts.Helper.getInternalString; 21 import static android.contentcaptureservice.cts.Helper.sContext;
|