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.java381 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<ServiceInfo<V>>(); in generateServicesMap() local
390 serviceInfos.add(info); in generateServicesMap()
405 for (ServiceInfo<V> info : serviceInfos) { in generateServicesMap()
432 || !containsTypeAndUid(serviceInfos, info.type, previousUid)) { in generateServicesMap()
459 if (!containsType(serviceInfos, v1) in generateServicesMap()
486 serviceInfos.size() + " services:\n" + changes); in generateServicesMap()
489 serviceInfos.size() + " services unchanged"); in generateServicesMap()
511 private boolean containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) { in containsType() argument
512 for (int i = 0, N = serviceInfos.size(); i < N; i++) { in containsType()
513 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.java914 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; in getSyncAdapterTypes() local
915 serviceInfos = mSyncAdapters.getAllServices(userId); in getSyncAdapterTypes()
916 SyncAdapterType[] types = new SyncAdapterType[serviceInfos.size()]; in getSyncAdapterTypes()
918 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterTypes()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3806 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> serviceInfos; in getTypesForCaller() local
3808 serviceInfos = mAuthenticatorCache.getAllServices(userId); in getTypesForCaller()
3813 serviceInfos) { in getTypesForCaller()