Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java121 DisplayManagerService displayManager = in testCreateVirtualDisplay_sentToInputManager() local
123 registerDefaultDisplays(displayManager); in testCreateVirtualDisplay_sentToInputManager()
124 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testCreateVirtualDisplay_sentToInputManager()
125 displayManager.windowManagerAndInputReady(); in testCreateVirtualDisplay_sentToInputManager()
128 DisplayManagerService.BinderService bs = displayManager.new BinderService(); in testCreateVirtualDisplay_sentToInputManager()
143 displayManager.performTraversalInternal(mock(SurfaceControl.Transaction.class)); in testCreateVirtualDisplay_sentToInputManager()
146 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager()
190 DisplayManagerService displayManager = in testPhysicalViewports() local
192 registerDefaultDisplays(displayManager); in testPhysicalViewports()
193 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testPhysicalViewports()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java74 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay() local
81 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
107 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in isDisplayOn() local
108 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java117 DisplayManager displayManager = mock(DisplayManager.class); in initializeDisplayManager() local
120 when(displayManager.getDisplays()).thenReturn(displays); in initializeDisplayManager()
121 mContext.addMockSystemService(Context.DISPLAY_SERVICE, displayManager); in initializeDisplayManager()
/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/services/core/java/com/android/server/vr/
DVr2dDisplay.java102 public Vr2dDisplay(DisplayManager displayManager, in Vr2dDisplay() argument
105 mDisplayManager = displayManager; in Vr2dDisplay()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java1118 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getFrameRate() local
1119 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in getFrameRate()
1139 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener() local
1140 displayManager.registerDisplayListener(listener, handler); in registerDisplayListener()
1145 final DisplayManager displayManager = context.getSystemService(DisplayManager.class); in unRegisterDisplayListener() local
1146 displayManager.unregisterDisplayListener(listener); in unRegisterDisplayListener()
/frameworks/base/core/java/android/view/
DPointerIcon.java621 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in registerDisplayListener() local
622 displayManager.registerDisplayListener(sDisplayListener, null /* handler */); in registerDisplayListener()
/frameworks/base/core/java/android/app/
DActivityView.java520 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in initVirtualDisplay() local
522 mVirtualDisplay = displayManager.createVirtualDisplay( in initVirtualDisplay()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java188 final DisplayManager displayManager = in StatusBarManagerService() local
190 displayManager.registerDisplayListener(this, mHandler); in StatusBarManagerService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java272 final DisplayManager displayManager = in DividerView() local
274 mDefaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in DividerView()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java2061 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in getContextForDisplay() local
2062 final Display display = displayManager.getDisplay(displayId); in getContextForDisplay()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3046 DisplayManager displayManager = (DisplayManager) in InteractionBridge() local
3048 mDefaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in InteractionBridge()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java2436 DisplayManager displayManager = (DisplayManager) context.getSystemService( in getDefaultDisplayMetrics() local
2438 displayManager.getDisplay(Display.DEFAULT_DISPLAY).getMetrics(metrics); in getDefaultDisplayMetrics()