/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 177 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/ |
D | BiometricOrientationEventListener.kt | 33 private val displayManager: DisplayManager, constant in com.android.systemui.biometrics.BiometricOrientationEventListener 51 displayManager.registerDisplayListener(this, handler) in enable() 55 displayManager.unregisterDisplayListener(this) in disable()
|
D | SidefpsController.java | 99 @NonNull DisplayManager displayManager, in SidefpsController() argument 112 displayManager, in SidefpsController()
|
D | AuthController.java | 429 @NonNull DisplayManager displayManager, in AuthController() argument 444 displayManager, in AuthController()
|
D | UdfpsController.java | 526 @NonNull DisplayManager displayManager, in UdfpsController() argument 560 displayManager, in UdfpsController()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 162 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/ |
D | SidefpsControllerTest.kt | 71 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/ |
D | NavigationBarButtonTest.java | 93 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/ |
D | DisplayIdIndexSupplier.java | 42 DisplayIdIndexSupplier(DisplayManager displayManager) { in DisplayIdIndexSupplier() argument 43 mDisplayManager = displayManager; in DisplayIdIndexSupplier()
|
D | ModeSwitchesController.java | 104 SwitchSupplier(Context context, DisplayManager displayManager) { in SwitchSupplier() argument 105 super(displayManager); in SwitchSupplier()
|
D | WindowMagnification.java | 81 DisplayManager displayManager, SysUiState sysUiState) { in AnimationControllerSupplier() argument 82 super(displayManager); in AnimationControllerSupplier()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/ |
D | ColorModeControls.kt | 40 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/ |
D | ModeSwitchesControllerTest.java | 84 FakeSwitchSupplier(DisplayManager displayManager) { in FakeSwitchSupplier() argument 85 super(displayManager); in FakeSwitchSupplier()
|
D | IWindowMagnificationConnectionTest.java | 157 FakeAnimationControllerSupplier(DisplayManager displayManager) { in FakeAnimationControllerSupplier() argument 158 super(displayManager); in FakeAnimationControllerSupplier()
|
D | WindowMagnificationTest.java | 182 FakeAnimationControllerSupplier(DisplayManager displayManager, in FakeAnimationControllerSupplier() argument 184 super(displayManager); in FakeAnimationControllerSupplier()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 118 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/ |
D | DisplayController.java | 59 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/ |
D | Vr2dDisplay.java | 103 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay() argument 106 mDisplayManager = displayManager; in Vr2dDisplay()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 1173 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/ |
D | AccessibilityNodeInfoDumper.java | 116 File dumpFile, DisplayManagerGlobal displayManager) { in dumpWindowsToFile() argument 130 Display display = displayManager.getRealDisplay(displayId); in dumpWindowsToFile()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 622 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/ |
D | MockSystem.kt | 309 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/ |
D | CameraServiceProxy.java | 366 DisplayManager displayManager = ctx.getSystemService(DisplayManager.class); 367 Display display = displayManager.getDisplay(taskInfo.displayId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnectionTest.java | 760 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/ |
D | CameraManager.java | 357 DisplayManager displayManager = in getDisplaySize() local 359 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in getDisplaySize()
|