Home
last modified time | relevance | path

Searched refs:TopTaskInfoContainer (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java58 public static class TopTaskInfoContainer { class in SystemActivityMonitoringService
65 private TopTaskInfoContainer(ComponentName topActivity, int taskId, in TopTaskInfoContainer() method in SystemActivityMonitoringService.TopTaskInfoContainer
74 public boolean isMatching(TopTaskInfoContainer taskInfo) { in isMatching()
97 void onActivityLaunch(TopTaskInfoContainer topTask); in onActivityLaunch()
110 private final SparseArray<TopTaskInfoContainer> mTopTasks = new SparseArray<>();
151 TopTaskInfoContainer info = mTopTasks.valueAt(i); in dump()
173 public void blockActivity(TopTaskInfoContainer currentTask, Intent newActivityIntent) { in blockActivity()
177 public List<TopTaskInfoContainer> getTopTasks() { in getTopTasks()
178 LinkedList<TopTaskInfoContainer> tasks = new LinkedList<>(); in getTopTasks()
181 TopTaskInfoContainer topTask = mTopTasks.valueAt(i); in getTopTasks()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java36 import com.android.car.SystemActivityMonitoringService.TopTaskInfoContainer;
58 private final TopTaskInfoContainer[] mTopTaskInfo = new TopTaskInfoContainer[1];
142 for (TopTaskInfoContainer topTaskInfoContainer : mService.getTopTasks()) { in topTasksHasComponent()
226 public void onActivityLaunch(TopTaskInfoContainer topTask) { in onActivityLaunch()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java68 import com.android.car.SystemActivityMonitoringService.TopTaskInfoContainer;
1015 List<TopTaskInfoContainer> topTasks = mSystemActivityMonitoringService.getTopTasks(); in blockTopActivitiesIfNecessary()
1016 for (TopTaskInfoContainer topTask : topTasks) { in blockTopActivitiesIfNecessary()
1025 private void blockTopActivityIfNecessary(TopTaskInfoContainer topTask) { in blockTopActivityIfNecessary()
1031 private void doBlockTopActivityIfNotAllowed(TopTaskInfoContainer topTask) { in doBlockTopActivityIfNotAllowed()
1337 public void onActivityLaunch(TopTaskInfoContainer topTask) { in onActivityLaunch()