/frameworks/base/core/java/android/content/pm/ |
ServiceInfo.aidl | 20 parcelable ServiceInfo;
|
ServiceInfo.java | 28 public class ServiceInfo extends ComponentInfo 36 public ServiceInfo() { 39 public ServiceInfo(ServiceInfo orig) { 50 return "ServiceInfo{" 64 public static final Creator<ServiceInfo> CREATOR = 65 new Creator<ServiceInfo>() { 66 public ServiceInfo createFromParcel(Parcel source) { 67 return new ServiceInfo(source); 69 public ServiceInfo[] newArray(int size) [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...] |
PackageInfo.java | 107 public ServiceInfo[] services; 264 services = source.createTypedArray(ServiceInfo.CREATOR);
|
IPackageManager.aidl | 37 import android.content.pm.ServiceInfo; 69 ServiceInfo getServiceInfo(in ComponentName className, int flags);
|
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...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
AccessibilityManager.java | 20 import android.content.pm.ServiceInfo; 85 * Returns the {@link ServiceInfo}s of the installed accessibility services. 87 * @return An unmodifiable list with {@link ServiceInfo}s. 89 public List<ServiceInfo> getAccessibilityServiceList() { 92 List<ServiceInfo> services = null;
|
/frameworks/base/core/java/android/view/accessibility/ |
IAccessibilityManager.aidl | 22 import android.content.pm.ServiceInfo; 36 List<ServiceInfo> getAccessibilityServiceList();
|
AccessibilityManager.java | 22 import android.content.pm.ServiceInfo; 182 * Returns the {@link ServiceInfo}s of the installed accessibility services. 184 * @return An unmodifiable list with {@link ServiceInfo}s. 186 public List<ServiceInfo> getAccessibilityServiceList() { 187 List<ServiceInfo> services = 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...] |
/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);
|
/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/ |
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...] |
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;
|
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 97 Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> all = 103 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> item : all) { 229 final RegisteredServicesCache.ServiceInfo<SyncAdapterType> mSyncAdapter; 232 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter) { 291 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter = 329 private RegisteredServicesCache.ServiceInfo<SyncAdapterType> getSelectedSyncAdapter() { 337 return (RegisteredServicesCache.ServiceInfo<SyncAdapterType>)
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 25 import android.content.pm.ServiceInfo; 126 ServiceInfo si = mContext.getPackageManager().getServiceInfo(
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoPriorityResolver.java | 30 import android.content.pm.ServiceInfo; 114 for (ServiceInfo si : pi.services) {
|
/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/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...] |
IApplicationThread.java | 25 import android.content.pm.ServiceInfo; 70 void scheduleCreateService(IBinder token, ServiceInfo info) throws RemoteException;
|
/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/test-runner/src/android/test/mock/ |
MockPackageManager.java | 39 import android.content.pm.ServiceInfo; 124 public ServiceInfo getServiceInfo(ComponentName className, int flags)
|
/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...] |
/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;
|