Home
last modified time | relevance | path

Searched refs:screenRecordState (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/domain/interactor/
DScreenRecordChipInteractorTest.kt48 val latest by collectLastValue(underTest.screenRecordState) in screenRecordState_doingNothingState_matches()
50 screenRecordRepo.screenRecordState.value = ScreenRecordModel.DoingNothing in screenRecordState_doingNothingState_matches()
58 val latest by collectLastValue(underTest.screenRecordState) in screenRecordState_startingState_matches()
60 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Starting(400) in screenRecordState_startingState_matches()
68 val latest by collectLastValue(underTest.screenRecordState) in screenRecordState_recordingState_matches()
70 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in screenRecordState_recordingState_matches()
78 val latest by collectLastValue(underTest.screenRecordState) in screenRecordState_projectionIsNotProjecting_recordedTaskNull()
80 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in screenRecordState_projectionIsNotProjecting_recordedTaskNull()
89 val latest by collectLastValue(underTest.screenRecordState) in screenRecordState_projectionIsEntireScreen_recordedTaskNull()
91 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in screenRecordState_projectionIsEntireScreen_recordedTaskNull()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipsViewModelTest.kt47 private val screenRecordState = kosmos.screenRecordRepository.screenRecordState constant
61 screenRecordState.value = ScreenRecordModel.DoingNothing in chip_allHidden_hidden()
73 screenRecordState.value = ScreenRecordModel.Recording in chip_screenRecordShow_restHidden_screenRecordShown()
85 screenRecordState.value = ScreenRecordModel.Recording in chip_screenRecordShowAndCallShow_screenRecordShown()
97 screenRecordState.value = ScreenRecordModel.Recording in chip_screenRecordShowAndShareToAppShow_screenRecordShown()
110 screenRecordState.value = ScreenRecordModel.DoingNothing in chip_shareToAppShowAndCallShow_shareToAppShown()
123 screenRecordState.value = ScreenRecordModel.DoingNothing in chip_screenRecordAndShareToAppAndCastToOtherHideAndCallShown_callShown()
140 screenRecordState.value = ScreenRecordModel.DoingNothing in chip_higherPriorityChipAdded_lowerPriorityChipReplaced()
157 screenRecordState.value = ScreenRecordModel.Recording in chip_higherPriorityChipAdded_lowerPriorityChipReplaced()
167 screenRecordState.value = ScreenRecordModel.Recording in chip_highestPriorityChipRemoved_showsNextPriorityChip()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/screenrecord/domain/interactor/
DScreenRecordChipInteractor.kt43 val screenRecordState: StateFlow<ScreenRecordChipModel> = in <lambda>() constant in com.android.systemui.statusbar.chips.screenrecord.domain.interactor.ScreenRecordChipInteractor
48 screenRecordRepository.screenRecordState, in <lambda>()
50 ) { screenRecordState, mediaProjectionState -> in <lambda>() method
51 when (screenRecordState) { in <lambda>()
55 ScreenRecordChipModel.Starting(screenRecordState.millisUntilStarted) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt84 screenRecordRepo.screenRecordState.value = ScreenRecordModel.DoingNothing in chip_doingNothingState_isHidden()
94 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Starting(400) in chip_startingState_isHidden()
104 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_recordingState_isShownWithIcon()
117 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_timeResetsOnEachNewRecording()
122 screenRecordRepo.screenRecordState.value = ScreenRecordModel.DoingNothing in chip_timeResetsOnEachNewRecording()
126 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_timeResetsOnEachNewRecording()
136 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_notProjecting_clickListenerShowsDialog()
156 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_projectingEntireScreen_clickListenerShowsDialog()
177 screenRecordRepo.screenRecordState.value = ScreenRecordModel.Recording in chip_projectingSingleTask_clickListenerShowsDialog()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileDataInteractorTest.kt72 screenRecordRepo.screenRecordState.value = expectedModelStartingIn1 in dataMatchesRepo()
75 screenRecordRepo.screenRecordState.value = isStarting0 in dataMatchesRepo()
78 screenRecordRepo.screenRecordState.value = isDoingNothing in dataMatchesRepo()
81 screenRecordRepo.screenRecordState.value = isRecording in dataMatchesRepo()
84 screenRecordRepo.screenRecordState.value = isDoingNothing in dataMatchesRepo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/data/repository/
DScreenRecordRepositoryTest.kt61 val lastModel by collectLastValue(underTest.screenRecordState) in dataMatchesController()
93 val lastModel by collectLastValue(underTest.screenRecordState) in data_whenRecording_matchesController()
105 val lastModel by collectLastValue(underTest.screenRecordState) in data_whenStarting_matchesController()
117 val lastModel by collectLastValue(underTest.screenRecordState) in data_whenRecordingAndStarting_matchesControllerRecording()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/data/repository/
DScreenRecordRepository.kt41 val screenRecordState: Flow<ScreenRecordModel> constant
55 override val screenRecordState: Flow<ScreenRecordModel> = in stopRecording() constant in com.android.systemui.screenrecord.data.repository.ScreenRecordRepositoryImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenrecord/data/repository/
DFakeScreenRecordRepository.kt23 override val screenRecordState: MutableStateFlow<ScreenRecordModel> = constant in com.android.systemui.screenrecord.data.repository.FakeScreenRecordRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileDataInteractor.kt38 ): Flow<ScreenRecordModel> = screenRecordRepository.screenRecordState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModel.kt53 interactor.screenRecordState in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DCollapsedStatusBarViewModelImplTest.kt412 kosmos.screenRecordRepository.screenRecordState.value = ScreenRecordModel.Recording in ongoingActivityChip_matchesViewModel()
416 kosmos.screenRecordRepository.screenRecordState.value = ScreenRecordModel.DoingNothing in ongoingActivityChip_matchesViewModel()