Searched refs:getTaskInfo (Results 1 – 7 of 7) sorted by relevance
102 assertTrue(appTasks.get(0).getTaskInfo().topActivity.equals(a1.getComponentName())); in testSingleAppTask()117 assertTrue(appTasks.get(i).getTaskInfo().topActivity.equals( in testMultipleAppTasks()174 () -> getAppTask(a1) != null && getAppTask(a1).getTaskInfo().numActivities == 2, in testStartActivityInTask_NoNewTask()177 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask()196 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask()210 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()213 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()237 if (task.getTaskInfo().taskId == activity.getTaskId()) { in getAppTask()
256 mTaskOrganizer.getTaskInfo(noRelaunchTaskId).getToken(); in testNoUserLeaveHintOnMultiWindowModeChanged()465 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask()503 mTaskOrganizer.getTaskInfo(root.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask()505 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask()512 mTaskOrganizer.getTaskInfo(task.mTaskId).getParentTaskId() in testDisallowHierarchyOperationWhenInLockedTask()
107 final WindowContainerToken taskToken = taskInfos.get(0).getTaskInfo().getToken(); in testPerformNonTaskFragmentHierarchyOperation_ThrowException()134 final WindowContainerToken taskToken = taskInfos.get(0).getTaskInfo().getToken(); in testSetPropertyOnNonTaskFragment_ThrowException()
1388 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in assertIsSeamlessResizeEnabled()1398 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in assertNumberOfActions()
146 ActivityManager.RecentTaskInfo info = list.get(i).getTaskInfo(); in getAppTask()169 Bundle b = t.getTaskInfo().baseIntent.getExtras(); in setUpBundle()
110 onTaskAppeared(info.getTaskInfo(), info.getLeash()); in registerOrganizer()196 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitPrimary()218 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitSecondary()322 ActivityManager.RunningTaskInfo getTaskInfo(int taskId) { in getTaskInfo() method in TestTaskOrganizer
3199 method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo();