Home
last modified time | relevance | path

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

12345678910>>...56

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DKeyguardBouncerViewModel.kt20 import com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractor in <lambda>()
35 private val interactor: PrimaryBouncerInteractor, in <lambda>() constant in com.android.systemui.bouncer.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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModelTest.kt29 import com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
32 import com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconsInteractor
62 private val interactor = FakeMobileIconsInteractor(FakeMobileMappingsProxy(), mock()) constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconsViewModelTest
89 interactor, in setUp()
96 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in setUp()
105 interactor.filteredSubscriptions.value = in subscriptionIdsFlow_matchesInteractor()
116 interactor.filteredSubscriptions.value = in subscriptionIdsFlow_matchesInteractor()
139 interactor.filteredSubscriptions.value = emptyList() in subscriptionIdsFlow_matchesInteractor()
165 interactor.filteredSubscriptions.value = listOf(SUB_2) in caching_invalidViewModelsAreRemovedFromCacheWhenSubDisappears()
186 interactor.filteredSubscriptions.value = listOf(SUB_2) in caching_invalidatedViewModelsAreCanceled()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemInteractorTest.kt76 private lateinit var interactor: DeviceItemInteractor in <lambda>() variable in com.android.systemui.bluetooth.qsdialog.DeviceItemInteractorTest
86 interactor = in <lambda>()
111 interactor.setDeviceItemFactoryListForTesting( in <lambda>()
115 val latest by collectLastValue(interactor.deviceItemUpdate) in <lambda>()
116 interactor.updateDeviceItems(mContext, DeviceFetchTrigger.FIRST_LOAD) in <lambda>()
126 interactor.setDeviceItemFactoryListForTesting( in <lambda>()
130 val latest by collectLastValue(interactor.deviceItemUpdate) in <lambda>()
131 interactor.updateDeviceItems(mContext, DeviceFetchTrigger.FIRST_LOAD) in <lambda>()
141 interactor.setDeviceItemFactoryListForTesting( in <lambda>()
145 val latest by collectLastValue(interactor.deviceItemUpdate) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractorImplTest.kt17 package com.android.systemui.biometrics.domain.interactor in <lambda>()
84 private lateinit var interactor: PromptSelectorInteractor in <lambda>() variable in com.android.systemui.biometrics.domain.interactor.PromptSelectorInteractorImplTest
98 interactor = in <lambda>()
164 val currentPrompt by collectLastValue(interactor.prompt) in <lambda>()
165 val promptKind by collectLastValue(interactor.promptKind) in <lambda>()
166 val isCredentialAllowed by collectLastValue(interactor.isCredentialAllowed) in <lambda>()
167 val credentialKind by collectLastValue(interactor.credentialKind) in <lambda>()
168 val isConfirmationRequired by collectLastValue(interactor.isConfirmationRequired) in <lambda>()
172 interactor.setPrompt( in <lambda>()
206 interactor.resetPrompt(REQUEST_ID) in <lambda>()
[all …]
DPromptCredentialInteractorTest.kt1 package com.android.systemui.biometrics.domain.interactor in <lambda>()
53 private lateinit var interactor: PromptCredentialInteractor in <lambda>() variable in com.android.systemui.biometrics.domain.interactor.PromptCredentialInteractorTest
57 interactor = in <lambda>()
68 val showing by collectLastValue(interactor.isShowing) in <lambda>()
80 val error by collectLastValue(interactor.verificationError) in <lambda>()
83 interactor.setVerificationError(error(msg)) in <lambda>()
87 interactor.resetVerificationError() in <lambda>()
94 val prompt by collectLastValue(interactor.prompt) in <lambda>()
106 val showTitleOnly by collectLastValue(interactor.showTitleOnly) in <lambda>()
108 interactor.useCredentialsForAuthentication( in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/
DBiometricsDomainLayerModule.kt18 import com.android.systemui.biometrics.domain.interactor.BiometricStatusInteractor
19 import com.android.systemui.biometrics.domain.interactor.BiometricStatusInteractorImpl
20 import com.android.systemui.biometrics.domain.interactor.CredentialInteractor
21 import com.android.systemui.biometrics.domain.interactor.CredentialInteractorImpl
22 import com.android.systemui.biometrics.domain.interactor.DisplayStateInteractor
23 import com.android.systemui.biometrics.domain.interactor.DisplayStateInteractorImpl
24 import com.android.systemui.biometrics.domain.interactor.LogContextInteractor
25 import com.android.systemui.biometrics.domain.interactor.LogContextInteractorImpl
26 import com.android.systemui.biometrics.domain.interactor.PromptSelectorInteractor
27 import com.android.systemui.biometrics.domain.interactor.PromptSelectorInteractorImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationsPlaceholderViewModel.kt23 import com.android.systemui.keyguard.domain.interactor.KeyguardInteractor
25 import com.android.systemui.shade.domain.interactor.ShadeInteractor
26 import com.android.systemui.statusbar.notification.stack.domain.interactor.NotificationStackAppeara…
42 private val interactor: NotificationStackAppearanceInteractor, constant
55 interactor.setShadeScrimBounds(bounds) in onScrimBoundsChanged()
60 interactor.setConstrainedAvailableSpace(height) in onConstrainedAvailableSpaceChanged()
65 interactor.setAlphaForBrightnessMirror(alpha) in setAlphaForBrightnessMirror()
70 interactor.shadeScrimRounding.dumpWhileCollecting("shadeScrimRounding")
84 interactor.syntheticScroll.dumpWhileCollecting("syntheticScroll")
91 interactor.isCurrentGestureOverscroll.dumpWhileCollecting("isCurrentGestureOverScroll")
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/domain/interactor/
DSceneContainerStartableKosmos.kt17 package com.android.systemui.scene.domain.interactor
20 import com.android.systemui.authentication.domain.interactor.authenticationInteractor
21 import com.android.systemui.bouncer.domain.interactor.bouncerInteractor
22 import com.android.systemui.bouncer.domain.interactor.simBouncerInteractor
25 import com.android.systemui.deviceentry.domain.interactor.deviceEntryFaceAuthInteractor
26 import com.android.systemui.deviceentry.domain.interactor.deviceEntryInteractor
27 import com.android.systemui.deviceentry.domain.interactor.deviceUnlockedInteractor
28 import com.android.systemui.keyguard.domain.interactor.keyguardInteractor
29 import com.android.systemui.keyguard.domain.interactor.windowManagerLockscreenVisibilityInteractor
34 import com.android.systemui.power.domain.interactor.powerInteractor
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DKosmosJavaAdapter.kt26 import com.android.systemui.bouncer.domain.interactor.simBouncerInteractor
29 import com.android.systemui.common.ui.domain.interactor.configurationInteractor
31 import com.android.systemui.communal.domain.interactor.communalInteractor
32 import com.android.systemui.communal.domain.interactor.communalSceneInteractor
35 import com.android.systemui.deviceentry.domain.interactor.deviceEntryInteractor
36 import com.android.systemui.deviceentry.domain.interactor.deviceEntryUdfpsInteractor
37 import com.android.systemui.deviceentry.domain.interactor.deviceUnlockedInteractor
38 import com.android.systemui.globalactions.domain.interactor.globalActionsInteractor
43 import com.android.systemui.keyguard.domain.interactor.fromGoneTransitionInteractor
44 import com.android.systemui.keyguard.domain.interactor.fromLockscreenTransitionInteractor
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardDismissActionBinder.kt22 import com.android.systemui.keyguard.domain.interactor.KeyguardDismissActionInteractor
37 private val interactor: KeyguardDismissActionInteractor, constant in com.android.systemui.keyguard.ui.binder.KeyguardDismissActionBinder
48 interactor.executeDismissAction.collect { in start()
50 interactor.setKeyguardDone(it()) in start()
51 interactor.handleDismissAction() in start()
56 interactor.resetDismissAction.sample(interactor.onCancel).collect { in start()
59 interactor.handleDismissAction() in start()
63 scope.launch { interactor.dismissAction.collect { log("updatedDismissAction=$it") } } in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeModule.kt30 import com.android.systemui.shade.domain.interactor.BaseShadeInteractor
31 import com.android.systemui.shade.domain.interactor.PanelExpansionInteractor
32 import com.android.systemui.shade.domain.interactor.PanelExpansionInteractorImpl
33 import com.android.systemui.shade.domain.interactor.ShadeAnimationInteractor
34 import com.android.systemui.shade.domain.interactor.ShadeAnimationInteractorLegacyImpl
35 import com.android.systemui.shade.domain.interactor.ShadeAnimationInteractorSceneContainerImpl
36 import com.android.systemui.shade.domain.interactor.ShadeBackActionInteractor
37 import com.android.systemui.shade.domain.interactor.ShadeBackActionInteractorImpl
38 import com.android.systemui.shade.domain.interactor.ShadeInteractor
39 import com.android.systemui.shade.domain.interactor.ShadeInteractorImpl
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSHostAdapter.kt28 import com.android.systemui.qs.pipeline.domain.interactor.CurrentTilesInteractor
51 private val interactor: CurrentTilesInteractor, constant in com.android.systemui.qs.QSHostAdapter
70 dumpManager.registerCriticalDumpable(TAG, if (useNewHost) interactor else qsTileHost)
75 interactor.currentQSTiles in getTiles()
83 interactor.currentTilesSpecs.map { it.spec } in getSpecs()
91 interactor.removeTiles(listOf(TileSpec.create(spec))) in removeTile()
99 val job = scope.launch { interactor.currentTiles.collect { callback.onTilesChanged() } } in addCallback()
116 interactor.removeTiles(specs.map(TileSpec::create)) in removeTiles()
124 interactor.removeTiles(listOf(TileSpec.create(component))) in removeTileByUser()
132 interactor.addTile(TileSpec.create(spec), position) in addTile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DWindowManagerLockscreenVisibilityViewModel.kt20 import com.android.systemui.keyguard.domain.interactor.WindowManagerLockscreenVisibilityInteractor
26 constructor(interactor: WindowManagerLockscreenVisibilityInteractor) {
27 val surfaceBehindVisibility = interactor.surfaceBehindVisibility
28 val surfaceBehindAnimating = interactor.usingKeyguardGoingAwayAnimation
29 val lockscreenVisibility = interactor.lockscreenVisibility
30 val aodVisibility = interactor.aodVisibility
DKeyguardSettingsMenuViewModel.kt23 import com.android.systemui.keyguard.domain.interactor.KeyguardLongPressInteractor
31 private val interactor: KeyguardLongPressInteractor, constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardSettingsMenuViewModel
33 val isVisible: Flow<Boolean> = interactor.isMenuVisible
34 val shouldOpenSettings: Flow<Boolean> = interactor.shouldOpenSettings
48 interactor.onMenuTouchGestureStarted() in onTouchGestureStarted()
52 interactor.onMenuTouchGestureEnded( in onTouchGestureEnded()
58 interactor.onSettingsShown() in onSettingsShown()
DKeyguardPreviewClockViewModel.kt19 import com.android.systemui.keyguard.domain.interactor.KeyguardClockInteractor
31 interactor: KeyguardClockInteractor,
36 interactor.selectedClockSize.map { it == ClockSizeSetting.DYNAMIC } in <lambda>()
39 interactor.selectedClockSize.map { it == ClockSizeSetting.SMALL } in <lambda>()
41 val previewClock: Flow<ClockController> = interactor.previewClock
43 val selectedClockSize: StateFlow<ClockSizeSetting?> = interactor.selectedClockSize
DKeyguardLongPressViewModel.kt21 import com.android.systemui.keyguard.domain.interactor.KeyguardLongPressInteractor
30 private val interactor: KeyguardLongPressInteractor, constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardLongPressViewModel
34 val isLongPressHandlingEnabled: Flow<Boolean> = interactor.isLongPressHandlingEnabled
38 interactor.onLongPress() in onLongPress()
46 interactor.onTouchedOutside() in onTouchedOutside()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditModeViewModelKosmos.kt21 import com.android.systemui.qs.panels.domain.interactor.editTilesListInteractor
22 import com.android.systemui.qs.panels.domain.interactor.gridLayoutMap
23 import com.android.systemui.qs.panels.domain.interactor.gridLayoutTypeInteractor
24 import com.android.systemui.qs.panels.domain.interactor.infiniteGridLayout
25 import com.android.systemui.qs.panels.domain.interactor.tilesAvailabilityInteractor
26 import com.android.systemui.qs.pipeline.domain.interactor.currentTilesInteractor
27 import com.android.systemui.qs.pipeline.domain.interactor.minimumTilesInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/viewmodel/
DStatusBarUserChipViewModel.kt23 import com.android.systemui.user.domain.interactor.UserSwitcherInteractor in <lambda>()
34 interactor: UserSwitcherInteractor, in <lambda>()
37 val chipEnabled: Boolean = interactor.isStatusBarUserChipEnabled in <lambda>()
44 interactor.users.mapLatest { users -> users.size > 1 } in <lambda>()
48 val userName: Flow<Text> = interactor.selectedUser.mapLatest { userModel -> userModel.name } in <lambda>()
52 interactor.selectedUser.mapLatest { userModel -> userModel.image } in <lambda>()
55 val onClick: (Expandable) -> Unit = { interactor.showUserSwitcher(it) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DDeviceEntryIconViewModelKosmos.kt19 import com.android.systemui.accessibility.domain.interactor.accessibilityInteractor
20 import com.android.systemui.deviceentry.domain.interactor.deviceEntryInteractor
21 import com.android.systemui.deviceentry.domain.interactor.deviceEntrySourceInteractor
22 import com.android.systemui.deviceentry.domain.interactor.deviceEntryUdfpsInteractor
23 import com.android.systemui.keyguard.domain.interactor.burnInInteractor
24 import com.android.systemui.keyguard.domain.interactor.keyguardInteractor
25 import com.android.systemui.keyguard.domain.interactor.keyguardTransitionInteractor
30 import com.android.systemui.shade.domain.interactor.shadeInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelKosmos.kt23 import com.android.systemui.shade.domain.interactor.shadeInteractor
24 import com.android.systemui.statusbar.domain.interactor.remoteInputInteractor
25 import com.android.systemui.statusbar.notification.domain.interactor.activeNotificationsInteractor
26 import com.android.systemui.statusbar.notification.domain.interactor.seenNotificationsInteractor
29 import com.android.systemui.statusbar.notification.stack.domain.interactor.headsUpNotificationInter…
30 import com.android.systemui.statusbar.notification.stack.domain.interactor.notificationStackInterac…
31 import com.android.systemui.statusbar.policy.domain.interactor.userSetupInteractor
32 import com.android.systemui.statusbar.policy.domain.interactor.zenModeInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/domain/interactor/
DKeyguardOcclusionInteractorKosmos.kt17 package com.android.systemui.statusbar.domain.interactor
19 import com.android.systemui.deviceentry.domain.interactor.deviceUnlockedInteractor
21 import com.android.systemui.keyguard.domain.interactor.KeyguardOcclusionInteractor
22 import com.android.systemui.keyguard.domain.interactor.keyguardInteractor
23 import com.android.systemui.keyguard.domain.interactor.keyguardTransitionInteractor
26 import com.android.systemui.power.domain.interactor.powerInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissInteractorFactory.kt17 package com.android.systemui.keyguard.domain.interactor
25 import com.android.systemui.bouncer.domain.interactor.AlternateBouncerInteractor
26 import com.android.systemui.bouncer.domain.interactor.PrimaryBouncerCallbackInteractor
27 import com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractor
30 import com.android.systemui.deviceentry.domain.interactor.DeviceEntryFaceAuthInteractor
31 import com.android.systemui.deviceentry.domain.interactor.DeviceEntryFingerprintAuthInteractor
38 import com.android.systemui.power.domain.interactor.PowerInteractorFactory
39 import com.android.systemui.scene.domain.interactor.SceneInteractor
42 import com.android.systemui.user.domain.interactor.SelectedUserInteractor
108 interactor = in create()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerMessageViewModelKosmos.kt20 import com.android.systemui.authentication.domain.interactor.authenticationInteractor
21 import com.android.systemui.bouncer.domain.interactor.bouncerInteractor
22 import com.android.systemui.bouncer.domain.interactor.simBouncerInteractor
24 import com.android.systemui.deviceentry.domain.interactor.biometricMessageInteractor
25 import com.android.systemui.deviceentry.domain.interactor.deviceEntryFaceAuthInteractor
26 import com.android.systemui.deviceentry.domain.interactor.deviceEntryFingerprintAuthInteractor
27 import com.android.systemui.deviceentry.domain.interactor.deviceEntryInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/domain/startable/
DScrimStartableKosmos.kt21 import com.android.systemui.bouncer.domain.interactor.alternateBouncerInteractor
22 import com.android.systemui.deviceentry.domain.interactor.deviceEntryInteractor
23 import com.android.systemui.keyguard.domain.interactor.biometricUnlockInteractor
24 import com.android.systemui.keyguard.domain.interactor.keyguardInteractor
28 import com.android.systemui.scene.domain.interactor.sceneContainerOcclusionInteractor
29 import com.android.systemui.scene.domain.interactor.sceneInteractor
30 import com.android.systemui.settings.brightness.domain.interactor.brightnessMirrorShowingInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/domain/interactor/
DOccludingAppDeviceEntryInteractorKosmos.kt17 package com.android.systemui.deviceentry.domain.interactor
20 import com.android.systemui.bouncer.domain.interactor.alternateBouncerInteractor
21 import com.android.systemui.bouncer.domain.interactor.primaryBouncerInteractor
23 import com.android.systemui.keyguard.domain.interactor.keyguardInteractor
24 import com.android.systemui.keyguard.domain.interactor.keyguardTransitionInteractor
28 import com.android.systemui.power.domain.interactor.powerInteractor

12345678910>>...56