Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java46 DisplayManager displayManager = in testCreatePublicVirtualDisplay() local
50 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, in testCreatePublicVirtualDisplay()
69 DisplayManager displayManager = in testCreateSecureVirtualDisplay() local
73 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, in testCreateSecureVirtualDisplay()
90 DisplayManager displayManager = in testCreatePrivateVirtualDisplay() local
94 VirtualDisplay display = displayManager.createVirtualDisplay( in testCreatePrivateVirtualDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplaySizeTest.java110 final DisplayManager displayManager = mDm; in testSizeRangesAfterSettingDisplaySize() local
111 virtualDisplay = displayManager.createVirtualDisplay("CtsDisplay", initialLength, in testSizeRangesAfterSettingDisplaySize()
116 displayManager.registerDisplayListener(new DisplayManager.DisplayListener() { in testSizeRangesAfterSettingDisplaySize()
126 synchronized (displayManager) { in testSizeRangesAfterSettingDisplaySize()
128 displayManager.notify(); in testSizeRangesAfterSettingDisplaySize()
130 displayManager.unregisterDisplayListener(this); in testSizeRangesAfterSettingDisplaySize()
138 synchronized (displayManager) { in testSizeRangesAfterSettingDisplaySize()
140 displayManager.wait(3000 /* milliseconds */); in testSizeRangesAfterSettingDisplaySize()
DVirtualDisplayHelper.java105 final DisplayManager displayManager = getInstrumentation() in createVirtualDisplay() local
125 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
DWindowTest.java826 DisplayManager displayManager = in createPresentation() local
828 mVirtualDisplay = displayManager.createVirtualDisplay("localFocusTest", in createPresentation()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java112 final DisplayManager displayManager = (DisplayManager) context.getSystemService( in createDisplayWithDefaultDisplayMetricsAndWait() local
114 displayManager.registerDisplayListener(listener, null); in createDisplayWithDefaultDisplayMetricsAndWait()
117 displayManager.getDisplay(DEFAULT_DISPLAY).getRealMetrics(metrics); in createDisplayWithDefaultDisplayMetricsAndWait()
123 () -> displayManager.getDisplay(display.getDisplayId()) != null, in createDisplayWithDefaultDisplayMetricsAndWait()
127 displayManager.unregisterDisplayListener(listener); in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDisplayUtil.java82 public static int getRefreshRateSwitchingType(DisplayManager displayManager) { in getRefreshRateSwitchingType() argument
83 return toSwitchingType(displayManager.getMatchContentFrameRateUserPreference()); in getRefreshRateSwitchingType()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSimpleKeyguardService.java51 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in onCreateKeyguardSurface() local
52 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in onCreateKeyguardSurface()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java81 final DisplayManager displayManager = getSystemService(DisplayManager.class); in getDisplayContext() local
82 final Display targetDisplay = displayManager.getDisplay(hostDisplayId); in getDisplayContext()
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantZoneManagerTest.java77 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testGetDisplayType_mainDisplay() local
78 Display defaultDisplay = displayManager.getDisplay(DEFAULT_DISPLAY); in testGetDisplayType_mainDisplay()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java72 final DisplayManager displayManager = mApplicationContext in createSecondaryDisplay() local
79 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java130 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getContextForSaw() local
131 Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in getContextForSaw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DHotplugTestActivity.java187 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in onDisplayChanged() local
188 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in onDisplayChanged()
DModeSwitchingTestActivity.java71 DisplayManager displayManager = getSystemService(DisplayManager.class); in onCreate() local
72 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in onCreate()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java271 final DisplayManager displayManager = in runTest() local
274 final Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in runTest()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java468 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getContextForSaw() local
469 Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in getContextForSaw()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java654 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testThumbnailVP9Hdr()
656 displayManager.getDisplay(Display.DEFAULT_DISPLAY).getHdrCapabilities() in testThumbnailVP9Hdr()
670 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testThumbnailAV1Hdr()
672 displayManager.getDisplay(Display.DEFAULT_DISPLAY).getHdrCapabilities() in testThumbnailAV1Hdr()
DMediaExtractorTest.java181 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in advertisesDolbyVision() local
182 Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in advertisesDolbyVision()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1229 final DisplayManager displayManager = getInstrumentation() in isDisplayPortrait() local
1231 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in isDisplayPortrait()
1238 final DisplayManager displayManager = getInstrumentation() in isDisplayOn() local
1240 final Display display = displayManager.getDisplay(displayId); in isDisplayOn()