Home
last modified time | relevance | path

Searched refs:ZenMode (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/
DFakeNotificationsSoundPolicyRepository.kt21 import com.android.settingslib.statusbar.notification.data.model.ZenMode
32 private val mutableZenMode = MutableStateFlow<ZenMode?>(ZenMode(Settings.Global.ZEN_MODE_OFF))
33 override val zenMode: StateFlow<ZenMode?>
44 fun updateZenMode(zenMode: ZenMode?) { in updateZenMode()
DNotificationsSoundPolicyRepository.kt24 import com.android.settingslib.statusbar.notification.data.model.ZenMode in <lambda>()
46 val zenMode: StateFlow<ZenMode?> in <lambda>()
88 override val zenMode: StateFlow<ZenMode?> =
91 .map { ZenMode(notificationManager.zenMode) } in <lambda>()
92 .onStart { emit(ZenMode(notificationManager.zenMode)) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt24 import com.android.settingslib.statusbar.notification.data.model.ZenMode in <lambda>()
64 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>()
87 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>()
168 ZenMode(Global.ZEN_MODE_NO_INTERRUPTIONS) in <lambda>()
186 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>()
209 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_ALARMS)) in <lambda>()
226 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
246 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
266 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
292 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/
DNotificationsSoundPolicyRepositoryTest.kt26 import com.android.settingslib.statusbar.notification.data.model.ZenMode
92 val values = mutableListOf<ZenMode?>() in zenModeChanges_repositoryEmits()
103 listOf(null, ZenMode(Global.ZEN_MODE_OFF), ZenMode(Global.ZEN_MODE_ALARMS)) in zenModeChanges_repositoryEmits()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DZenData.kt9 val zenMode: ZenMode,
12 enum class ZenMode(val zenMode: Int) { class in com.android.systemui.plugins.clocks.ZenData
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractor.kt23 import com.android.settingslib.statusbar.notification.data.model.ZenMode in <lambda>()
42 val zenMode: StateFlow<ZenMode?> in <lambda>()
/frameworks/proto_logging/stats/atoms/dnd/
Ddnd_extension_atoms.proto38 * frameworks/base/services/core/java/com/android/server/notification/ZenMode*.java
45 optional android.stats.dnd.ZenMode new_mode = 2;
49 optional android.stats.dnd.ZenMode previous_mode = 3;
Ddnd_atoms.proto35 optional android.stats.dnd.ZenMode zen_mode = 4;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenEnumTest.java33 import com.android.os.dnd.ZenMode;
53 testEnum(Settings.Global.class, "ZEN_MODE", ZenMode.class, "ZEN_MODE"); in testEnum_zenMode()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/
DZenMode.kt23 value class ZenMode(val zenMode: Int) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt23 import com.android.settingslib.statusbar.notification.data.model.ZenMode
124 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in zenMuted_cantChange()
160 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in streamIsZenMuted_getStream_lastAudibleVolume()
/frameworks/base/core/proto/android/service/
Dnotification.proto155 enum ZenMode { enum
170 // Android generated strings that detail when ZenMode will end.
207 optional ZenMode zen_mode = 7 [
226 optional ZenMode zen_mode = 1;
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto26 enum ZenMode { enum
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt59 import com.android.systemui.plugins.clocks.ZenData.ZenMode in <lambda>()
390 var mode = ZenMode.fromInt(zen) in <lambda>()
399 if (mode == ZenMode.OFF) SysuiR.string::dnd_is_off.name in <lambda>()