Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Display/
DPhysicalDisplay.h35 class PhysicalDisplay {
38 PhysicalDisplay(sp<DisplayToken> token, Args&&... args) in PhysicalDisplay() function
41 PhysicalDisplay(const PhysicalDisplay&) = delete;
42 PhysicalDisplay(PhysicalDisplay&&) = default;
57 return [&token](const std::pair<const PhysicalDisplayId, PhysicalDisplay>& pair) { in hasToken()
69 using PhysicalDisplays = ui::PhysicalDisplayMap<PhysicalDisplayId, PhysicalDisplay>;
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h163 template <typename PhysicalDisplay>
174 template <typename PhysicalDisplay>
175 struct IsPhysicalDisplayId<PhysicalDisplayIdType<PhysicalDisplay>> : std::bool_constant<true> {};
180 template <typename PhysicalDisplay>
181 struct DisplayIdGetter<PhysicalDisplayIdType<PhysicalDisplay>> {
183 if (!PhysicalDisplay::HAS_IDENTIFICATION_DATA) {
184 return PhysicalDisplayId::fromPort(static_cast<bool>(PhysicalDisplay::PRIMARY)
190 parseDisplayIdentificationData(PhysicalDisplay::PORT,
191 PhysicalDisplay::GET_IDENTIFICATION_DATA());
192 return info ? info->id : PhysicalDisplayId::fromPort(PhysicalDisplay::PORT);
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp192 using display::PhysicalDisplay;
702 return ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in getPhysicalDisplayIdLocked()
1264 const auto displayOpt = ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in getDynamicDisplayInfoFromToken()
1379 PhysicalDisplay::hasToken(displayToken)) in setActiveModeFromBackdoor()
1583 const auto display = ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in getDisplayNativePrimaries()
1589 if (!display.transform(&PhysicalDisplay::isInternal).value()) { in getDisplayNativePrimaries()
1606 ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in setActiveColorMode()
1687 ftl::find_if(mPhysicalDisplays, PhysicalDisplay::hasToken(displayToken)) in setBootDisplayMode()
1689 .transform(&PhysicalDisplay::snapshotRef); in setBootDisplayMode()
3299 mPhysicalDisplays.get(id).transform(&PhysicalDisplay::isInternal).value_or(false); in onCompositionPresented()
[all …]
DSurfaceFlinger.h1015 return [this](const display::PhysicalDisplay& display) REQUIRES( in getDisplayDeviceAndSnapshot()
1046 .transform(&display::PhysicalDisplay::isInternal) in makeLayerFilterForDisplay()
1115 .transform([](const display::PhysicalDisplay& display) { return display.token(); }) in getPhysicalDisplayTokenLocked()