Searched refs:servicePref (Results 1 – 5 of 5) sorted by relevance
167 RestrictedPreference servicePref = findPreference(key); in refreshServices() local168 if (servicePref == null) { in refreshServices()169 servicePref = new RestrictedPreference(group.getContext()); in refreshServices()170 servicePref.setKey(key); in refreshServices()172 servicePref.setTitle(title); in refreshServices()173 servicePref.setSummary(serviceEnabled ? R.string.settings_on : R.string.settings_off); in refreshServices()174 AccessibilityServiceFragment.prepareArgs(servicePref.getExtras(), in refreshServices()181 servicePref.setEnabled(true); in refreshServices()182 servicePref.setFragment(AccessibilityServiceFragment.class.getName()); in refreshServices()189 servicePref.setDisabledByAdmin(admin); in refreshServices()[all …]
82 final Preference servicePref = findPreference(KEY_SERVICE); in updateServicePrefSummary() local91 if (servicePref != null) { in updateServicePrefSummary()92 servicePref.setSummary(service.getResolveInfo().loadLabel(packageManager)); in updateServicePrefSummary()109 final Preference servicePref = findPreference(KEY_SERVICE); in setAccessibilityShortcutEnabled() local110 servicePref.setSummary(null); in setAccessibilityShortcutEnabled()112 final Preference servicePref = findPreference(KEY_SERVICE); in setAccessibilityShortcutEnabled() local113 servicePref.setEnabled(enabled); in setAccessibilityShortcutEnabled()
227 PreferenceCompat servicePref = mPreferenceCompatManager.getOrCreatePrefCompat(key); in refreshServices() local228 servicePref.setRestricted(true); in refreshServices()229 servicePref.setTitle(title); in refreshServices()230 servicePref.setSummary( in refreshServices()238 servicePref.setExtras(extra); in refreshServices()241 servicePref.setEnabled(true); in refreshServices()242 servicePref.setNextState(ManagerUtil.STATE_ACCESSIBILITY_SERVICE); in refreshServices()249 servicePref.setDisabledByAdmin(true); in refreshServices()251 servicePref.setEnabled(false); in refreshServices()253 servicePref.setNextState(null); in refreshServices()[all …]
130 final PreferenceCompat servicePref = mPreferenceCompatManager.getOrCreatePrefCompat( in updateServicePrefSummary() local140 if (servicePref != null) { in updateServicePrefSummary()141 servicePref.setSummary( in updateServicePrefSummary()148 mUIUpdateCallback.notifyUpdate(getStateIdentifier(), servicePref); in updateServicePrefSummary() local163 final PreferenceCompat servicePref = mPreferenceCompatManager.getOrCreatePrefCompat( in setAccessibilityShortcutEnabled() local165 servicePref.setSummary(""); in setAccessibilityShortcutEnabled()167 final PreferenceCompat servicePref = mPreferenceCompatManager.getOrCreatePrefCompat( in setAccessibilityShortcutEnabled() local169 servicePref.setEnabled(enabled); in setAccessibilityShortcutEnabled()170 mUIUpdateCallback.notifyUpdate(getStateIdentifier(), servicePref); in setAccessibilityShortcutEnabled() local
372 CancellablePreference servicePref = new CancellablePreference(getPrefContext()); in fillServicesSection() local373 servicePref.setSelectable(false); in fillServicesSection()374 servicePref.setTitle(label); in fillServicesSection()375 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()377 processPref.addPreference(servicePref); in fillServicesSection()378 mServiceMap.put(new ComponentName(service.mPackage, service.mName), servicePref); in fillServicesSection()