Home
last modified time | relevance | path

Searched refs:addResponse (Results 1 – 25 of 44) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java104 sReplier.addResponse(NO_RESPONSE);
105 sAugmentedReplier.addResponse(NO_AUGMENTED_RESPONSE);
133 sReplier.addResponse(NO_RESPONSE);
134 sAugmentedReplier.addResponse(NO_AUGMENTED_RESPONSE);
162 sReplier.addResponse(NO_RESPONSE);
163 sAugmentedReplier.addResponse(NO_AUGMENTED_RESPONSE);
180 sReplier.addResponse(new CannedFillResponse.Builder()
231 sAugmentedReplier.addResponse(NO_AUGMENTED_RESPONSE);
248 sReplier.addResponse(new CannedFillResponse.Builder()
295 sReplier.addResponse(NO_RESPONSE);
[all …]
DAbstractLoginNotImportantForAutofillTestCase.java49 sAugmentedReplier.addResponse(NO_AUGMENTED_RESPONSE); in testAutofill_none()
75 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAutofill_oneField()
111 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAutofill_twoFields()
148 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAutofill_manualRequest()
184 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAutofill_autoThenManualRequests()
203 sReplier.addResponse(NO_RESPONSE); in testAutofill_autoThenManualRequests()
204 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAutofill_autoThenManualRequests()
DDisableAutofillTest.java45 sReplier.addResponse( in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
47 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
89 sReplier.addResponse( in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
105 sAugmentedReplier.addResponse(new CannedAugmentedFillResponse.Builder() in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DPartitionedActivityTest.java73 sReplier.addResponse(response1); in testAutofillTwoPartitionsSkipFirst()
96 sReplier.addResponse(response2); in testAutofillTwoPartitionsSkipFirst()
153 sReplier.addResponse(response1); in testAutofillTwoPartitionsInSequence()
181 sReplier.addResponse(response2); in testAutofillTwoPartitionsInSequence()
228 sReplier.addResponse(response1); in autofill4PartitionsTest()
260 sReplier.addResponse(response2); in autofill4PartitionsTest()
294 sReplier.addResponse(response3); in autofill4PartitionsTest()
330 sReplier.addResponse(response4); in autofill4PartitionsTest()
374 sReplier.addResponse(response1); in testAutofill4PartitionsMixManualAndAuto()
405 sReplier.addResponse(response2); in testAutofill4PartitionsMixManualAndAuto()
[all …]
DLoginActivityTest.java125 sReplier.addResponse(NO_RESPONSE); in testAutoFillNoDatasets()
149 .addResponse(NO_RESPONSE) in testAutoFillNoDatasets_multipleFields_alwaysNull()
150 .addResponse(NO_MOAR_RESPONSES); in testAutoFillNoDatasets_multipleFields_alwaysNull()
176 sReplier.addResponse(NO_RESPONSE); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
193 sReplier.addResponse(new CannedDataset.Builder() in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
218 sReplier.addResponse(NO_RESPONSE); in testAutofillManuallyAfterServiceReturnedNoDatasets()
229 sReplier.addResponse(new CannedDataset.Builder() in testAutofillManuallyAfterServiceReturnedNoDatasets()
254 sReplier.addResponse(NO_RESPONSE); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets()
279 sReplier.addResponse(NO_RESPONSE); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
293 sReplier.addResponse(new CannedFillResponse.Builder() in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
[all …]
DSimpleSaveActivityTest.java107 sReplier.addResponse(new CannedFillResponse.Builder() in testAutoFillOneDatasetAndSave()
153 sReplier.addResponse(new CannedFillResponse.Builder() in testAutoFillOneDatasetAndSave_largeAssistStructure()
214 sReplier.addResponse(new CannedFillResponse.Builder() in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
283 sReplier.addResponse(new CannedFillResponse.Builder() in saveTest()
300 sReplier.addResponse(CannedFillResponse.NO_RESPONSE); in saveTest()
328 sReplier.addResponse(new CannedFillResponse.Builder() in testPartitionedSave()
343 sReplier.addResponse(new CannedFillResponse.Builder() in testPartitionedSave()
385 sReplier.addResponse(new CannedFillResponse.Builder() in testDelayedSave()
402 sReplier.addResponse(new CannedFillResponse.Builder() in testDelayedSave()
453 .addResponse(new CannedFillResponse.Builder() in testSave_launchIntent()
[all …]
DDisableAutofillTest.java80 sReplier.addResponse(new CannedFillResponse.Builder() in launchSimpleSaveActivity()
134 sReplier.addResponse(new CannedFillResponse.Builder() in launchPreSimpleSaveActivity()
179 sReplier.addResponse( in testDisableApp()
202 sReplier.addResponse(new CannedFillResponse.Builder().disableAutofill(duration).build()); in testDisableAppThenWaitToReenableIt()
222 sReplier.addResponse(new CannedFillResponse.Builder() in testDisableAppThenResetServiceToReenableIt()
247 sReplier.addResponse(new CannedFillResponse.Builder() in testDisableActivity()
272 sReplier.addResponse(new CannedFillResponse.Builder() in testDisableActivityThenWaitToReenableIt()
295 sReplier.addResponse(new CannedFillResponse.Builder() in testDisableActivityThenResetServiceToReenableIt()
DFillEventHistoryTest.java88 sReplier.addResponse(new CannedFillResponse.Builder().addDataset( in testDatasetAuthenticationSelected()
130 sReplier.addResponse(new CannedFillResponse.Builder().setExtras(clientState) in testAuthenticationSelected()
159 sReplier.addResponse(new CannedFillResponse.Builder().addDataset( in testDatasetSelected_twoResponses()
188 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetSelected_twoResponses()
242 sReplier.addResponse(new CannedFillResponse.Builder().addDataset( in testNoEvents_whenServiceReturnsNullResponse()
265 sReplier.addResponse(NO_RESPONSE); in testNoEvents_whenServiceReturnsNullResponse()
279 sReplier.addResponse(new CannedFillResponse.Builder().addDataset( in testNoEvents_whenServiceReturnsFailure()
302 sReplier.addResponse(new CannedFillResponse.Builder().returnFailure("D'OH!").build()); in testNoEvents_whenServiceReturnsFailure()
316 sReplier.addResponse(new CannedFillResponse.Builder().addDataset( in testNoEvents_whenServiceTimesout()
339 sReplier.addResponse(DO_NOT_REPLY_RESPONSE); in testNoEvents_whenServiceTimesout()
[all …]
DVirtualContainerActivityTest.java170 sReplier.addResponse(new CannedDataset.Builder() in autofillTest()
260 sReplier.addResponse(new CannedFillResponse.Builder() in testAutofillTwoDatasets()
308 sReplier.addResponse(new CannedDataset.Builder() in testAutofillManuallyOneDataset()
345 sReplier.addResponse(new CannedFillResponse.Builder() in autofillManuallyTwoDatasets()
385 sReplier.addResponse(new CannedDataset.Builder() in testAutofillCallbacks()
426 sReplier.addResponse(NO_RESPONSE); in testAutofillCallbackNoDatasets()
447 sReplier.addResponse(new CannedFillResponse.Builder() in testAutofillCallbackNoDatasetsButSaveInfo()
472 sReplier.addResponse(new CannedFillResponse.Builder() in testSaveDialogNotShownWhenBackIsPressed()
551 sReplier.addResponse(response.build()); in saveTest()
616 sReplier.addResponse(new CannedFillResponse.Builder() in testSaveNotShown_noUserInput()
[all …]
DVirtualContainerActivityCompatModeTest.java110 sReplier.addResponse(new CannedDataset.Builder() in testMultipleUrlBars_firstDoesNotExist()
135 sReplier.addResponse(new CannedDataset.Builder() in testMultipleUrlBars_bothExist()
159 sReplier.addResponse(new CannedFillResponse.Builder() in testFocusOnUrlBarIsIgnored()
181 sReplier.addResponse(new CannedFillResponse.Builder() in testUrlBarChangeIgnoredWhenServiceCanSave()
234 sReplier.addResponse(new CannedFillResponse.Builder() in testUrlBarChangeCancelSessionWhenServiceCannotSave()
274 sReplier.addResponse(CannedFillResponse.NO_RESPONSE); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
282 sReplier.addResponse(CannedFillResponse.NO_RESPONSE); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
DFieldsClassificationTest.java186 sReplier.addResponse(new CannedFillResponse.Builder() in testMiss_exactMatchAlgorithm()
221 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_exactMatchLast4Algorithm()
259 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_useDefaultAlgorithm()
296 sReplier.addResponse(new CannedFillResponse.Builder() in simpleHitTest()
333 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_sameValueForMultipleCategories()
382 sReplier.addResponse(new CannedFillResponse.Builder() in manyUserData_oneDetectableField()
426 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_oneUserData_manyDetectableFields()
474 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_manyUserData_manyDetectableFields()
535 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo()
590 sReplier.addResponse(new CannedFillResponse.Builder() in testHit_manyUserDataPerField_manyDetectableFields()
[all …]
DPreSimpleSaveActivityTest.java67 sReplier.addResponse(new CannedFillResponse.Builder() in saveUiRestoredAfterTappingLinkTest()
126 sReplier.addResponse(new CannedFillResponse.Builder() in tapLinkThenTapBackThenStartOverTest()
181 sReplier.addResponse(new CannedFillResponse.Builder() in tapLinkThenTapBackThenStartOverTest()
219 sReplier.addResponse(new CannedFillResponse.Builder() in saveUiCancelledAfterTappingLinkTest()
277 sReplier.addResponse(new CannedFillResponse.Builder() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
311 sReplier.addResponse(new CannedFillResponse.Builder() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
344 sReplier.addResponse(new CannedFillResponse.Builder() in tapLinkAfterUpdateAppliedTest()
DMultiScreenDifferentActivitiesTest.java49 sReplier.addResponse(new CannedFillResponse.Builder() in testActivityNotDelayedIsNotMerged()
58 sReplier.addResponse(new CannedFillResponse.Builder() in testActivityNotDelayedIsNotMerged()
91 sReplier.addResponse(new CannedFillResponse.Builder() in testDelayedActivityIsMerged()
106 sReplier.addResponse(new CannedFillResponse.Builder() in testDelayedActivityIsMerged()
DAuthenticationTest.java74 sReplier.addResponse(new CannedFillResponse.Builder() in datasetAuthTwoFields()
160 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthTwoFieldsReplaceResponse()
215 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthTwoFieldsNoValues()
262 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthTwoDatasets()
324 sReplier.addResponse(new CannedFillResponse.Builder() in datasetAuthMixedTest()
381 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthNoFiltering()
439 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthFilteringUsingAutofillValue()
528 sReplier.addResponse(new CannedFillResponse.Builder() in testDatasetAuthFilteringUsingRegex()
605 sReplier.addResponse(new CannedFillResponse.Builder() in datasetAuthMixedFilteringTest()
698 sReplier.addResponse(new CannedFillResponse.Builder() in fillDatasetAuthWithClientState()
[all …]
DDatasetFilteringTest.java72 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter()
126 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_injectingEvents()
184 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_usingKeyboard()
252 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_nullValuesAlwaysMatched()
305 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_differentPrefixes()
348 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_usingRegex()
404 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_disabledUsingNullRegex()
472 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_mixPlainAndRegex()
524 sReplier.addResponse(new CannedFillResponse.Builder() in testFilter_mixPlainAndRegex_usingKeyboard()
586 sReplier.addResponse(new CannedFillResponse.Builder() in resetFilterTest()
DMultiScreenLoginTest.java85 sReplier.addResponse(new CannedFillResponse.Builder()
117 sReplier.addResponse(new CannedFillResponse.Builder()
157 sReplier.addResponse(new CannedFillResponse.Builder()
182 sReplier.addResponse(new CannedFillResponse.Builder()
243 sReplier.addResponse(new CannedFillResponse.Builder()
271 sReplier.addResponse(new CannedFillResponse.Builder()
343 sReplier.addResponse(new CannedFillResponse.Builder()
372 sReplier.addResponse(new CannedFillResponse.Builder()
DSessionLifecycleTest.java190 sReplier.addResponse(response); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
293 sReplier.addResponse(response); in testAuthCanceledWhileAutofilledAppIsLifecycled()
333 sReplier.addResponse(response); in testDatasetVisibleWhileAutofilledAppIsLifecycled()
377 sReplier.addResponse(response); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
397 sReplier.addResponse(response); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
436 sReplier.addResponse(response); in testDatasetGoesAwayWhenAutofilledAppIsKilled()
469 sReplier.addResponse(response); in testSaveRemainsWhenAutofilledAppIsKilled()
DMutableAutofillIdTest.java67 sReplier.addResponse(response1); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
106 sReplier.addResponse(response2); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
143 sReplier.addResponse(response1); in testViewGoneDuringAutofillCanStillBeFilled()
204 sReplier.addResponse(response1); in saveWhenIdChanged()
235 sReplier.addResponse(response2.build()); in saveWhenIdChanged()
DOptionalSaveActivityTest.java115 sReplier.addResponse(newResponseBuilder().build());
172 sReplier.addResponse(newResponseBuilder().build());
301 sReplier.addResponse(newResponseBuilder()
397 sReplier.addResponse(newResponseBuilder()
616 sReplier.addResponse(response.build());
644 sReplier.addResponse(new CannedFillResponse.Builder()
681 sReplier.addResponse(new CannedFillResponse.Builder()
729 sReplier.addResponse(new CannedFillResponse.Builder()
DMultipleFragmentLoginTest.java63 sReplier.addResponse(new CannedFillResponse.Builder()
100 sReplier.addResponse(new CannedFillResponse.Builder()
216 sReplier.addResponse(response.build());
230 sReplier.addResponse(NO_RESPONSE);
DCheckoutActivityTest.java87 sReplier.addResponse(new CannedDataset.Builder()
132 sReplier.addResponse(new CannedDataset.Builder()
175 sReplier.addResponse(new CannedDataset.Builder()
211 sReplier.addResponse(new CannedFillResponse.Builder()
275 sReplier.addResponse(new CannedFillResponse.Builder()
362 sReplier.addResponse(new CannedFillResponse.Builder()
DDuplicateIdActivityTest.java94 sReplier.addResponse(new CannedFillResponse.Builder() in testDoNotRestoreDuplicateAutofillIds()
123 sReplier.addResponse(NO_RESPONSE); in testDoNotRestoreDuplicateAutofillIds()
133 sReplier.addResponse(NO_RESPONSE); in testDoNotRestoreDuplicateAutofillIds()
DAutofillValueTest.java188 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
242 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
295 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
359 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
429 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
488 sReplier.addResponse(new CannedFillResponse.CannedDataset.Builder()
DDialogLauncherActivityTest.java63 sReplier.addResponse(CannedFillResponse.NO_RESPONSE);
101 sReplier.addResponse(new CannedDataset.Builder()
/cts/tests/tests/net/src/android/net/cts/
DCaptivePortalTest.kt135 server.addResponse(TEST_PORTAL_URL_PATH, Status.OK, in testCaptivePortalIsNotDefaultNetwork()
137 server.addResponse(TEST_HTTPS_URL_PATH, Status.INTERNAL_ERROR) in testCaptivePortalIsNotDefaultNetwork()
138 server.addResponse(TEST_HTTP_URL_PATH, Status.REDIRECT, in testCaptivePortalIsNotDefaultNetwork()
233 fun addResponse( in addResponse() method in android.net.cts.CaptivePortalTest.HttpServer

12