Home
last modified time | relevance | path

Searched refs:mDisplayResources (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp72 for (const auto& it : mDisplayResources) { in ~ComposerClient()
86 mDisplayResources.clear(); in ~ComposerClient()
112 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay()
123 mDisplayResources.erase(display); in destroyVirtualDisplay()
132 auto resourceIt = mDisplayResources.find(display); in createLayer()
133 if (resourceIt == mDisplayResources.end()) { in createLayer()
134 resourceIt = mDisplayResources.insert({display, DisplayResource(false)}).first; in createLayer()
148 auto resourceIt = mDisplayResources.find(display); in destroyLayer()
149 ASSERT_NE(mDisplayResources.end(), resourceIt); in destroyLayer()
/hardware/interfaces/graphics/composer/2.2/utils/resources/
DComposerResources.cpp59 auto iter = mDisplayResources.find(display); in getDisplayReadbackBuffer()
60 if (iter == mDisplayResources.end()) { in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
DComposerResources.h73 auto iter = mDisplayResources.find(display); in getDisplayReadbackBuffer()
74 if (iter == mDisplayResources.end()) { in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp300 for (const auto& displayKey : mDisplayResources) { in clear()
305 mDisplayResources.clear(); in clear()
309 return mDisplayResources.count(display) > 0; in hasDisplay()
316 auto result = mDisplayResources.emplace(display, std::move(displayResource)); in addPhysicalDisplay()
325 auto result = mDisplayResources.emplace(display, std::move(displayResource)); in addVirtualDisplay()
331 return mDisplayResources.erase(display) > 0 ? Error::NONE : Error::BAD_DISPLAY; in removeDisplay()
449 auto iter = mDisplayResources.find(display); in findDisplayResourceLocked()
450 if (iter == mDisplayResources.end()) { in findDisplayResourceLocked()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h125 std::unordered_map<Display, DisplayResource> mDisplayResources; variable
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h246 std::unordered_map<Display, std::unique_ptr<ComposerDisplayResource>> mDisplayResources; variable
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp104 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay_2_2()