Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java79 final Set<ComponentName> enabledServices = new HashSet<>(); in getEnabledServicesFromSettings() local
88 enabledServices.add(enabledService); in getEnabledServicesFromSettings()
92 return enabledServices; in getEnabledServicesFromSettings()
120 Set<ComponentName> enabledServices = AccessibilityUtils.getEnabledServicesFromSettings( in setAccessibilityServiceState() local
123 if (enabledServices.isEmpty()) { in setAccessibilityServiceState()
124 enabledServices = new ArraySet<>(1); in setAccessibilityServiceState()
130 enabledServices.add(toggledService); in setAccessibilityServiceState()
134 enabledServices.remove(toggledService); in setAccessibilityServiceState()
137 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
152 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/accessibility/
DAccessibilityManagerSupportActivity.java99 List<AccessibilityServiceInfo> enabledServices = in updateAccessibilityStateView() local
102 if (!enabledServices.isEmpty()) { in updateAccessibilityStateView()
104 final int enabledServiceCount = enabledServices.size(); in updateAccessibilityStateView()
106 AccessibilityServiceInfo service = enabledServices.get(i); in updateAccessibilityStateView()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java913 List<PrintServiceInfo> enabledServices = userState in registerBroadcastReceivers()
915 if (enabledServices == null) { in registerBroadcastReceivers()
919 Iterator<PrintServiceInfo> iterator = enabledServices.iterator(); in registerBroadcastReceivers()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1140 String enabledServices = getStringValueFromTable(db, TABLE_SECURE, in onUpgrade() local
1145 && !TextUtils.isEmpty(enabledServices)) { in onUpgrade()
1153 enabledServices); in onUpgrade()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8456 List<AccessibilityServiceInfo> enabledServices = null; in setPermittedAccessibilityServices() local
8464 enabledServices = accessibilityManager.getEnabledAccessibilityServiceList( in setPermittedAccessibilityServices()
8470 if (enabledServices != null) { in setPermittedAccessibilityServices()
8472 for (AccessibilityServiceInfo service : enabledServices) { in setPermittedAccessibilityServices()