/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 70 private DisplayManager mDisplayManager; field in VirtualDisplayTest 81 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp() 114 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() 137 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() 165 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay() 178 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() 218 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay() 232 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay() 264 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered() 268 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppListener.java | 40 private DisplayManager mDisplayManager; field in SideLoadedAppListener 51 mDisplayManager = displayManager; in SideLoadedAppListener() 67 Display display = mDisplayManager.getDisplay(stackInfo.displayId); in onTaskCreated() 76 Display[] displays = mDisplayManager.getDisplays(); in onTaskStackChanged()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 159 private final DisplayManager mDisplayManager; field in Presentation 193 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation() 231 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in onStart() 246 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onStop()
|
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppListenerTest.java | 62 private DisplayManager mDisplayManager; field in SideLoadedAppListenerTest 73 mActivityTaskManager, mDisplayManager, mSideLoadedAppStateController); in setUp() 121 when(mDisplayManager.getDisplay(displayId)).thenReturn(display); in onTaskCreated_unsafeTask_callsUnsafeTaskCreated() 144 when(mDisplayManager.getDisplays()).thenReturn(new Display[] { display }); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 168 when(mDisplayManager.getDisplays()).thenReturn(new Display[] { display }); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() 208 when(mDisplayManager.getDisplays()) in onTaskStackChanged_multiDisplay_callsTasksDisplayed()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 75 private final DisplayManager mDisplayManager; field in Vr2dDisplay 106 mDisplayManager = displayManager; in Vr2dDisplay() 278 Log.d(TAG, "Request to start VD, DM:" + mDisplayManager); in startVirtualDisplay() 281 if (mDisplayManager == null) { in startVirtualDisplay() 303 mVirtualDisplay = mDisplayManager.createVirtualDisplay(null /* projection */, in startVirtualDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NavigationBarController.java | 62 private final DisplayManager mDisplayManager; field in NavigationBarController 73 mDisplayManager = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in NavigationBarController() 84 Display display = mDisplayManager.getDisplay(displayId); in onDisplayReady() 97 Display[] displays = mDisplayManager.getDisplays(); in createNavigationBars()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 72 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow 107 mDisplayManager = (DisplayManager)context.getSystemService( in OverlayDisplayWindow() 123 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show() 125 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show() 138 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 49 private final DisplayManager mDisplayManager; field in DisplaySourceService 62 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in DisplaySourceService() 206 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in run()
|
/frameworks/opt/car/services/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 59 private DisplayManager mDisplayManager; // set only from init() field in CarLaunchParamsModifier 137 mDisplayManager = mContext.getSystemService(DisplayManager.class); in init() 138 mDisplayManager.registerDisplayListener(mDisplayListener, in init()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperManagerServiceTests.java | 111 private DisplayManager mDisplayManager; field in WallpaperManagerServiceTests 175 sContext.addMockSystemService(DisplayManager.class, mDisplayManager); in setUp() 179 doReturn(mockDisplay).when(mDisplayManager).getDisplay(anyInt()); in setUp() 182 doReturn(displays).when(mDisplayManager).getDisplays(); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 82 private final DisplayManager mDisplayManager; field in BrightnessController 327 mDisplayManager = context.getSystemService(DisplayManager.class); in BrightnessController() 425 mDisplayManager.setTemporaryBrightness(brightness); in setBrightness()
|
/frameworks/opt/car/services/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierTest.java | 72 private DisplayManager mDisplayManager; field in CarLaunchParamsModifierTest 124 when(mDisplayManager.getDisplay(displayId)).thenReturn(display); in mockDisplay() 144 when(mContext.getSystemService(DisplayManager.class)).thenReturn(mDisplayManager); in setUp()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1093 mIWallpaperEngine.mDisplayManager.registerDisplayListener(mDisplayListener, in attach() 1282 if (mIWallpaperEngine.mDisplayManager != null) { in detach() 1283 mIWallpaperEngine.mDisplayManager.unregisterDisplayListener(mDisplayListener); in detach() 1346 final DisplayManager mDisplayManager; field in WallpaperService.IWallpaperEngineWrapper 1367 mDisplayManager = getSystemService(DisplayManager.class); in IWallpaperEngineWrapper() 1368 mDisplay = mDisplayManager.getDisplay(mDisplayId); in IWallpaperEngineWrapper()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 84 private DisplayManager mDisplayManager; field in ScreenDecorationsTest 104 mDisplayManager = mock(DisplayManager.class); in setup() 107 when(mDisplayManager.getDisplay(anyInt())).thenReturn(display); in setup() 108 mContext.addMockSystemService(DisplayManager.class, mDisplayManager); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 111 private DisplayManager mDisplayManager; field in ScreenDecorations 216 mDisplayManager = mContext.getSystemService(DisplayManager.class); in startOnScreenDecorationsThread() 262 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); in startOnScreenDecorationsThread() 289 mDisplayManager.getDisplay(DEFAULT_DISPLAY).getMetrics(metrics); in setupDecorations()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnection.java | 112 private final DisplayManager mDisplayManager; field in AbstractAccessibilityServiceConnection 259 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in AbstractAccessibilityServiceConnection() 1090 final Display[] displays = mDisplayManager.getDisplays(); in onAdded() 1118 final Display[] displays = mDisplayManager.getDisplays(); in onRemoved()
|
D | AccessibilityManagerService.java | 3078 private final DisplayManager mDisplayManager; field in AccessibilityManagerService.AccessibilityDisplayListener 3083 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in AccessibilityDisplayListener() 3084 mDisplayManager.registerDisplayListener(this, handler); in AccessibilityDisplayListener() 3102 final Display[] displays = mDisplayManager.getDisplays(); in initializeDisplayList() 3119 final Display display = mDisplayManager.getDisplay(displayId); in onDisplayAdded()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 583 mDisplayManager.getDisplay(DEFAULT_DISPLAY).getDisplayInfo(displayInfo); in generateCrop() 799 private final DisplayManager mDisplayManager; field in WallpaperManagerService 1008 Display display = mDisplayManager.getDisplay(displayId); in getMaximumSizeDimension() 1011 display = mDisplayManager.getDisplay(DEFAULT_DISPLAY); in getMaximumSizeDimension() 1205 final Display[] displays = mDisplayManager.getDisplays(); in appendConnectorWithCondition() 1255 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayConnectorOrCreate() 1650 mDisplayManager = mContext.getSystemService(DisplayManager.class); in WallpaperManagerService() 1651 mDisplayManager.registerDisplayListener(mDisplayListener, null /* handler */); in WallpaperManagerService() 2054 return mDisplayManager.getDisplay(displayId) != null; in isValidDisplay()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 1918 private DisplayManager mDisplayManager; field in AppStandbyController.Injector 1954 mDisplayManager = (DisplayManager) mContext.getSystemService( in onBootPhase() 2068 return mDisplayManager in isDefaultDisplayOn() 2073 mDisplayManager.registerDisplayListener(listener, handler); in registerDisplayListener()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 244 DisplayManager mDisplayManager; field in RootWindowContainer 1355 mDisplayManager = mService.mContext.getSystemService(DisplayManager.class); in setWindowManager() 1356 mDisplayManager.registerDisplayListener(this, mService.mUiHandler); in setWindowManager() 1359 final Display[] displays = mDisplayManager.getDisplays(); in setWindowManager() 1431 if (mDisplayManager == null) { in getDisplayContentOrCreate() 1435 final Display display = mDisplayManager.getDisplay(displayId); in getDisplayContentOrCreate()
|
D | WindowManagerService.java | 947 final DisplayManager mDisplayManager; field in WindowManagerService 1198 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in WindowManagerService() 6831 final Display display = mDisplayManager.getDisplay(displayId); in checkCallerOwnsDisplay()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 166 private final DisplayManager mDisplayManager; field in BridgeContext 253 mDisplayManager = new DisplayManager(this); in BridgeContext() 637 return mDisplayManager; in getSystemService()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 366 DisplayManager mDisplayManager; field in PhoneWindowManager 1734 mDisplayManager = mContext.getSystemService(DisplayManager.class); in init() 2456 final Display targetDisplay = mDisplayManager.getDisplay(displayId); in getDisplayContext() 4165 : mDisplayManager.getDisplay(displayId); in shouldDispatchInputWhenNonInteractive()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 356 final DisplayManager mDisplayManager; field in ViewRootImpl 764 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in ViewRootImpl() 926 mDisplayManager.registerDisplayListener(mDisplayListener, mHandler); 4687 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dispatchDetachedFromWindow()
|