Searched refs:servicePref (Results 1 – 2 of 2) sorted by relevance
133 Preference servicePref = findPreference(key); in refreshServices() local134 if (servicePref == null) { in refreshServices()135 servicePref = new Preference(group.getContext()); in refreshServices()136 servicePref.setKey(key); in refreshServices()138 servicePref.setTitle(title); in refreshServices()139 servicePref.setSummary(serviceEnabled ? R.string.settings_on : R.string.settings_off); in refreshServices()140 servicePref.setFragment(AccessibilityServiceFragment.class.getName()); in refreshServices()141 AccessibilityServiceFragment.prepareArgs(servicePref.getExtras(), in refreshServices()146 group.addPreference(servicePref); in refreshServices()
352 CancellablePreference servicePref = new CancellablePreference(getPrefContext()); in fillServicesSection() local353 servicePref.setSelectable(false); in fillServicesSection()354 servicePref.setTitle(label); in fillServicesSection()355 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()357 processPref.addPreference(servicePref); in fillServicesSection()358 mServiceMap.put(new ComponentName(service.mPackage, service.mName), servicePref); in fillServicesSection()