Searched refs:mDisplayManager (Results 1 – 7 of 7) sorted by relevance
63 private DisplayManager mDisplayManager; field in BrightnessTest70 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 …]
81 private DisplayManager mDisplayManager; field in DisplayTest100 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 …]
70 private DisplayManager mDisplayManager; field in VirtualDisplayTest83 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()
115 private final DisplayManager mDisplayManager; field in RemoteVirtualDisplayService.VirtualDisplayPresentation124 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in VirtualDisplayPresentation()131 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
109 private DisplayManager mDisplayManager; field in EncodeVirtualDisplayTest122 mDisplayManager = (DisplayManager)mContext.getSystemService(Context.DISPLAY_SERVICE); in setUp()236 virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in encodeVirtualDisplayTest()
1203 private final DisplayManager mDisplayManager; field in EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation1210 mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); in VirtualDisplayPresentation()1217 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
93 private DisplayManager mDisplayManager; field in VirtualDisplayActivity100 mDisplayManager = (DisplayManager) getSystemService(DISPLAY_SERVICE); in onCreate()211 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in surfaceCreated()