Home
last modified time | relevance | path

Searched refs:DISPLAY_SERVICE (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/
DDisplayUtils.kt42 val displayManager = context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager in getDisplayIdsAndSizes()
77 val displayManager = context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager in getNumberOfDisplaysAvailable()
DDisplayOrientationController.kt65 context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java90 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in enable()
99 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in disable()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java72 DisplayManager dm = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onReceive()
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt167 instrumentation.context.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager in clickOnObject()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java62 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in DisplaySourceService()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java119 (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in BurnInProtectionHelper()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java282 Context.DISPLAY_SERVICE); in DeviceStateMonitor()
734 Context.DISPLAY_SERVICE); in isScreenOn()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DUiAutomationManagerTest.java102 when(mMockContext.getSystemService(Context.DISPLAY_SERVICE)).thenReturn( in setup()
DAccessibilityServiceConnectionTest.java152 when(mMockContext.getSystemService(Context.DISPLAY_SERVICE)) in setup()
DAbstractAccessibilityServiceConnectionTest.java757 when(mMockContext.getSystemService(Context.DISPLAY_SERVICE)).thenReturn(displayManager); in takeScreenshot_invalidDisplay_returnErrorCode()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java73 @SystemService(Context.DISPLAY_SERVICE)
1616 ServiceManager.getService(Context.DISPLAY_SERVICE)); in createVirtualDisplay()
DDisplayManagerGlobal.java183 IBinder b = ServiceManager.getService(Context.DISPLAY_SERVICE); in getInstance()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java111 Context.DISPLAY_SERVICE); in OverlayDisplayWindow()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java88 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DLinkBandwidthEstimator.java308 Context.DISPLAY_SERVICE); in LinkBandwidthEstimator()
391 Context.DISPLAY_SERVICE); in isScreenOn()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt574 val dm = mContext.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager in createVirtualDisplay()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1366 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in initDisplayInfo()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java321 mContext.getSystemService(Context.DISPLAY_SERVICE); in updateStateForRemovedDisplay()
DAbstractAccessibilityServiceConnection.java358 mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in AbstractAccessibilityServiceConnection()
1490 (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in takeScreenshot()
/frameworks/base/core/java/android/content/
DContext.java4221 DISPLAY_SERVICE,
5757 public static final String DISPLAY_SERVICE = "display"; field in Context
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java300 case Context.DISPLAY_SERVICE: in getSystemService()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java800 (DisplayManager) getContext().getSystemService(Context.DISPLAY_SERVICE); in onBootPhase()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java689 case DISPLAY_SERVICE: in getSystemService()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java593 (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); in getDisplaySize()

12