Searched refs:topTask (Results 1 – 3 of 3) sorted by relevance
1004 for (TopTaskInfoContainer topTask : topTasks) { in blockTopActivitiesIfNecessary()1005 if (topTask == null) { in blockTopActivitiesIfNecessary()1009 blockTopActivityIfNecessary(topTask); in blockTopActivitiesIfNecessary()1013 private void blockTopActivityIfNecessary(TopTaskInfoContainer topTask) { in blockTopActivityIfNecessary() argument1014 if (isUxRestrictedOnDisplay(topTask.displayId)) { in blockTopActivityIfNecessary()1015 doBlockTopActivityIfNotAllowed(topTask); in blockTopActivityIfNecessary()1019 private void doBlockTopActivityIfNotAllowed(TopTaskInfoContainer topTask) { in doBlockTopActivityIfNotAllowed() argument1020 if (topTask.topActivity == null) { in doBlockTopActivityIfNotAllowed()1027 Log.i(CarLog.TAG_PACKAGE, "Packages not parsed, so ignoring block for " + topTask); in doBlockTopActivityIfNotAllowed()1033 topTask.topActivity.getPackageName(), in doBlockTopActivityIfNotAllowed()[all …]
97 void onActivityLaunch(TopTaskInfoContainer topTask); in onActivityLaunch() argument181 TopTaskInfoContainer topTask = mTopTasks.valueAt(i); in getTopTasks() local182 if (topTask == null) { in getTopTasks()187 tasks.add(topTask); in getTopTasks()309 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks() local312 mTopTasks.put(displayId, topTask); in updateTasks()317 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks() local320 Log.i(CarLog.TAG_AM, "Notifying about top task: " + topTask.toString()); in updateTasks()322 listener.onActivityLaunch(topTask); in updateTasks()
226 public void onActivityLaunch(TopTaskInfoContainer topTask) { in onActivityLaunch() argument228 if (!getTestContext().getPackageName().equals(topTask.topActivity.getPackageName())) { in onActivityLaunch()230 + topTask.topActivity.getClassName()); in onActivityLaunch()233 if (mDesiredComponent != null && !topTask.topActivity.equals(mDesiredComponent)) { in onActivityLaunch()235 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityLaunch()240 mTopTaskInfo[0] = topTask; in onActivityLaunch()