/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 145 mSpeakingAccessibilityServiceRule.enableService(); in testIsTouchExplorationEnabled() 146 mVibratingAccessibilityServiceRule.enableService(); in testIsTouchExplorationEnabled() 181 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceList() 182 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceList() 207 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForType() 208 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForType() 227 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() 228 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() 230 mSpeakingAndVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() 290 mSpeakingAccessibilityServiceRule.enableService(); in testInterrupt() [all …]
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityServiceTestRule.java | 88 boolean enableService) { in InstrumentedAccessibilityServiceTestRule() argument 90 mEnableService = enableService; in InstrumentedAccessibilityServiceTestRule() 112 public T enableService() { in enableService() method in InstrumentedAccessibilityServiceTestRule 113 return InstrumentedAccessibilityService.enableService(mAccessibilityServiceClass); in enableService() 172 enableService(); in evaluate()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | WhitelistTest.java | 62 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted() 69 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage() 75 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity() 82 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage() 88 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity() 97 enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byService_alreadyRunning() 108 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
|
D | BlankActivityTest.java | 75 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() 92 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName() 117 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread() 137 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread() 157 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread() 173 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents() 182 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageActivity_noSessionCreated()
|
D | DataSharingServiceTest.java | 74 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionAccepted() 93 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionRejected() 108 CtsContentCaptureService ccService = enableService(); in testDataShareRequest_valuesPropagatedToReceiver() 125 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_concurrentRequests() 141 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_senderWasKilledBeforeWrite() 156 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_senderWasKilledDuringWrite()
|
D | AbstractContentCaptureIntegrationTest.java | 220 public CtsContentCaptureService enableService() throws InterruptedException { in enableService() method in AbstractContentCaptureIntegrationTest 221 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService() 224 public CtsContentCaptureService enableService(@Nullable Set<String> whitelistedPackages, in enableService() method in AbstractContentCaptureIntegrationTest 226 return enableService(new Pair<>(whitelistedPackages, whitelistedComponents)); in enableService() 229 public CtsContentCaptureService enableService( in enableService() method in AbstractContentCaptureIntegrationTest
|
D | LoginActivityTest.java | 112 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_defaultSession() 134 final CtsContentCaptureService service = enableService(); in testContentCaptureSessionCache() 174 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_rootViewSession() 288 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextAfterCreate() 328 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate() 388 final CtsContentCaptureService service = enableService(); in testTextChanged() 424 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer() 480 final CtsContentCaptureService service = enableService(); in testComposingSpan_mergedEvent() 521 final CtsContentCaptureService service = enableService(); in testComposingSpan_notMergedWithoutComposing() 573 final CtsContentCaptureService service = enableService(); in testComposingSpan_differentEditText() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 141 enableService(); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 183 enableService(); in testAutofillManuallyAfterServiceReturnedNoDatasets() 219 enableService(); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 244 enableService(); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 311 enableService(); in testMultipleIterationsAfterServiceReturnedNoDatasets() 344 enableService(); in testAutofillManuallyAlwaysCallServiceAgain() 406 enableService(); in autofillOneDatasetTest() 465 enableService(); in testAutofillAgainAfterOnFailure() 500 enableService(); in testDatasetPickerPosition() 587 enableService(); in testAutoFillTwoDatasetsSameNumberOfFields() [all …]
|
D | VirtualContainerActivityCompatModeTest.java | 90 protected void enableService() { in enableService() method in VirtualContainerActivityCompatModeTest 113 enableService(); in testMultipleUrlBars_firstDoesNotExist() 138 enableService(); in testMultipleUrlBars_bothExist() 162 enableService(); in testFocusOnUrlBarIsIgnored() 184 enableService(); in testUrlBarChangeIgnoredWhenServiceCanSave() 237 enableService(); in testUrlBarChangeCancelSessionWhenServiceCannotSave() 277 enableService(); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
|
D | VirtualContainerActivityTest.java | 177 enableService(); in autofillTest() 267 enableService(); in testAutofillTwoDatasets() 317 enableService(); in testAutofillManuallyOneDataset() 354 enableService(); in autofillManuallyTwoDatasets() 394 enableService(); in testAutofillCallbacks() 435 enableService(); in testAutofillCallbackNoDatasets() 456 enableService(); in testAutofillCallbackNoDatasetsButSaveInfo() 483 enableService(); in testSaveDialogNotShownWhenBackIsPressed() 546 enableService(); in saveTest() 632 enableService(); in testSaveNotShown_noUserInput() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | DisableAutofillTest.java | 199 enableService(); in testDisableApp() 219 enableService(); in testDisableAppThenWaitToReenableIt() 244 enableService(); in testDisableAppThenResetServiceToReenableIt() 255 enableService(); in testDisableAppThenResetServiceToReenableIt() 268 enableService(); in testDisableActivity() 290 enableService(); in testDisableActivityThenWaitToReenableIt() 318 enableService(); in testDisableActivityThenResetServiceToReenableIt() 334 enableService(); in testDisableActivityThenResetServiceToReenableIt()
|
D | FieldsClassificationTest.java | 105 enableService(); in testFeatureIsEnabled() 114 enableService(); in testGetAlgorithm() 133 enableService(); in testUserData() 150 enableService(); in testRequiredAlgorithmsAvailable() 189 enableService(); in testMiss_exactMatchAlgorithm() 223 enableService(); in testHit_exactMatchLast4Algorithm() 260 enableService(); in testHit_CreditCardAlgorithm() 297 enableService(); in testHit_useDefaultAlgorithm() 335 enableService(); in simpleHitTest() 373 enableService(); in testHit_sameValueForMultipleCategories() [all …]
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechConnectionTest.java | 83 enableService(StubTextToSpeechService.class); in tearDown() 88 enableService(ConnectionTestTextToSpeechService.class); in testConnectionSuccess() 110 enableService(ConnectionTestTextToSpeechService.class); in testShutdownStateCleared() 124 enableService(ConnectionTestTextToSpeechService.class); in testClientsShutdownServiceUnbound() 150 enableService(ConnectionTestTextToSpeechService.class); in testServiceBindingErrorConnectionFailure() 177 private void enableService(@NonNull Class<?> clazz) { in enableService() method in TextToSpeechConnectionTest
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | LoginActivityCommonTestCase.java | 57 enableService(); in testAutoFillNoDatasets() 81 enableService(); in testAutoFillNoDatasets_multipleFields_alwaysNull() 126 enableService(); in testBasicLoginAutofill() 183 enableService(); in testClearFocusBeforeRespond() 209 enableService(); in testSwitchFocusBeforeResponse() 247 enableService(); in testManualRequestWhileFirstResponseDelayed() 282 enableService(); in testResponseFirstAfterResponseSecond()
|
D | AbstractLoginNotImportantForAutofillTestCase.java | 43 enableService(); in testAutofill_none() 69 enableService(); in testAutofill_oneField() 105 enableService(); in testAutofill_twoFields() 142 enableService(); in testAutofill_manualRequest() 180 enableService(); in testAutofill_autoThenManualRequests()
|
D | FillEventHistoryCommonTestCase.java | 97 enableService(); in testDatasetAuthenticationSelected() 139 enableService(); in testAuthenticationSelected() 185 enableService(); in testDatasetSelected_twoResponses() 277 enableService(); in testNoEvents_whenServiceReturnsNullResponse() 318 enableService(); in testNoEvents_whenServiceReturnsFailure() 360 enableService(); in testNoEvents_whenServiceTimesout() 412 enableService(); in testEventsFromPreviousSessionIsDiscarded() 488 enableService(); in testContextCommitted_withoutFlagOnLastResponse() 552 enableService(); in testContextCommitted_noSaveUi_whileNoSaveInfo() 581 enableService(); in testContextCommitted_noSaveUi_whileDelaySave() [all …]
|
D | DatasetFilteringTest.java | 80 enableService(); in testFilter() 136 enableService(); in testFilter_injectingEvents() 197 enableService(); in testFilter_usingKeyboard() 266 enableService(); in testFilter_nullValuesAlwaysMatched() 320 enableService(); in testFilter_differentPrefixes() 366 enableService(); in testFilter_usingRegex() 424 enableService(); in testFilter_disabledUsingNullRegex() 495 enableService(); in testFilter_mixPlainAndRegex() 549 enableService(); in testFilter_mixPlainAndRegex_usingKeyboard() 618 enableService(); in resetFilterTest()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineFilteringTest.java | 48 protected void enableService() { in enableService() method in InlineFilteringTest 59 enableService(); in testFiltering_filtersByPrefix() 106 enableService(); in testFiltering_privacy() 155 enableService(); in testFiltering_privacy_textReplacement() 185 enableService(); in testFiltering_pinnedAreNotFiltered()
|
D | InlineTooltipTest.java | 54 protected void enableService() { in enableService() method in InlineTooltipTest 61 enableService(); in testShowTooltip() 86 enableService(); in testShowTooltipWithTwoFields() 144 enableService(); in testShowTooltipWithSecondDataset()
|
D | InlineLoginActivityTest.java | 66 protected void enableService() { in enableService() method in InlineLoginActivityTest 87 enableService(); in testAutofill_disjointDatasets() 160 enableService(); in assertAutofill_SwitchActivity() 206 enableService(); in testAutofill_selectDatasetThenHideInlineSuggestion() 247 enableService(); in testLongClickAttribution() 294 enableService(); in testAutofill_noInvalid() 333 enableService(); in testSwitchInputMethod() 379 enableService(); in testScrollSuggestionView() 424 enableService(); in testTouchEventPassToIme() 470 enableService(); in testInlineSuggestionViewReleased()
|
D | InlineWebViewActivityTest.java | 65 enableService(); in getActivityRule() 76 protected void enableService() { 93 enableService(); 115 enableService(); 187 enableService();
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 128 enableService(); in testAutoFillOneDatasetAndSave() 174 enableService(); in testAutoFillOneDatasetAndSave_largeAssistStructure() 235 enableService(); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 305 enableService(); in saveTest() 348 enableService(); in testPartitionedSave() 405 enableService(); in testDelayedSave() 475 enableService(); in testSave_launchIntent() 511 enableService(); in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi() 572 enableService(); in testCloseSaveUiThenStartNewSessionRightAway() 623 enableService(); in testSaveWithParcelableOnClientState() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ContentCaptureRestrictionsTest.java | 58 enableService(); in testDisallowContentCapture_allowed() 73 private void enableService() throws Exception { in enableService() method in ContentCaptureRestrictionsTest
|
D | ContentSuggestionsRestrictionsTest.java | 56 enableService(); in testDisallowContentSuggestions_allowed() 85 private void enableService() throws Exception { in enableService() method in ContentSuggestionsRestrictionsTest
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 95 enableService(); 106 enableService(); 135 enableService(); 166 enableService(); 232 enableService(); 300 enableService(); 345 enableService(); 384 enableService(); 414 enableService(); 454 enableService(); [all …]
|