Searched refs:ActivityListener (Results 1 – 5 of 5) sorted by relevance
53 public interface ActivityListener { interface in ActivityMonitor62 private final Map<Integer, Set<ActivityListener>> mListeners = new HashMap<>();105 public void addListener(int displayId, ActivityListener listener) { in addListener()112 public void removeListener(int displayId, ActivityListener listener) { in removeListener()176 Set<ActivityListener> listeners = mListeners.get(info.displayId); in notifyTopActivities()178 for (ActivityListener listener : listeners) { in notifyTopActivities()
174 private ActivityMonitor.ActivityListener mNavigationActivityMonitor = (displayId, activity) -> {
125 public interface ActivityListener { interface in CarActivityService142 private final ArrayList<ActivityListener> mActivityListeners = new ArrayList<>();200 public void registerActivityListener(@NonNull ActivityListener listener) { in registerActivityListener()211 public void unregisterActivityListener(@NonNull ActivityListener listener) { in unregisterActivityListener()
218 private final ActivityListener mActivityListener = new ActivityListener();1934 private class ActivityListener implements CarActivityService.ActivityListener { class in CarPackageManagerService
511 private static final class FilteredListener implements CarActivityService.ActivityListener {