Home
last modified time | relevance | path

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

/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DActivityMonitor.java53 public interface ActivityListener { interface in ActivityMonitor
62 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()
DMainClusterActivity.java174 private ActivityMonitor.ActivityListener mNavigationActivityMonitor = (displayId, activity) -> {
/packages/services/Car/service/src/com/android/car/am/
DCarActivityService.java125 public interface ActivityListener { interface in CarActivityService
142 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()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java218 private final ActivityListener mActivityListener = new ActivityListener();
1934 private class ActivityListener implements CarActivityService.ActivityListener { class in CarPackageManagerService
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DCarActivityServiceTaskMonitorUnitTest.java511 private static final class FilteredListener implements CarActivityService.ActivityListener {