Home
last modified time | relevance | path

Searched refs:mDisplayManager (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java63 private DisplayManager mDisplayManager; field in BrightnessTest
70 mDisplayManager = mContext.getSystemService(DisplayManager.class); in setUp()
178 mDisplayManager.getBrightnessEvents(); in testSliderUsagePermission()
196 mDisplayManager.setBrightnessConfiguration(config); in testConfigureBrightnessPermission()
222 mDisplayManager.setBrightnessConfiguration(config); in testSetGetSimpleCurve()
223 BrightnessConfiguration returnedConfig = mDisplayManager.getBrightnessConfiguration(); in testSetGetSimpleCurve()
233 mDisplayManager.setBrightnessConfiguration(null); in testSetGetSimpleCurve()
234 returnedConfig = mDisplayManager.getBrightnessConfiguration(); in testSetGetSimpleCurve()
235 assertEquals(mDisplayManager.getDefaultBrightnessConfiguration(), returnedConfig); in testSetGetSimpleCurve()
247 BrightnessConfiguration defaultConfig = mDisplayManager.getDefaultBrightnessConfiguration(); in testGetDefaultCurve()
[all …]
DDisplayTest.java81 private DisplayManager mDisplayManager; field in DisplayTest
100 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
161 Display[] displays = mDisplayManager.getDisplays(); in testGetDisplays()
192 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testDefaultDisplayHdrCapability()
213 Display display = getSecondaryDisplay(mDisplayManager.getDisplays());
223 Display display = getSecondaryDisplay(mDisplayManager.getDisplays());
249 testGetMetrics(mDisplayManager);
292 Display display = getSecondaryDisplay(mDisplayManager.getDisplays());
302 Display display = getSecondaryDisplay(mDisplayManager.getDisplays());
323 final Display display = getSecondaryDisplay(mDisplayManager.getDisplays());
[all …]
DVirtualDisplayTest.java70 private DisplayManager mDisplayManager; field in VirtualDisplayTest
83 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
120 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay()
144 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay()
169 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplayWithDynamicSurface()
210 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayRegistered()
214 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered()
218 findDisplay(mDisplayManager.getDisplays( in assertDisplayRegistered()
225 findDisplay(mDisplayManager.getDisplays(), NAME)); in assertDisplayUnregistered()
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java115 private final DisplayManager mDisplayManager; field in RemoteVirtualDisplayService.VirtualDisplayPresentation
124 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in VirtualDisplayPresentation()
131 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
DEncodeVirtualDisplayTest.java109 private DisplayManager mDisplayManager; field in EncodeVirtualDisplayTest
122 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()
236 virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in encodeVirtualDisplayTest()
DEncodeVirtualDisplayWithCompositionTest.java1203 private final DisplayManager mDisplayManager; field in EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation
1210 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in VirtualDisplayPresentation()
1217 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java93 private DisplayManager mDisplayManager; field in VirtualDisplayActivity
100 mDisplayManager = (DisplayManager) getSystemService(DISPLAY_SERVICE); in onCreate()
211 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in surfaceCreated()