Home
last modified time | relevance | path

Searched refs:allowedComponents (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java527 final List<ComponentName> allowedComponents = new ArrayList<>(); in getAllowedComponents() local
536 allowedComponents.add(cn); in getAllowedComponents()
541 return allowedComponents; in getAllowedComponents()
987 final Set<ComponentName> allowedComponents = allowedComponentsToBind.get(info.userid); in populateComponentsToUnbind() local
988 if (allowedComponents != null) { in populateComponentsToUnbind()
989 if (forceRebind || !allowedComponents.contains(info.component)) { in populateComponentsToUnbind()
DNotificationManagerService.java3942 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
3943 if (allowedComponents.size() > 1) {
3945 "At most one NotificationAssistant: " + allowedComponents.size());
3947 return CollectionUtils.firstOrNull(allowedComponents);
8015 List<ComponentName> allowedComponents = getAllowedComponents(userId);
8016 if (!allowedComponents.isEmpty()) {
8017 ComponentName currentComponent = CollectionUtils.firstOrNull(allowedComponents);
8726 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
8727 return CollectionUtils.firstOrNull(allowedComponents);