Home
last modified time | relevance | path

Searched refs:enableService (Results 1 – 25 of 68) sorted by relevance

123

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DWhitelistTest.java53 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted()
60 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage()
66 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity()
73 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage()
79 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity()
88 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
DAbstractContentCaptureIntegrationTest.java213 public CtsContentCaptureService enableService() throws InterruptedException { in enableService() method in AbstractContentCaptureIntegrationTest
214 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService()
217 public CtsContentCaptureService enableService(@Nullable Set<String> whitelistedPackages, in enableService() method in AbstractContentCaptureIntegrationTest
219 return enableService(new Pair<>(whitelistedPackages, whitelistedComponents)); in enableService()
222 public CtsContentCaptureService enableService( in enableService() method in AbstractContentCaptureIntegrationTest
DCustomViewActivityTest.java94 final CtsContentCaptureService service = enableService(); in testLifecycle()
116 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay()
181 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel()
249 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels()
366 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear()
425 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions()
449 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage()
467 final CtsContentCaptureService service = enableService(); in testContentCaptureEnabled_dynamicFlagSecure()
493 final CtsContentCaptureService service = enableService(); in testDisabledByFlagSecure()
523 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testDisabledAfterLaunched()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DLoginActivityTest.java122 enableService(); in testAutoFillNoDatasets()
145 enableService(); in testAutoFillNoDatasets_multipleFields_alwaysNull()
173 enableService(); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets()
215 enableService(); in testAutofillManuallyAfterServiceReturnedNoDatasets()
251 enableService(); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets()
276 enableService(); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
343 enableService(); in testMultipleIterationsAfterServiceReturnedNoDatasets()
375 enableService(); in testAutofillManuallyAlwaysCallServiceAgain()
431 enableService(); in autofillOneDatasetTest()
490 enableService(); in testAutofillAgainAfterOnFailure()
[all …]
DDisableAutofillTest.java176 enableService(); in testDisableApp()
196 enableService(); in testDisableAppThenWaitToReenableIt()
221 enableService(); in testDisableAppThenResetServiceToReenableIt()
232 enableService(); in testDisableAppThenResetServiceToReenableIt()
244 enableService(); in testDisableActivity()
266 enableService(); in testDisableActivityThenWaitToReenableIt()
294 enableService(); in testDisableActivityThenResetServiceToReenableIt()
310 enableService(); in testDisableActivityThenResetServiceToReenableIt()
DFieldsClassificationTest.java93 enableService(); in testFeatureIsEnabled()
102 enableService(); in testGetAlgorithm()
121 enableService(); in testUserData()
138 enableService(); in testRequiredAlgorithmsAvailable()
176 enableService(); in testMiss_exactMatchAlgorithm()
210 enableService(); in testHit_exactMatchLast4Algorithm()
247 enableService(); in testHit_useDefaultAlgorithm()
285 enableService(); in simpleHitTest()
323 enableService(); in testHit_sameValueForMultipleCategories()
374 enableService(); in manyUserData_oneDetectableField()
[all …]
DVirtualContainerActivityCompatModeTest.java85 protected void enableService() { in enableService() method in VirtualContainerActivityCompatModeTest
107 enableService(); in testMultipleUrlBars_firstDoesNotExist()
132 enableService(); in testMultipleUrlBars_bothExist()
156 enableService(); in testFocusOnUrlBarIsIgnored()
178 enableService(); in testUrlBarChangeIgnoredWhenServiceCanSave()
231 enableService(); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
271 enableService(); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
DSimpleSaveActivityTest.java104 enableService(); in testAutoFillOneDatasetAndSave()
150 enableService(); in testAutoFillOneDatasetAndSave_largeAssistStructure()
211 enableService(); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
280 enableService(); in saveTest()
323 enableService(); in testPartitionedSave()
380 enableService(); in testDelayedSave()
449 enableService(); in testSave_launchIntent()
484 enableService(); in testSaveThenStartNewSessionRightAway()
519 enableService(); in testSaveWithParcelableOnClientState()
574 enableService(); in testCancelPreventsSaveUiFromShowing()
[all …]
DVirtualContainerActivityTest.java167 enableService(); in autofillTest()
257 enableService(); in testAutofillTwoDatasets()
305 enableService(); in testAutofillManuallyOneDataset()
342 enableService(); in autofillManuallyTwoDatasets()
381 enableService(); in testAutofillCallbacks()
422 enableService(); in testAutofillCallbackNoDatasets()
443 enableService(); in testAutofillCallbackNoDatasetsButSaveInfo()
469 enableService(); in testSaveDialogNotShownWhenBackIsPressed()
528 enableService(); in saveTest()
613 enableService(); in testSaveNotShown_noUserInput()
[all …]
DFillEventHistoryTest.java74 enableService(); in testDatasetAuthenticationSelected()
114 enableService(); in testAuthenticationSelected()
153 enableService(); in testDatasetSelected_twoResponses()
239 enableService(); in testNoEvents_whenServiceReturnsNullResponse()
276 enableService(); in testNoEvents_whenServiceReturnsFailure()
313 enableService(); in testNoEvents_whenServiceTimesout()
368 enableService(); in testEventsFromPreviousSessionIsDiscarded()
433 enableService(); in testContextCommitted_whenServiceDidntDoAnything()
456 enableService(); in textContextCommitted_withoutDatasets()
484 enableService(); in testContextCommitted_withoutFlagOnLastResponse()
[all …]
DDatasetFilteringTest.java69 enableService(); in testFilter()
123 enableService(); in testFilter_injectingEvents()
181 enableService(); in testFilter_usingKeyboard()
249 enableService(); in testFilter_nullValuesAlwaysMatched()
302 enableService(); in testFilter_differentPrefixes()
345 enableService(); in testFilter_usingRegex()
401 enableService(); in testFilter_disabledUsingNullRegex()
465 enableService(); in testFilter_mixPlainAndRegex()
517 enableService(); in testFilter_mixPlainAndRegex_usingKeyboard()
583 enableService(); in resetFilterTest()
DAuthenticationTest.java63 enableService(); in datasetAuthTwoFields()
142 enableService(); in testDatasetAuthTwoFieldsReplaceResponse()
204 enableService(); in testDatasetAuthTwoFieldsNoValues()
248 enableService(); in testDatasetAuthTwoDatasets()
313 enableService(); in datasetAuthMixedTest()
369 enableService(); in testDatasetAuthNoFiltering()
427 enableService(); in testDatasetAuthFilteringUsingAutofillValue()
514 enableService(); in testDatasetAuthFilteringUsingRegex()
593 enableService(); in datasetAuthMixedFilteringTest()
684 enableService(); in fillDatasetAuthWithClientState()
[all …]
DSessionLifecycleTest.java162 enableService(); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
279 enableService(); in testAuthCanceledWhileAutofilledAppIsLifecycled()
323 enableService(); in testDatasetVisibleWhileAutofilledAppIsLifecycled()
366 enableService(); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
426 enableService(); in testDatasetGoesAwayWhenAutofilledAppIsKilled()
461 enableService(); in testSaveRemainsWhenAutofilledAppIsKilled()
DOptionalSaveActivityTest.java112 enableService();
169 enableService();
298 enableService();
394 enableService();
605 enableService();
639 enableService();
676 enableService();
724 enableService();
DPreSimpleSaveActivityTest.java64 enableService(); in saveUiRestoredAfterTappingLinkTest()
123 enableService(); in tapLinkThenTapBackThenStartOverTest()
216 enableService(); in saveUiCancelledAfterTappingLinkTest()
274 enableService(); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
341 enableService(); in tapLinkAfterUpdateAppliedTest()
DDialogLauncherActivityTest.java55 enableService();
92 enableService();
DCheckoutActivityTest.java84 enableService();
129 enableService();
167 enableService();
208 enableService();
270 enableService();
354 enableService();
DAutofillValueTest.java185 enableService();
239 enableService();
292 enableService();
353 enableService();
423 enableService();
482 enableService();
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAbstractLoginNotImportantForAutofillTestCase.java42 enableService(); in testAutofill_none()
68 enableService(); in testAutofill_oneField()
104 enableService(); in testAutofill_twoFields()
141 enableService(); in testAutofill_manualRequest()
177 enableService(); in testAutofill_autoThenManualRequests()
DAugmentedLoginActivityTest.java86 enableService();
97 enableService();
126 enableService();
155 enableService();
221 enableService();
288 enableService();
326 enableService();
356 enableService();
396 enableService();
423 enableService();
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DContentCaptureRestrictionsTest.java58 enableService(); in testDisallowContentCapture_allowed()
73 private void enableService() throws Exception { in enableService() method in ContentCaptureRestrictionsTest
DContentSuggestionsRestrictionsTest.java56 enableService(); in testDisallowContentSuggestions_allowed()
85 private void enableService() throws Exception { in enableService() method in ContentSuggestionsRestrictionsTest
DAutofillRestrictionsTest.java58 enableService(); in testDisallowAutofill_allowed()
85 private void enableService() throws Exception { in enableService() method in AutofillRestrictionsTest
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubMagnificationAccessibilityService.java27 return InstrumentedAccessibilityService.enableService( in enableSelf()
DStubFingerprintGestureService.java25 return InstrumentedAccessibilityService.enableService( in enableSelf()

123