Lines Matching refs:mutex
93 std::mutex _mComponentStoreSetLock; // protects the entire updating _mComponentStore and its
95 std::mutex _mComponentStoreReadLock; // must protect only read/write of _mComponentStore
144 std::mutex gIonAllocatorMutex;
205 std::lock_guard<std::mutex> lock(_mComponentStoreSetLock); in setComponentStore()
207 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in setComponentStore()
212 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in setComponentStore()
221 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in fetchIonAllocator()
226 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in fetchIonAllocator()
237 static std::mutex mutex; in fetchBlobAllocator() local
239 std::lock_guard<std::mutex> lock(mutex); in fetchBlobAllocator()
249 static std::mutex mutex; in fetchGrallocAllocator() local
251 std::lock_guard<std::mutex> lock(mutex); in fetchGrallocAllocator()
261 static std::mutex mutex; in fetchBufferQueueAllocator() local
263 std::lock_guard<std::mutex> lock(mutex); in fetchBufferQueueAllocator()
274 std::mutex gPreferredComponentStoreMutex;
277 std::mutex gPlatformAllocatorStoreMutex;
282 std::lock_guard<std::mutex> lock(gPlatformAllocatorStoreMutex); in GetCodec2PlatformAllocatorStore()
293 static std::mutex mutex; in SetPreferredCodec2ComponentStore() local
294 std::lock_guard<std::mutex> lock(mutex); // don't interleve set-s in SetPreferredCodec2ComponentStore()
298 std::lock_guard<std::mutex> lock(gPreferredComponentStoreMutex); in SetPreferredCodec2ComponentStore()
305 std::lock_guard<std::mutex> lock(gPlatformAllocatorStoreMutex); in SetPreferredCodec2ComponentStore()
314 std::lock_guard<std::mutex> lock(gPreferredComponentStoreMutex); in GetPreferredCodec2ComponentStore()
452 static std::mutex sBlockPoolCacheMutex;
460 std::lock_guard<std::mutex> lock(sBlockPoolCacheMutex); in GetCodec2BlockPool()
501 std::lock_guard<std::mutex> lock(sBlockPoolCacheMutex); in CreateCodec2BlockPool()
621 std::lock_guard<std::mutex> lock(mMutex); in fetchModule()
641 std::mutex mMutex; ///< mutex guarding the module
726 std::mutex mMutex; ///< mutex guarding the component lists during construction
976 std::lock_guard<std::mutex> lock(mMutex); in visitComponents()
1061 static std::mutex mutex; in GetCodec2PlatformComponentStore() local
1063 std::lock_guard<std::mutex> lock(mutex); in GetCodec2PlatformComponentStore()