Home
last modified time | relevance | path

Searched refs:tutorialSettingState (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractorTest.kt119 val tutorialSettingState by in tutorialState_notStartedAndCommunalSceneShowing_tutorialStarted() constant
120 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_notStartedAndCommunalSceneShowing_tutorialStarted()
125 assertThat(tutorialSettingState).isEqualTo(HUB_MODE_TUTORIAL_STARTED) in tutorialState_notStartedAndCommunalSceneShowing_tutorialStarted()
131 val tutorialSettingState by in tutorialState_startedAndCommunalSceneShowing_stateWillNotUpdate() constant
132 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_startedAndCommunalSceneShowing_stateWillNotUpdate()
138 assertThat(tutorialSettingState).isEqualTo(HUB_MODE_TUTORIAL_STARTED) in tutorialState_startedAndCommunalSceneShowing_stateWillNotUpdate()
144 val tutorialSettingState by in tutorialState_completedAndCommunalSceneShowing_stateWillNotUpdate() constant
145 collectLastValue(communalTutorialRepository.tutorialSettingState) in tutorialState_completedAndCommunalSceneShowing_stateWillNotUpdate()
150 assertThat(tutorialSettingState).isEqualTo(HUB_MODE_TUTORIAL_COMPLETED) in tutorialState_completedAndCommunalSceneShowing_stateWillNotUpdate()
156 val tutorialSettingState by in tutorialState_notStartedAndCommunalSceneNotShowing_stateWillNotUpdate() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalTutorialRepositoryImplTest.kt78 val tutorialSettingState by collectLastValue(underTest.tutorialSettingState) in tutorialSettingState_defaultToNotStarted() constant
79 assertThat(tutorialSettingState) in tutorialSettingState_defaultToNotStarted()
87 val tutorialSettingState by collectLastValue(underTest.tutorialSettingState) in tutorialSettingState_whenTutorialSettingsUpdatedToStarted() constant
88 assertThat(tutorialSettingState).isEqualTo(Settings.Secure.HUB_MODE_TUTORIAL_STARTED) in tutorialSettingState_whenTutorialSettingsUpdatedToStarted()
95 val tutorialSettingState by collectLastValue(underTest.tutorialSettingState) in tutorialSettingState_whenTutorialSettingsUpdatedToCompleted() constant
96 assertThat(tutorialSettingState).isEqualTo(Settings.Secure.HUB_MODE_TUTORIAL_COMPLETED) in tutorialSettingState_whenTutorialSettingsUpdatedToCompleted()
106 val tutorialSettingState by collectLastValue(underTest.tutorialSettingState) in tutorialVersion_userCompletedCurrentVersion_stateCompleted() constant
107 assertThat(tutorialSettingState).isEqualTo(Settings.Secure.HUB_MODE_TUTORIAL_COMPLETED) in tutorialVersion_userCompletedCurrentVersion_stateCompleted()
117 val tutorialSettingState by collectLastValue(underTest.tutorialSettingState) in tutorialVersion_userCompletedPreviousVersion_stateNotStarted() constant
118 assertThat(tutorialSettingState) in tutorialVersion_userCompletedPreviousVersion_stateNotStarted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractor.kt62 communalTutorialRepository.tutorialSettingState, in <lambda>()
63 ) { isCommunalAvailable, isKeyguardVisible, tutorialSettingState -> in <lambda>() method
66 tutorialSettingState != Settings.Secure.HUB_MODE_TUTORIAL_COMPLETED in <lambda>()
88 communalTutorialRepository.tutorialSettingState in <lambda>()
89 .flatMapLatest { tutorialSettingState -> in <lambda>() method
90 if (tutorialSettingState == Settings.Secure.HUB_MODE_TUTORIAL_COMPLETED) { in <lambda>()
95 tutorialSettingState, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalTutorialRepository.kt56 val tutorialSettingState: StateFlow<Int> in <lambda>() constant
97 override val tutorialSettingState: StateFlow<Int> = constant
153 if (tutorialSettingState.value == state) { in setTutorialState()
177 override val tutorialSettingState: StateFlow<Int> = constant in CommunalTutorialDisabledRepositoryImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/
DFakeCommunalTutorialRepository.kt11 override val tutorialSettingState: StateFlow<Int> = _tutorialSettingState constant in com.android.systemui.communal.data.repository.FakeCommunalTutorialRepository