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.java714 final int taskId2 = mWmState.getTaskByActivity(DOCUMENT_INTO_EXISTING_ACTIVITY).getTaskId(); in testActivityWithDocumentIntoExisting() local
715 assertEquals("Activity must be in the same task.", taskId, taskId2); in testActivityWithDocumentIntoExisting()
717 mWmState.getActivityCountInTask(taskId2, null)); in testActivityWithDocumentIntoExisting()
739 final int taskId2 = mWmState.getTaskByActivity(TEST_LAUNCHING_ACTIVITY).getTaskId(); in testActivityWithRelinquishTaskIdentity() local
742 assertEquals("Activity must be in the same task.", taskId, taskId2); in testActivityWithRelinquishTaskIdentity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java587 final int taskId2 = mWmState.getTaskByActivity(LAUNCHING_ACTIVITY).getTaskId(); in testDisallowReOrderOperationWhenInLockedTask() local
589 assertNotEquals("Activity must be in different task.", taskId, taskId2); in testDisallowReOrderOperationWhenInLockedTask()
602 mTaskOrganizer.getTaskInfo(taskId2).getToken(); in testDisallowReOrderOperationWhenInLockedTask()
612 waitForOrFail("Fail to reorder", () -> (topTask.getTaskId() == taskId2)); in testDisallowReOrderOperationWhenInLockedTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java1026 final int taskId2 = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay() local
1027 assertEquals("Activity must be in the same task.", taskId, taskId2); in testLaunchActivitySingleTopOnNewDisplay()
1029 mWmState.getActivityCountInTask(taskId2, null)); in testLaunchActivitySingleTopOnNewDisplay()
1058 final int taskId2 = mWmState.getTaskByActivity(NO_HISTORY_ACTIVITY2).getTaskId(); in testLaunchNoHistoryActivityOnNewDisplay() local
1063 assertNotEquals("Activity must not be in the same task.", taskId, taskId2); in testLaunchNoHistoryActivityOnNewDisplay()
1065 mWmState.getActivityCountInTask(taskId2, NO_HISTORY_ACTIVITY2)); in testLaunchNoHistoryActivityOnNewDisplay()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java198 final int taskId2 = activity2.getTaskId(); in testLaunchAnotherActivity_onTopOfIt() local
212 .activityResumed(name2, taskId2) in testLaunchAnotherActivity_onTopOfIt()
213 .activityPaused(name2, taskId2) in testLaunchAnotherActivity_onTopOfIt()