Home
last modified time | relevance | path

Searched refs:communalInteractor (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/log/
DCommunalLoggerStartableTest.kt26 import com.android.systemui.communal.domain.interactor.communalInteractor
56 private lateinit var communalInteractor: CommunalInteractor variable in com.android.systemui.communal.log.CommunalLoggerStartableTest
62 communalInteractor = kosmos.communalInteractor in setUp()
67 communalInteractor, in setUp()
79 communalInteractor.setTransitionState(transitionState) in transitionStateLogging_enterCommunalHub()
107 communalInteractor.setTransitionState(transitionState) in transitionStateLogging_enterCommunalHub_canceled()
138 communalInteractor.setTransitionState(transitionState) in transitionStateLogging_exitCommunalHub()
166 communalInteractor.setTransitionState(transitionState) in transitionStateLogging_exitCommunalHub_canceled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalAppWidgetHostStartable.kt43 private val communalInteractor: CommunalInteractor, in <lambda>() constant in com.android.systemui.communal.widgets.CommunalAppWidgetHostStartable
50 anyOf(communalInteractor.isCommunalAvailable, communalInteractor.editModeOpen) in <lambda>()
55 .sample(communalInteractor.communalWidgets, ::Pair) in <lambda>()
66 .onEach { appWidgetId -> communalInteractor.deleteWidget(id = appWidgetId) } in <lambda>()
98 .onEach { widget -> communalInteractor.deleteWidget(id = widget.appWidgetId) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalBackupRestoreStartableTest.kt51 @Mock private lateinit var communalInteractor: CommunalInteractor variable in com.android.systemui.communal.CommunalBackupRestoreStartableTest
69 communalInteractor, in setup()
80 verify(communalInteractor, never()).restoreWidgets(any()) in testRestoreWidgetsUponHostRestored()
96 verify(communalInteractor).restoreWidgets(mapCaptor.capture()) in testRestoreWidgetsUponHostRestored()
125 verify(communalInteractor, never()).restoreWidgets(any()) in testDoNotRestoreWidgetsIfNotForCommunalWidgetHost()
149 verify(communalInteractor).abortRestoreWidgets() in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid()
150 verify(communalInteractor, never()).restoreWidgets(any()) in testAbortRestoreWidgetsIfOldToNewIdsMappingInvalid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalEditModeViewModel.kt63 private val communalInteractor: CommunalInteractor, in <lambda>() constant
70 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
86 communalInteractor.editModeOpen in <lambda>()
92 communalInteractor.widgetContent.onEach { models -> in <lambda>()
101 override fun onDeleteWidget(id: Int) = communalInteractor.deleteWidget(id) in <lambda>()
104 communalInteractor.updateWidgetOrder(widgetIdToPriorityMap) in <lambda>()
123 val isIdleOnCommunal: StateFlow<Boolean> = communalInteractor.isIdleOnCommunal in <lambda>()
132 val widgets = communalInteractor.widgetContent.first() in <lambda>()
194 fun setEditModeOpen(isOpen: Boolean) = communalInteractor.setEditModeOpen(isOpen) in <lambda>()
DCommunalViewModel.kt80 private val communalInteractor: CommunalInteractor, in <lambda>() constant
86 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
110 return@flatMapLatest flowOf(communalInteractor.tutorialContent) in <lambda>()
113 _isMediaHostVisible.flatMapLatest { communalInteractor.getOngoingContent(it) } in <lambda>()
116 communalInteractor.widgetContent, in <lambda>()
117 communalInteractor.ctaTileContent, in <lambda>()
161 communalInteractor.widgetContent in <lambda>()
174 communalInteractor.isIdleOnCommunal, in <lambda>()
223 ) = communalInteractor.showWidgetEditor(preselectedKey, shouldOpenWidgetPickerOnStart) in <lambda>()
227 communalInteractor.dismissCtaTile() in <lambda>()
[all …]
DBaseCommunalViewModel.kt39 private val communalInteractor: CommunalInteractor, constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
63 communalInteractor.signalUserInteraction() in signalUserInteraction()
90 communalInteractor.addWidget(componentName, user, priority, configurator) in onAddWidget()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DGlanceableHubTransitionsKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
28 communalInteractor = communalInteractor, in <lambda>()
DFromOccludedTransitionInteractorKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
37 communalInteractor = communalInteractor, in <lambda>()
DFromDozingTransitionInteractorKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
37 communalInteractor = communalInteractor, in <lambda>()
DFromAlternateBouncerTransitionInteractorKosmos.kt20 import com.android.systemui.communal.domain.interactor.communalInteractor
39 communalInteractor = communalInteractor, in <lambda>()
DFromPrimaryBouncerTransitionInteractorKosmos.kt20 import com.android.systemui.communal.domain.interactor.communalInteractor
38 communalInteractor = communalInteractor, in <lambda>()
DFromGoneTransitionInteractorKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
39 communalInteractor = communalInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromOccludedTransitionInteractor.kt50 private val communalInteractor: CommunalInteractor, in <lambda>() constant
94 communalInteractor.isIdleOnCommunal, in <lambda>()
95 communalInteractor.showCommunalFromOccluded, in <lambda>()
96 communalInteractor.dreamFromOccluded, in <lambda>()
111 communalInteractor.isIdleOnCommunal, in <lambda>()
112 communalInteractor.showCommunalFromOccluded, in <lambda>()
113 communalInteractor.dreamFromOccluded, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModelKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
27 communalInteractor = communalInteractor, in <lambda>()
DKeyguardRootViewModelKosmos.kt20 import com.android.systemui.communal.domain.interactor.communalInteractor
39 communalInteractor = communalInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractorTest.kt53 private lateinit var communalInteractor: CommunalInteractor variable in com.android.systemui.communal.domain.interactor.CommunalTutorialInteractorTest
60 communalInteractor = kosmos.communalInteractor in setUp()
161 communalInteractor.changeScene(CommunalScenes.Blank) in tutorialState_notStartedAndCommunalSceneNotShowing_stateWillNotUpdate()
174 communalInteractor.changeScene(CommunalScenes.Blank) in tutorialState_startedAndCommunalSceneNotShowing_tutorialCompleted()
187 communalInteractor.changeScene(CommunalScenes.Blank) in tutorialState_completedAndCommunalSceneNotShowing_stateWillNotUpdate()
194 communalInteractor.changeScene(CommunalScenes.Communal) in goToCommunal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModel.kt34 private val communalInteractor: CommunalInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.AccessibilityActionsViewModel
38 val isCommunalAvailable = communalInteractor.isCommunalAvailable in <lambda>()
53 fun openCommunalHub() = communalInteractor.changeScene(CommunalScenes.Communal) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/ui/viewmodel/
DCommunalTransitionViewModelKosmos.kt19 import com.android.systemui.communal.domain.interactor.communalInteractor
42 communalInteractor = communalInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalBackupRestoreStartable.kt39 private val communalInteractor: CommunalInteractor, constant in com.android.systemui.communal.CommunalBackupRestoreStartable
72 communalInteractor.abortRestoreWidgets() in onReceive()
77 communalInteractor.restoreWidgets(oldToNewWidgetIdMap) in onReceive()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DCommunalAppWidgetHostStartableTest.kt29 import com.android.systemui.communal.domain.interactor.communalInteractor
84 kosmos.communalInteractor, in setUp()
96 communalInteractor.setEditModeOpen(true) in editModeShowingStartsAppWidgetHost()
105 communalInteractor.setEditModeOpen(false) in editModeShowingStartsAppWidgetHost()
117 communalInteractor.setEditModeOpen(false) in communalShowingStartsAppWidgetHost()
138 communalInteractor.setEditModeOpen(false) in communalAndEditModeNotShowingNeverStartListening()
153 communalInteractor.setEditModeOpen(false) in observeHostWhenCommunalIsAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/view/layout/sections/
DCommunalTutorialIndicatorSection.kt45 private val communalInteractor: CommunalInteractor, constant in com.android.systemui.communal.ui.view.layout.sections.CommunalTutorialIndicatorSection
50 if (!communalInteractor.isCommunalEnabled.value) { in addViews()
82 if (!communalInteractor.isCommunalEnabled.value) { in bindData()
93 if (!communalInteractor.isCommunalEnabled.value) { in applyConstraints()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractorKosmos.kt31 communalInteractor = communalInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/log/
DCommunalLoggerStartable.kt43 private val communalInteractor: CommunalInteractor, in <lambda>() constant in com.android.systemui.communal.log.CommunalLoggerStartable
48 communalInteractor.transitionState in <lambda>()
63 communalInteractor.transitionState in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractor.kt54 communalInteractor: CommunalInteractor, in <lambda>()
60 communalInteractor.isCommunalAvailable, in <lambda>()
93 communalInteractor.isCommunalShowing.map { isCommunalShowing -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ui/viewmodel/
DDreamViewModel.kt54 private val communalInteractor: CommunalInteractor, in <lambda>() constant
62 communalInteractor.isCommunalEnabled.value && in <lambda>()
65 communalInteractor.changeScene(CommunalScenes.Communal) in <lambda>()

123