Home
last modified time | relevance | path

Searched refs:displayManager (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java203 DisplayManagerService displayManager = in testCreateVirtualDisplay_sentToInputManager() local
205 registerDefaultDisplays(displayManager); in testCreateVirtualDisplay_sentToInputManager()
206 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testCreateVirtualDisplay_sentToInputManager()
207 displayManager.windowManagerAndInputReady(); in testCreateVirtualDisplay_sentToInputManager()
210 DisplayManagerService.BinderService bs = displayManager.new BinderService(); in testCreateVirtualDisplay_sentToInputManager()
227 displayManager.performTraversalInternal(mock(SurfaceControl.Transaction.class)); in testCreateVirtualDisplay_sentToInputManager()
230 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager()
279 DisplayManagerService displayManager = in testPhysicalViewports() local
281 registerDefaultDisplays(displayManager); in testPhysicalViewports()
282 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testPhysicalViewports()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DDisplayTrackerImplTest.kt45 @Mock private lateinit var displayManager: DisplayManager variable in com.android.systemui.settings.DisplayTrackerImplTest
72 `when`(displayManager.displays).thenReturn(arrayOf(mDefaultDisplay, mSecondaryDisplay)) in setUp()
74 tracker = DisplayTrackerImpl(displayManager, handler) in setUp()
90 verify(displayManager).registerDisplayListener(any(), any()) in registerCallback_registersDisplayListener()
96 verify(displayManager) in registerBrightnessCallback_registersDisplayListener()
107 verify(displayManager, never()).unregisterDisplayListener(any()) in unregisterCallback_displayListenerStillRegistered()
116 verify(displayManager).unregisterDisplayListener(any()) in unregisterLastCallback_unregistersDisplayListener()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldTransitionFactory.kt50 displayManager: DisplayManager,
64 displayManager,
79 displayManager: DisplayManager,
88 displayManager,
DUnfoldSharedComponent.kt65 @BindsInstance displayManager: DisplayManager, in create()
91 @BindsInstance displayManager: DisplayManager, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DDisplayTrackerImpl.kt33 val displayManager: DisplayManager, constant in com.android.systemui.settings.DisplayTrackerImpl
38 get() = displayManager.displays
80 displayManager.registerDisplayListener(displayChangedListener, backgroundHandler) in addDisplayChangeCallback()
92 displayManager.registerDisplayListener( in addBrightnessChangeCallback()
106 displayManager.unregisterDisplayListener(displayChangedListener) in removeCallback()
113 displayManager.unregisterDisplayListener(displayBrightnessChangedListener) in removeCallback()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java156 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in verifyGetDisplayFromDisplayContextDerivedContext() local
159 display = getSecondaryDisplay(displayManager); in verifyGetDisplayFromDisplayContextDerivedContext()
161 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext()
168 private static Display getSecondaryDisplay(DisplayManager displayManager) { in getSecondaryDisplay() argument
174 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in getSecondaryDisplay()
215 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in createUiContext() local
216 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in createUiContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageCaptureImplTest.kt40 private val displayManager = mock<DisplayManager>() constant in com.android.systemui.screenshot.ImageCaptureImplTest
43 displayManager,
66 displayManager: DisplayManager,
70 ImageCaptureImpl(displayManager, atmService, bgDispatcher) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DRotationChangeProviderTest.kt47 @Mock lateinit var displayManager: DisplayManager variable in com.android.systemui.unfold.updates.RotationChangeProviderTest
60 rotationChangeProvider = RotationChangeProvider(displayManager, spyContext, fakeHandler) in setup()
63 verify(displayManager).registerDisplayListener(displayListener.capture(), any()) in setup()
82 verify(displayManager).unregisterDisplayListener(any()) in onRotationChanged_subscribersRemoved_noRotationChangeReceived()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDisplayListener.kt34 private val displayManager: DisplayManager, constant in com.android.systemui.biometrics.BiometricDisplayListener
67 displayManager.registerDisplayListener( in enable()
76 displayManager.unregisterDisplayListener(this) in disable()
DSideFpsController.kt88 displayManager: DisplayManager, in <lambda>()
107 displayManager, in <lambda>()
486 displayManager: DisplayManager,
495 displayManager,
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DRotationChangeProvider.kt34 private val displayManager: DisplayManager, constant in com.android.systemui.unfold.updates.RotationChangeProvider
65 displayManager.registerDisplayListener(displayListener, mainHandler) in subscribeToRotation()
73 displayManager.unregisterDisplayListener(displayListener) in unsubscribeToRotation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarButtonTest.java96 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay() local
103 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
129 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in isDisplayOn() local
130 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/
DDisplayHelper.java37 public DisplayHelper(Context context, DisplayManager displayManager) { in DisplayHelper() argument
39 mDisplayManager = displayManager; in DisplayHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DDisplayIdIndexSupplier.java42 DisplayIdIndexSupplier(DisplayManager displayManager) { in DisplayIdIndexSupplier() argument
43 mDisplayManager = displayManager; in DisplayIdIndexSupplier()
DModeSwitchesController.java127 SwitchSupplier(Context context, DisplayManager displayManager, in SwitchSupplier() argument
129 super(displayManager); in SwitchSupplier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/dagger/
DClipboardOverlayModule.java49 static Context provideWindowContext(DisplayManager displayManager, in provideWindowContext() argument
51 Display display = displayManager.getDisplay(displayTracker.getDefaultDisplayId()); in provideWindowContext()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt40 displayManager = context.getSystemService(DisplayManager::class.java)!!
47 private val displayManager: DisplayManager constant in com.android.test.silkfx.common.ColorModeControls
119 displayManager.setTemporaryBrightness(displayId, level) in setBrightness()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
DFakeDisplayTracker.kt25 val displayManager: DisplayManager = context.getSystemService(DisplayManager::class.java)!! constant in com.android.systemui.settings.FakeDisplayTracker
27 override var allDisplays: Array<Display> = displayManager.displays
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageCaptureImpl.kt40 private val displayManager: DisplayManager, constant in com.android.systemui.screenshot.ImageCaptureImpl
62 val display = displayManager.getDisplay(displayId) in physicalDisplayToken()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/dagger/
DMultiUserUtilsModule.java78 DisplayManager displayManager, in provideDisplayTracker() argument
81 return new DisplayTrackerImpl(displayManager, handler); in provideDisplayTracker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DModeSwitchesControllerTest.java107 FakeSwitchSupplier(DisplayManager displayManager) { in FakeSwitchSupplier() argument
108 super(displayManager); in FakeSwitchSupplier()
DIWindowMagnificationConnectionTest.java169 FakeControllerSupplier(DisplayManager displayManager) { in FakeControllerSupplier() argument
170 super(displayManager); in FakeControllerSupplier()
DWindowMagnificationTest.java188 FakeControllerSupplier(DisplayManager displayManager, in FakeControllerSupplier() argument
190 super(displayManager); in FakeControllerSupplier()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java118 DisplayManager displayManager = in BurnInProtectionHelper() local
120 mDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in BurnInProtectionHelper()
121 displayManager.registerDisplayListener(this, null /* handler */); in BurnInProtectionHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt57 displayManager: DisplayManager,
98 displayManager.getDisplay(bundle.getInt(KEY_DISPLAY_ID)), in <lambda>()

123