Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/settings/
DNotificationDotsPreference.java92 boolean serviceEnabled = true; in onSettingsChanged()
99 serviceEnabled = enabledListeners != null && in onSettingsChanged()
102 if (!serviceEnabled) { in onSettingsChanged()
106 setWidgetFrameVisible(!serviceEnabled); in onSettingsChanged()
107 setFragment(serviceEnabled ? null : NotificationAccessConfirmation.class.getName()); in onSettingsChanged()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java143 final boolean serviceEnabled = enabledServices.contains(componentName); in buildArguments()
149 if (serviceEnabled && AccessibilityUtils.hasServiceCrashed( in buildArguments()
158 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, serviceEnabled); in buildArguments()
DAccessibilitySettings.java381 boolean serviceEnabled) { in getServiceSummary() argument
382 final String serviceState = serviceEnabled in getServiceSummary()
611 final boolean serviceEnabled = enabledServices.contains(componentName); in updateServicePreferences()
617 if (serviceEnabled && AccessibilityUtils.hasServiceCrashed( in updateServicePreferences()
624 serviceEnabled); in updateServicePreferences()
631 if (!serviceAllowed && !serviceEnabled) { in updateServicePreferences()
649 extras.putBoolean(EXTRA_CHECKED, serviceEnabled); in updateServicePreferences()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityDetailsSettingsFragment.java143 final boolean serviceEnabled = enabledServices.contains(componentName); in buildArguments()
149 if (serviceEnabled && AccessibilityUtils.hasServiceCrashed( in buildArguments()
158 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, serviceEnabled); in buildArguments()
DAccessibilitySettings.java380 boolean serviceEnabled) { in getServiceSummary() argument
381 final String serviceState = serviceEnabled in getServiceSummary()
601 final boolean serviceEnabled = enabledServices.contains(componentName); in updateServicePreferences()
607 if (serviceEnabled && AccessibilityUtils.hasServiceCrashed( in updateServicePreferences()
614 serviceEnabled); in updateServicePreferences()
621 if (!serviceAllowed && !serviceEnabled) { in updateServicePreferences()
639 extras.putBoolean(EXTRA_CHECKED, serviceEnabled); in updateServicePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityFragment.java107 final boolean serviceEnabled = accessibilityEnabled in refreshServices()
120 servicePref.setSummary(serviceEnabled ? R.string.settings_on : R.string.settings_off); in refreshServices()