Home
last modified time | relevance | path

Searched refs:interactor (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBouncerViewModel.kt22 import com.android.systemui.keyguard.domain.interactor.PrimaryBouncerInteractor in <lambda>()
35 private val interactor: PrimaryBouncerInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardBouncerViewModel
38 val bouncerExpansionAmount: Flow<Float> = interactor.panelExpansionAmount in <lambda>()
41 val isInteractable: Flow<Boolean> = interactor.isInteractable in <lambda>()
44 val isShowing: Flow<Boolean> = interactor.isShowing in <lambda>()
47 val startingToHide: Flow<Unit> = interactor.startingToHide in <lambda>()
50 val startDisappearAnimation: Flow<Runnable> = interactor.startingDisappearAnimation in <lambda>()
53 val keyguardPosition: Flow<Float> = interactor.keyguardPosition in <lambda>()
56 val updateResources: Flow<Boolean> = interactor.resourceUpdateRequests in <lambda>()
59 val bouncerShowMessage: Flow<BouncerShowMessageModel> = interactor.showMessage in <lambda>()
[all …]
DLightRevealScrimViewModel.kt19 import com.android.systemui.keyguard.domain.interactor.LightRevealScrimInteractor
28 class LightRevealScrimViewModel @Inject constructor(interactor: LightRevealScrimInteractor) {
29 val lightRevealEffect: Flow<LightRevealEffect> = interactor.lightRevealEffect
30 val revealAmount: Flow<Float> = interactor.revealAmount
DKeyguardLongPressViewModel.kt23 import com.android.systemui.keyguard.domain.interactor.KeyguardLongPressInteractor in <lambda>()
32 private val interactor: KeyguardLongPressInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardLongPressViewModel
36 val isLongPressHandlingEnabled: Flow<Boolean> = interactor.isLongPressHandlingEnabled in <lambda>()
40 interactor.menu.map { model -> in <lambda>()
64 interactor.onLongPress( in <lambda>()
DPrimaryBouncerToGoneTransitionViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.FromPrimaryBouncerTransitionInteractor.Compa…
22 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor
23 import com.android.systemui.keyguard.domain.interactor.PrimaryBouncerInteractor
40 private val interactor: KeyguardTransitionInteractor, constant in com.android.systemui.keyguard.ui.viewmodel.PrimaryBouncerToGoneTransitionViewModel
47 transitionFlow = interactor.primaryBouncerToGoneTransition,
DGoneToDreamingTransitionViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.FromGoneTransitionInteractor.Companion.TO_DR…
22 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor
33 private val interactor: KeyguardTransitionInteractor, constant in com.android.systemui.keyguard.ui.viewmodel.GoneToDreamingTransitionViewModel
39 transitionFlow = interactor.goneToDreamingTransition,
DLockscreenToOccludedTransitionViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.FromLockscreenTransitionInteractor.Companion… in <lambda>()
22 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor in <lambda>()
36 private val interactor: KeyguardTransitionInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.LockscreenToOccludedTransitionViewModel
41 transitionFlow = interactor.lockscreenToOccludedTransition, in <lambda>()
DOccludedToLockscreenTransitionViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.FromOccludedTransitionInteractor.Companion.T… in <lambda>()
22 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor in <lambda>()
36 private val interactor: KeyguardTransitionInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.OccludedToLockscreenTransitionViewModel
41 transitionFlow = interactor.occludedToLockscreenTransition, in <lambda>()
DLockscreenToDreamingTransitionViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.FromLockscreenTransitionInteractor.Companion…
22 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor
36 private val interactor: KeyguardTransitionInteractor, constant in com.android.systemui.keyguard.ui.viewmodel.LockscreenToDreamingTransitionViewModel
41 transitionFlow = interactor.lockscreenToDreamingTransition,
DDreamingToLockscreenTransitionViewModel.kt22 import com.android.systemui.keyguard.domain.interactor.FromDreamingTransitionInteractor.Companion.T… in <lambda>()
23 import com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor in <lambda>()
37 private val interactor: KeyguardTransitionInteractor, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.DreamingToLockscreenTransitionViewModel
42 transitionFlow = interactor.dreamingToLockscreenTransition, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt28 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
29 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
53 private lateinit var interactor: FakeMobileIconInteractor variable in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconViewModelTest
74 interactor = FakeMobileIconInteractor(tableLogBuffer) in setUp()
75 interactor.apply { in setUp()
109 interactor.isForceHidden.value = false in isVisible_notAirplane_notForceHidden_true()
123 interactor.isForceHidden.value = false in isVisible_airplane_false()
137 interactor.isForceHidden.value = true in isVisible_forceHidden_false()
151 interactor.isForceHidden.value = false in isVisible_respondsToUpdates()
161 interactor.isForceHidden.value = true in isVisible_respondsToUpdates()
[all …]
DLocationBasedMobileIconViewModelTest.kt25 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
26 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
52 private lateinit var interactor: FakeMobileIconInteractor variable in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.LocationBasedMobileIconViewModelTest
69 interactor = FakeMobileIconInteractor(tableLogBuffer) in setUp()
70 interactor.apply { in setUp()
82 interactor, in setUp()
111 interactor.setLevel(2) in location based view models receive same icon id when common impl updates()
DMobileIconsViewModelTest.kt24 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor in <lambda>()
26 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconsInteractor in <lambda>()
51 private val interactor = FakeMobileIconsInteractor(FakeMobileMappingsProxy(), mock()) in <lambda>() constant
73 interactor.filteredSubscriptions in <lambda>()
82 interactor, in <lambda>()
89 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in <lambda>()
113 interactor.filteredSubscriptions.value = listOf(SUB_2) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/viewmodel/
DStatusBarUserChipViewModel.kt25 import com.android.systemui.user.domain.interactor.UserInteractor in <lambda>()
37 interactor: UserInteractor, in <lambda>()
40 val chipEnabled: Boolean = interactor.isStatusBarUserChipEnabled in <lambda>()
47 interactor.users.mapLatest { users -> users.size > 1 } in <lambda>()
51 val userName: Flow<Text> = interactor.selectedUser.mapLatest { userModel -> userModel.name } in <lambda>()
55 interactor.selectedUser.mapLatest { userModel -> userModel.image } in <lambda>()
58 val onClick: (Expandable) -> Unit = { interactor.showUserSwitcher(it) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModel.kt24 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
25 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.MobileIconsInteractor
46 private val interactor: MobileIconsInteractor, constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconsViewModel
63 interactor.createMobileConnectionInteractorForSubId(subId), in viewModelForSub()
89 private val interactor: MobileIconsInteractor, constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconsViewModel.Factory
100 interactor, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionAuditLogger.kt17 package com.android.systemui.keyguard.domain.interactor
35 private val interactor: KeyguardTransitionInteractor, constant in com.android.systemui.keyguard.domain.interactor.KeyguardTransitionAuditLogger
76 interactor.finishedKeyguardTransitionStep.collect { in start()
82 interactor.canceledKeyguardTransitionStep.collect { in start()
88 interactor.startedKeyguardTransitionStep.collect { in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModel.kt23 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor in <lambda>()
49 interactor: AirplaneModeInteractor,
54 combine(interactor.isAirplaneMode, interactor.isForceHidden) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModel.kt38 import com.android.systemui.statusbar.pipeline.wifi.domain.interactor.WifiInteractor in <lambda>()
71 interactor: WifiInteractor, in <lambda>()
112 interactor.isEnabled, in <lambda>()
113 interactor.isDefault, in <lambda>()
114 interactor.isForceHidden, in <lambda>()
115 interactor.wifiNetwork, in <lambda>()
149 combine(interactor.activity, interactor.ssid) { activity, ssid -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DUserSwitcherDialogCoordinator.kt36 import com.android.systemui.user.domain.interactor.UserInteractor in <lambda>()
56 private val interactor: Lazy<UserInteractor>, in <lambda>() constant in com.android.systemui.user.ui.dialog.UserSwitcherDialogCoordinator
73 interactor.get().dialogShowRequests.filterNotNull().collect { request -> in <lambda>()
153 interactor.get().onDialogShown() in <lambda>()
160 interactor.get().dialogDismissRequests.filterNotNull().collect { in <lambda>()
167 interactor.get().onDialogDismissed() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt35 import com.android.systemui.keyguard.domain.interactor.KeyguardQuickAffordanceInteractor in <lambda>()
45 @Inject lateinit var interactor: KeyguardQuickAffordanceInteractor in <lambda>() variable in com.android.systemui.keyguard.CustomizationProvider
235 interactor.select( in <lambda>()
261 val affordanceRepresentationsBySlotId = interactor.getSelections() in <lambda>()
294 interactor.getAffordancePickerRepresentations().forEach { representation -> in <lambda>()
322 interactor.getSlotPickerRepresentations().forEach { representation -> in <lambda>()
341 interactor.getPickerFlags().forEach { flag -> in <lambda>()
378 interactor.unselect( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/viewmodel/
DBacklightDialogViewModel.kt22 import com.android.systemui.keyboard.backlight.domain.interactor.KeyboardBacklightInteractor
40 interactor: KeyboardBacklightInteractor,
54 interactor.backlight
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModelImplTest.kt23 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
48 private lateinit var interactor: AirplaneModeInteractor variable in com.android.systemui.statusbar.pipeline.airplane.ui.viewmodel.AirplaneModeViewModelImplTest
56 interactor = AirplaneModeInteractor(airplaneModeRepository, connectivityRepository) in setUp()
61 interactor, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DStatusBarUserChipViewModelTest.kt37 import com.android.systemui.keyguard.domain.interactor.KeyguardInteractor in <lambda>()
42 import com.android.systemui.telephony.domain.interactor.TelephonyInteractor in <lambda>()
45 import com.android.systemui.user.domain.interactor.GuestUserInteractor in <lambda>()
46 import com.android.systemui.user.domain.interactor.HeadlessSystemUserMode in <lambda>()
47 import com.android.systemui.user.domain.interactor.RefreshUsersScheduler in <lambda>()
48 import com.android.systemui.user.domain.interactor.UserInteractor in <lambda>()
247 interactor = in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
DModernStatusBarWifiViewTest.kt35 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
41 import com.android.systemui.statusbar.pipeline.wifi.domain.interactor.WifiInteractor
42 import com.android.systemui.statusbar.pipeline.wifi.domain.interactor.WifiInteractorImpl
71 private lateinit var interactor: WifiInteractor variable in com.android.systemui.statusbar.pipeline.wifi.ui.view.ModernStatusBarWifiViewTest
85 interactor = WifiInteractorImpl(connectivityRepository, wifiRepository) in setUp()
102 interactor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/
DMobileUiAdapter.kt24 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.MobileIconsInteractor in <lambda>()
54 interactor: MobileIconsInteractor, in <lambda>()
62 interactor.filteredSubscriptions.mapLatest { subscriptions -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/dagger/
DFooterActionsModule.kt23 import com.android.systemui.qs.footer.domain.interactor.FooterActionsInteractor
24 import com.android.systemui.qs.footer.domain.interactor.FooterActionsInteractorImpl

1234567