/frameworks/native/libs/renderengine/gl/ |
D | ImageManager.cpp | 48 std::lock_guard<std::mutex> lock(mMutex); in ~ImageManager() 61 std::lock_guard<std::mutex> lock(barrier->mutex); in cacheAsync() 77 std::lock_guard<std::mutex> lock(barrier->mutex); in cache() 78 barrier->condition.wait(barrier->mutex, in cache() 79 [&]() REQUIRES(barrier->mutex) { return barrier->isOpen; }); in cache() 91 std::lock_guard<std::mutex> lock(mMutex); in queueOperation() 102 std::lock_guard<std::mutex> lock(mMutex); in threadMain() 108 std::lock_guard<std::mutex> lock(mMutex); in threadMain() 135 std::lock_guard<std::mutex> entryLock(entry.barrier->mutex); in threadMain()
|
D | ImageManager.h | 35 std::mutex mutex; member 37 bool isOpen GUARDED_BY(mutex) = false; 38 status_t result GUARDED_BY(mutex) = NO_ERROR; 66 std::mutex mMutex;
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | audio.c | 47 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 58 pthread_mutex_lock(&mutex); in get_empty() 61 pthread_cond_wait(&empty_cond, &mutex); in get_empty() 71 pthread_mutex_unlock(&mutex); in get_empty() 77 pthread_mutex_lock(&mutex); in put_empty() 85 pthread_mutex_unlock(&mutex); in put_empty() 92 pthread_mutex_lock(&mutex); in get_full() 95 pthread_cond_wait(&full_cond, &mutex); in get_full() 105 pthread_mutex_unlock(&mutex); in get_full() 111 pthread_mutex_lock(&mutex); in put_full() [all …]
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.h | 108 std::lock_guard<std::mutex> lock(mMutex); in notifyAppUpgrade() 127 std::lock_guard<std::mutex> lock(mMutex); in onMatchedLogEvent() 132 std::lock_guard<std::mutex> lock(mMutex); in onConditionChanged() 137 std::lock_guard<std::mutex> lock(mMutex); in onSlicedConditionMayChange() 142 std::lock_guard<std::mutex> lock(mMutex); in isConditionSliced() 154 std::lock_guard<std::mutex> lock(mMutex); in onDumpReport() 160 std::lock_guard<std::mutex> lock(mMutex); in clearPastBuckets() 165 std::lock_guard<std::mutex> lock(mMutex); in dumpStates() 172 std::lock_guard<std::mutex> lock(mMutex); in byteSize() 179 std::lock_guard<std::mutex> lock(mMutex); in addAnomalyTracker() [all …]
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 143 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() 181 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() 193 lock_guard<std::mutex> lock(mLock); in noteConfigReset() 199 lock_guard<std::mutex> lock(mLock); in noteLogLost() 211 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() 228 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() 247 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() 260 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() 276 lock_guard<std::mutex> lock(mLock); in noteDataDropped() 296 lock_guard<std::mutex> lock(mLock); in noteMetricsReportSent() [all …]
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 260 std::unique_lock<std::mutex> lock(mutex_); in registerEventCallback() 278 std::lock_guard<std::mutex> guard(mutex_); in unregisterEventCallback() 295 std::lock_guard<std::mutex> guard(mutex_); in destroyVirtualDisplay() 307 std::lock_guard<std::mutex> guard(mutex_); in createLayer() 318 std::lock_guard<std::mutex> guard(mutex_); in destroyLayer() 328 std::lock_guard<std::mutex> guard(mutex_); in getActiveConfig() 339 std::lock_guard<std::mutex> guard(mutex_); in getClientTargetSupport() 356 std::lock_guard<std::mutex> guard(mutex_); in getDisplayAttribute() 406 std::lock_guard<std::mutex> guard(mutex_); in getDisplayConfigs() 421 std::lock_guard<std::mutex> guard(mutex_); in getDisplayType() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 88 std::mutex _mComponentStoreSetLock; // protects the entire updating _mComponentStore and its 90 std::mutex _mComponentStoreReadLock; // must protect only read/write of _mComponentStore 133 std::mutex gIonAllocatorMutex; 194 std::lock_guard<std::mutex> lock(_mComponentStoreSetLock); in setComponentStore() 196 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in setComponentStore() 201 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in setComponentStore() 210 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in fetchIonAllocator() 215 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in fetchIonAllocator() 226 static std::mutex mutex; in fetchGrallocAllocator() local 228 std::lock_guard<std::mutex> lock(mutex); in fetchGrallocAllocator() [all …]
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 64 lock_guard<mutex> lock(mMutex); in AddListener() 71 lock_guard <mutex> lock(mMutex); in UpdateConfig() 118 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() 123 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() 129 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() 134 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() 141 lock_guard <mutex> lock(mMutex); in RemoveConfig() 187 lock_guard <mutex> lock(mMutex); in RemoveConfigs() 226 lock_guard <mutex> lock(mMutex); in RemoveAllConfigs() 254 lock_guard<mutex> lock(mMutex); in GetAllConfigKeys() [all …]
|
/frameworks/av/media/mtp/ |
D | PosixAsyncIO.cpp | 32 std::mutex gLock; 40 std::unique_lock<std::mutex> lk(gLock); in work_func() 57 std::unique_lock<std::mutex> lk(aiocbp->lock); in work_func() 72 std::unique_lock<std::mutex> lk(gLock); in aio_add() 85 std::unique_lock<std::mutex> lk(gLock); in aiocb() 99 std::unique_lock<std::mutex> lk(gLock); in ~aiocb() 135 std::unique_lock<std::mutex> lk(aiocbp[i]->lock); in aio_suspend()
|
D | MtpDevice.cpp | 330 std::lock_guard<std::mutex> lg(mMutex); in openSession() 356 std::lock_guard<std::mutex> lg(mMutex); in getDeviceInfo() 375 std::lock_guard<std::mutex> lg(mMutex); in getStorageIDs() 390 std::lock_guard<std::mutex> lg(mMutex); in getStorageInfo() 411 std::lock_guard<std::mutex> lg(mMutex); in getObjectHandles() 429 std::lock_guard<std::mutex> lg(mMutex); in getObjectInfo() 451 std::lock_guard<std::mutex> lg(mMutex); in getThumbnail() 466 std::lock_guard<std::mutex> lg(mMutex); in sendObjectInfo() 520 std::lock_guard<std::mutex> lg(mMutex); in sendObject() 540 std::lock_guard<std::mutex> lg(mMutex); in deleteObject() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioClientTracker.cpp | 76 std::lock_guard<std::mutex> lock(mLock); in registerClient() 93 std::lock_guard<std::mutex> lock(mLock); in unregisterClient() 98 std::lock_guard<std::mutex> lock(mLock); in getStreamCount() 111 std::lock_guard<std::mutex> lock(mLock); in registerClientStream() 128 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream() 147 std::lock_guard<std::mutex> lock(mLock); in getStreamCount() 153 std::lock_guard<std::mutex> lock(mLock); in registerClientStream() 160 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream() 174 std::lock_guard<std::mutex> lock(mLock); in binderDied()
|
/frameworks/av/media/bufferpool/1.0/ |
D | ClientManager.cpp | 63 std::mutex mLock; 72 std::lock_guard<std::mutex> lock(mLock); in getCookie() 137 std::mutex mMutex; 151 std::mutex mMutex; 166 std::unique_lock<std::mutex> lock(mCache.mMutex); in registerSender() 172 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 201 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 226 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 279 std::lock_guard<std::mutex> lock(mCache.mMutex); in create() 284 std::lock_guard<std::mutex> lock(mActive.mMutex); in create() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Barrier.h | 33 std::lock_guard<std::mutex> lock(mMutex); in open() 40 std::lock_guard<std::mutex> lock(mMutex); in close() 48 std::unique_lock<std::mutex> lock(mMutex); in wait() 52 mutable std::mutex mMutex;
|
/frameworks/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 67 std::mutex mutable mutex_; 140 std::unique_lock<decltype(mutex)> lk(mutex); in onSampleCollected() 146 std::unique_lock<decltype(mutex)> lk(mutex); in wait_event() 151 std::unique_lock<decltype(mutex)> lk(mutex); in luma() 156 std::unique_lock<decltype(mutex)> lk(mutex); in reset() 162 std::mutex mutex; member
|
/frameworks/av/media/bufferpool/2.0/ |
D | ClientManager.cpp | 65 std::mutex mLock; 74 std::lock_guard<std::mutex> lock(mLock); in getCookie() 141 std::mutex mMutex; 155 std::mutex mMutex; 173 std::unique_lock<std::mutex> lock(mCache.mMutex); in registerSender() 179 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 209 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 234 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender() 288 std::lock_guard<std::mutex> lock(mCache.mMutex); in create() 294 std::lock_guard<std::mutex> lock(mActive.mMutex); in create() [all …]
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.h | 219 std::lock_guard<std::mutex> _l(mLock); in set() 231 std::lock_guard<std::mutex> _l(mLock); in setId() 240 std::lock_guard<std::mutex> _l(mLock); in dump() 271 mutable std::mutex mLock; 284 std::lock_guard<std::mutex> _l(mLock); in add() 290 std::lock_guard<std::mutex> _l(mLock); in remove() 298 std::lock_guard<std::mutex> _l(mLock); in dump() 307 std::mutex mLock;
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | IdleTimer.cpp | 35 std::lock_guard<std::mutex> lock(mMutex); in start() 43 std::lock_guard<std::mutex> lock(mMutex); in stop() 57 std::lock_guard<std::mutex> lock(mMutex); in loop() 76 std::lock_guard<std::mutex> lock(mMutex); in loop() 105 std::lock_guard<std::mutex> lock(mMutex); in reset()
|
D | EventThread.cpp | 177 std::unique_lock<std::mutex> lock(mMutex); in EventThread() 200 std::lock_guard<std::mutex> lock(mMutex); in ~EventThread() 208 std::lock_guard<std::mutex> lock(mMutex); in setPhaseOffset() 219 std::lock_guard<std::mutex> lock(mMutex); in registerDisplayEventConnection() 248 std::lock_guard<std::mutex> lock(mMutex); in setVsyncRate() 262 std::lock_guard<std::mutex> lock(mMutex); in requestNextVsync() 271 std::lock_guard<std::mutex> lock(mMutex); in onScreenReleased() 281 std::lock_guard<std::mutex> lock(mMutex); in onScreenAcquired() 291 std::lock_guard<std::mutex> lock(mMutex); in onVSyncEvent() 299 std::lock_guard<std::mutex> lock(mMutex); in onHotplugReceived() [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 74 std::lock_guard<std::mutex> lock(mMutex); in miniDump() 85 std::lock_guard<std::mutex> lock(mMutex); in incrementTotalFrames() 94 std::lock_guard<std::mutex> lock(mMutex); in incrementMissedFrames() 103 std::lock_guard<std::mutex> lock(mMutex); in incrementClientCompositionFrames() 264 std::lock_guard<std::mutex> lock(mMutex); in setPostTime() 302 std::lock_guard<std::mutex> lock(mMutex); in setLatchTime() 320 std::lock_guard<std::mutex> lock(mMutex); in setDesiredTime() 338 std::lock_guard<std::mutex> lock(mMutex); in setAcquireTime() 358 std::lock_guard<std::mutex> lock(mMutex); in setAcquireFence() 376 std::lock_guard<std::mutex> lock(mMutex); in setPresentTime() [all …]
|
/frameworks/native/libs/gui/ |
D | BufferQueueConsumer.cpp | 61 std::unique_lock<std::mutex> lock(mCore->mMutex); in acquireBuffer() 290 std::lock_guard<std::mutex> lock(mCore->mMutex); in detachBuffer() 334 std::lock_guard<std::mutex> lock(mCore->mMutex); in attachBuffer() 426 std::lock_guard<std::mutex> lock(mCore->mMutex); in releaseBuffer() 491 std::lock_guard<std::mutex> lock(mCore->mMutex); in connect() 509 std::lock_guard<std::mutex> lock(mCore->mMutex); in disconnect() 533 std::lock_guard<std::mutex> lock(mCore->mMutex); in getReleasedBuffers() 575 std::lock_guard<std::mutex> lock(mCore->mMutex); in setDefaultBufferSize() 589 std::lock_guard<std::mutex> lock(mCore->mMutex); in setMaxBufferCount() 629 std::unique_lock<std::mutex> lock(mCore->mMutex); in setMaxAcquiredBufferCount() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CommonPoolTests.cpp | 58 std::mutex mutex; in TEST() local 65 std::unique_lock lock{mutex}; in TEST() 76 std::unique_lock lock{mutex}; in TEST() 87 std::unique_lock lock{mutex}; in TEST() 101 std::mutex lock; in TEST()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 80 std::lock_guard<std::mutex> lock(mMutex); in initialize() 118 std::lock_guard<std::mutex> lock(mMutex); in terminate() 127 std::lock_guard<std::mutex> lock(mMutex); in setBlob() 142 std::lock_guard<std::mutex> lock(mMutex); in setBlob() 155 std::lock_guard<std::mutex> lock(mMutex); in getBlob() 170 std::lock_guard<std::mutex> lock(mMutex); in setCacheFilename()
|
D | egl_display.cpp | 108 std::lock_guard<std::mutex> _l(lock); in addObject() 113 std::lock_guard<std::mutex> _l(lock); in removeObject() 118 std::lock_guard<std::mutex> _l(lock); in getObject() 216 std::lock_guard<std::mutex> _l(lock); in getPlatformDisplay() 264 std::unique_lock<std::mutex> _l(refLock); in initialize() 289 std::lock_guard<std::mutex> _l(lock); in initialize() 433 std::unique_lock<std::mutex> _l(refLock); in initialize() 444 std::unique_lock<std::mutex> _rl(refLock); in terminate() 465 std::lock_guard<std::mutex> _l(lock); in terminate() 500 std::unique_lock<std::mutex> _rl(refLock); in terminate() [all …]
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | NativeCallbackThread.cpp | 27 using std::mutex; 54 unique_lock<mutex> lk(mQueueMutex); in threadLoop() 85 lock_guard<mutex> lk(mQueueMutex); in enqueue() 101 lock_guard<mutex> lk(mQueueMutex); in stop()
|
/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 88 std::lock_guard<std::mutex> lock(mMutex); in applyTrustedSnapshot() 115 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() 138 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() 160 std::lock_guard<std::mutex> lock(mMutex); in getSnapshot() 182 std::lock_guard<std::mutex> lock(mMutex); in signalForTest() 263 std::lock_guard<std::mutex> lock(mMutex); in push() 282 std::lock_guard<std::mutex> lock(mMutex); in updateSignalTimes() 307 std::lock_guard<std::mutex> lock(mMutex); in createFenceTimeForTest() 319 std::lock_guard<std::mutex> lock(mMutex); in signalAllForTest()
|