Home
last modified time | relevance | path

Searched defs:foregroundTask (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/viewmodel/
DTaskSwitcherNotificationViewModelTest.kt64 val foregroundTask = createTask(taskId = 1) in uiState_notProjecting_foregroundTaskChanged_emitsNotShowing() constant
88 val foregroundTask = createTask(taskId = 1) in uiState_projectingEntireScreen_foregroundTaskChanged_emitsNotShowing() constant
102 val foregroundTask = createTask(taskId = 2) in uiState_projectingTask_foregroundTaskChanged_different_emitsShowing() constant
119 val foregroundTask = createTask(taskId = 2) in uiState_taskChanged_beforeDelayLimit_stillEmitsShowing() constant
137 val foregroundTask = createTask(taskId = 2) in uiState_taskChanged_afterDelayLimit_emitsNotShowing() constant
154 val foregroundTask = createTask(taskId = 2) in uiState_projectingTask_foregroundTaskChanged_thenTaskSwitched_emitsNotShowing() constant
171 val foregroundTask = createTask(taskId = 2) in uiState_projectingTask_foregroundTaskChanged_thenGoBack_emitsNotShowing() constant
203 val foregroundTask = createTask(taskId = 2, baseIntent = LAUNCHER_INTENT) in uiState_projectingTask_foregroundTaskChanged_different_taskIsLauncher_emitsNotShowing() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/
DTaskSwitchInteractorTest.kt52 val foregroundTask = createTask(taskId = 1) in taskSwitchChanges_notProjecting_foregroundTaskChange_emitsNotProjectingTask() constant
66 val foregroundTask = createTask(taskId = 1) in taskSwitchChanges_projectingScreen_foregroundTaskChange_emitsNotProjectingTask() constant
82 val foregroundTask = createTask(taskId = 1) in taskSwitchChanges_projectingTask_foregroundTaskDifferent_emitsTaskChanged() constant
104 val foregroundTask = createTask(taskId = 1) in taskSwitchChanges_projectingTask_foregroundTaskDifferent_thenSwitched_emitsUnchanged() constant
121 val foregroundTask = createTask(taskId = 1) in taskSwitchChanges_projectingTask_foregroundTaskDifferent_thenWentBack_emitsUnchanged() constant
138 val foregroundTask = createTask(taskId = 1, baseIntent = LAUNCHER_INTENT) in taskSwitchChanges_projectingTask_foregroundTaskLauncher_emitsTaskUnchanged() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
DTasksRepository.kt42 val foregroundTask: Flow<RunningTaskInfo> constant
DActivityTaskManagerTasksRepository.kt82 override val foregroundTask: Flow<RunningTaskInfo> = in <lambda>() constant in com.android.systemui.mediaprojection.taskswitcher.data.repository.ActivityTaskManagerTasksRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/model/
DTaskSwitcherNotificationUiState.kt28 val foregroundTask: RunningTaskInfo, constant in com.android.systemui.mediaprojection.taskswitcher.ui.model.TaskSwitcherNotificationUiState.Showing
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/domain/model/
DTaskSwitchState.kt30 val foregroundTask: RunningTaskInfo constant in com.android.systemui.mediaprojection.taskswitcher.domain.model.TaskSwitchState.TaskSwitched
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
DActivityTaskManagerTasksRepositoryTest.kt92 val foregroundTask by collectLastValue(repo.foregroundTask) in foregroundTask_returnsStreamOfTasksMovedToFront() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewControllerTest.kt166 val foregroundTask = task.copy(isForegroundTask = true) in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/
DTaskSwitcherNotificationCoordinatorTest.kt166 val foregroundTask = createTask(taskId = 2) in switchTask() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/
DTaskSwitchInteractor.kt62 tasksRepository.foregroundTask.map { foregroundTask -> in <lambda>() method