/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/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 238 std::lock_guard<std::mutex> guard(mutex_); in removeClient() 247 std::lock_guard<std::mutex> guard(mutex_); in enableCallback() 269 std::lock_guard<std::mutex> guard(mutex_); in destroyVirtualDisplay() 281 std::lock_guard<std::mutex> guard(mutex_); in createLayer() 292 std::lock_guard<std::mutex> guard(mutex_); in destroyLayer() 302 std::lock_guard<std::mutex> guard(mutex_); in getActiveConfig() 324 std::lock_guard<std::mutex> guard(mutex_); in getDisplayAttribute() 374 std::lock_guard<std::mutex> guard(mutex_); in getDisplayConfigs() 389 std::lock_guard<std::mutex> guard(mutex_); in getDisplayType() 406 std::lock_guard<std::mutex> guard(mutex_); in getDozeSupport() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioClientTracker.cpp | 70 std::lock_guard<std::mutex> lock(mLock); in registerClient() 89 std::lock_guard<std::mutex> lock(mLock); in unregisterClient() 94 std::lock_guard<std::mutex> lock(mLock); in getStreamCount() 107 std::lock_guard<std::mutex> lock(mLock); in registerClientStream() 124 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()
|
D | AAudioServiceEndpoint.cpp | 76 std::lock_guard<std::mutex> lock(mLockStreams); in disconnectRegisteredStreams() 85 std::lock_guard<std::mutex> lock(mLockStreams); in registerStream() 91 std::lock_guard<std::mutex> lock(mLockStreams); in unregisterStream()
|
D | AAudioStreamTracker.cpp | 35 std::lock_guard<std::mutex> lock(mHandleLock); in removeStreamByHandle() 47 std::lock_guard<std::mutex> lock(mHandleLock); in getStreamByHandle() 68 std::lock_guard<std::mutex> lock(mHandleLock); in addStreamForHandle()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.cpp | 90 std::lock_guard<std::mutex> _l(lock); in addObject() 95 std::lock_guard<std::mutex> _l(lock); in removeObject() 100 std::lock_guard<std::mutex> _l(lock); in getObject() 119 std::lock_guard<std::mutex> _l(lock); in getDisplay() 141 std::unique_lock<std::mutex> _l(refLock); in initialize() 159 std::lock_guard<std::mutex> _l(lock); in initialize() 249 std::unique_lock<std::mutex> _l(refLock); in initialize() 260 std::unique_lock<std::mutex> _rl(refLock); in terminate() 281 std::lock_guard<std::mutex> _l(lock); in terminate() 312 std::unique_lock<std::mutex> _rl(refLock); in terminate() [all …]
|
/frameworks/ml/nn/runtime/ |
D | Callbacks.cpp | 41 std::unique_lock<std::mutex> lock(mMutex); in wait() 47 std::lock_guard<std::mutex> lock(mMutex); in on_finish() 62 std::lock_guard<std::mutex> lock(mMutex); in bind_thread() 77 std::lock_guard<std::mutex> lock(mMutex); in join_thread() 83 std::lock_guard<std::mutex> lock(mMutex); in notify()
|
/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()
|
D | Tuner.cpp | 39 using std::mutex; 55 static mutex gContextMutex; 114 lock_guard<mutex> lk(gContextMutex); in nativeInit() 127 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() 161 lock_guard<mutex> lk(gContextMutex); in assignHalInterfaces() 195 lock_guard<mutex> lk(gContextMutex); in getHalTuner() 200 lock_guard<mutex> lk(gContextMutex); in getHalTuner11() 214 lock_guard<mutex> lk(gContextMutex); in nativeClose() 238 lock_guard<mutex> lk(gContextMutex); in nativeSetConfiguration() 273 lock_guard<mutex> lk(gContextMutex); in nativeSetMuted() [all …]
|
D | TunerCallback.cpp | 36 using std::mutex; 83 static mutex gContextMutex; 86 mutex mMut; 193 lock_guard<mutex> lk(mMut); in tuneComplete() 273 lock_guard<mutex> lk(mMut); in newMetadata() 356 lock_guard<mutex> lk(gContextMutex); in nativeInit() 369 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() 377 lock_guard<mutex> lk(gContextMutex); in nativeDetach() 386 lock_guard<mutex> lk(gContextMutex); in getNativeCallback()
|
/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 100 std::lock_guard<std::mutex> lock(mMutex); in applyTrustedSnapshot() 127 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() 150 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() 172 std::lock_guard<std::mutex> lock(mMutex); in getSnapshot() 194 std::lock_guard<std::mutex> lock(mMutex); in signalForTest() 275 std::lock_guard<std::mutex> lock(mMutex); in push() 295 std::lock_guard<std::mutex> lock(mMutex); in updateSignalTimes() 319 std::lock_guard<std::mutex> lock(mMutex); in createFenceTimeForTest() 331 std::lock_guard<std::mutex> lock(mMutex); in signalAllForTest()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | vsync_service.cpp | 39 std::lock_guard<std::mutex> autolock(mutex_); in VSyncEvent() 73 std::lock_guard<std::mutex> autolock(mutex_); in AddWaiter() 79 std::lock_guard<std::mutex> autolock(mutex_); in AddClient() 84 std::lock_guard<std::mutex> autolock(mutex_); in RemoveClient() 141 std::lock_guard<std::mutex> autolock(mutex_); in OnGetLastTimestamp() 151 std::lock_guard<std::mutex> autolock(mutex_); in OnGetSchedInfo() 188 std::lock_guard<std::mutex> autolock(mutex_); in OnAcknowledge()
|
D | display_surface.cpp | 195 std::lock_guard<std::mutex> autolock(lock_); in GetQueue() 204 std::lock_guard<std::mutex> autolock(lock_); in GetQueueIds() 219 std::lock_guard<std::mutex> autolock(lock_); in OnCreateQueue() 251 std::lock_guard<std::mutex> autolock(lock_); in OnQueueEvent() 273 std::lock_guard<std::mutex> autolock(lock_); in GetQueueIds() 288 std::lock_guard<std::mutex> autolock(lock_); in OnCreateQueue() 325 std::lock_guard<std::mutex> autolock(lock_); in OnQueueEvent() 390 std::lock_guard<std::mutex> autolock(lock_); in AcquireCurrentBuffer() 408 std::lock_guard<std::mutex> autolock(lock_); in AcquireNewestAvailableBuffer() 436 std::lock_guard<std::mutex> autolock(lock_); in IsBufferAvailable() [all …]
|
D | epoll_event_dispatcher.cpp | 47 std::lock_guard<std::mutex> lock(lock_); in AddEventHandler() 69 std::lock_guard<std::mutex> lock(lock_); in RemoveEventHandler() 116 std::lock_guard<std::mutex> lock(lock_); in EventThread() 130 std::lock_guard<std::mutex> lock(lock_); in EventThread()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 36 std::lock_guard<std::mutex> guard(mutex_); in registerObserver() 58 std::lock_guard<std::mutex> guard(mutex_); in clearObserver() 64 std::lock_guard<std::mutex> guard(mutex_); in OnNewFrame() 79 std::lock_guard<std::mutex> guard(mutex_); in binderDied()
|
/frameworks/av/media/libaudiohal/ |
D | HalDeathHandlerHidl.cpp | 40 std::lock_guard<std::mutex> guard(mHandlersLock); in registerAtExitHandler() 45 std::lock_guard<std::mutex> guard(mHandlersLock); in unregisterAtExitHandler() 52 std::lock_guard<std::mutex> guard(mHandlersLock); in serviceDied()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 60 std::lock_guard<std::mutex> lock(mMutex); in initialize() 69 std::lock_guard<std::mutex> lock(mMutex); in terminate() 77 std::lock_guard<std::mutex> lock(mMutex); in setBlob() 92 std::lock_guard<std::mutex> lock(mMutex); in setBlob() 105 std::lock_guard<std::mutex> lock(mMutex); in getBlob() 121 std::lock_guard<std::mutex> lock(mMutex); in getBlob() 136 std::lock_guard<std::mutex> lock(mMutex); in setCacheFilename()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 76 unique_lock<mutex> lock(mLock); in addRequest() 83 unique_lock<mutex> lock(mLock); in getNextRequest() 130 unique_lock<mutex> lock(mLock); in scheduleSendBacklogToDropbox() 164 unique_lock<mutex> lock(mLock); in run_report() 174 unique_lock<mutex> lock(mLock); in send_backlog_to_dropbox()
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | BufferQueueScheduler.cpp | 31 std::unique_lock<std::mutex> lock(mMutex); in startScheduling() 56 std::lock_guard<std::mutex> lock(mMutex); in addEvent() 62 std::lock_guard<std::mutex> lock(mMutex); in stopScheduling() 69 std::lock_guard<std::mutex> lock(mMutex); in setSurfaceControl()
|
D | Replayer.h | 106 const DeferredTransactionChange& dtc, std::unique_lock<std::mutex>& lock); 125 std::mutex mLayerLock; 130 std::mutex mPendingLayersLock; 133 std::mutex mBufferQueueSchedulerLock; 136 std::mutex mDisplayLock;
|
/frameworks/native/libs/vr/libpdx/ |
D | service_dispatcher.cpp | 56 std::lock_guard<std::mutex> autolock(mutex_); in ThreadEnter() 66 std::lock_guard<std::mutex> autolock(mutex_); in ThreadExit() 72 std::lock_guard<std::mutex> autolock(mutex_); in AddService() 89 std::lock_guard<std::mutex> autolock(mutex_); in RemoveService() 176 std::unique_lock<std::mutex> lock(mutex_); in SetCanceled()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_manager.cpp | 15 std::lock_guard<std::mutex> autolock(mutex_); in CloseHandle() 28 std::lock_guard<std::mutex> autolock(mutex_); in CreateHandle() 45 std::lock_guard<std::mutex> autolock(mutex_); in GetChannelData()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsXmlConfigLoader.cpp | 133 void listPush(T* object, ListElem** list, pthread_mutex_t* mutex = nullptr) noexcept { in listPush() argument 136 if (mutex != nullptr) { in listPush() 137 pthread_mutex_lock(mutex); in listPush() 141 if (mutex != nullptr) { in listPush() 142 pthread_mutex_unlock(mutex); in listPush() 148 void listPush(UniqueCPtr<T>&& object, ListElem** list, pthread_mutex_t* mutex = nullptr) noexcept { in listPush() argument 149 listPush(object.release(), list, mutex); in listPush()
|
/frameworks/av/media/mtp/ |
D | AsyncIO.cpp | 56 std::mutex queue_lock; 62 std::unique_lock<std::mutex> lk(queue_lock); in splice_write_pool_func() 78 std::unique_lock<std::mutex> lk(queue_lock); in write_pool_func() 122 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_end() 134 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_write()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_HardwarePropertiesManagerService.cpp | 64 static std::mutex gThermalHalMutex; 71 std::lock_guard<std::mutex> lock(gThermalHalMutex); in serviceDied() 116 std::lock_guard<std::mutex> lock(gThermalHalMutex); in nativeInit() 121 std::lock_guard<std::mutex> lock(gThermalHalMutex); in nativeGetFanSpeeds() 154 std::lock_guard<std::mutex> lock(gThermalHalMutex); in nativeGetDeviceTemperatures() 201 std::lock_guard<std::mutex> lock(gThermalHalMutex); in nativeGetCpuUsages()
|