Searched refs:topTask (Results 1 – 3 of 3) sorted by relevance
1031 for (TopTaskInfoContainer topTask : topTasks) { in blockTopActivitiesIfNecessary()1032 if (topTask == null) { in blockTopActivitiesIfNecessary()1036 blockTopActivityIfNecessary(topTask); in blockTopActivitiesIfNecessary()1040 private void blockTopActivityIfNecessary(TopTaskInfoContainer topTask) { in blockTopActivityIfNecessary() argument1041 if (isUxRestrictedOnDisplay(topTask.displayId)) { in blockTopActivityIfNecessary()1042 doBlockTopActivityIfNotAllowed(topTask); in blockTopActivityIfNecessary()1046 private void doBlockTopActivityIfNotAllowed(TopTaskInfoContainer topTask) { in doBlockTopActivityIfNotAllowed() argument1047 if (topTask.topActivity == null) { in doBlockTopActivityIfNotAllowed()1054 Log.i(CarLog.TAG_PACKAGE, "Packages not parsed, so ignoring block for " + topTask); in doBlockTopActivityIfNotAllowed()1060 topTask.topActivity.getPackageName(), in doBlockTopActivityIfNotAllowed()[all …]
100 void onActivityLaunch(TopTaskInfoContainer topTask); in onActivityLaunch() argument192 TopTaskInfoContainer topTask = mTopTasks.valueAt(i); in getTopTasks() local193 if (topTask == null) { in getTopTasks()198 tasks.add(topTask); in getTopTasks()326 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks() local329 mTopTasks.put(displayId, topTask); in updateTasks()334 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks() local337 Log.i(CarLog.TAG_AM, "Notifying about top task: " + topTask.toString()); in updateTasks()339 listener.onActivityLaunch(topTask); in updateTasks()
229 public void onActivityLaunch(TopTaskInfoContainer topTask) { in onActivityLaunch() argument231 if (!getTestContext().getPackageName().equals(topTask.topActivity.getPackageName())) { in onActivityLaunch()233 + topTask.topActivity.getClassName()); in onActivityLaunch()236 if (!topTask.topActivity.equals(mDesiredComponent)) { in onActivityLaunch()238 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityLaunch()242 mTopTask = topTask; in onActivityLaunch()