/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppListener.java | 59 RootTaskInfo taskInfo = getStackInfo(taskInfoList, taskId); in onTaskCreated() local 60 if (taskInfo == null) { in onTaskCreated() 65 if (!mSideLoadedAppDetector.isSafe(taskInfo)) { in onTaskCreated() 66 Display display = mDisplayManager.getDisplay(taskInfo.displayId); in onTaskCreated() 84 RootTaskInfo taskInfo = getTopVisibleStackInfo(taskInfoList); in onTaskStackChanged() local 85 if (taskInfo == null) { in onTaskStackChanged() 88 if (mSideLoadedAppDetector.isSafe(taskInfo)) { in onTaskStackChanged() 103 for (RootTaskInfo taskInfo : taskInfoList) { in getStackInfo() 104 if (taskInfo.childTaskIds == null) { in getStackInfo() 107 for (int taskTaskId : taskInfo.childTaskIds) { in getStackInfo() [all …]
|
D | SideLoadedAppDetector.java | 81 boolean isSafe(@NonNull RootTaskInfo taskInfo) { in isSafe() argument 82 ComponentName componentName = taskInfo.topActivity; in isSafe() 84 Log.w(TAG, "Task info does not have top activity: " + taskInfo.taskId); in isSafe()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetectorTest.java | 82 RootTaskInfo taskInfo = new RootTaskInfo(); in isSafe_systemApp_returnsTrue() local 83 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_systemApp_returnsTrue() 92 assertThat(mSideLoadedAppDetector.isSafe(taskInfo)).isTrue(); in isSafe_systemApp_returnsTrue() 97 RootTaskInfo taskInfo = new RootTaskInfo(); in isSafe_updatedSystemApp_returnsTrue() local 98 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_updatedSystemApp_returnsTrue() 107 assertThat(mSideLoadedAppDetector.isSafe(taskInfo)).isTrue(); in isSafe_updatedSystemApp_returnsTrue() 116 RootTaskInfo taskInfo = new RootTaskInfo(); in isSafe_nonSystemApp_withSafeSource_returnsTrue() local 117 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_nonSystemApp_withSafeSource_returnsTrue() 126 assertThat(mSideLoadedAppDetector.isSafe(taskInfo)).isTrue(); in isSafe_nonSystemApp_withSafeSource_returnsTrue() 135 RootTaskInfo taskInfo = new RootTaskInfo(); in isSafe_nonSystemApp_withUnsafeSource_returnsFalse() local [all …]
|
D | SideLoadedAppListenerTest.java | 238 RootTaskInfo taskInfo = new RootTaskInfo(); in createTask() local 239 taskInfo.taskId = id; in createTask() 240 taskInfo.visible = isVisible; in createTask() 241 return taskInfo; in createTask()
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemActivityMonitoringService.java | 67 public final RootTaskInfo taskInfo; field in SystemActivityMonitoringService.TopTaskInfoContainer 70 int displayId, int position, RootTaskInfo taskInfo) { in TopTaskInfoContainer() argument 75 this.taskInfo = taskInfo; in TopTaskInfoContainer() 78 public boolean isMatching(TopTaskInfoContainer taskInfo) { in isMatching() argument 79 return taskInfo != null in isMatching() 80 && Objects.equals(this.topActivity, taskInfo.topActivity) in isMatching() 81 && this.taskId == taskInfo.taskId in isMatching() 82 && this.displayId == taskInfo.displayId in isMatching() 83 && this.position == taskInfo.position in isMatching() 84 && this.taskInfo.userId == taskInfo.taskInfo.userId; in isMatching() [all …]
|
/packages/services/Car/service/src/com/android/car/am/ |
D | FixedActivityService.java | 461 for (RootTaskInfo taskInfo : infos) { in launchIfNecessary() 462 RunningActivityInfo activityInfo = mRunningActivities.get(taskInfo.displayId); in launchIfNecessary() 466 int topUserId = taskInfo.childTaskUserIds[taskInfo.childTaskUserIds.length - 1]; in launchIfNecessary() 467 if (activityInfo.intent.getComponent().equals(taskInfo.topActivity) in launchIfNecessary() 468 && activityInfo.userId == topUserId && taskInfo.visible) { in launchIfNecessary() 471 activityInfo.taskId = taskInfo.childTaskIds[taskInfo.childTaskIds.length - 1]; in launchIfNecessary() 475 taskInfo.childTaskIds[taskInfo.childTaskIds.length - 1]; in launchIfNecessary() 477 + taskInfo.topActivity + " top task id:" + activityInfo.previousTaskId in launchIfNecessary() 478 + " user:" + topUserId + " display:" + taskInfo.displayId); in launchIfNecessary() 480 for (int i = 0; i < taskInfo.childTaskIds.length - 1; i++) { in launchIfNecessary() [all …]
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 224 TaskInfo taskInfo; in handleTaskStackChanged() local 226 taskInfo = mAtm.getRootTaskInfoOnDisplay( in handleTaskStackChanged() 232 if (taskInfo == null) { in handleTaskStackChanged() 235 int uiType = identifyTopTask(taskInfo); in handleTaskStackChanged() 237 Log.w(TAG, "Unexpected top Activity on Cluster: " + taskInfo.topActivity); in handleTaskStackChanged() 248 private int identifyTopTask(TaskInfo taskInfo) { in identifyTopTask() argument 250 if (mClusterActivities[i].equals(taskInfo.topActivity)) { in identifyTopTask()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | FixedActivityServiceTest.java | 365 for (List<RootTaskInfo> taskInfo : taskInfos) { in expectRootTaskInfo() 366 stub = stub.thenReturn(taskInfo); in expectRootTaskInfo() 376 RootTaskInfo taskInfo = new RootTaskInfo(); in createRootTaskInfo() local 377 taskInfo.childTaskUserIds = userIds; in createRootTaskInfo() 378 taskInfo.topActivity = intent.getComponent().clone(); in createRootTaskInfo() 379 taskInfo.visible = true; in createRootTaskInfo() 380 taskInfo.displayId = displayId; in createRootTaskInfo() 381 taskInfo.childTaskIds = taskIds; in createRootTaskInfo() 382 return Arrays.asList(taskInfo); in createRootTaskInfo()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/ |
D | ActivityTaskManagerImpl.java | 58 public void onTaskDescriptionChanged(ActivityManager.RunningTaskInfo taskInfo) { in registerTaskStackListener() 59 listener.onTaskDescriptionChanged(taskInfo); in registerTaskStackListener() 63 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) { in registerTaskStackListener() 64 listener.onTaskMovedToFront(taskInfo); in registerTaskStackListener()
|
D | CurrentActivityService.java | 221 public void onTaskDescriptionChanged(ActivityManager.RunningTaskInfo taskInfo) { 222 updateComponentName(taskInfo.topActivity); 226 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) { 227 updateComponentName(taskInfo.topActivity);
|
D | ActivityTaskManager.java | 42 void onTaskDescriptionChanged(ActivityManager.RunningTaskInfo taskInfo); in onTaskDescriptionChanged() argument 44 void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo); in onTaskMovedToFront() argument
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | TaskViewManager.java | 81 TaskInfo taskInfo = taskAppearedInfo.getTaskInfo(); in cleanUpExistingTaskViewTasks() local 83 if (taskInfo.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW) { in cleanUpExistingTaskViewTasks() 84 if (DBG) Slog.d(TAG, "Found the dangling task, removing: " + taskInfo.taskId); in cleanUpExistingTaskViewTasks() 85 atm.removeTask(taskInfo.taskId); in cleanUpExistingTaskViewTasks()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | ActivityBlockingActivity.java | 279 for (RootTaskInfo taskInfo : taskInfos) { in isTopActivityBehindAbaDistractionOptimized() 280 if (taskInfo.displayId != getDisplayId()) { in isTopActivityBehindAbaDistractionOptimized() 285 if (getComponentName().equals(taskInfo.topActivity)) { in isTopActivityBehindAbaDistractionOptimized() 290 if (!taskInfo.visible) { in isTopActivityBehindAbaDistractionOptimized() 295 if (topStackBehindAba == null || topStackBehindAba.position < taskInfo.position) { in isTopActivityBehindAbaDistractionOptimized() 296 topStackBehindAba = taskInfo; in isTopActivityBehindAbaDistractionOptimized()
|
D | CarPackageManagerService.java | 1128 + topTask.taskInfo.childTaskIds.length); in doBlockTopActivityIfNotAllowed() 1135 + topTask.taskInfo.childTaskIds.length); in doBlockTopActivityIfNotAllowed() 1140 for (int i = 0; i < topTask.taskInfo.childTaskIds.length; i++) { in doBlockTopActivityIfNotAllowed() 1142 if (topTask.taskInfo.childTaskIds[i] == topTask.taskId) { in doBlockTopActivityIfNotAllowed() 1145 taskRootActivity = topTask.taskInfo.childTaskNames[i]; in doBlockTopActivityIfNotAllowed()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | ButtonSelectionStateController.java | 114 for (RootTaskInfo taskInfo : taskInfoList) { in taskChanged() 118 if (taskInfo.topActivity != null && taskInfo.displayId == validDisplay) { in taskChanged() 119 validTaskInfo = taskInfo; in taskChanged()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | AbsSwipeUpHandler.java | 1148 ? runningTaskTarget.taskInfo.launchCookies 1153 && runningTaskTarget.taskInfo.pictureInPictureParams != null 1154 && runningTaskTarget.taskInfo.pictureInPictureParams.isAutoEnterEnabled(); 1241 final ActivityManager.RunningTaskInfo taskInfo = mGestureState.getRunningTask(); 1254 .startSwipePipToHome(taskInfo.topActivity, 1255 taskInfo.topActivityInfo, 1256 runningTaskTarget.taskInfo.pictureInPictureParams, 1262 .setComponentName(taskInfo.topActivity) 1265 runningTaskTarget.taskInfo.pictureInPictureParams.getSourceRectHint()) 1266 .setAppBounds(taskInfo.configuration.windowConfiguration.getBounds()) [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetView.java | 302 return (target != null && target.taskInfo.taskDescription != null) in getDefaultBackgroundColor() 303 ? target.taskInfo.taskDescription.getBackgroundColor() in getDefaultBackgroundColor()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersCache.java | 565 for (SingleProviderUpdateTaskInfo taskInfo: taskInfos) { 568 taskInfo.providerInfo, 569 taskInfo.userId,
|