Home
last modified time | relevance | path

Searched refs:getTaskInfo (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DTaskInfoHelperTest.java92 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 TaskInfoHelperTest
151 TaskInfo taskInfo = task.getTaskInfo(); in getTaskInfo()
/cts/tests/app/src/android/app/cts/
DAppTaskTests.java108 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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java250 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()
/cts/tests/tests/car/src/android/car/app/cts/
DCarTaskViewControllerTest.java188 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()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java112 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
/cts/tests/tests/security/src/android/security/cts/
DBinderExploitTest.java153 ActivityManager.RecentTaskInfo info = list.get(i).getTaskInfo(); in getAppTask()
176 Bundle b = t.getTaskInfo().baseIntent.getExtras(); in setUpBundle()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskHostDrivenTest.java118 ComponentName topActivity = mActivityManager.getAppTasks().get(0).getTaskInfo().topActivity; in checkLockedActivityIsRunning()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java642 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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DTaskFragmentOrganizerPolicyTest.java1066 return taskInfos.get(0).getTaskInfo().getToken(); in getFirstTaskToken()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java306 .setWindowingMode(mTaskOrganizer.getTaskInfo(activityTaskId).getToken(), in moveActivityFullSplitFull()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt4182 method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo();
Dcurrent.txt4757 method public android.app.ActivityManager.RecentTaskInfo getTaskInfo();