Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java63 final Set<ComponentName> enabledServices = new HashSet<>(); in getEnabledServicesFromSettings() local
72 enabledServices.add(enabledService); in getEnabledServicesFromSettings()
76 return enabledServices; in getEnabledServicesFromSettings()
104 Set<ComponentName> enabledServices = AccessibilityUtils.getEnabledServicesFromSettings( in setAccessibilityServiceState() local
107 if (enabledServices.isEmpty()) { in setAccessibilityServiceState()
108 enabledServices = new ArraySet<>(1); in setAccessibilityServiceState()
114 enabledServices.add(toggledService); in setAccessibilityServiceState()
118 enabledServices.remove(toggledService); in setAccessibilityServiceState()
121 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
136 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
/frameworks/base/services/core/java/com/android/server/policy/
DEnableAccessibilityController.java274 List enabledServices = accessibilityManager.getEnabledAccessibilityServiceList( in isAccessibilityEnabled() local
276 return enabledServices != null && !enabledServices.isEmpty(); in isAccessibilityEnabled()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java769 List<PrintServiceInfo> enabledServices = userState in registerBroadcastReceivers()
771 if (enabledServices == null) { in registerBroadcastReceivers()
775 Iterator<PrintServiceInfo> iterator = enabledServices.iterator(); in registerBroadcastReceivers()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerServiceTest.java615 String enabledServices = Settings.Secure.getString(context.getContentResolver(), in ensureOnlyMockServicesEnabled() local
630 if (servicesToEnable.equals(enabledServices)) { in ensureOnlyMockServicesEnabled()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1202 String enabledServices = getStringValueFromTable(db, TABLE_SECURE, in onUpgrade() local
1207 && !TextUtils.isEmpty(enabledServices)) { in onUpgrade()
1215 enabledServices); in onUpgrade()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6765 List<AccessibilityServiceInfo> enabledServices = null; in setPermittedAccessibilityServices() local
6773 enabledServices = accessibilityManager.getEnabledAccessibilityServiceList( in setPermittedAccessibilityServices()
6779 if (enabledServices != null) { in setPermittedAccessibilityServices()
6781 for (AccessibilityServiceInfo service : enabledServices) { in setPermittedAccessibilityServices()