Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java56 final Set<ComponentName> enabledServices = new HashSet<>(); in getEnabledServicesFromSettings() local
65 enabledServices.add(enabledService); in getEnabledServicesFromSettings()
69 return enabledServices; in getEnabledServicesFromSettings()
85 Set<ComponentName> enabledServices = getEnabledServicesFromSettings( in setAccessibilityServiceState() local
88 if (enabledServices.isEmpty()) { in setAccessibilityServiceState()
89 enabledServices = new ArraySet<>(/* capacity= */ 1); in setAccessibilityServiceState()
93 enabledServices.add(componentName); in setAccessibilityServiceState()
95 enabledServices.remove(componentName); in setAccessibilityServiceState()
99 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
147 final List<AccessibilityServiceInfo> enabledServices = in isAccessibilityServiceEnabled() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java86 final Set<ComponentName> enabledServices = new HashSet<>(); in getEnabledServicesFromSettings() local
95 enabledServices.add(enabledService); in getEnabledServicesFromSettings()
99 return enabledServices; in getEnabledServicesFromSettings()
127 Set<ComponentName> enabledServices = AccessibilityUtils.getEnabledServicesFromSettings( in setAccessibilityServiceState() local
130 if (enabledServices.isEmpty()) { in setAccessibilityServiceState()
131 enabledServices = new ArraySet<>(1); in setAccessibilityServiceState()
137 enabledServices.add(toggledService); in setAccessibilityServiceState()
141 enabledServices.remove(toggledService); in setAccessibilityServiceState()
144 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
159 for (ComponentName enabledService : enabledServices) { in setAccessibilityServiceState()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java915 List<PrintServiceInfo> enabledServices = userState in registerBroadcastReceivers()
917 if (enabledServices == null) { in registerBroadcastReceivers()
921 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()