Home
last modified time | relevance | path

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

1234567

/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/
DBiometricsEnvironment.kt33 import com.android.settings.biometrics.fingerprint2.debug.domain.interactor.DebugTouchEventInteract…
34 import com.android.settings.biometrics.fingerprint2.domain.interactor.AccessibilityInteractor
35 import com.android.settings.biometrics.fingerprint2.domain.interactor.AccessibilityInteractorImpl
36 import com.android.settings.biometrics.fingerprint2.domain.interactor.DebuggingInteractor
37 import com.android.settings.biometrics.fingerprint2.domain.interactor.DebuggingInteractorImpl
38 import com.android.settings.biometrics.fingerprint2.domain.interactor.DisplayDensityInteractor
39 import com.android.settings.biometrics.fingerprint2.domain.interactor.DisplayDensityInteractorImpl
40 import com.android.settings.biometrics.fingerprint2.domain.interactor.EnrollStageInteractor
41 import com.android.settings.biometrics.fingerprint2.domain.interactor.EnrollStageInteractorImpl
42 import com.android.settings.biometrics.fingerprint2.domain.interactor.FingerprintEnrollInteractor
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DProfileHelperTest.kt22 import com.android.intentresolver.domain.interactor.UserInteractor
93 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>() constant
97 interactor = interactor, in <lambda>()
115 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>() constant
119 interactor = interactor, in <lambda>()
136 val interactor = UserInteractor(repository, launchedAs = cloneUser.handle) in <lambda>() constant
140 interactor = interactor, in <lambda>()
159 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>() constant
163 interactor = interactor, in <lambda>()
183 val interactor = UserInteractor(repository, launchedAs = workUser.handle) in <lambda>() constant
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/ui/viewmodel/
DNotificationSectionViewModel.kt25 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor
33 private val interactor: NotificationSettingsInteractor, constant in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel
38 suspend fun isSwitchOn(): Flow<Boolean> = interactor.isShowNotificationsOnLockScreenEnabled() in isSwitchOn()
43 interactor.toggleShowNotificationsOnLockscreenEnabled() in isSwitchOn()
45 interactor.isShowNotificationsOnLockScreenEnabled().value in isSwitchOn()
51 private val interactor: NotificationSettingsInteractor, constant in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel.Factory
57 interactor = interactor, in create()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/notifications/domain/interactor/
DNotificationsSnapshotRestorerTest.kt18 package com.android.customization.model.notifications.domain.interactor
22 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor…
24 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor
47 private lateinit var interactor: NotificationSettingsInteractor variable in com.android.customization.model.notifications.domain.interactor.NotificationsSnapshotRestorerTest
57 interactor = in setUp()
68 interactor = interactor, in setUp()
77 val showNotifs = collectLastValue(interactor.isShowNotificationsOnLockScreenEnabled()) in setUpAndRestore_Active()
91 val showNotifs = collectLastValue(interactor.isShowNotificationsOnLockScreenEnabled()) in setUpAndRestore_Inactive()
104 val showNotifs = collectLastValue(interactor.isShowNotificationsOnLockScreenEnabled()) in <lambda>()
118 val showNotifs = collectLastValue(interactor.isShowNotificationsOnLockScreenEnabled()) in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/domain/interactor/
DNotificationsSnapshotRestorer.kt17 package com.android.customization.picker.notifications.domain.interactor
19 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor
21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer
22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore
29 private val interactor: NotificationSettingsInteractor, constant in com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestorer
45 NotificationSnapshotModel(interactor.isShowNotificationsOnLockScreenEnabled().value) in setUpSnapshotRestorer()
49 interactor.isShowNotificationsOnLockScreenEnabled().collect { in setUpSnapshotRestorer()
61 interactor.setShowNotificationsOnLockscreenEnabled(isShowNotificationsOnLockScreenEnabled) in restoreToSnapshot()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModel.kt24 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>()
48 private val interactor: ClockPickerInteractor, in <lambda>() constant in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModel
56 interactor.allClocks in <lambda>()
75 val selectedClockSize: Flow<ClockSize> = interactor.selectedClockSize in <lambda>()
77 val seedColor: Flow<Int?> = interactor.seedColor in <lambda>()
80 return interactor.seedColor.map { in <lambda>()
115 interactor.selectedClockId.map { selectedClockId -> in <lambda>()
133 interactor.setSelectedClock(clockId) in <lambda>()
139 private val interactor: ClockPickerInteractor, in <lambda>() constant in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModel.Factory
148 interactor = interactor, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModel.kt42 import com.android.wallpaper.picker.preview.domain.interactor.PreviewActionsInteractor in <lambda>()
79 private val interactor: PreviewActionsInteractor, in <lambda>() constant in com.android.wallpaper.picker.preview.ui.viewmodel.PreviewActionsViewModel
85 interactor.wallpaperModel.map { wallpaperModel -> in <lambda>()
121 interactor.wallpaperModel.map { in <lambda>()
126 val isDownloading: Flow<Boolean> = interactor.isDownloadingWallpaper in <lambda>()
134 interactor.downloadWallpaper() in <lambda>()
139 interactor.wallpaperModel.map { in <lambda>()
149 interactor.wallpaperModel.map { in <lambda>()
199 interactor.wallpaperModel.map { model -> in <lambda>()
212 interactor.wallpaperModel.map { in <lambda>()
[all …]
DStaticWallpaperPreviewViewModel.kt29 import com.android.wallpaper.picker.preview.domain.interactor.WallpaperPreviewInteractor in <lambda>()
54 interactor: WallpaperPreviewInteractor, in <lambda>()
92 interactor.wallpaperModel.map { it as? StaticWallpaperModel }.filterNotNull() in <lambda>()
101 interactor.wallpaperModel in <lambda>()
143 ?: interactor.getWallpaperColors( in <lambda>()
148 interactor.getWallpaperColors(wallpaperViewModel.rawWallpaperBitmap, cropHints) in <lambda>()
207 private val interactor: WallpaperPreviewInteractor, in <lambda>() constant in Factory
214 interactor = interactor, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperSnapshotRestorer.kt18 package com.android.wallpaper.picker.customization.domain.interactor in <lambda>()
23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>()
24 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
36 private val interactor: WallpaperInteractor, in <lambda>() constant in com.android.wallpaper.picker.customization.domain.interactor.WallpaperSnapshotRestorer
54 interactor.setRecentWallpaper( in <lambda>()
63 interactor.setRecentWallpaper( in <lambda>()
74 interactor.selectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>()
75 interactor.selectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>()
112 return interactor in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DWallpaperQuickSwitchViewModel.kt23 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor in <lambda>()
38 private val interactor: WallpaperInteractor, in <lambda>() constant in com.android.wallpaper.picker.customization.ui.viewmodel.WallpaperQuickSwitchViewModel
41 maxOptions: Int = interactor.maxOptions, in <lambda>()
45 interactor in <lambda>()
53 interactor in <lambda>()
62 interactor in <lambda>()
96 interactor.loadThumbnail( in <lambda>()
142 interactor.setRecentWallpaper( in <lambda>()
165 val areRecentsAvailable: Boolean = interactor.areRecentsAvailable in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemePickerInjector.kt39 import com.android.customization.model.themedicon.domain.interactor.ThemedIconInteractor in <lambda>()
40 import com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer in <lambda>()
44 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>()
45 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer in <lambda>()
51 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>()
52 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer in <lambda>()
55 import com.android.customization.picker.grid.domain.interactor.GridInteractor in <lambda>()
56 import com.android.customization.picker.grid.domain.interactor.GridSnapshotRestorer in <lambda>()
58 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor… in <lambda>()
61 import com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordancePi… in <lambda>()
[all …]
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/grid/ui/viewmodel/
DGridScreenViewModelTest.kt23 import com.android.customization.picker.grid.domain.interactor.GridInteractor in <lambda>()
24 import com.android.customization.picker.grid.domain.interactor.GridSnapshotRestorer in <lambda>()
48 private lateinit var interactor: GridInteractor in <lambda>() variable in com.android.customization.model.grid.ui.viewmodel.GridScreenViewModelTest
55 interactor = in <lambda>()
65 interactor = interactor, in <lambda>()
74 interactor = interactor, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/domain/interactor/
DGridSnapshotRestorer.kt18 package com.android.customization.picker.grid.domain.interactor in <lambda>()
22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>()
23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
27 private val interactor: GridInteractor, in <lambda>() constant in com.android.customization.picker.grid.domain.interactor.GridSnapshotRestorer
35 val option = interactor.getSelectedOption() in <lambda>()
53 interactor.setSelectedOption(optionToRestore) in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/domain/interactor/
DKeyguardQuickAffordanceSnapshotRestorer.kt18 package com.android.customization.picker.quickaffordance.domain.interactor in <lambda>()
21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>()
22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
27 private val interactor: KeyguardQuickAffordancePickerInteractor, in <lambda>() constant in com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordanceSnapshotRestorer
46 interactor.unselectAll() in <lambda>()
58 interactor.select( in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/
DColorPickerSnapshotRestorer.kt18 package com.android.customization.picker.color.domain.interactor in <lambda>()
22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>()
23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
28 private val interactor: ColorPickerInteractor, in <lambda>() constant in com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer
42 originalOption = interactor.getCurrentColorOption() in <lambda>()
63 interactor.select(optionToRestore) in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/viewmodel/
DColorPickerViewModel.kt25 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>()
44 private val interactor: ColorPickerInteractor, in <lambda>() constant
53 interactor.colorOptions, in <lambda>()
96 interactor.colorOptions.map { colorOptions -> in <lambda>()
108 interactor.selectingColorOption in <lambda>()
140 interactor.select(colorOptionModel) in <lambda>()
190 private val interactor: ColorPickerInteractor, in <lambda>() constant in com.android.customization.picker.color.ui.viewmodel.Factory
197 interactor = interactor, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerSnapshotRestorer.kt18 package com.android.customization.picker.clock.domain.interactor in <lambda>()
23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>()
24 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
28 class ClockPickerSnapshotRestorer(private val interactor: ClockPickerInteractor) : in <lambda>() constant in com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer
37 originalOption = interactor.getCurrentClockToRestore() in <lambda>()
61 interactor.setClockOption(optionToRestore) in <lambda>()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/undo/ui/viewmodel/
DUndoViewModelTest.kt23 import com.android.wallpaper.picker.undo.domain.interactor.UndoInteractor
44 private lateinit var interactor: UndoInteractor variable in com.android.wallpaper.picker.undo.ui.viewmodel.UndoViewModelTest
50 interactor = in setUp()
59 interactor = interactor, in setUp()
73 interactor.startSession() in revert()
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/domain/interactor/
DThemedIconSnapshotRestorer.kt18 package com.android.customization.model.themedicon.domain.interactor
20 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer
21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore
27 private val interactor: ThemedIconInteractor, constant in com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer
40 interactor.setActivated(isActivated) in restoreToSnapshot()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ui/viewmodel/
DGridScreenViewModel.kt27 import com.android.customization.picker.grid.domain.interactor.GridInteractor in <lambda>()
39 private val interactor: GridInteractor, in <lambda>() constant
46 interactor.options.map { model -> toViewModel(model) } in <lambda>()
92 private val interactor: GridInteractor, in <lambda>() constant
101 interactor = interactor, in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModelTest.kt23 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor
24 import com.android.customization.picker.clock.domain.interactor.ClockPickerSnapshotRestorer
67 private lateinit var interactor: ClockPickerInteractor variable in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselViewModelTest
104 ClockPickerSnapshotRestorer(interactor = interactor).apply { in getClockPickerInteractor()
109 .also { interactor = it } in getClockPickerInteractor()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/di/modules/
DSharedAppModule.kt28 import com.android.wallpaper.picker.category.domain.interactor.CategoryInteractor
29 import com.android.wallpaper.picker.category.domain.interactor.CreativeCategoryInteractor
30 import com.android.wallpaper.picker.category.domain.interactor.MyPhotosInteractor
31 import com.android.wallpaper.picker.category.domain.interactor.implementations.CategoryInteractorIm…
32 import com.android.wallpaper.picker.category.domain.interactor.implementations.CreativeCategoryInte…
33 import com.android.wallpaper.picker.category.domain.interactor.implementations.MyPhotosInteractorIm…
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModel.kt23 import com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.ChooserRequestInte… in <lambda>()
24 import com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.CustomActionsInter… in <lambda>()
25 import com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.SelectablePreviews… in <lambda>()
26 import com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.SelectionInteractor in <lambda>()
72 interactor: SelectablePreviewsInteractor, in <lambda>()
83 interactor.previews.stateIn( in <lambda>()
119 val previewInteractor = interactor.preview(key) in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/notifications/ui/viewmodel/
DNotificationSectionViewModelTest.kt24 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor
51 private lateinit var interactor: NotificationSettingsInteractor variable in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModelTest
58 interactor = in setUp()
70 interactor = interactor, in setUp()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DProfileHelper.kt22 import com.android.intentresolver.domain.interactor.UserInteractor
37 interactor: UserInteractor,
42 private val launchedByHandle: UserHandle = interactor.launchedAs
45 runBlocking(background) { interactor.launchedAsProfile.first() } in <lambda>()
47 val profiles by lazy { runBlocking(background) { interactor.profiles.first() } } in <lambda>()

1234567