Searched refs:isOnlyActiveTask (Results 1 – 3 of 3) sorted by relevance
124 assertThat(repo.isOnlyActiveTask(1)).isFalse() in isOnlyActiveTask_noActiveTasks()132 assertThat(repo.isOnlyActiveTask(1)).isTrue() in isOnlyActiveTask_singleActiveTask()135 assertThat(repo.isOnlyActiveTask(99)).isFalse() in isOnlyActiveTask_singleActiveTask()144 assertThat(repo.isOnlyActiveTask(1)).isFalse() in isOnlyActiveTask_multipleActiveTasks()147 assertThat(repo.isOnlyActiveTask(2)).isFalse() in isOnlyActiveTask_multipleActiveTasks()150 assertThat(repo.isOnlyActiveTask(99)).isFalse() in isOnlyActiveTask_multipleActiveTasks()160 assertThat(repo.isOnlyActiveTask(1)).isFalse() in isOnlyActiveTask_multipleDisplays()163 assertThat(repo.isOnlyActiveTask(2)).isFalse() in isOnlyActiveTask_multipleDisplays()166 assertThat(repo.isOnlyActiveTask(3)).isTrue() in isOnlyActiveTask_multipleDisplays()169 assertThat(repo.isOnlyActiveTask(99)).isFalse() in isOnlyActiveTask_multipleDisplays()
194 fun isOnlyActiveTask(taskId: Int): Boolean { in <lambda>() method in com.android.wm.shell.desktopmode.DesktopModeTaskRepository
448 if (desktopModeTaskRepository.isOnlyActiveTask(taskId)) { in <lambda>()958 desktopModeTaskRepository.isOnlyActiveTask(task.taskId) in <lambda>()1030 desktopModeTaskRepository.isOnlyActiveTask(task.taskId) && in <lambda>()