Home
last modified time | relevance | path

Searched refs:enabledServices (Results 1 – 4 of 4) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java183 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceList() local
188 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceList()
190 AccessibilityServiceInfo enabledService = enabledServices.get(i); in testGetEnabledAccessibilityServiceList()
209 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceListForType() local
212 assertSame("There should be only one enabled speaking service.", 1, enabledServices.size()); in testGetEnabledAccessibilityServiceListForType()
213 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceListForType()
215 AccessibilityServiceInfo enabledService = enabledServices.get(i); in testGetEnabledAccessibilityServiceListForType()
232 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceListForTypes() local
236 assertSame("There should be 3 enabled accessibility services.", 3, enabledServices.size()); in testGetEnabledAccessibilityServiceListForTypes()
240 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceListForTypes()
[all …]
DAccessibilityServiceInfoTest.java112 final List<AccessibilityServiceInfo> enabledServices = in testAccessibilityServiceInfoForEnabledService() local
116 /* expected= */ 1, enabledServices.size()); in testAccessibilityServiceInfoForEnabledService()
117 final AccessibilityServiceInfo speakingService = enabledServices.get(0); in testAccessibilityServiceInfoForEnabledService()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java176 final String enabledServices = in enableService() local
180 if (enabledServices != null) { in enableService()
181 assertFalse("Service is already enabled", enabledServices.contains(serviceName)); in enableService()
193 enabledServices + COMPONENT_NAME_SEPARATOR + serviceId) in enableService()
201 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, enabledServices) in enableService()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java594 String enabledServices = Settings.Secure.getString(cr, in enableAccessibilityService() local
597 enabledServices + COMPONENT_NAME_SEPARATOR + serviceInfo.getId()); in enableAccessibilityService()