Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h828 const auto it = mPhysicalDisplayTokens.find(displayId); in getPhysicalDisplayTokenLocked()
829 return it != mPhysicalDisplayTokens.end() ? it->second : nullptr; in getPhysicalDisplayTokenLocked()
833 for (const auto& [id, token] : mPhysicalDisplayTokens) { in getPhysicalDisplayIdLocked()
1013 std::unordered_map<DisplayId, sp<IBinder>> mPhysicalDisplayTokens; variable
DSurfaceFlinger.cpp496 displayIds.reserve(mPhysicalDisplayTokens.size()); in getPhysicalDisplayIds()
499 for (const auto& [id, token] : mPhysicalDisplayTokens) { in getPhysicalDisplayIds()
2564 if (!mPhysicalDisplayTokens.count(info->id)) { in processDisplayHotplugEventsLocked()
2569 mPhysicalDisplayTokens[info->id] = new BBinder(); in processDisplayHotplugEventsLocked()
2574 mCurrentState.displays.add(mPhysicalDisplayTokens[info->id], state); in processDisplayHotplugEventsLocked()
2580 ssize_t index = mCurrentState.displays.indexOfKey(mPhysicalDisplayTokens[info->id]); in processDisplayHotplugEventsLocked()
2586 mPhysicalDisplayTokens.erase(info->id); in processDisplayHotplugEventsLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h330 auto& mutablePhysicalDisplayTokens() { return mFlinger->mPhysicalDisplayTokens; } in mutablePhysicalDisplayTokens()