/cts/tests/tests/car/src/android/car/cts/utils/ |
D | DisplayUtils.java | 66 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in createDisplay() local 67 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplay() 95 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in createDisplayWithDefaultDisplayMetricsAndWait() local 97 displayManager.getDisplay(DEFAULT_DISPLAY).getRealMetrics(metrics); in createDisplayWithDefaultDisplayMetricsAndWait() 120 displayManager.registerDisplayListener(listener, null); in createDisplayWithDefaultDisplayMetricsAndWait() 125 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait() 132 () -> displayManager.getDisplay(theNewDisplayId) != null, in createDisplayWithDefaultDisplayMetricsAndWait() 136 displayManager.unregisterDisplayListener(listener); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | DisplayUtils.java | 68 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in createDisplayWithDefaultDisplayMetricsAndWait() local 70 displayManager.getDisplay(DEFAULT_DISPLAY).getRealMetrics(metrics); in createDisplayWithDefaultDisplayMetricsAndWait() 93 displayManager.registerDisplayListener(listener, null); in createDisplayWithDefaultDisplayMetricsAndWait() 98 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait() 105 () -> displayManager.getDisplay(theNewDisplayId) != null, in createDisplayWithDefaultDisplayMetricsAndWait() 109 displayManager.unregisterDisplayListener(listener); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplaySizeTest.java | 114 final DisplayManager displayManager = mDm; in testSizeRangesAfterSettingDisplaySize() local 115 virtualDisplay = displayManager.createVirtualDisplay("CtsDisplay", initialLength, in testSizeRangesAfterSettingDisplaySize() 124 displayManager.registerDisplayListener(new DisplayManager.DisplayListener() { in testSizeRangesAfterSettingDisplaySize() 134 synchronized (displayManager) { in testSizeRangesAfterSettingDisplaySize() 136 displayManager.notify(); in testSizeRangesAfterSettingDisplaySize() 138 displayManager.unregisterDisplayListener(this); in testSizeRangesAfterSettingDisplaySize() 146 synchronized (displayManager) { in testSizeRangesAfterSettingDisplaySize() 148 displayManager.wait(3000 /* milliseconds */); in testSizeRangesAfterSettingDisplaySize()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | HdrCapabilitiesAtomTests.java | 50 DisplayManager displayManager = InstrumentationRegistry.getTargetContext().getSystemService( in cacheOriginalHdrConversionMode() local 53 HdrConversionMode hdrConversionModeSetting = displayManager.getHdrConversionModeSetting(); in cacheOriginalHdrConversionMode() 81 DisplayManager displayManager = InstrumentationRegistry.getTargetContext().getSystemService( in getDeviceHdrOutCapabilities() local 84 int[] supportedHdrOutputTypes = displayManager.getSupportedHdrOutputTypes(); in getDeviceHdrOutCapabilities() 96 DisplayManager displayManager = InstrumentationRegistry.getTargetContext().getSystemService( in has4k30Issue() local 98 Display display = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in has4k30Issue() 147 DisplayManager displayManager = InstrumentationRegistry.getTargetContext().getSystemService( 151 () -> displayManager.setHdrConversionMode(new HdrConversionMode(
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DisplayStateManager.java | 61 public DisplayState(@NonNull DisplayManager displayManager) { in DisplayState() argument 62 mAreUserDisabledHdrTypesAllowed = displayManager.areUserDisabledHdrTypesAllowed(); in DisplayState() 63 int[] disabledHdrTypes = displayManager.getUserDisabledHdrTypes(); in DisplayState()
|
D | DisplayUtil.java | 82 public static int getRefreshRateSwitchingType(DisplayManager displayManager) { in getRefreshRateSwitchingType() argument 83 return toSwitchingType(displayManager.getMatchContentFrameRateUserPreference()); in getRefreshRateSwitchingType()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | DisplayHelperTest.java | 94 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testDisplayType() local 95 Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in testDisplayType() 111 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in getAllLocalDisplays() local 112 Display[] allDisplays = displayManager.getDisplays(); in getAllLocalDisplays()
|
/cts/tests/tests/car/src/android/car/view/cts/ |
D | DisplayHelperTest.java | 39 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testGetUniqueId() local 40 Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in testGetUniqueId()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 152 final DisplayManager displayManager = (DisplayManager) context.getSystemService( in createDisplayWithDefaultDisplayMetricsAndWait() local 154 displayManager.registerDisplayListener(listener, null); in createDisplayWithDefaultDisplayMetricsAndWait() 157 displayManager.getDisplay(DEFAULT_DISPLAY).getRealMetrics(metrics); in createDisplayWithDefaultDisplayMetricsAndWait() 163 () -> displayManager.getDisplay(display.getDisplayId()) != null, in createDisplayWithDefaultDisplayMetricsAndWait() 167 displayManager.unregisterDisplayListener(listener); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/input/src/android/input/cts/ |
D | VirtualDisplayActivityScenarioRule.kt | 141 val displayManager = in createDisplay() constant 145 displayManager.registerDisplayListener(object : DisplayManager.DisplayListener { in createDisplay() 150 displayManager.unregisterDisplayListener(this) in createDisplay() 154 virtualDisplay = displayManager.createVirtualDisplay( in createDisplay()
|
D | TouchModeTest.kt | 78 private lateinit var displayManager: DisplayManager in <lambda>() variable in android.input.cts.TouchModeTest 90 displayManager = targetContext.getSystemService(DisplayManager::class.java) in <lambda>() 277 val display = Arrays.stream(displayManager.displays).filter { d -> in <lambda>() 356 displayManager.registerDisplayListener(object : DisplayManager.DisplayListener { in <lambda>() 361 displayManager.unregisterDisplayListener(this) in <lambda>() 366 virtualDisplay = displayManager.createVirtualDisplay( in <lambda>()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | DisplayDeviceInfo.java | 40 DisplayManager displayManager = (DisplayManager) in collectDeviceInfo() local 44 List<Display> internalDisplays = Arrays.stream(displayManager.getDisplays()) in collectDeviceInfo()
|
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/ |
D | OverlayWindowTestActivitySdk22.java | 68 DisplayManager displayManager = getSystemService(DisplayManager.class); in createOverlayWindowOnDisplay() local 69 Display display = displayManager.getDisplay(displayId); in createOverlayWindowOnDisplay()
|
/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/tests/car_builtin/src/android/car/cts/builtin/power/ |
D | PowerManagerHelperTest.java | 77 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in testNewWakeLock() local 78 Display[] displays = displayManager.getDisplays(); in testNewWakeLock()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 106 final DisplayManager displayManager = getInstrumentation() in createVirtualDisplay() local 126 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
|
/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/mediapc/common/src/android/mediapc/cts/common/ |
D | Utils.java | 105 DisplayManager displayManager = context.getSystemService(DisplayManager.class); 106 Display defaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); 108 Arrays.stream(displayManager.getDisplays())
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextTestBase.java | 80 final DisplayManager displayManager = mApplicationContext in createSecondaryDisplay() local 87 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/ |
D | SdkAvailabilityTest.java | 171 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in hasLargeScreenDisplay() local 172 return Arrays.stream(displayManager.getDisplays()) in hasLargeScreenDisplay()
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 132 DisplayManager displayManager = context.getSystemService(DisplayManager.class); in getContextForSaw() local 133 Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in getContextForSaw()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WallpaperWindowInputTests.kt | 69 val displayManager = in setup() constant 71 val display = displayManager.getDisplay(DEFAULT_DISPLAY)!! in setup()
|
/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/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityTestCase.java | 197 DisplayManager displayManager = sContext.getSystemService(DisplayManager.class); in getSecondaryDisplayIdForStartingVisibleBackgroundUser() local 198 Display[] allDisplays = displayManager.getDisplays(); in getSecondaryDisplayIdForStartingVisibleBackgroundUser()
|