Home
last modified time | relevance | path

Searched refs:originalTaskId (Results 1 – 2 of 2) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java582 int originalTaskId = ActivityContext.getWithContext(activity -> { in startActivity_byIntent_sameTaskByDefault() local
592 assertThat(event.taskId()).isEqualTo(originalTaskId); in startActivity_byIntent_sameTaskByDefault()
601 int originalTaskId = ActivityContext.getWithContext(activity -> { in startMainActivity_byComponent_nullActivity_newTask() local
614 assertThat(event.taskId()).isNotEqualTo(originalTaskId); in startMainActivity_byComponent_nullActivity_newTask()
623 int originalTaskId = ActivityContext.getWithContext(activity -> { in startMainActivity_byComponent_setsActivity_sameTask() local
636 assertThat(event.taskId()).isEqualTo(originalTaskId); in startMainActivity_byComponent_setsActivity_sameTask()
645 int originalTaskId = ActivityContext.getWithContext(activity -> { in startNonMainActivity_byComponent_nullActivity_newTask() local
658 assertThat(event.taskId()).isNotEqualTo(originalTaskId); in startNonMainActivity_byComponent_nullActivity_newTask()
667 int originalTaskId = ActivityContext.getWithContext(activity -> { in startNonMainActivity_byComponent_setsActivity_sameTask() local
680 assertThat(event.taskId()).isEqualTo(originalTaskId); in startNonMainActivity_byComponent_setsActivity_sameTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1153 final int originalTaskId = in testPipFromTaskWithMultipleActivitiesAndRemoveOriginalTask() local
1155 removeRootTask(originalTaskId); in testPipFromTaskWithMultipleActivitiesAndRemoveOriginalTask()