Home
last modified time | relevance | path

Searched refs:isShowNotificationsOnLockScreenEnabled (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/domain/interactor/
DNotificationsSnapshotRestorer.kt45 NotificationSnapshotModel(interactor.isShowNotificationsOnLockScreenEnabled().value) in setUpSnapshotRestorer()
49 interactor.isShowNotificationsOnLockScreenEnabled().collect { in setUpSnapshotRestorer()
51 NotificationSnapshotModel(isShowNotificationsOnLockScreenEnabled = it) in setUpSnapshotRestorer()
59 val isShowNotificationsOnLockScreenEnabled = in restoreToSnapshot() constant
61 interactor.setShowNotificationsOnLockscreenEnabled(isShowNotificationsOnLockScreenEnabled) in restoreToSnapshot()
68 model.isShowNotificationsOnLockScreenEnabled.toString(), in snapshot()
82 val isShowNotificationsOnLockScreenEnabled: Boolean = false, constant in com.android.customization.picker.notifications.domain.interactor.NotificationSnapshotModel
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/notifications/domain/interactor/
DNotificationsSnapshotRestorerTest.kt77 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/ui/viewmodel/
DNotificationSectionViewModel.kt38 suspend fun isSwitchOn(): Flow<Boolean> = interactor.isShowNotificationsOnLockScreenEnabled() in isSwitchOn()
45 interactor.isShowNotificationsOnLockScreenEnabled().value in isSwitchOn()