/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityServiceTestRule.java | 92 boolean enableService) { in InstrumentedAccessibilityServiceTestRule() argument 94 mEnableService = enableService; in InstrumentedAccessibilityServiceTestRule() 116 public T enableService() { in enableService() method in InstrumentedAccessibilityServiceTestRule 117 return InstrumentedAccessibilityService.enableService(mAccessibilityServiceClass); in enableService() 230 enableService(); in evaluate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/ |
D | WebViewActivityTest.java | 57 enableService(); in getActivityRule() 75 enableService(); 99 enableService(); 123 enableService(); 147 enableService(); 168 enableService(); 185 enableService();
|
D | LoginActivityTest.java | 85 enableService(); in testPccRequest() 129 enableService(); in testShowFillDialogCustomIcon() 180 enableService(); in testHideServiceIcon() 246 enableService(); in testTextView_clickTwiceWithShowFillDialog_showIme() 288 enableService(); in testShowFillDialog() 336 enableService(); in testShowFillDialog_onlyShowOnce() 400 enableService(); in testShowFillDialog_twoSuggestions_oneButton() 451 enableService(); in testShowFillDialog_switchToUnsupportedField_fallbackDropdown() 501 enableService(); in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog() 548 enableService(); in testShowFillDialog_datasetNoDialogPresentation_notShownInDialog() [all …]
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 202 mSpeakingAccessibilityServiceRule.enableService(); in testIsTouchExplorationEnabled() 203 mVibratingAccessibilityServiceRule.enableService(); in testIsTouchExplorationEnabled() 275 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceList() 276 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceList() 302 mNoFeedbackAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceList_NoFeedback() 321 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForType() 322 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForType() 341 mSpeakingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() 342 mVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() 344 mSpeakingAndVibratingAccessibilityServiceRule.enableService(); in testGetEnabledAccessibilityServiceListForTypes() [all …]
|
/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() 98 enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byService_alreadyRunning() 113 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
|
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 | BlankActivityTest.java | 89 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() 106 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName() 131 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread() 151 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread() 171 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread() 187 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents() 196 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageActivity_noSessionCreated() 209 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageContentCaptureEnable_updateAllowList() 265 final CtsContentCaptureService service = enableService(); in testSnapshotReceivedOnActivityStart()
|
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() 135 final CtsContentCaptureService service = enableService(); in testContentCaptureSessionCache() 175 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_rootViewSession() 292 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextAfterCreate() 334 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate() 394 final CtsContentCaptureService service = enableService(); in testTextChanged() 426 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer() 481 final CtsContentCaptureService service = enableService(); in testComposingSpan_mergedEvent() 518 final CtsContentCaptureService service = enableService(); in testComposingSpan_notMergedWithoutComposing() 563 final CtsContentCaptureService service = enableService(); in testComposingSpan_differentEditText() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | AutofillForAllAppsTest.java | 141 enableService(); in testUnimportantViewTriggerFillRequest() 161 enableService(); in testUnimportantViewNotTriggerFillRequestWhenActivityInDenylist() 181 enableService(); in testUnimportantViewTriggerFillRequestWhenDenylistIsWronglyFormatted() 203 enableService(); in testUnimportantViewNotTriggerFillRequestWhenPackageInDenylist() 222 enableService(); in testUnimportantViewTriggerFillRequestWhenOtherActivityOfPackageInDenylist() 243 enableService(); in testAddingSingleHeuristicCanStopTriggeringFillRequestOnUnimportantViews() 263 enableService(); in testAddingSeveralHeuristicsCanStopTriggeringFillRequestOnUnimportantViews() 285 enableService(); in testAddingSeveralHeuristicsCanStopTriggeringFillRequestOnImportantViews() 309 enableService(); in testAddingPacakgeToAllowlist_ViewWithImeActionGoStillTriggerFillRequest() 330 enableService(); in testAddingActivityToAllowlist_ViewWithImeActionGoStillTriggerFillRequest() [all …]
|
D | DisableAutofillTest.java | 220 enableService(); in testDisableApp() 240 enableService(); in testDisableAppThenWaitToReenableIt() 266 enableService(); in testDisableAppThenResetServiceToReenableIt() 277 enableService(); in testDisableAppThenResetServiceToReenableIt() 294 enableService(); in testDisableActivity() 317 enableService(); in testDisableActivityThenWaitToReenableIt() 346 enableService(); in testDisableActivityThenResetServiceToReenableIt() 362 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/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 169 enableService(); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 211 enableService(); in testAutofillManuallyAfterServiceReturnedNoDatasets() 247 enableService(); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 272 enableService(); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 339 enableService(); in testMultipleIterationsAfterServiceReturnedNoDatasets() 372 enableService(); in testAutofillManuallyAlwaysCallServiceAgain() 444 enableService(); in autofillPccDatasetTest_setForAllHints() 478 enableService(); in autofillPccDatasetTest() 510 enableService(); in autofillOneDatasetTest() 569 enableService(); in testAutofillAgainAfterOnFailure() [all …]
|
D | VirtualContainerActivityCompatModeTest.java | 92 protected void enableService() { in enableService() method in VirtualContainerActivityCompatModeTest 115 enableService(); in testMultipleUrlBars_firstDoesNotExist() 140 enableService(); in testMultipleUrlBars_bothExist() 164 enableService(); in testFocusOnUrlBarIsIgnored() 186 enableService(); in testUrlBarChangeIgnoredWhenServiceCanSave() 239 enableService(); in testUrlBarChangeCancelSessionWhenServiceCannotSave() 279 enableService(); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
|
D | VirtualContainerActivityTest.java | 184 enableService(); in autofillTest() 274 enableService(); in testAutofillTwoDatasets() 324 enableService(); in testAutofillManuallyOneDataset() 361 enableService(); in autofillManuallyTwoDatasets() 401 enableService(); in testAutofillCallbacks() 442 enableService(); in testAutofillCallbackNoDatasets() 463 enableService(); in testAutofillCallbackNoDatasetsButSaveInfo() 490 enableService(); in testSaveDialogNotShownWhenBackIsPressed() 553 enableService(); in saveTest() 639 enableService(); in testSaveNotShown_noUserInput() [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 | 44 enableService(); in testAutofill_none() 70 enableService(); in testAutofill_oneField() 106 enableService(); in testAutofill_twoFields() 143 enableService(); in testAutofill_manualRequest() 181 enableService(); in testAutofill_autoThenManualRequests()
|
D | FillEventHistoryCommonTestCase.java | 102 enableService(); in testDatasetAuthenticationSelected() 147 enableService(); in testAuthenticationSelected() 197 enableService(); in testDatasetSelected_twoResponses() 294 enableService(); in testNoEvents_whenServiceReturnsNullResponse() 337 enableService(); in testNoEvents_whenServiceReturnsFailure() 381 enableService(); in testNoEvents_whenServiceTimesout() 436 enableService(); in testEventsFromPreviousSessionIsDiscarded() 521 enableService(); in testContextCommitted_withoutFlagOnLastResponse() 589 enableService(); in testContextCommitted_noSaveUi_whileNoSaveInfo() 618 enableService(); in testContextCommitted_noSaveUi_whileDelaySave() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineFilteringTest.java | 47 protected void enableService() { in enableService() method in InlineFilteringTest 58 enableService(); in testFiltering_filtersByPrefix() 105 enableService(); in testFiltering_privacy() 154 enableService(); in testFiltering_privacy_textReplacement() 184 enableService(); in testFiltering_pinnedAreNotFiltered()
|
D | InlineTooltipTest.java | 53 protected void enableService() { in enableService() method in InlineTooltipTest 60 enableService(); in testShowTooltip() 85 enableService(); in testShowTooltipWithTwoFields() 143 enableService(); in testShowTooltipWithSecondDataset()
|
D | InlineLoginActivityTest.java | 82 protected void enableService() { in enableService() method in InlineLoginActivityTest 109 enableService(); in testAutofill_disjointDatasets() 182 enableService(); in assertAutofill_SwitchActivity() 228 enableService(); in testAutofill_selectDatasetThenHideInlineSuggestion() 269 enableService(); in testLongClickAttribution() 317 enableService(); in testAutofill_noInvalid() 356 enableService(); in testSwitchInputMethod() 403 enableService(); in testImeDisableInlineSuggestions_fallbackDropdownUi() 437 enableService(); in testTouchExplorationEnabledImeSupportInline_inlineShown() 467 enableService(); in testScrollSuggestionView() [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
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 129 enableService(); in testAutoFillOneDatasetAndSave() 174 enableService(); in testAutoFillOneDatasetAndSave_largeAssistStructure() 234 enableService(); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 313 enableService(); in saveTest() 355 enableService(); in testPartitionedSave() 411 enableService(); in testDelayedSave() 477 enableService(); in testSave_launchIntent() 513 enableService(); in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi() 574 enableService(); in testCloseSaveUiThenStartNewSessionRightAway() 625 enableService(); in testSaveWithParcelableOnClientState() [all …]
|
D | AutofillSaveDialogTest.java | 60 enableService(); in testShowSaveUiHideIcon() 112 enableService(); in testShowSaveUiCustomServiceLabel() 160 enableService(); in testShowSaveUiWhenLaunchActivityWithFlagClearTopAndSingleTop() 205 enableService(); in testShowSaveUiWhenLaunchActivityWithFlagClearTaskAndNewTask() 259 enableService(); in testShowSaveUiAfterLoginViewReset() 316 enableService(); in testDontShowSaveUiIfViewIsResetToEmptyProgressively() 366 enableService(); in testSuppressSaveDialog_OnCredmanOnlyFields() 406 enableService(); in testSuppressSaveDialog_onMixedFields()
|