Home
last modified time | relevance | path

Searched refs:sCookies (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp29 static std::map<uintptr_t, wp<DeathNotifier::DeathRecipient>> sCookies; variable
55 if (auto it = sCookies.find(reinterpret_cast<uintptr_t>(cookie)); it != sCookies.end()) { in OnBinderDied()
57 sCookies.erase(it); in OnBinderDied()
76 sCookies.erase(mCookieKey); in ~DeathRecipient()
105 sCookies[mDeathRecipient->mCookieKey] = mDeathRecipient;
/frameworks/av/media/module/libmediatranscoding/
DTranscodingResourcePolicy.cpp81 static std::map<uintptr_t, std::unique_ptr<TranscodingResourcePolicyCookie>> sCookies; variable
88 if (auto it = sCookies.find(reinterpret_cast<uintptr_t>(cookie)); it != sCookies.end()) { in BinderDiedCallback()
94 sCookies.erase(it); in BinderDiedCallback()
118 std::erase_if(sCookies, [this](const auto& cookieEntry) { in ~TranscodingResourcePolicy()
168 sCookies.emplace(cookieKey, std::move(cookie)); in registerSelf()