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.java65 final Set<ComponentName> enabledServices = new HashSet<>(); in getEnabledServicesFromSettings() local
74 enabledServices.add(enabledService); in getEnabledServicesFromSettings()
78 return enabledServices; in getEnabledServicesFromSettings()
106 Set<ComponentName> enabledServices = AccessibilityUtils.getEnabledServicesFromSettings( in setAccessibilityServiceState() local
109 if (enabledServices.isEmpty()) { in setAccessibilityServiceState()
110 enabledServices = new ArraySet<>(1); in setAccessibilityServiceState()
116 enabledServices.add(toggledService); in setAccessibilityServiceState()
120 enabledServices.remove(toggledService); in setAccessibilityServiceState()
123 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
138 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/accessibility/
DAccessibilityManagerSupportActivity.java107 List<AccessibilityServiceInfo> enabledServices = in updateAccessibilityStateView() local
110 if (!enabledServices.isEmpty()) { in updateAccessibilityStateView()
112 final int enabledServiceCount = enabledServices.size(); in updateAccessibilityStateView()
114 AccessibilityServiceInfo service = enabledServices.get(i); in updateAccessibilityStateView()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java764 List<PrintServiceInfo> enabledServices = userState in registerBroadcastReceivers()
766 if (enabledServices == null) { in registerBroadcastReceivers()
770 Iterator<PrintServiceInfo> iterator = enabledServices.iterator(); in registerBroadcastReceivers()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1146 String enabledServices = getStringValueFromTable(db, TABLE_SECURE, in onUpgrade() local
1151 && !TextUtils.isEmpty(enabledServices)) { in onUpgrade()
1159 enabledServices); in onUpgrade()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7709 List<AccessibilityServiceInfo> enabledServices = null; in setPermittedAccessibilityServices() local
7717 enabledServices = accessibilityManager.getEnabledAccessibilityServiceList( in setPermittedAccessibilityServices()
7723 if (enabledServices != null) { in setPermittedAccessibilityServices()
7725 for (AccessibilityServiceInfo service : enabledServices) { in setPermittedAccessibilityServices()