Home
last modified time | relevance | path

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

/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java179 String enabledServices) { in enableServiceWithoutWait() argument
181 if (enabledServices != null) { in enableServiceWithoutWait()
182 assertFalse("Service is already enabled", enabledServices.contains(serviceName)); in enableServiceWithoutWait()
195 enabledServices + COMPONENT_NAME_SEPARATOR + serviceId) in enableServiceWithoutWait()
210 final String enabledServices = in enableService() local
215 enableServiceWithoutWait(clazz, instrumentation, enabledServices); in enableService()
221 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, enabledServices) in enableService()
DInstrumentedAccessibilityServiceTestRule.java165 final String enabledServices = in enableServiceWithoutWait() local
171 instrumentation, enabledServices); in enableServiceWithoutWait()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java277 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceList() local
282 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceList()
284 AccessibilityServiceInfo enabledService = enabledServices.get(i); in testGetEnabledAccessibilityServiceList()
303 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceList_NoFeedback() local
307 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceList_NoFeedback()
309 AccessibilityServiceInfo enabledService = enabledServices.get(i); in testGetEnabledAccessibilityServiceList_NoFeedback()
323 List<AccessibilityServiceInfo> enabledServices = in testGetEnabledAccessibilityServiceListForType() local
326 assertSame("There should be only one enabled speaking service.", 1, enabledServices.size()); in testGetEnabledAccessibilityServiceListForType()
327 final int serviceCount = enabledServices.size(); in testGetEnabledAccessibilityServiceListForType()
329 AccessibilityServiceInfo enabledService = enabledServices.get(i); in testGetEnabledAccessibilityServiceListForType()
[all …]
DAccessibilityServiceInfoTest.java122 final List<AccessibilityServiceInfo> enabledServices = in testAccessibilityServiceInfoForEnabledService() local
126 /* expected= */ 1, enabledServices.size()); in testAccessibilityServiceInfoForEnabledService()
127 final AccessibilityServiceInfo speakingService = enabledServices.get(0); in testAccessibilityServiceInfoForEnabledService()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityDisplayProxyTest.java1115 final List<AccessibilityServiceInfo> enabledServices = in testOnA11yServicesStateChanged_registerUnregisterProxy_resetsProxiedAppState() local
1126 assertThat(enabledServices.get(0)).isEqualTo(nonProxyInfo); in testOnA11yServicesStateChanged_registerUnregisterProxy_resetsProxiedAppState()
1240 String enabledServices = null; in testOnA11yServicesStateChanged_enableService_notifiesNonProxiedApp() local
1247 enabledServices = in testOnA11yServicesStateChanged_enableService_notifiesNonProxiedApp()
1257 } else if (enabledServices != null) { in testOnA11yServicesStateChanged_enableService_notifiesNonProxiedApp()
1261 enabledServices) in testOnA11yServicesStateChanged_enableService_notifiesNonProxiedApp()
1962 CharSequence[] enabledServices = in onReceive() local
1964 for (CharSequence service : enabledServices) { in onReceive()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java468 String enabledServices = Settings.Secure.getString(cr, in enableAccessibilityService() local
471 enabledServices + COMPONENT_NAME_SEPARATOR + serviceInfo.getId()); in enableAccessibilityService()