Home
last modified time | relevance | path

Searched refs:createDisplayMode (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_ExcludeDolbyVisionTest.cpp49 createDisplayMode(modeId1080p60, 60_Hz, 0, ui::Size(1920, 1080));
51 createDisplayMode(modeId4k30, 30_Hz, 1, ui::Size(3840, 2160));
53 createDisplayMode(modeId4k30, 30.1_Hz, 1, ui::Size(3840, 2160));
55 createDisplayMode(modeId4k60, 60_Hz, 2, ui::Size(3840, 2160));
DVsyncScheduleTest.cpp33 using android::mock::createDisplayMode;
162 const auto mode = ftl::as_non_null(createDisplayMode(DisplayModeId(0), 60_Hz)); in TEST_F()
174 const auto mode = ftl::as_non_null(createDisplayMode(DisplayModeId(0), 60_Hz)); in TEST_F()
185 const auto mode = ftl::as_non_null(createDisplayMode(DisplayModeId(0), 60_Hz)); in TEST_F()
DLayerInfoTest.cpp36 using android::mock::createDisplayMode;
61 std::make_shared<RefreshRateSelector>(makeModes(createDisplayMode(DisplayModeId(0),
63 createDisplayMode(DisplayModeId(1),
DDisplayModeControllerTest.cpp129 ftl::as_non_null(mock::createDisplayMode(kModeId60, 60_Hz));
131 ftl::as_non_null(mock::createDisplayMode(kModeId90, 90_Hz));
133 ftl::as_non_null(mock::createDisplayMode(kModeId120, 120_Hz));
DSurfaceFlinger_DisplayModeSwitching.cpp128 static inline const DisplayModePtr kMode60 = createDisplayMode(kModeId60, 60_Hz, 0);
129 static inline const DisplayModePtr kMode90 = createDisplayMode(kModeId90, 90_Hz, 1);
130 static inline const DisplayModePtr kMode120 = createDisplayMode(kModeId120, 120_Hz, 2);
134 createDisplayMode(kModeId90_4K, 90_Hz, 3, kResolution4K);
DSchedulerTest.cpp45 using android::mock::createDisplayMode;
82 ftl::as_non_null(createDisplayMode(kDisplayId1, DisplayModeId(0), 60_Hz));
84 ftl::as_non_null(createDisplayMode(kDisplayId1, DisplayModeId(1), 120_Hz));
89 ftl::as_non_null(createDisplayMode(kDisplayId2, DisplayModeId(0), 60_Hz));
91 ftl::as_non_null(createDisplayMode(kDisplayId2, DisplayModeId(1), 120_Hz));
96 ftl::as_non_null(createDisplayMode(kDisplayId3, DisplayModeId(0), 60_Hz));
DRefreshRateSelectorTest.cpp54 using mock::createDisplayMode;
168 ftl::as_non_null(createDisplayMode(kModeId60, 60_Hz));
170 ftl::as_non_null(createDisplayMode(kModeId60Frac, 59.94_Hz));
172 ftl::as_non_null(createDisplayMode(kModeId90, 90_Hz));
174 ftl::as_non_null(createDisplayMode(kModeId90, 90_Hz, 1));
176 ftl::as_non_null(createDisplayMode(kModeId90, 90_Hz, 0, {3840, 2160}));
178 ftl::as_non_null(createDisplayMode(kModeId72, 72_Hz));
180 ftl::as_non_null(createDisplayMode(kModeId72, 72_Hz, 1));
182 ftl::as_non_null(createDisplayMode(kModeId120, 120_Hz));
184 ftl::as_non_null(createDisplayMode(kModeId120, 120_Hz, 1));
[all …]
DLayerHistoryIntegrationTest.cpp40 using android::mock::createDisplayMode;
161 std::make_shared<RefreshRateSelector>(makeModes(createDisplayMode(DisplayModeId(0),
163 createDisplayMode(DisplayModeId(1),
DDisplayTransactionTestHelpers.h768 inline DisplayModePtr createDisplayMode(DisplayModeId modeId, Fps refreshRate, int32_t group = 0,
770 return mock::createDisplayMode(modeId, refreshRate, group, resolution,
DVSyncPredictorTest.cpp46 using android::mock::createDisplayMode;
75 return ftl::as_non_null(createDisplayMode(DisplayModeId(0), refreshRate, kGroup, kResolution, in displayMode()
DVSyncReactorTest.cpp90 return ftl::as_non_null(mock::createDisplayMode(DisplayModeId(0), refreshRate, kGroup, in displayMode()
DLayerHistoryTest.cpp48 using android::mock::createDisplayMode;
144 makeModes(createDisplayMode(DisplayModeId(0), LO_FPS),
145 createDisplayMode(DisplayModeId(1), HI_FPS),
DTestableSurfaceFlinger.h238 makeModes(mock::createDisplayMode(arg.displayId, kModeId60, 60_Hz)),
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h35 inline DisplayModePtr createDisplayMode(
42 inline DisplayModePtr createDisplayMode(PhysicalDisplayId displayId, DisplayModeId modeId, in createDisplayMode() function
44 return createDisplayMode(modeId, refreshRate, {}, {}, displayId); in createDisplayMode()