/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoCaptureVideoPermissionTest.java | 46 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/ |
D | DisplaySizeTest.java | 110 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()
|
D | VirtualDisplayHelper.java | 105 final DisplayManager displayManager = getInstrumentation() in createVirtualDisplay() local 125 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
|
D | WindowTest.java | 826 DisplayManager displayManager = in createPresentation() local 828 mVirtualDisplay = displayManager.createVirtualDisplay("localFocusTest", in createPresentation()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 112 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/ |
D | DisplayUtil.java | 82 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/ |
D | SimpleKeyguardService.java | 51 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/ |
D | RenderService.java | 81 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/ |
D | CarOccupantZoneManagerTest.java | 77 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/ |
D | ContextTestBase.java | 72 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/ |
D | UntrustedTouchTestService.java | 130 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/ |
D | HotplugTestActivity.java | 187 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in onDisplayChanged() local 188 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in onDisplayChanged()
|
D | ModeSwitchingTestActivity.java | 71 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/ |
D | CapturedActivity.java | 271 final DisplayManager displayManager = in runTest() local 274 final Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in runTest()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 468 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/ |
D | MediaMetadataRetrieverTest.java | 654 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()
|
D | MediaExtractorTest.java | 181 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/ |
D | ActivityManagerTestBase.java | 1229 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()
|