Home
last modified time | relevance | path

Searched refs:serviceInfos (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java429 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<>(); in generateServicesMap() local
438 serviceInfos.add(info); in generateServicesMap()
453 for (ServiceInfo<V> info : serviceInfos) { in generateServicesMap()
480 || !containsTypeAndUid(serviceInfos, info.type, previousUid)) { in generateServicesMap()
507 if (!containsType(serviceInfos, v1) in generateServicesMap()
534 serviceInfos.size() + " services:\n" + changes); in generateServicesMap()
537 serviceInfos.size() + " services unchanged"); in generateServicesMap()
559 private boolean containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) { in containsType() argument
560 for (int i = 0, N = serviceInfos.size(); i < N; i++) { in containsType()
561 if (serviceInfos.get(i).type.equals(type)) { in containsType()
[all …]
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java115 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; in getSyncAdapterPackagesForAuthority() local
116 serviceInfos = getAllServices(userId); in getSyncAdapterPackagesForAuthority()
118 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterPackagesForAuthority()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1119 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; in getSyncAdapterTypes() local
1120 serviceInfos = mSyncAdapters.getAllServices(userId); in getSyncAdapterTypes()
1121 SyncAdapterType[] types = new SyncAdapterType[serviceInfos.size()]; in getSyncAdapterTypes()
1123 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterTypes()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5442 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> serviceInfos;
5444 serviceInfos = mAuthenticatorCache.getAllServices(userId);
5449 serviceInfos) {