/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProvider.kt | 50 private val displayListener = RotationDisplayListener() constant in com.android.systemui.unfold.updates.RotationChangeProvider 74 displayManager.registerDisplayListener(displayListener, callbackHandler) in subscribeToRotation() 82 displayManager.unregisterDisplayListener(displayListener) in unsubscribeToRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DisplayRepositoryTest.kt | 56 private val displayListener = kotlinArgumentCaptor<DisplayManager.DisplayListener>() in <lambda>() constant in com.android.systemui.display.data.repository.DisplayRepositoryTest 108 .registerDisplayListener(displayListener.capture(), eq(testHandler), anyLong()) in <lambda>() 168 displayListener.value.onDisplayChanged(4) in <lambda>() 444 displayListener.value.onDisplayChanged(Display.DEFAULT_DISPLAY) in <lambda>() 456 displayListener.value.onDisplayChanged(Display.DEFAULT_DISPLAY) in <lambda>() 497 displayListener.capture(), in <lambda>() 510 displayListener.value.onDisplayAdded(id) in <lambda>() 514 displayListener.value.onDisplayAdded(id) in <lambda>() 518 displayListener.value.onDisplayRemoved(id) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProviderTest.kt | 54 @Captor lateinit var displayListener: ArgumentCaptor<DisplayManager.DisplayListener> variable in com.android.systemui.unfold.updates.RotationChangeProviderTest 71 verify(displayManager).registerDisplayListener(displayListener.capture(), any()) in setup() 96 displayListener.allValues.forEach { it.onDisplayChanged(display.displayId) } in sendRotationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/ |
D | MediaTttSenderCoordinator.kt | 140 chipbarCoordinator.registerListener(displayListener) in <lambda>() 254 private val displayListener = in <lambda>() constant 262 chipbarCoordinator.unregisterListener(displayListener) in <lambda>()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayModeDirectorTest.java | 1215 DisplayListener displayListener = displayListenerCaptor.getValue(); 1217 setBrightness(10, 10, displayListener); 1246 DisplayListener displayListener = displayListenerCaptor.getValue(); 1248 setBrightness(10, 10, displayListener); 1281 DisplayListener displayListener = displayListenerCaptor.getValue(); 1283 setBrightness(10, 10, displayListener); 1315 DisplayListener displayListener = displayListenerCaptor.getValue(); 1327 setBrightness(10, 10, displayListener); 1341 setBrightness(10, 125, displayListener); 1394 DisplayListener displayListener = displayListenerCaptor.getValue(); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | MediaTttChipControllerReceiver.kt | 135 private val displayListener = Listener { id, _ -> instanceMap.remove(id) } in <lambda>() constant 200 registerListener(displayListener) in <lambda>()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 259 final DisplayManager.DisplayListener displayListener = in FlashNotificationsController() local 281 mDisplayManager.registerDisplayListener(displayListener, null); in FlashNotificationsController()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 267 DisplayManager.DisplayListener displayListener = mInjector.mDisplayListener; in testAdaptiveOnOff() local 277 mInjector.mDisplayListener = displayListener; in testAdaptiveOnOff()
|