Home
last modified time | relevance | path

Searched refs:taskId2 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java720 final int taskId2 = mWmState.getTaskByActivity(DOCUMENT_INTO_EXISTING_ACTIVITY).getTaskId(); in testActivityWithDocumentIntoExisting() local
721 assertEquals("Activity must be in the same task.", taskId, taskId2); in testActivityWithDocumentIntoExisting()
723 mWmState.getActivityCountInTask(taskId2, null)); in testActivityWithDocumentIntoExisting()
745 final int taskId2 = mWmState.getTaskByActivity(TEST_LAUNCHING_ACTIVITY).getTaskId(); in testActivityWithRelinquishTaskIdentity() local
748 assertEquals("Activity must be in the same task.", taskId, taskId2); in testActivityWithRelinquishTaskIdentity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java588 final int taskId2 = mWmState.getTaskByActivity(LAUNCHING_ACTIVITY).getTaskId(); in testDisallowReOrderOperationWhenInLockedTask() local
590 assertNotEquals("Activity must be in different task.", taskId, taskId2); in testDisallowReOrderOperationWhenInLockedTask()
603 mTaskOrganizer.getTaskInfo(taskId2).getToken(); in testDisallowReOrderOperationWhenInLockedTask()
613 waitForOrFail("Fail to reorder", () -> (topTask.getTaskId() == taskId2)); in testDisallowReOrderOperationWhenInLockedTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java1041 final int taskId2 = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay() local
1042 assertEquals("Activity must be in the same task.", taskId, taskId2); in testLaunchActivitySingleTopOnNewDisplay()
1044 mWmState.getActivityCountInTask(taskId2, null)); in testLaunchActivitySingleTopOnNewDisplay()
1073 final int taskId2 = mWmState.getTaskByActivity(NO_HISTORY_ACTIVITY2).getTaskId(); in testLaunchNoHistoryActivityOnNewDisplay() local
1078 assertNotEquals("Activity must not be in the same task.", taskId, taskId2); in testLaunchNoHistoryActivityOnNewDisplay()
1080 mWmState.getActivityCountInTask(taskId2, NO_HISTORY_ACTIVITY2)); in testLaunchNoHistoryActivityOnNewDisplay()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java210 final int taskId2 = activity2.getTaskId(); in testLaunchAnotherActivity_onTopOfIt() local
224 .activityResumed(name2, taskId2) in testLaunchAnotherActivity_onTopOfIt()
225 .activityPaused(name2, taskId2) in testLaunchAnotherActivity_onTopOfIt()