/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | DoNotDisturbQuickAffordanceConfigTest.kt | 66 @Mock private lateinit var zenModeController: ZenModeController variable in com.android.systemui.keyguard.data.quickaffordance.DoNotDisturbQuickAffordanceConfigTest 90 zenModeController, in setUp() 103 whenever(zenModeController.isZenAvailable).thenReturn(false) in dndNotAvailable_pickerStateHidden() 119 whenever(zenModeController.isZenAvailable).thenReturn(true) in dndAvailable_pickerStateVisible() 138 whenever(zenModeController.isZenAvailable).thenReturn(true) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF() 139 whenever(zenModeController.zen).thenReturn(-1) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF() 146 verify(zenModeController) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF() 163 whenever(zenModeController.isZenAvailable).thenReturn(true) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition() 164 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition() 171 verify(zenModeController) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/data/repository/ |
D | ZenModeRepository.kt | 40 private val zenModeController: ZenModeController, constant in com.android.systemui.statusbar.policy.data.repository.ZenModeRepositoryImpl 53 zenModeController.addCallback(callback) in <lambda>() 54 trySend(zenModeController.zen) in <lambda>() 56 awaitClose { zenModeController.removeCallback(callback) } in <lambda>() 67 zenModeController.addCallback(callback) in <lambda>() 68 trySend(zenModeController.consolidatedPolicy) in <lambda>() 70 awaitClose { zenModeController.removeCallback(callback) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/data/repository/ |
D | ZenModeRepositoryImplTest.kt | 44 @Mock lateinit var zenModeController: ZenModeController variable in com.android.systemui.statusbar.policy.data.repository.ZenModeRepositoryImplTest 53 underTest = ZenModeRepositoryImpl(zenModeController) in setUp() 58 whenever(zenModeController.zen).thenReturn(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in <lambda>() 67 whenever(zenModeController.zen).thenReturn(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 68 withArgCaptor { Mockito.verify(zenModeController).addCallback(capture()) } in <lambda>() 76 whenever(zenModeController.consolidatedPolicy).thenReturn(testPolicy) in policy_reflectsCurrentControllerState() 86 whenever(zenModeController.consolidatedPolicy).thenReturn(testPolicy) in <lambda>() 87 withArgCaptor { Mockito.verify(zenModeController).addCallback(capture()) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | DndTileTest.kt | 90 private lateinit var zenModeController: ZenModeController variable in com.android.systemui.qs.tiles.DndTileTest 139 zenModeController, in setUp() 191 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testLaunchDialogFromViewWhenPrompt() 204 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testNoLaunchDialogWhenNotPrompt() 218 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testIcon_whenDndModeOff_isOffState() 228 whenever(zenModeController.zen).thenReturn(ZEN_MODE_NO_INTERRUPTIONS) in testIcon_whenDndModeOn_isOnState()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ClockEventController.kt | 99 private val zenModeController: ZenModeController, in <lambda>() constant in com.android.keyguard.ClockEventController 408 val nextAlarmMillis = zenModeController.getNextAlarm() in <lambda>() 432 zenModeController.addCallback(zenModeCallback) in <lambda>() 452 zenModeCallback.onZenChanged(zenModeController.zen) in <lambda>() 468 zenModeController.removeCallback(zenModeCallback) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/ |
D | BubblesManager.java | 141 ZenModeController zenModeController, in create() argument 162 zenModeController, in create() 188 ZenModeController zenModeController, in BubblesManager() argument 230 zenModeController.addCallback(new ZenModeController.Callback() { in BubblesManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/ |
D | AmbientStatusBarViewController.java | 140 ZenModeController zenModeController, in AmbientStatusBarViewController() argument 158 mZenModeController = zenModeController; in AmbientStatusBarViewController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 101 ZenModeController zenModeController, in DndTile() argument 108 mController = zenModeController; in DndTile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicyTest.kt | 104 @Mock private lateinit var zenModeController: ZenModeController variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest 294 zenModeController, in createStatusBarPolicy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | ClockEventControllerTest.kt | 109 @Mock private lateinit var zenModeController: ZenModeController variable in com.android.keyguard.ClockEventControllerTest 153 zenModeController in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemUIModule.java | 387 ZenModeController zenModeController, in provideBubblesManager() argument 407 zenModeController, in provideBubblesManager()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestMocksModule.kt | 131 @get:Provides val zenModeController: ZenModeController = mock(), constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 181 ZenModeController zenModeController, in PhoneStatusBarPolicy() argument 213 mZenController = zenModeController; in PhoneStatusBarPolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutController.java | 721 ZenModeController zenModeController, in NotificationStackScrollLayoutController() argument 772 mZenModeController = zenModeController; in NotificationStackScrollLayoutController()
|