Home
last modified time | relevance | path

Searched refs:virtualDisplay (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java114 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() local
116 assertNotNull("virtual display must not be null", virtualDisplay); in testPrivateVirtualDisplay()
118 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay()
127 virtualDisplay.release(); in testPrivateVirtualDisplay()
137 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() local
140 assertNotNull("virtual display must not be null", virtualDisplay); in testPrivatePresentationVirtualDisplay()
142 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay()
151 virtualDisplay.release(); in testPrivatePresentationVirtualDisplay()
165 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay() local
169 assertNotNull("virtual display must not be null", virtualDisplay); in testPublicPresentationVirtualDisplay()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DVirtualDisplay_test.cpp44 sp<IBinder> virtualDisplay = in TEST_F() local
48 t.setDisplaySurface(virtualDisplay, mProducer); in TEST_F()
51 SurfaceComposerClient::destroyDisplay(virtualDisplay); in TEST_F()
52 virtualDisplay.clear(); in TEST_F()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java206 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in run() local
208 if (virtualDisplay != null) { in run()
210 virtualDisplay.getDisplay()).sendToTarget(); in run()
215 virtualDisplay.getDisplay()).sendToTarget(); in run()
216 virtualDisplay.release(); in run()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java179 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in getSecondaryDisplay() local
182 return virtualDisplay.getDisplay(); in getSecondaryDisplay()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp471 std::shared_ptr<impl::Display> virtualDisplay = impl::createDisplay(mCompositionEngine, args); in TEST_F() local
474 virtualDisplay->setDisplayColorProfileForTest( in TEST_F()
482 virtualDisplay->setColorProfile( in TEST_F()
486 EXPECT_EQ(ui::ColorMode::NATIVE, virtualDisplay->getState().colorMode); in TEST_F()
487 EXPECT_EQ(ui::Dataspace::UNKNOWN, virtualDisplay->getState().dataspace); in TEST_F()
488 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay->getState().renderIntent); in TEST_F()
489 EXPECT_EQ(ui::Dataspace::UNKNOWN, virtualDisplay->getState().targetDataspace); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java405 Display virtualDisplay = dm.createVirtualDisplay("virtual-display", in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation() local
407 Context virtualDisplayContext = appContext.createDisplayContext(virtualDisplay); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()