Home
last modified time | relevance | path

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

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