Home
last modified time | relevance | path

Searched refs:areAlarmsAllowed (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractor.kt46 val areAlarmsAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowAlarms() } in <lambda>() constant in com.android.settingslib.statusbar.notification.domain.interactor.NotificationsSoundPolicyInteractor
65 areAlarmsAllowed.filterNotNull(), in <lambda>()
69 ) { zenMode, areAlarmsAllowed, isMediaAllowed, isRingerAllowed, isSystemAllowed -> in <lambda>() method
79 stream.value == AudioManager.STREAM_ALARM && !areAlarmsAllowed -> in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt74 val areAlarmsAllowed by collectLastValue(underTest.areAlarmsAllowed) in <lambda>() constant
77 expect.that(areAlarmsAllowed).isEqualTo(entry.value) in <lambda>()