Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp213 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F()
225 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F()
237 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F()
249 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F()
283 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F()
297 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F()
311 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F()
325 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(false)); in TEST_F()
343 EXPECT_CALL(mHwComposer, hasClientComposition(DEFAULT_DISPLAY_ID)).WillOnce(Return(true)); in TEST_F()
DMockHWComposer.h54 MOCK_CONST_METHOD1(hasClientComposition, bool(const std::optional<DisplayId>&));
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp124 const bool hasClient = hwc.hasClientComposition(id); in prepareFrame()
169 if (hwc.hasClientComposition(id) || hwc.hasFlipClientTargetRequest(id)) { in queueBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h103 virtual bool hasClientComposition(const std::optional<DisplayId>& displayId) const = 0;
241 bool hasClientComposition(const std::optional<DisplayId>& displayId) const override;
333 bool hasClientComposition = false; member
DHWComposer.cpp427 if (!displayData.hasClientComposition) { in prepare()
464 displayData.hasClientComposition = false; in prepare()
481 displayData.hasClientComposition = true; in prepare()
534 bool HWComposer::hasClientComposition(const std::optional<DisplayId>& displayId) const { in hasClientComposition() function in android::impl::HWComposer
542 return mDisplayData.at(*displayId).hasClientComposition; in hasClientComposition()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1781 mHadClientComposition || getHwComposer().hasClientComposition(displayId); in handleMessageRefresh()
2055 if (displayDevice && getHwComposer().hasClientComposition(displayDevice->getId())) { in postComposition()
3403 const bool hasClientComposition = getHwComposer().hasClientComposition(displayId); in doComposeSurfaces() local
3405 ATRACE_INT("hasClientComposition", hasClientComposition); in doComposeSurfaces()
3414 if (hasClientComposition) { in doComposeSurfaces()
3503 layer->getRoundedCornerState().radius == 0.0f && hasClientComposition) { in doComposeSurfaces()
3542 if (hasClientComposition) { in doComposeSurfaces()