Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp79 for (const auto& it : mDisplayResources) { in ~ComposerClient()
93 mDisplayResources.clear(); in ~ComposerClient()
119 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay()
130 mDisplayResources.erase(display); in destroyVirtualDisplay()
139 auto resourceIt = mDisplayResources.find(display); in createLayer()
140 if (resourceIt == mDisplayResources.end()) { in createLayer()
141 resourceIt = mDisplayResources.insert({display, DisplayResource(false)}).first; in createLayer()
155 auto resourceIt = mDisplayResources.find(display); in destroyLayer()
156 ASSERT_NE(mDisplayResources.end(), resourceIt); in destroyLayer()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h333 for (const auto& displayKey : mDisplayResources) { in clear()
338 mDisplayResources.clear(); in clear()
346 auto result = mDisplayResources.emplace(display, std::move(displayResource)); in addPhysicalDisplay()
355 auto result = mDisplayResources.emplace(display, std::move(displayResource)); in addVirtualDisplay()
361 return mDisplayResources.erase(display) > 0 ? Error::NONE : Error::BAD_DISPLAY; in removeDisplay()
459 auto iter = mDisplayResources.find(display); in findDisplayResourceLocked()
460 if (iter == mDisplayResources.end()) { in findDisplayResourceLocked()
469 std::unordered_map<Display, std::unique_ptr<ComposerDisplayResource>> mDisplayResources; variable
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/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/vts/include/composer-vts/2.1/
DComposerVts.h124 std::unordered_map<Display, DisplayResource> mDisplayResources; variable
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp105 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay_2_2()