Searched refs:shouldEnable (Results 1 – 6 of 6) sorted by relevance
170 private void updateAdExtServicesActivities(boolean shouldEnable) { in updateAdExtServicesActivities() argument172 updateComponents(PackageManagerCompatUtils.CONSENT_ACTIVITIES_CLASSES, shouldEnable); in updateAdExtServicesActivities()173 LogUtil.d("Updated state of AdExtServices activities: [enabled=%s]", shouldEnable); in updateAdExtServicesActivities()188 private void updateAdExtServicesServices(boolean shouldEnable) { in updateAdExtServicesServices() argument196 updateComponents(servicesToUpdate, shouldEnable); in updateAdExtServicesServices()197 LogUtil.d("Updated state of AdExtServices services: [enable=%s]", shouldEnable); in updateAdExtServicesServices()208 void updateComponents(List<String> components, boolean shouldEnable) { in updateComponents() argument214 shouldEnable in updateComponents()
49 boolean shouldEnable = showDeveloperOptions(context) && enable; in setDevelopmentSettingsEnabled()54 + " Should enable: " + shouldEnable); in setDevelopmentSettingsEnabled()55 DevelopmentSettingsEnabler.setDevelopmentSettingsEnabled(context, shouldEnable); in setDevelopmentSettingsEnabled()
173 boolean shouldEnable = mUsageState.permissionDeclared; in refreshUi()175 if (shouldEnable && !hasAccess) { in refreshUi()178 shouldEnable = !mSwitchPref.isDisabledByEcm(); in refreshUi()182 mSwitchPref.setEnabled(shouldEnable); in refreshUi()
180 boolean shouldEnable = true; in createPreferenceForChange()182 shouldEnable = getPlatformCompat().getOverrideValidator() in createPreferenceForChange()188 item.setEnabled(shouldEnable); in createPreferenceForChange()
121 boolean shouldEnable = componentString.equals(pref.getKey()); in onAccessibilityServiceConfirmed()123 pref.setChecked(shouldEnable); in onAccessibilityServiceConfirmed()
181 boolean shouldEnable = currentService.equals(pref.getKey()[0]); in updateSelection()183 pref.setChecked(shouldEnable); in updateSelection()