Home
last modified time | relevance | path

Searched refs:createDisplay (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt43 val noCutoutDisplay = createDisplay(cutout = null) in cutoutInfoForCurrentDisplay_noCutout_returnsNull()
54 val cutoutDisplay = createDisplay() in cutoutInfoForCurrentDisplay_returnsCutout()
65 val cutoutDisplay = createDisplay() in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection()
99 val displayContext = context.createDisplayContext(createDisplay(uniqueId = null)) in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection()
110 val displayContext = context.createDisplayContext(createDisplay(uniqueId = "")) in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection()
163 createDisplay( in cutoutInfo_withRotation_doesNotMutateOriginalBounds()
232 createDisplay( in setUpProviderWithCameraProtection()
255 private val OUTER_DISPLAY = createDisplay(uniqueId = OUTER_DISPLAY_UNIQUE_ID)
257 private fun createDisplay( in createDisplay() method
/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp61 void createDisplay(const ui::Size& layerStackSize, ui::LayerStack layerStack) { in createDisplay() function in android::MultiDisplayLayerBoundsTest
102 createDisplay(mMainDisplayState.layerStackSpaceRect, kLayerStack); in TEST_F()
125 createDisplay(mMainDisplayState.layerStackSpaceRect, ui::DEFAULT_LAYER_STACK); in TEST_F()
153 createDisplay(mMainDisplayState.layerStackSpaceRect, layerStack); in TEST_F()
/frameworks/base/tests/Input/src/android/hardware/input/
DInputManagerTest.kt118 val usiVersion = inputManager.getHostUsiVersion(createDisplay(42)) in testUsiVersionDisplayAssociation()
130 val usiVersion = inputManager.getHostUsiVersion(createDisplay(42)) in testUsiVersionFallBackToDisplayConfig()
150 private fun createDisplay(displayId: Int): Display { in createInputDevice() method
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp148 static std::shared_ptr<Display> createDisplay( in createDisplay() function
230 createDisplay<Display>(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay());
253 createDisplay<Display>(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay());
268 impl::createDisplay(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay()); in TEST_F()
276 impl::createDisplay(mCompositionEngine, getDisplayCreationArgsForGpuVirtualDisplay()); in TEST_F()
438 std::shared_ptr<impl::Display> virtualDisplay = impl::createDisplay(mCompositionEngine, args); in TEST_F()
512 std::shared_ptr<impl::Display> gpuDisplay = impl::createDisplay(mCompositionEngine, args); in TEST_F()
689 auto gpuDisplay{impl::createDisplay(mCompositionEngine, args)}; in TEST_F()
877 auto gpuDisplay{impl::createDisplay(mCompositionEngine, args)}; in TEST_F()
954 std::shared_ptr<impl::Display> gpuDisplay = impl::createDisplay(mCompositionEngine, args); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp50 std::shared_ptr<compositionengine::Display> CompositionEngine::createDisplay( in createDisplay() function in android::compositionengine::impl::CompositionEngine
52 return compositionengine::impl::createDisplay(*this, args); in createDisplay()
DDisplay.cpp48 std::shared_ptr<Display> createDisplay( in createDisplay() function
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DCompositionEngine.h35 MOCK_METHOD1(createDisplay, std::shared_ptr<Display>(const DisplayCreationArgs&));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionEngine.h51 virtual std::shared_ptr<Display> createDisplay(const DisplayCreationArgs&) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DCompositionEngine.h28 std::shared_ptr<compositionengine::Display> createDisplay(
DDisplay.h121 std::shared_ptr<Display> createDisplay(const compositionengine::CompositionEngine&,
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitAndCompositeTest.h54 compositionengine::impl::createDisplay(mFlinger.getCompositionEngine(), in SetUp()
DFakeDisplayInjector.h68 createDisplay(mFlinger.getCompositionEngine(),
DDisplayTransactionTestHelpers.h273 compositionengine::impl::createDisplay(test->mFlinger.getCompositionEngine(),
413 return compositionengine::impl::createDisplay(test->mFlinger.getCompositionEngine(),
586 return compositionengine::impl::createDisplay(test->mFlinger.getCompositionEngine(),
636 compositionengine::impl::createDisplay(test->mFlinger.getCompositionEngine(),
DTestableSurfaceFlinger.h599 createDisplay(mFlinger->getCompositionEngine(), in createVirtualDisplayDevice()
DCompositionTest.cpp276 compositionengine::impl::createDisplay(test->mFlinger.getCompositionEngine(), in setupPreconditions()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSkinThermalStatusObserverTest.java261 return new Display[] {createDisplay(DISPLAY_ID), createDisplay(DISPLAY_ID_OTHER)}; in getDisplays()
DProximitySensorObserverTest.java109 return new Display[] { createDisplay(DISPLAY_ID) }; in getDisplays()
DDisplayModeDirectorTest.java3658 mDisplays = Map.of(DISPLAY_ID, createDisplay(DISPLAY_ID), in FakesInjector()
3659 DISPLAY_ID_2, createDisplay(DISPLAY_ID_2)); in FakesInjector()
3748 protected Display createDisplay(int id) { in createDisplay() method in DisplayModeDirectorTest.FakesInjector
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java95 public IBinder createDisplay(String name, boolean secure, String uniqueId, in VirtualDisplayAdapter()
131 IBinder displayToken = mSurfaceControlDisplayFactory.createDisplay(name, secure, uniqueId, in createVirtualDisplayLocked()
669 IBinder createDisplay(String name, boolean secure, String uniqueId, in createDisplay() method
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp1192 void createDisplay(int32_t width, int32_t height, bool isSecure, ui::LayerStack layerStack, in createDisplay() function in android::test::MultiDisplayTests
1240 createDisplay(1000, 1000, false /*isSecure*/, layerStack); in TEST_F()
1256 createDisplay(1000, 1000, false /*isSecure*/, layerStack); in TEST_F()
1279 createDisplay(1000, 1000, true /*isSecure*/, layerStack); in TEST_F()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java285 public IBinder createDisplay(String name, boolean secure, String uniqueId, in getVirtualDisplayAdapter()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3832 auto compositionDisplay = getCompositionEngine().createDisplay(builder.build()); in processDisplayAdded()