Searched refs:DEFAULT_DISPLAY_ID (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 41 constexpr std::optional<DisplayId> DEFAULT_DISPLAY_ID = std::make_optional(DisplayId{123u}); variable 56 EXPECT_CALL(mDisplay, getId()).WillRepeatedly(ReturnRef(DEFAULT_DISPLAY_ID)); in RenderSurfaceTest() 197 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 204 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 211 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 213 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F() 214 EXPECT_CALL(mHwComposer, hasDeviceComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F() 223 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 225 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F() 226 EXPECT_CALL(mHwComposer, hasDeviceComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F() [all …]
|
D | DisplayTest.cpp | 38 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{42}; 48 DisplayCreationArgsBuilder().setDisplayId(DEFAULT_DISPLAY_ID).build()}; 100 EXPECT_CALL(mHwComposer, disconnectDisplay(DEFAULT_DISPLAY_ID)).Times(1); in TEST_F() 105 EXPECT_CALL(mHwComposer, disconnectDisplay(DEFAULT_DISPLAY_ID)).Times(0); in TEST_F() 120 EXPECT_CALL(mHwComposer, setColorTransform(DEFAULT_DISPLAY_ID, identity)).Times(1); in TEST_F() 129 EXPECT_CALL(mHwComposer, setColorTransform(DEFAULT_DISPLAY_ID, nonIdentity)).Times(1); in TEST_F() 162 setActiveColorMode(DEFAULT_DISPLAY_ID, ui::ColorMode::DISPLAY_P3, in TEST_F() 176 DisplayCreationArgs{false, true, DEFAULT_DISPLAY_ID}}; in TEST_F()
|
D | OutputLayerTest.cpp | 36 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{42}; 94 EXPECT_CALL(hwc, createLayer(DEFAULT_DISPLAY_ID)).WillOnce(Return(&hwcLayer)); in TEST_F() 96 mOutputLayer.initialize(compositionEngine, DEFAULT_DISPLAY_ID); in TEST_F() 104 EXPECT_CALL(hwc, destroyLayer(DEFAULT_DISPLAY_ID, &hwcLayer)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 76 constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{42}; 262 FakeHwcDisplayInjector(DEFAULT_DISPLAY_ID, HWC2::DisplayType::Physical, in setupPreconditions() 276 test->mDisplay = FakeDisplayDeviceInjector(test->mFlinger, DEFAULT_DISPLAY_ID, in setupPreconditions() 788 ->getOrCreateOutputLayer(DEFAULT_DISPLAY_ID, in injectLayer()
|
D | DisplayTransactionTest.cpp | 1177 static constexpr DisplayId DEFAULT_DISPLAY_ID = DisplayId{777}; 1181 mInjector(FakeDisplayDeviceInjector(mFlinger, DEFAULT_DISPLAY_ID, false /* isVirtual */, in GetBestColorModeTest()
|