Lines Matching refs:mCache
145 } mCache; member in android::hardware::media::bufferpool::V1_0::implementation::ClientManager::Impl
166 std::unique_lock<std::mutex> lock(mCache.mMutex); in registerSender()
167 for (auto it = mCache.mClients.begin(); it != mCache.mClients.end(); ++it) { in registerSender()
179 mCache.mClients.erase(it); in registerSender()
183 if (!mCache.mConnecting) { in registerSender()
184 mCache.mConnecting = true; in registerSender()
198 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender()
207 mCache.mConnecting = false; in registerSender()
209 mCache.mConnectCv.notify_all(); in registerSender()
212 mCache.mConnectCv.wait_for( in registerSender()
279 std::lock_guard<std::mutex> lock(mCache.mMutex); in create()
281 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in create()
294 std::lock_guard<std::mutex> lock1(mCache.mMutex); in close()
301 for (auto cit = mCache.mClients.begin(); cit != mCache.mClients.end();) { in close()
305 cit = mCache.mClients.erase(cit); in close()
379 std::lock_guard<std::mutex> lock1(mCache.mMutex); in cleanUp()
380 if (clearCache || mCache.mLastCleanUpUs + kCleanUpDurationUs < now) { in cleanUp()
395 for (auto cit = mCache.mClients.begin(); cit != mCache.mClients.end();) { in cleanUp()
399 cit = mCache.mClients.erase(cit); in cleanUp()
405 mCache.mLastCleanUpUs = now; in cleanUp()