Home
last modified time | relevance | path

Searched refs:mNightDisplayListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java89 private NightDisplayListener mNightDisplayListener; field in AutoTileManager
166 mNightDisplayListener = mNightDisplayListenerBuilder in startControllersAndSettingsListeners()
171 mNightDisplayListener.setCallback(mNightDisplayCallback); in startControllersAndSettingsListeners()
206 && mNightDisplayListener != null) { in stopListening()
207 mNightDisplayListener.setCallback(null); in stopListening()
403 mHandler.post(() -> mNightDisplayListener.setCallback(null));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DNightDisplayTileTest.kt68 @Mock private lateinit var mNightDisplayListener: NightDisplayListener variable in com.android.systemui.qs.tiles.NightDisplayTileTest
85 whenever(mNightDisplayListenerBuilder.build()).thenReturn(mNightDisplayListener) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java116 @Mock private NightDisplayListener mNightDisplayListener; field in AutoTileManagerTest
161 when(mNightDisplayListenerBuilder.build()).thenReturn(mNightDisplayListener); in setUp()
271 InOrder inOrderNightDisplay = inOrder(mNightDisplayListener); in testChangeUserCallbacksStoppedAndStarted()
272 inOrderNightDisplay.verify(mNightDisplayListener).setCallback(isNull()); in testChangeUserCallbacksStoppedAndStarted()
273 inOrderNightDisplay.verify(mNightDisplayListener).setCallback(isNotNull()); in testChangeUserCallbacksStoppedAndStarted()
325 InOrder inOrderNightDisplay = inOrder(mNightDisplayListener); in testChangeUserSomeCallbacksNotAdded()
326 inOrderNightDisplay.verify(mNightDisplayListener).setCallback(isNull()); in testChangeUserSomeCallbacksNotAdded()
327 inOrderNightDisplay.verify(mNightDisplayListener).setCallback(isNotNull()); in testChangeUserSomeCallbacksNotAdded()