Searched refs:servicePref (Results 1 – 5 of 5) sorted by relevance
252 RestrictedPreference servicePref = findPreference(key); in refreshServices() local253 if (servicePref == null) { in refreshServices()254 servicePref = new RestrictedPreference(getContext()); in refreshServices()255 servicePref.setKey(key); in refreshServices()257 servicePref.setTitle(title); in refreshServices()258 servicePref.setSummary(serviceEnabled ? R.string.settings_on : R.string.settings_off); in refreshServices()259 AccessibilityServiceFragment.prepareArgs(servicePref.getExtras(), in refreshServices()266 servicePref.setEnabled(true); in refreshServices()267 servicePref.setFragment(AccessibilityServiceFragment.class.getName()); in refreshServices()274 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()
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
252 PreferenceCompat servicePref = mPreferenceCompatManager.getOrCreatePrefCompat(key); in refreshServices() local253 servicePref.setRestricted(true); in refreshServices()254 servicePref.setTitle(title); in refreshServices()255 servicePref.setSummary( in refreshServices()263 servicePref.setExtras(extra); in refreshServices()266 servicePref.setEnabled(true); in refreshServices()267 servicePref.setNextState(ManagerUtil.STATE_ACCESSIBILITY_SERVICE); in refreshServices()274 servicePref.setDisabledByAdmin(true); in refreshServices()276 servicePref.setEnabled(false); in refreshServices()278 servicePref.setNextState(null); in refreshServices()[all …]
371 CancellablePreference servicePref = new CancellablePreference(getPrefContext()); in fillServicesSection() local372 servicePref.setSelectable(false); in fillServicesSection()373 servicePref.setTitle(label); in fillServicesSection()374 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()376 processPref.addPreference(servicePref); in fillServicesSection()377 mServiceMap.put(new ComponentName(service.mPackage, service.mName), servicePref); in fillServicesSection()