Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java469 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<>(); in generateServicesMap() local
478 serviceInfos.add(info); in generateServicesMap()
493 for (ServiceInfo<V> info : serviceInfos) { in generateServicesMap()
520 || !containsTypeAndUid(serviceInfos, info.type, previousUid)) { in generateServicesMap()
547 if (!containsType(serviceInfos, v1) in generateServicesMap()
574 serviceInfos.size() + " services:\n" + changes); in generateServicesMap()
577 serviceInfos.size() + " services unchanged"); in generateServicesMap()
599 private boolean containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) { in containsType() argument
600 for (int i = 0, N = serviceInfos.size(); i < N; i++) { in containsType()
601 if (serviceInfos.get(i).type.equals(type)) { in containsType()
[all …]
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java116 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; in getSyncAdapterPackagesForAuthority() local
117 serviceInfos = getAllServices(userId); in getSyncAdapterPackagesForAuthority()
119 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterPackagesForAuthority()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java882 List<AccessibilityServiceInfo> serviceInfos = in isAccessibilityVolumeStreamActive() local
884 for (int i = 0; i < serviceInfos.size(); i++) { in isAccessibilityVolumeStreamActive()
885 if ((serviceInfos.get(i).flags & FLAG_ENABLE_ACCESSIBILITY_VOLUME) != 0) { in isAccessibilityVolumeStreamActive()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5470 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> serviceInfos;
5472 serviceInfos = mAuthenticatorCache.getAllServices(userId);
5478 : serviceInfos) {
5499 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> serviceInfos;
5501 serviceInfos = mAuthenticatorCache.getAllServices(userId);
5508 : serviceInfos) {
5545 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> serviceInfos;
5547 serviceInfos = mAuthenticatorCache.getAllServices(userId);
5554 serviceInfos) {
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1268 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; in getSyncAdapterTypes() local
1269 serviceInfos = mSyncAdapters.getAllServices(userId); in getSyncAdapterTypes()
1270 SyncAdapterType[] types = new SyncAdapterType[serviceInfos.size()]; in getSyncAdapterTypes()
1272 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterTypes()