HomeSort by relevance Sort by last modified time
    Searched defs:serviceInfo (Results 1 - 16 of 16) sorted by null

  /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);
  /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/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...]
  /packages/apps/Settings/src/com/android/settings/
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/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/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...]
  /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;
  /frameworks/base/core/java/android/accounts/
AccountManagerService.java 352 Collection<AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription>>
357 for (AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription> authenticator
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 277 milliseconds