Lines Matching refs:mActive
158 } mActive; member in android::hardware::media::bufferpool::V2_0::implementation::ClientManager::Impl
179 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
181 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender()
209 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
210 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender()
234 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
235 auto it = mActive.mClients.find(senderId); in registerSender()
236 if (it == mActive.mClients.end()) { in registerSender()
294 std::lock_guard<std::mutex> lock(mActive.mMutex); in create()
295 mActive.mClients.insert(std::make_pair(conId, client)); in create()
305 std::unique_lock<std::mutex> lock2(mActive.mMutex); in close()
306 auto it = mActive.mClients.find(connectionId); in close()
307 if (it != mActive.mClients.end()) { in close()
311 mActive.mClients.erase(connectionId); in close()
332 std::lock_guard<std::mutex> lock(mActive.mMutex); in flush()
333 auto it = mActive.mClients.find(connectionId); in flush()
334 if (it == mActive.mClients.end()) { in flush()
347 std::lock_guard<std::mutex> lock(mActive.mMutex); in allocate()
348 auto it = mActive.mClients.find(connectionId); in allocate()
349 if (it == mActive.mClients.end()) { in allocate()
377 std::lock_guard<std::mutex> lock(mActive.mMutex); in receive()
378 auto it = mActive.mClients.find(connectionId); in receive()
379 if (it == mActive.mClients.end()) { in receive()
408 std::lock_guard<std::mutex> lock(mActive.mMutex); in postSend()
409 auto it = mActive.mClients.find(connectionId); in postSend()
410 if (it == mActive.mClients.end()) { in postSend()
422 std::lock_guard<std::mutex> lock(mActive.mMutex); in getAccessor()
423 auto it = mActive.mClients.find(connectionId); in getAccessor()
424 if (it == mActive.mClients.end()) { in getAccessor()
437 std::lock_guard<std::mutex> lock2(mActive.mMutex); in cleanUp()
439 for (auto it = mActive.mClients.begin(); it != mActive.mClients.end();) { in cleanUp()
444 it = mActive.mClients.erase(it); in cleanUp()