• Home
  • Raw
  • Download

Lines Matching refs:mutex

84     std::mutex _mComponentStoreSetLock; // protects the entire updating _mComponentStore and its
86 std::mutex _mComponentStoreReadLock; // must protect only read/write of _mComponentStore
129 std::mutex gIonAllocatorMutex;
190 std::lock_guard<std::mutex> lock(_mComponentStoreSetLock); in setComponentStore()
192 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in setComponentStore()
197 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in setComponentStore()
206 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in fetchIonAllocator()
211 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in fetchIonAllocator()
222 static std::mutex mutex; in fetchGrallocAllocator() local
224 std::lock_guard<std::mutex> lock(mutex); in fetchGrallocAllocator()
234 static std::mutex mutex; in fetchBufferQueueAllocator() local
236 std::lock_guard<std::mutex> lock(mutex); in fetchBufferQueueAllocator()
247 std::mutex gPreferredComponentStoreMutex;
250 std::mutex gPlatformAllocatorStoreMutex;
255 std::lock_guard<std::mutex> lock(gPlatformAllocatorStoreMutex); in GetCodec2PlatformAllocatorStore()
266 static std::mutex mutex; in SetPreferredCodec2ComponentStore() local
267 std::lock_guard<std::mutex> lock(mutex); // don't interleve set-s in SetPreferredCodec2ComponentStore()
271 std::lock_guard<std::mutex> lock(gPreferredComponentStoreMutex); in SetPreferredCodec2ComponentStore()
278 std::lock_guard<std::mutex> lock(gPlatformAllocatorStoreMutex); in SetPreferredCodec2ComponentStore()
287 std::lock_guard<std::mutex> lock(gPreferredComponentStoreMutex); in GetPreferredCodec2ComponentStore()
399 static std::mutex sBlockPoolCacheMutex;
407 std::lock_guard<std::mutex> lock(sBlockPoolCacheMutex); in GetCodec2BlockPool()
448 std::lock_guard<std::mutex> lock(sBlockPoolCacheMutex); in CreateCodec2BlockPool()
568 std::lock_guard<std::mutex> lock(mMutex); in fetchModule()
588 std::mutex mMutex; ///< mutex guarding the module
649 std::mutex mMutex; ///< mutex guarding the component lists during construction
898 std::lock_guard<std::mutex> lock(mMutex); in visitComponents()
983 static std::mutex mutex; in GetCodec2PlatformComponentStore() local
985 std::lock_guard<std::mutex> lock(mutex); in GetCodec2PlatformComponentStore()