Lines Matching refs:ServiceInfo
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> {
186 public ServiceInfo(V type, ComponentName componentName, int uid) {
194 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
203 public ServiceInfo<V> getServiceInfo(V type) {
210 * @return a collection of {@link RegisteredServicesCache.ServiceInfo} objects for all
213 public Collection<ServiceInfo<V>> getAllServices() {
256 ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<ServiceInfo<V>>();
261 ServiceInfo<V> info = parseServiceInfo(resolveInfo);
280 for (ServiceInfo<V> info : serviceInfos) {
345 private boolean containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) {
355 private boolean containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) {
357 final ServiceInfo<V> serviceInfo = serviceInfos.get(i);
358 if (serviceInfo.type.equals(type) && serviceInfo.uid == uid) {
366 private ServiceInfo<V> parseServiceInfo(ResolveInfo service)
368 android.content.pm.ServiceInfo si = service.serviceInfo;
398 final android.content.pm.ServiceInfo serviceInfo = service.serviceInfo;
399 final ApplicationInfo applicationInfo = serviceInfo.applicationInfo;
401 return new ServiceInfo<V>(v, componentName, uid);