Searched refs:ZenMode (Results 1 – 14 of 14) sorted by relevance
21 import com.android.settingslib.statusbar.notification.data.model.ZenMode32 private val mutableZenMode = MutableStateFlow<ZenMode?>(ZenMode(Settings.Global.ZEN_MODE_OFF))33 override val zenMode: StateFlow<ZenMode?>44 fun updateZenMode(zenMode: ZenMode?) { in updateZenMode()
24 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>()
24 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>()
26 import com.android.settingslib.statusbar.notification.data.model.ZenMode92 val values = mutableListOf<ZenMode?>() in zenModeChanges_repositoryEmits()103 listOf(null, ZenMode(Global.ZEN_MODE_OFF), ZenMode(Global.ZEN_MODE_ALARMS)) in zenModeChanges_repositoryEmits()
9 val zenMode: ZenMode,12 enum class ZenMode(val zenMode: Int) { class in com.android.systemui.plugins.clocks.ZenData
23 import com.android.settingslib.statusbar.notification.data.model.ZenMode in <lambda>()42 val zenMode: StateFlow<ZenMode?> in <lambda>()
38 * frameworks/base/services/core/java/com/android/server/notification/ZenMode*.java45 optional android.stats.dnd.ZenMode new_mode = 2;49 optional android.stats.dnd.ZenMode previous_mode = 3;
35 optional android.stats.dnd.ZenMode zen_mode = 4;
33 import com.android.os.dnd.ZenMode;53 testEnum(Settings.Global.class, "ZEN_MODE", ZenMode.class, "ZEN_MODE"); in testEnum_zenMode()
23 value class ZenMode(val zenMode: Int) {
23 import com.android.settingslib.statusbar.notification.data.model.ZenMode124 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in zenMuted_cantChange()160 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in streamIsZenMuted_getStream_lastAudibleVolume()
155 enum ZenMode { enum170 // Android generated strings that detail when ZenMode will end.207 optional ZenMode zen_mode = 7 [226 optional ZenMode zen_mode = 1;
26 enum ZenMode { enum
59 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>()