/cts/tests/tests/content/src/android/content/pm/cts/ |
ServiceInfoTest.java | 26 import android.content.pm.ServiceInfo; 31 @TestTargetClass(ServiceInfo.class) 46 method = "ServiceInfo", 52 method = "ServiceInfo", 53 args = {android.content.pm.ServiceInfo.class} 73 // Test ServiceInfo() 74 new ServiceInfo(); 76 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0); 77 // Test ServiceInfo(ServiceInfo orig [all...] |
ResolveInfo_DisplayNameComparatorTest.java | 57 ResolveInfo serviceInfo = pm.resolveService(intent, PackageManager.GET_RESOLVED_FILTER); 59 assertTrue(dnc.compare(activityInfo, serviceInfo) < 0); 61 assertTrue(dnc.compare(serviceInfo, activityInfo) > 0);
|
PackageManagerTest.java | 192 current = infoIterator.next().serviceInfo.name; 741 assertEquals(SERVICE_NAME, resolveInfo.serviceInfo.name); [all...] |
/frameworks/base/services/java/com/android/server/ |
RecognitionManagerService.java | 25 import android.content.pm.ServiceInfo; 100 ServiceInfo serviceInfo = available.get(i).serviceInfo; 101 if (prefPackage.equals(serviceInfo.packageName)) { 102 return new ComponentName(serviceInfo.packageName, serviceInfo.name); 110 ServiceInfo serviceInfo = available.get(0).serviceInfo; [all...] |
AccessibilityManagerService.java | 37 import android.content.pm.ServiceInfo; 98 private final List<ServiceInfo> mInstalledServices = new ArrayList<ServiceInfo>(); 298 public List<ServiceInfo> getAccessibilityServiceList() { 360 mInstalledServices.add(installedServices.get(i).serviceInfo); 592 private void updateServicesStateLocked(List<ServiceInfo> installedServices, 600 ServiceInfo intalledService = installedServices.get(i);
|
WallpaperManagerService.java | 33 import android.content.pm.ServiceInfo; 506 ServiceInfo si = mContext.getPackageManager().getServiceInfo(componentName, 522 ServiceInfo rsi = ris.get(i).serviceInfo; [all...] |
InputMethodManagerService.java | 47 import android.content.pm.ServiceInfo; 399 ServiceInfo si = null; [all...] |
PackageManagerService.java | 66 import android.content.pm.ServiceInfo; [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 27 import android.content.pm.ServiceInfo; 85 ServiceInfo si = service.serviceInfo; 157 return mService.serviceInfo.packageName; 165 return mService.serviceInfo.name; 172 public ServiceInfo getServiceInfo() { 173 return mService.serviceInfo; 180 return new ComponentName(mService.serviceInfo.packageName, 181 mService.serviceInfo.name); 213 return pm.getDrawable(mService.serviceInfo.packageName [all...] |
LauncherActivity.java | 75 if (ci == null) ci = resolveInfo.serviceInfo;
|
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 39 * serviceInfo must be non-null. 48 public ServiceInfo serviceInfo; 139 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; 173 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; 194 if (serviceInfo != null) return serviceInfo.getIconResource(); 219 } else if (serviceInfo != null) { 220 pw.println(prefix + "ServiceInfo:"); 221 serviceInfo.dump(pw, prefix + " ") [all...] |
RegisteredServicesCache.java | 78 private Map<V, ServiceInfo<V>> mServices; 128 Map<V, ServiceInfo<V>> services; 133 for (ServiceInfo info : services.values()) { 180 public static class ServiceInfo<V> { 185 private ServiceInfo(V type, ComponentName componentName, int uid) { 193 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid; 202 public ServiceInfo<V> getServiceInfo(V type) { 209 * @return a collection of {@link RegisteredServicesCache.ServiceInfo} objects for all 212 public Collection<ServiceInfo<V>> getAllServices() { 255 ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<ServiceInfo<V>>() [all...] |
/frameworks/base/core/java/android/webkit/ |
PluginManager.java | 30 import android.content.pm.ServiceInfo; 127 ServiceInfo serviceInfo = info.serviceInfo; 128 if (serviceInfo == null) { 136 pkgInfo = pm.getPackageInfo(serviceInfo.packageName, 140 Log.w(LOGTAG, "Can't find plugin: " + serviceInfo.packageName); 199 if (serviceInfo.metaData == null) { 200 Log.e(LOGTAG, "The plugin '" + serviceInfo.name + "' has no type defined"); 204 String pluginType = serviceInfo.metaData.getString(PLUGIN_TYPE) [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 27 import android.content.pm.ServiceInfo; 82 ServiceInfo si = service.serviceInfo; 143 ServiceInfo si = new ServiceInfo(); 153 ri.serviceInfo = si; 172 return mService.serviceInfo.packageName; 180 return mService.serviceInfo.name; 187 public ServiceInfo getServiceInfo() { 188 return mService.serviceInfo; [all...] |
/packages/apps/Settings/src/com/android/settings/ |
VoiceInputOutputSettings.java | 26 import android.content.pm.ServiceInfo; 104 new ComponentName(resolveInfo.serviceInfo.packageName, 105 resolveInfo.serviceInfo.name).flattenToShortString(); 139 new ComponentName(resolveInfo.serviceInfo.packageName, 140 resolveInfo.serviceInfo.name).flattenToShortString(); 159 ServiceInfo si = currentRecognizer.serviceInfo;
|
AccessibilitySettings.java | 26 import android.content.pm.ServiceInfo; 71 private Map<String, ServiceInfo> mAccessibilityServices = 72 new LinkedHashMap<String, ServiceInfo>(); 109 Map<String, ServiceInfo> accessibilityServices = mAccessibilityServices; 304 List<ServiceInfo> installedServices = accessibilityManager.getAccessibilityServiceList(); 316 ServiceInfo serviceInfo = installedServices.get(i); 317 String key = serviceInfo.packageName + "/" + serviceInfo.name; 319 mAccessibilityServices.put(key, serviceInfo); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ComponentTest.java | 289 assertNotNull(info2.serviceInfo); 290 assertFalse(info2.serviceInfo.enabled); 302 assertNotNull(info.serviceInfo); 303 assertTrue(info.serviceInfo.enabled); 322 assertNotNull(info.serviceInfo); 323 assertFalse(info.serviceInfo.enabled); 337 assertNotNull(info.serviceInfo); 338 assertTrue(info.serviceInfo.enabled); 354 final ServiceInfo serviceInfo [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
VoiceSearch.java | 97 ComponentInfo ci = ri.activityInfo != null ? ri.activityInfo : ri.serviceInfo;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
ExternalSource.java | 101 final XmlResourceParser parser = info.serviceInfo.loadXmlMetaData(pm,
|
/frameworks/base/core/java/android/accounts/ |
AccountManagerService.java | 351 Collection<AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription>> 356 for (AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription> authenticator [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 28 import android.content.pm.ServiceInfo; 136 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo()); 141 private void assertService(ServiceInfo expected, ServiceInfo actual) {
|
/frameworks/base/services/java/com/android/server/am/ |
ServiceRecord.java | 28 import android.content.pm.ServiceInfo; 59 final ServiceInfo serviceInfo; 69 final boolean exported; // from ServiceInfo.exported 268 Intent.FilterComparison intent, ServiceInfo sInfo, Runnable restarter) { 274 serviceInfo = sInfo;
|
ActivityManagerService.java | 74 import android.content.pm.ServiceInfo; [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListActivity.java | 112 ComponentInfo ci = resolveInfo.serviceInfo;
|
/frameworks/base/core/java/android/content/ |
SyncManager.java | 417 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapterInfo = 568 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter : 592 final RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapterInfo = 637 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos = 641 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { 642 types[i] = serviceInfo.type; [all...] |