Searched refs:getTaskInfo (Results 1 – 12 of 12) sorted by relevance
92 TaskInfo taskInfo = getTaskInfo(taskId); in testDisplayIdAndUserId()104 TaskInfo taskInfo = getTaskInfo(taskId); in testTaskVisibility()113 taskInfo = getTaskInfo(taskId); in testTaskVisibility()121 TaskInfo taskInfo = getTaskInfo(mTestActivity.getTaskId()); in testToString()138 TaskInfo taskInfo = getTaskInfo(mTestActivity.getTaskId()); in testGetBounds()148 private TaskInfo getTaskInfo(int taskId) { in getTaskInfo() method in TaskInfoHelperTest151 TaskInfo taskInfo = task.getTaskInfo(); in getTaskInfo()
108 assertTrue(appTasks.get(0).getTaskInfo().topActivity.equals(a1.getComponentName())); in testSingleAppTask()123 assertTrue(appTasks.get(i).getTaskInfo().topActivity.equals( in testMultipleAppTasks()180 () -> getAppTask(a1) != null && getAppTask(a1).getTaskInfo().numActivities == 2, in testStartActivityInTask_NoNewTask()183 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask()202 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask()216 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()219 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()232 assertTrue(t1.getTaskInfo().baseIntent.getStringExtra(EXTRA_KEY).equals(EXTRA_VALUE)); in testBaseIntentHasExtras()255 if (task.getTaskInfo().taskId == activity.getTaskId()) { in getAppTask()
250 mTaskOrganizer.getTaskInfo(noRelaunchTaskId).getToken(); in testNoUserLeaveHintOnMultiWindowModeChanged()468 mTaskOrganizer.getTaskInfo(task.getTaskId()).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask()506 mTaskOrganizer.getTaskInfo(root.getTaskId()).getToken(); in testDisallowReparentOperationWhenInLockedTask()508 mTaskOrganizer.getTaskInfo(task.getTaskId()).getToken(); in testDisallowReparentOperationWhenInLockedTask()519 .getTaskInfo(task.getTaskId()) in testDisallowReparentOperationWhenInLockedTask()602 mTaskOrganizer.getTaskInfo(taskId2).getToken(); in testDisallowReOrderOperationWhenInLockedTask()
188 assertThat(taskViewCallback.mTaskView.getTaskInfo()).isNotNull(); in createMultipleControlledRemoteCarTaskView_startsTheTask()196 assertThat(taskViewCallback2.mTaskView.getTaskInfo()).isNotNull(); in createMultipleControlledRemoteCarTaskView_startsTheTask()218 assertThat(taskViewCallback.mTaskView.getTaskInfo()).isNull(); in multipleControlledCarTaskView_released_whenHostDestroyed()223 assertThat(taskViewCallback2.mTaskView.getTaskInfo()).isNull(); in multipleControlledCarTaskView_released_whenHostDestroyed()244 assertThat(taskViewCallback2.mTaskView.getTaskInfo()).isNull(); in releaseControlledCarTaskView_releasesTaskView()248 assertThat(taskViewCallback.mTaskView.getTaskInfo()).isNotNull(); in releaseControlledCarTaskView_releasesTaskView()
112 onTaskAppeared(info.getTaskInfo(), info.getLeash()); in registerOrganizer()204 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitPrimary()227 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitSecondary()350 public ActivityManager.RunningTaskInfo getTaskInfo(int taskId) { in getTaskInfo() method in TestTaskOrganizer
153 ActivityManager.RecentTaskInfo info = list.get(i).getTaskInfo(); in getAppTask()176 Bundle b = t.getTaskInfo().baseIntent.getExtras(); in setUpBundle()
118 ComponentName topActivity = mActivityManager.getAppTasks().get(0).getTaskInfo().topActivity; in checkLockedActivityIsRunning()
642 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testShouldDockBigOverlaysWithExpandedPip()1718 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testCloseActionIsSet()1783 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in assertIsSeamlessResizeEnabled()1800 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testTitleIsSet()1817 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testSubtitleIsSet()1827 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in assertNumberOfActions()
1066 return taskInfos.get(0).getTaskInfo().getToken(); in getFirstTaskToken()
306 .setWindowingMode(mTaskOrganizer.getTaskInfo(activityTaskId).getToken(), in moveActivityFullSplitFull()
4182 method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo();
4757 method public android.app.ActivityManager.RecentTaskInfo getTaskInfo();