Home
last modified time | relevance | path

Searched refs:displayOpt (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp535 const auto displayOpt = mDisplays.get(id); in resyncToHardwareVsyncLocked() local
536 if (!displayOpt) { in resyncToHardwareVsyncLocked()
540 const Display& display = *displayOpt; in resyncToHardwareVsyncLocked()
562 if (const auto displayOpt = mDisplays.get(id)) { in onHardwareVsyncRequest()
563 auto& display = displayOpt->get(); in onHardwareVsyncRequest()
577 const auto displayOpt = mDisplays.get(id); in setRenderRate() local
578 if (!displayOpt) { in setRenderRate()
582 const Display& display = *displayOpt; in setRenderRate()
602 const auto displayOpt = mDisplays.get(id); in getNextFrameInterval() local
603 if (!displayOpt) { in getNextFrameInterval()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_DisplayTransactionCommitTest.cpp143 const auto displayOpt = mFlinger.mutablePhysicalDisplays().get(displayId); in verifyPhysicalDisplayIsConnected() local
144 ASSERT_TRUE(displayOpt); in verifyPhysicalDisplayIsConnected()
146 const auto& display = displayOpt->get(); in verifyPhysicalDisplayIsConnected()
377 const auto displayOpt = mFlinger.mutablePhysicalDisplays().get(displayId); in TEST_F() local
378 ASSERT_TRUE(displayOpt); in TEST_F()
379 EXPECT_NE(existing.token(), displayOpt->get().token()); in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1128 const auto displayOpt = mPhysicalDisplays.get(*id).and_then(getDisplayDeviceAndSnapshot()); in getStaticDisplayInfo() local
1130 if (!displayOpt) { in getStaticDisplayInfo()
1134 const auto& [display, snapshotRef] = *displayOpt; in getStaticDisplayInfo()
1245 const auto displayOpt = mPhysicalDisplays.get(*id_).and_then(getDisplayDeviceAndSnapshot()); in getDynamicDisplayInfoFromId() local
1247 if (!displayOpt) { in getDynamicDisplayInfoFromId()
1251 const auto& [display, snapshotRef] = *displayOpt; in getDynamicDisplayInfoFromId()
1264 const auto displayOpt = ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in getDynamicDisplayInfoFromToken() local
1268 if (!displayOpt) { in getDynamicDisplayInfoFromToken()
1272 const auto& [display, snapshotRef] = *displayOpt; in getDynamicDisplayInfoFromToken()
1376 const auto displayOpt = in setActiveModeFromBackdoor() local
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DAidlComposerHal.cpp1649 std::optional<int64_t> displayOpt; in addReader() local
1651 displayOpt.emplace(displayId); in addReader()
1653 auto [it, added] = mReaders.try_emplace(display, std::move(displayOpt)); in addReader()