Searched refs:displayOpt (Results 1 – 4 of 4) sorted by relevance
535 const auto displayOpt = mDisplays.get(id); in resyncToHardwareVsyncLocked() local536 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() local578 if (!displayOpt) { in setRenderRate()582 const Display& display = *displayOpt; in setRenderRate()602 const auto displayOpt = mDisplays.get(id); in getNextFrameInterval() local603 if (!displayOpt) { in getNextFrameInterval()[all …]
143 const auto displayOpt = mFlinger.mutablePhysicalDisplays().get(displayId); in verifyPhysicalDisplayIsConnected() local144 ASSERT_TRUE(displayOpt); in verifyPhysicalDisplayIsConnected()146 const auto& display = displayOpt->get(); in verifyPhysicalDisplayIsConnected()377 const auto displayOpt = mFlinger.mutablePhysicalDisplays().get(displayId); in TEST_F() local378 ASSERT_TRUE(displayOpt); in TEST_F()379 EXPECT_NE(existing.token(), displayOpt->get().token()); in TEST_F()
1128 const auto displayOpt = mPhysicalDisplays.get(*id).and_then(getDisplayDeviceAndSnapshot()); in getStaticDisplayInfo() local1130 if (!displayOpt) { in getStaticDisplayInfo()1134 const auto& [display, snapshotRef] = *displayOpt; in getStaticDisplayInfo()1245 const auto displayOpt = mPhysicalDisplays.get(*id_).and_then(getDisplayDeviceAndSnapshot()); in getDynamicDisplayInfoFromId() local1247 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() local1268 if (!displayOpt) { in getDynamicDisplayInfoFromToken()1272 const auto& [display, snapshotRef] = *displayOpt; in getDynamicDisplayInfoFromToken()1376 const auto displayOpt = in setActiveModeFromBackdoor() local[all …]
1649 std::optional<int64_t> displayOpt; in addReader() local1651 displayOpt.emplace(displayId); in addReader()1653 auto [it, added] = mReaders.try_emplace(display, std::move(displayOpt)); in addReader()