Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java177 DisplayManagerService displayManager = in testCreateVirtualDisplay_sentToInputManager() local
179 registerDefaultDisplays(displayManager); in testCreateVirtualDisplay_sentToInputManager()
180 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testCreateVirtualDisplay_sentToInputManager()
181 displayManager.windowManagerAndInputReady(); in testCreateVirtualDisplay_sentToInputManager()
184 DisplayManagerService.BinderService bs = displayManager.new BinderService(); in testCreateVirtualDisplay_sentToInputManager()
201 displayManager.performTraversalInternal(mock(SurfaceControl.Transaction.class)); in testCreateVirtualDisplay_sentToInputManager()
204 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager()
248 DisplayManagerService displayManager = in testPhysicalViewports() local
250 registerDefaultDisplays(displayManager); in testPhysicalViewports()
251 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testPhysicalViewports()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricOrientationEventListener.kt33 private val displayManager: DisplayManager, constant in com.android.systemui.biometrics.BiometricOrientationEventListener
51 displayManager.registerDisplayListener(this, handler) in enable()
55 displayManager.unregisterDisplayListener(this) in disable()
DSidefpsController.java99 @NonNull DisplayManager displayManager, in SidefpsController() argument
112 displayManager, in SidefpsController()
DAuthController.java429 @NonNull DisplayManager displayManager, in AuthController() argument
444 displayManager, in AuthController()
DUdfpsController.java526 @NonNull DisplayManager displayManager, in UdfpsController() argument
560 displayManager, in UdfpsController()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java162 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in verifyGetDisplayFromDisplayContextDerivedContext() local
165 display = getSecondaryDisplay(displayManager); in verifyGetDisplayFromDisplayContextDerivedContext()
167 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext()
174 private static Display getSecondaryDisplay(DisplayManager displayManager) { in getSecondaryDisplay() argument
180 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in getSecondaryDisplay()
221 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in createUiContext() local
222 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in createUiContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DSidefpsControllerTest.kt71 lateinit var displayManager: DisplayManager variable in com.android.systemui.biometrics.SidefpsControllerTest
105 displayManager, handler in setup()
118 verify(displayManager).registerDisplayListener(any(), eq(handler)) in testSubscribesToOrientationChangesWhenShowingOverlay()
122 verify(displayManager).unregisterDisplayListener(any()) in testSubscribesToOrientationChangesWhenShowingOverlay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarButtonTest.java93 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay() local
100 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
126 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in isDisplayOn() local
127 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DDisplayIdIndexSupplier.java42 DisplayIdIndexSupplier(DisplayManager displayManager) { in DisplayIdIndexSupplier() argument
43 mDisplayManager = displayManager; in DisplayIdIndexSupplier()
DModeSwitchesController.java104 SwitchSupplier(Context context, DisplayManager displayManager) { in SwitchSupplier() argument
105 super(displayManager); in SwitchSupplier()
DWindowMagnification.java81 DisplayManager displayManager, SysUiState sysUiState) { in AnimationControllerSupplier() argument
82 super(displayManager); in AnimationControllerSupplier()
/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/src/com/android/systemui/accessibility/
DModeSwitchesControllerTest.java84 FakeSwitchSupplier(DisplayManager displayManager) { in FakeSwitchSupplier() argument
85 super(displayManager); in FakeSwitchSupplier()
DIWindowMagnificationConnectionTest.java157 FakeAnimationControllerSupplier(DisplayManager displayManager) { in FakeAnimationControllerSupplier() argument
158 super(displayManager); in FakeAnimationControllerSupplier()
DWindowMagnificationTest.java182 FakeAnimationControllerSupplier(DisplayManager displayManager, in FakeAnimationControllerSupplier() argument
184 super(displayManager); in FakeAnimationControllerSupplier()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayController.java59 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in getDisplay() local
60 return displayManager.getDisplay(displayId); in getDisplay()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java103 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay() argument
106 mDisplayManager = displayManager; in Vr2dDisplay()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java1173 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getFrameRate() local
1174 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in getFrameRate()
1194 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener() local
1195 displayManager.registerDisplayListener(listener, handler); in registerDisplayListener()
1200 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in unRegisterDisplayListener() local
1201 displayManager.unregisterDisplayListener(listener); in unRegisterDisplayListener()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java116 File dumpFile, DisplayManagerGlobal displayManager) { in dumpWindowsToFile() argument
130 Display display = displayManager.getRealDisplay(displayId); in dumpWindowsToFile()
/frameworks/base/core/java/android/view/
DPointerIcon.java622 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener() local
623 displayManager.registerDisplayListener(sDisplayListener, null /* handler */); in registerDisplayListener()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt309 val displayManager: DisplayManager = mock() in stageNominalSystemState() constant
311 .thenReturn(displayManager) in stageNominalSystemState()
313 whenever(displayManager.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(display) in stageNominalSystemState()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java366 DisplayManager displayManager = ctx.getSystemService(DisplayManager.class);
367 Display display = displayManager.getDisplay(taskInfo.displayId);
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java760 final DisplayManager displayManager = new DisplayManager(mMockContext); in takeScreenshot_invalidDisplay_returnErrorCode() local
761 when(mMockContext.getSystemService(Context.DISPLAY_SERVICE)).thenReturn(displayManager); in takeScreenshot_invalidDisplay_returnErrorCode()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java357 DisplayManager displayManager = in getDisplaySize() local
359 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in getDisplaySize()

12