/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | DelayFillTest.java | 78 FillRequest fillRequest = sReplier.getNextFillRequest(); 90 .asFillResponse(fillRequest.contexts, 91 (id) -> Helper.findNodeByResourceId(fillRequest.contexts, id)); 96 fillRequest.delayFillIntentSender.sendIntent(getContext(), 0, intent, null, null, null); 123 FillRequest fillRequest = sReplier.getNextFillRequest(); 135 .asFillResponse(fillRequest.contexts, 136 (id) -> Helper.findNodeByResourceId(fillRequest.contexts, id)); 141 fillRequest.delayFillIntentSender.sendIntent(getContext(), 0, intent, null, null, null); 169 FillRequest fillRequest = sReplier.getNextFillRequest(); 181 .asFillResponse(fillRequest.contexts, [all …]
|
D | FatActivityTest.java | 84 final FillRequest fillRequest = sReplier.getNextFillRequest(); 87 mRoot = findNodeByResourceId(fillRequest.structure, ID_ROOT); 103 assertThat(findNodeByResourceId(fillRequest.structure, ID_IMAGE)).isNull(); 112 assertThat(findNodeByResourceId(fillRequest.structure, ID_CAPTCHA)).isNull(); 160 final FillRequest fillRequest = sReplier.getNextFillRequest(); 163 mRoot = findNodeByResourceId(fillRequest.structure, ID_ROOT);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginWithStringsActivityTest.java | 93 final FillRequest fillRequest = sReplier.getNextFillRequest(); 96 assertTextIsSanitized(fillRequest.structure, ID_USERNAME); 97 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD); 100 assertTextFromResources(fillRequest.structure, ID_USERNAME_LABEL, "Username", false, 102 assertTextFromResources(fillRequest.structure, ID_PASSWORD_LABEL, "Password", false, 106 assertHintFromResources(fillRequest.structure, ID_USERNAME, "Hint for username", 108 assertHintFromResources(fillRequest.structure, ID_PASSWORD, "Hint for password", 150 assertHintFromResources(fillRequest.structure, ID_USERNAME, "Hint for username", 152 assertHintFromResources(fillRequest.structure, ID_PASSWORD, "Hint for password",
|
D | InitializedCheckoutActivityTest.java | 71 final FillRequest fillRequest = sReplier.getNextFillRequest(); 73 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342"); 74 assertListValue(findNodeByResourceId(fillRequest.structure, ID_ADDRESS), 76 assertToggleValue(findNodeByResourceId(fillRequest.structure, ID_SAVE_CC), true); 79 assertTextIsSanitized(fillRequest.structure, ID_CC_EXPIRATION);
|
D | PreFilledLoginActivityTest.java | 77 final FillRequest fillRequest = sReplier.getNextFillRequest(); 80 assertTextIsSanitized(fillRequest.structure, ID_USERNAME_LABEL); 83 assertTextFromResources(fillRequest.structure, ID_PASSWORD_LABEL, "DA PASSWORD", false, 87 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME), 89 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t");
|
D | DialogLauncherActivityTest.java | 73 final FillRequest fillRequest = sReplier.getNextFillRequest(); 79 assertTextIsSanitized(fillRequest.structure, ID_USERNAME); 80 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD); 82 Helper.dumpStructure("D'OH!", fillRequest.structure);
|
D | WebViewActivityTest.java | 134 final FillRequest fillRequest = sReplier.getNextFillRequest(); 155 Helper.findWebViewNodeByFormName(fillRequest.structure, "FORM AM I"); 161 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_USERNAME); 171 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_PASSWORD); 181 Helper.dumpStructure("failed on testAutofillOneDataset()", fillRequest.structure); 260 final FillRequest fillRequest = sReplier.getNextFillRequest(); 265 final ViewNode usernameNode = Helper.findNodeByHtmlName(fillRequest.structure, 270 final ViewNode passwordNode = Helper.findNodeByHtmlName(fillRequest.structure, 348 final FillRequest fillRequest = sReplier.getNextFillRequest(); 353 final ViewNode usernameFillNode = Helper.findNodeByHtmlName(fillRequest.structure, [all …]
|
D | CheckoutActivityTest.java | 122 final FillRequest fillRequest = sReplier.getNextFillRequest(); 126 assertTextIsSanitized(fillRequest.structure, ID_CC_EXPIRATION); 167 final FillRequest fillRequest = sReplier.getNextFillRequest(); 171 assertTextIsSanitized(fillRequest.structure, ID_CC_EXPIRATION); 210 final FillRequest fillRequest = sReplier.getNextFillRequest(); 214 assertTextIsSanitized(fillRequest.structure, ID_CC_EXPIRATION); 248 final FillRequest fillRequest = sReplier.getNextFillRequest(); 250 assertTextIsSanitized(fillRequest.structure, ID_CC_NUMBER); 251 assertTextIsSanitized(fillRequest.structure, ID_CC_EXPIRATION); 252 assertToggleIsSanitized(fillRequest.structure, ID_HOME_ADDRESS); [all …]
|
D | LoginActivityTest.java | 233 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAutofillManuallyAfterServiceReturnedNoDatasets() local 234 assertHasFlags(fillRequest.flags, FLAG_MANUAL_REQUEST); in testAutofillManuallyAfterServiceReturnedNoDatasets() 1106 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAutoFillOneDatasetAndSave() local 1109 assertTextIsSanitized(fillRequest.structure, ID_USERNAME); in testAutoFillOneDatasetAndSave() 1110 assertTextIsSanitized(fillRequest.structure, ID_PASSWORD); in testAutoFillOneDatasetAndSave() 1113 assertTextOnly(fillRequest.structure, ID_USERNAME_LABEL, "Username"); in testAutoFillOneDatasetAndSave() 1114 assertTextOnly(fillRequest.structure, ID_PASSWORD_LABEL, "Password"); in testAutoFillOneDatasetAndSave() 2253 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testGetTextInputType() local 2255 final ViewNode label = findNodeByResourceId(fillRequest.structure, ID_PASSWORD_LABEL); in testGetTextInputType() 2257 final ViewNode password = findNodeByResourceId(fillRequest.structure, ID_PASSWORD); in testGetTextInputType() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/ |
D | WebViewActivityTest.java | 88 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); 89 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); 112 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); 113 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); 136 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); 137 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG);
|
D | MultipleStepsSignInActivityTest.java | 77 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog_contentChanged_shownFillDialog() local 78 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog_contentChanged_shownFillDialog() 138 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog_backPrevPage_notShownFillDialog() local 139 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog_backPrevPage_notShownFillDialog() 205 final InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog() local 206 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog()
|
D | LoginActivityTest.java | 149 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialogCustomIcon() local 150 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialogCustomIcon() 200 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testHideServiceIcon() local 201 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testHideServiceIcon() 307 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog() local 308 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog() 354 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog_onlyShowOnce() local 355 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog_onlyShowOnce() 623 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testHintsNotMatch() local 624 assertNoFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testHintsNotMatch() [all …]
|
D | FadeInActivityTest.java | 68 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testShowFillDialog_withFadeInAnimation() local 69 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testShowFillDialog_withFadeInAnimation()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineWebViewActivityTest.java | 137 final FillRequest fillRequest = sReplier.getNextFillRequest(); 155 Helper.findWebViewNodeByFormName(fillRequest.structure, "FORM AM I"); 161 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_USERNAME); 171 Helper.findNodeByHtmlName(fillRequest.structure, HTML_NAME_PASSWORD); 181 Helper.dumpStructure("failed on testAutofillOneDataset()", fillRequest.structure); 210 final FillRequest fillRequest = sReplier.getNextFillRequest(); 214 final ViewNode usernameNode = Helper.findNodeByHtmlName(fillRequest.structure, 219 final ViewNode passwordNode = Helper.findNodeByHtmlName(fillRequest.structure,
|
D | InlineAuthenticationTest.java | 535 InstrumentedAutoFillService.FillRequest fillRequest = sReplier.getNextFillRequest(); in fillDatasetAuthWithClientState() local 536 final InlineSuggestionsRequest inlineSuggestionsRequest = fillRequest.inlineRequest; in fillDatasetAuthWithClientState()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | PccFieldClassificationTest.java | 160 final InstrumentedAutoFillService.FillRequest fillRequest = in testFieldClassification_withFillDialog() local 162 assertHasFlags(fillRequest.flags, FLAG_SUPPORTS_FILL_DIALOG); in testFieldClassification_withFillDialog() 164 assertFillRequestHints(fillRequest); in testFieldClassification_withFillDialog() 226 final InstrumentedAutoFillService.FillRequest fillRequest = in testFieldClassification_withDropdownDialog() local 229 assertFillRequestHints(fillRequest); in testFieldClassification_withDropdownDialog() 284 final InstrumentedAutoFillService.FillRequest fillRequest = in testFieldClassification_mergeResultsFromPccAndProvider_sameDataset() local 287 assertFillRequestHints(fillRequest); in testFieldClassification_mergeResultsFromPccAndProvider_sameDataset() 351 final InstrumentedAutoFillService.FillRequest fillRequest = in testFieldClassification_mergeResultsFromPccAndProvider_separateDataset() local 354 assertFillRequestHints(fillRequest); in testFieldClassification_mergeResultsFromPccAndProvider_separateDataset() 433 final InstrumentedAutoFillService.FillRequest fillRequest = in testFieldClassification_preferPccDetection_sameDetection() local [all …]
|
D | AutofillForAllAppsTest.java | 155 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testUnimportantViewTriggerFillRequest() local 197 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testUnimportantViewTriggerFillRequestWhenDenylistIsWronglyFormatted() local 236 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testUnimportantViewTriggerFillRequestWhenOtherActivityOfPackageInDenylist() local 323 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAddingPacakgeToAllowlist_ViewWithImeActionGoStillTriggerFillRequest() local 344 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAddingActivityToAllowlist_ViewWithImeActionGoStillTriggerFillRequest() local 406 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testSelectedViewsStrillTriggerFillRequest() local 427 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAssistStructure_includeAutofillTypeNotNoneViews() local 432 findNodeByResourceId(fillRequest.structure, ID_USERNAME)); in testAssistStructure_includeAutofillTypeNotNoneViews() 437 findNodeByResourceId(fillRequest.structure, ID_USERNAME_LABEL)); in testAssistStructure_includeAutofillTypeNotNoneViews() 458 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAssistStructure_includeAllViews() local [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | TimePickerTestCase.java | 69 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAutoFillAndSave() local 72 assertTextIsSanitized(fillRequest.structure, ID_TIME_PICKER); in testAutoFillAndSave() 73 assertNumberOfChildren(fillRequest.structure, ID_TIME_PICKER, 0); in testAutoFillAndSave()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/androidx-tests/ |
D | SaveUiTest.java | 88 fillRequest -> { in testTapLink_changeOrientationThenTapBack()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 209 final FillRequest fillRequest = sReplier.getNextFillRequest(); 210 assertHasFlags(fillRequest.flags, FLAG_MANUAL_REQUEST); 277 final FillRequest fillRequest = sReplier.getNextFillRequest(); 278 assertHasFlags(fillRequest.flags, FLAG_MANUAL_REQUEST);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 188 final FillRequest fillRequest = sReplier.getNextFillRequest(); in testAutoFillOneDatasetAndSave_largeAssistStructure() local 189 final ViewNode inputOnFill = findNodeByResourceId(fillRequest.structure, ID_INPUT); in testAutoFillOneDatasetAndSave_largeAssistStructure()
|