Home
last modified time | relevance | path

Searched refs:mPhysicalDisplayTokens (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h811 const auto it = mPhysicalDisplayTokens.find(displayId); in getPhysicalDisplayTokenLocked()
812 return it != mPhysicalDisplayTokens.end() ? it->second : nullptr; in getPhysicalDisplayTokenLocked()
816 for (const auto& [id, token] : mPhysicalDisplayTokens) { in getPhysicalDisplayIdLocked()
994 std::unordered_map<DisplayId, sp<IBinder>> mPhysicalDisplayTokens; variable
DSurfaceFlinger.cpp489 displayIds.reserve(mPhysicalDisplayTokens.size()); in getPhysicalDisplayIds()
492 for (const auto& [id, token] : mPhysicalDisplayTokens) { in getPhysicalDisplayIds()
2531 if (!mPhysicalDisplayTokens.count(info->id)) { in processDisplayHotplugEventsLocked()
2533 mPhysicalDisplayTokens[info->id] = new BBinder(); in processDisplayHotplugEventsLocked()
2538 mCurrentState.displays.add(mPhysicalDisplayTokens[info->id], state); in processDisplayHotplugEventsLocked()
2544 ssize_t index = mCurrentState.displays.indexOfKey(mPhysicalDisplayTokens[info->id]); in processDisplayHotplugEventsLocked()
2550 mPhysicalDisplayTokens.erase(info->id); in processDisplayHotplugEventsLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h330 auto& mutablePhysicalDisplayTokens() { return mFlinger->mPhysicalDisplayTokens; } in mutablePhysicalDisplayTokens()