Searched refs:virtualDisplay (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 114 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/ |
D | VirtualDisplay_test.cpp | 44 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/ |
D | DisplaySourceService.java | 206 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/ |
D | ContextTest.java | 179 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in getSecondaryDisplay() local 182 return virtualDisplay.getDisplay(); in getSecondaryDisplay()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 471 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/ |
D | ActivityThreadTest.java | 405 Display virtualDisplay = dm.createVirtualDisplay("virtual-display", in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation() local 407 Context virtualDisplayContext = appContext.createDisplayContext(virtualDisplay); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
|