Searched refs:notificationPolicy (Results 1 – 4 of 4) sorted by relevance
38 val notificationPolicy: StateFlow<NotificationManager.Policy?> in <lambda>() constant in com.android.settingslib.statusbar.notification.domain.interactor.NotificationsSoundPolicyInteractor39 get() = repository.notificationPolicy in <lambda>()46 val areAlarmsAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowAlarms() } in <lambda>()49 val isMediaAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowMedia() } in <lambda>()52 val isSystemAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowSystem() } in <lambda>()56 notificationPolicy.map { policy -> in <lambda>()
75 `when`(notificationManager.notificationPolicy).thenReturn(testPolicy1) in policyChanges_repositoryEmits()76 underTest.notificationPolicy.onEach { values.add(it) }.launchIn(backgroundScope) in policyChanges_repositoryEmits()79 `when`(notificationManager.notificationPolicy).thenReturn(testPolicy2) in policyChanges_repositoryEmits()
43 val notificationPolicy: StateFlow<NotificationManager.Policy?> in <lambda>() constant80 override val notificationPolicy: StateFlow<NotificationManager.Policy?> = constant
29 override val notificationPolicy: StateFlow<NotificationManager.Policy?> constant in com.android.settingslib.statusbar.notification.data.repository.FakeNotificationsSoundPolicyRepository