Lines Matching refs:mActive
154 } mActive; member in android::hardware::media::bufferpool::V1_0::implementation::ClientManager::Impl
172 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
174 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender()
201 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
202 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender()
226 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
227 auto it = mActive.mClients.find(senderId); in registerSender()
228 if (it == mActive.mClients.end()) { in registerSender()
284 std::lock_guard<std::mutex> lock(mActive.mMutex); in create()
285 mActive.mClients.insert(std::make_pair(conId, client)); in create()
295 std::lock_guard<std::mutex> lock2(mActive.mMutex); in close()
296 auto it = mActive.mClients.find(connectionId); in close()
297 if (it != mActive.mClients.end()) { in close()
300 mActive.mClients.erase(connectionId); in close()
320 std::lock_guard<std::mutex> lock(mActive.mMutex); in allocate()
321 auto it = mActive.mClients.find(connectionId); in allocate()
322 if (it == mActive.mClients.end()) { in allocate()
336 std::lock_guard<std::mutex> lock(mActive.mMutex); in receive()
337 auto it = mActive.mClients.find(connectionId); in receive()
338 if (it == mActive.mClients.end()) { in receive()
352 std::lock_guard<std::mutex> lock(mActive.mMutex); in postSend()
353 auto it = mActive.mClients.find(connectionId); in postSend()
354 if (it == mActive.mClients.end()) { in postSend()
366 std::lock_guard<std::mutex> lock(mActive.mMutex); in getAccessor()
367 auto it = mActive.mClients.find(connectionId); in getAccessor()
368 if (it == mActive.mClients.end()) { in getAccessor()
381 std::lock_guard<std::mutex> lock2(mActive.mMutex); in cleanUp()
383 for (auto it = mActive.mClients.begin(); it != mActive.mClients.end();) { in cleanUp()
388 it = mActive.mClients.erase(it); in cleanUp()