/device/linaro/dragonboard/gralloc/ |
D | gralloc.cpp | 45 pthread_mutex_t mutex; member 56 pthread_mutex_lock(&dmod->mutex); in gbm_init() 62 pthread_mutex_unlock(&dmod->mutex); in gbm_init() 106 pthread_mutex_lock(&dmod->mutex); in gbm_mod_register_buffer() 108 pthread_mutex_unlock(&dmod->mutex); in gbm_mod_register_buffer() 119 pthread_mutex_lock(&dmod->mutex); in gbm_mod_unregister_buffer() 121 pthread_mutex_unlock(&dmod->mutex); in gbm_mod_unregister_buffer() 132 pthread_mutex_lock(&dmod->mutex); in gbm_mod_lock() 137 pthread_mutex_unlock(&dmod->mutex); in gbm_mod_lock() 146 pthread_mutex_lock(&dmod->mutex); in gbm_mod_unlock() [all …]
|
/device/generic/goldfish/gnss/ |
D | data_sink.cpp | 23 std::unique_lock<std::mutex> lock(mtx); in gnssLocation() 30 std::unique_lock<std::mutex> lock(mtx); in gnssSvStatus() 37 std::unique_lock<std::mutex> lock(mtx); in gnssStatus() 45 std::unique_lock<std::mutex> lock(mtx); in gnssNmea() 52 std::unique_lock<std::mutex> lock(mtx); in setCallback20() 57 std::unique_lock<std::mutex> lock(mtx); in cleanup() 62 std::unique_lock<std::mutex> lock(mtx); in start()
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | blackboard.cpp | 40 std::lock_guard<std::mutex> guard(m_); in NewStripeReady() 53 std::lock_guard<std::mutex> guard(m_); in Register() 61 std::lock_guard<std::mutex> guard(m_); in Unregister() 80 std::unique_lock<std::mutex> guard(m_); in WaitForSenderWork() 98 std::unique_lock<std::mutex> guard(m_); in WaitForAtLeastOneClientConnection() 106 std::lock_guard<std::mutex> guard(m_); in SetOrientation() 116 std::lock_guard<std::mutex> guard(m_); in SignalClientNeedsEntireScreen() 126 std::lock_guard<std::mutex> guard(m_); in FrameBufferUpdateRequestReceived() 134 std::lock_guard<std::mutex> guard(m_); in StopWaiting() 143 std::lock_guard<std::mutex> guard(m_); in set_frame_buffer_watcher() [all …]
|
D | frame_buffer_watcher.cpp | 50 std::lock_guard<std::mutex> guard(m_); in ~FrameBufferWatcher() 59 std::lock_guard<std::mutex> guard(m_); in closed() 97 std::lock_guard<std::mutex> guard(stripes_lock_); in StripesNewerThan() 131 std::lock_guard<std::mutex> guard(stripes_lock_); in UpdateStripeIfStripeIsNew() 161 std::lock_guard<std::mutex> guard(stripes_lock_); in Worker()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/ |
D | xf-osal.h | 82 pthread_mutex_t mutex; member 90 pthread_mutex_init(&w->mutex, NULL); in __xf_wait_init() 96 pthread_mutex_lock(&w->mutex); in __xf_wait_prepare() 115 r = -pthread_cond_wait(&w->wait, &w->mutex); in __xf_wait() 128 r = -pthread_cond_timedwait(&w->wait, &w->mutex, &ts); in __xf_wait() 148 pthread_mutex_lock(&w->mutex); in __xf_wakeup() 154 pthread_mutex_unlock(&w->mutex); in __xf_wakeup() 166 pthread_mutex_unlock(&w->mutex); in __xf_wait_complete()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/ |
D | xf-osal.h | 76 pthread_mutex_t mutex; 84 pthread_mutex_init(&w->mutex, NULL); 90 pthread_mutex_lock(&w->mutex); 109 r = -pthread_cond_wait(&w->wait, &w->mutex); 122 r = -pthread_cond_timedwait(&w->wait, &w->mutex, &ts); 142 pthread_mutex_lock(&w->mutex); 148 pthread_mutex_unlock(&w->mutex); 160 pthread_mutex_unlock(&w->mutex);
|
/device/generic/goldfish/audio/ |
D | ring_buffer.cpp | 31 std::lock_guard<std::mutex> guard(mMutex); in availableToProduce() 36 std::unique_lock<std::mutex> lock(mMutex); in availableToConsume() 41 std::unique_lock<std::mutex> lock(mMutex); in makeRoomForProduce() 55 std::unique_lock<std::mutex> lock(mMutex); in waitForProduceAvailable() 66 std::unique_lock<std::mutex> lock(mMutex); in getProduceChunk() 80 std::unique_lock<std::mutex> lock(mMutex); in produce() 92 std::unique_lock<std::mutex> lock(mMutex); in produce() 116 std::unique_lock<std::mutex> lock(mMutex); in waitForConsumeAvailable() 127 std::unique_lock<std::mutex> lock(mMutex); in getConsumeChunk()
|
D | ring_buffer.h | 44 std::unique_lock<std::mutex> lock; 48 std::unique_lock<std::mutex> lock; 91 mutable std::mutex mMutex;
|
/device/google/cuttlefish/host/libs/wayland/ |
D | wayland_surface.cpp | 25 std::unique_lock<std::mutex> lock(state_mutex_); in SetRegion() 30 std::unique_lock<std::mutex> lock(state_mutex_); in Attach() 35 std::unique_lock<std::mutex> lock(state_mutex_); in Commit() 40 std::unique_lock<std::mutex> lock(callback_mutex_); in Commit() 72 std::unique_lock<std::mutex> lock(callback_mutex_); in OnFrameAfter()
|
/device/google/cuttlefish/common/libs/thread_safe_queue/ |
D | thread_safe_queue.h | 44 std::unique_lock<std::mutex> guard(m_); in Pop() 54 std::unique_lock<std::mutex> guard(m_); in PopAll() 62 std::lock_guard<std::mutex> guard(m_); in Push() 69 std::lock_guard<std::mutex> guard(m_); in Push() 82 std::mutex m_;
|
/device/linaro/hikey/bluetooth/ |
D | async_fd_watcher.cc | 41 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() 54 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() 94 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() 99 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() 145 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() 162 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine()
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | RunLoop.cpp | 101 std::mutex mtx; in postAndAwait() 108 std::unique_lock<std::mutex> lock(mtx); in postAndAwait() 117 std::unique_lock<std::mutex> lock(mtx); in postAndAwait() 134 std::lock_guard<std::mutex> autoLock(mLock); in cancelToken() 157 std::lock_guard<std::mutex> autoLock(mLock); in postSocketRecv() 166 std::lock_guard<std::mutex> autoLock(mLock); in postSocketSend() 174 std::lock_guard<std::mutex> autoLock(mLock); in cancelSocket() 180 std::lock_guard<std::mutex> autoLock(mLock); in insert() 222 std::lock_guard<std::mutex> autoLock(mLock); in run() 344 std::lock_guard<std::mutex> autoLock(mLock); in run() [all …]
|
/device/generic/goldfish/wifi/wifi_hal/ |
D | halstate.cpp | 24 std::unique_lock<std::mutex> lock(mStateMutex); in init() 51 std::unique_lock<std::mutex> lock(mStateMutex); in stop() 81 std::unique_lock<std::mutex> lock(mStateMutex); in eventLoop() 99 std::unique_lock<std::mutex> lock(mStateMutex); in onStop()
|
D | wifi_hal.cpp | 83 std::mutex mutex; in wifi_cleanup() local 84 std::unique_lock<std::mutex> lock(mutex); in wifi_cleanup() 91 auto callback = [&mutex, &stopped, &condition] { in wifi_cleanup() 92 std::unique_lock<std::mutex> lock(mutex); in wifi_cleanup()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | Context.h | 52 std::lock_guard<std::mutex> lk(m); in ~Context() 90 std::lock_guard<std::mutex> lk(m); in submitCommand() 99 std::lock_guard<std::mutex> lk(m); in setFence() 126 std::mutex m; 137 std::unique_lock<std::mutex> lk(m); in worker_func()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | thread_looper.cpp | 56 std::lock_guard<std::mutex> autolock(lock_); in CancelSerial() 73 std::lock_guard<std::mutex> autolock(lock_); in Insert() 88 std::unique_lock<std::mutex> lock(lock_); in ThreadLoop() 121 std::lock_guard<std::mutex> autolock(lock_); in Stop()
|
/device/google/contexthub/contexthubhal/ |
D | system_comms.h | 176 mutable std::mutex mDoneMutex; // controls condition and state transitions 181 mutable std::mutex mLock; // serializes message handling 191 std::unique_lock<std::mutex> lk(mDoneMutex); in complete() 199 std::lock_guard<std::mutex> _l(mLock); in abort() 207 std::lock_guard<std::mutex> _l(mDoneMutex); in setState() 214 std::lock_guard<std::mutex> _l(mLock); in getStatus() 218 std::unique_lock<std::mutex> lk(mDoneMutex); in wait() 228 std::lock_guard<std::mutex> _l(mDoneMutex); in getState() 232 std::lock_guard<std::mutex> _l(mDoneMutex); in isDone() 236 std::lock_guard<std::mutex> _l(mDoneMutex); in isRunning() [all …]
|
/device/generic/goldfish-opengl/system/codecs/omx/common/ |
D | goldfish_media_utils.cpp | 34 std::mutex sSingletonMutex; 53 std::lock_guard<std::mutex> g{mMemoryMutex}; in getMemorySlot() 66 std::lock_guard<std::mutex> g{mMemoryMutex}; in returnMemorySlot() 74 std::mutex mMemoryMutex; 144 std::lock_guard<std::mutex> g{sSingletonMutex}; in getInstance()
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | display_handler.cpp | 45 std::lock_guard<std::mutex> lock(last_buffer_mutex_); in Loop() 59 std::lock_guard<std::mutex> lock(last_buffer_mutex_); in SendLastFrame() 70 std::lock_guard<std::mutex> lock(next_frame_mutex_); in SendLastFrame()
|
D | display_handler.h | 40 std::mutex last_buffer_mutex_; 41 std::mutex next_frame_mutex_;
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors.cpp | 118 std::unique_lock<std::mutex> lock(m_mtx); in setOperationMode() 134 std::unique_lock<std::mutex> lock(m_mtx); in activate() 178 std::unique_lock<std::mutex> lock(m_mtx); in batch() 194 std::unique_lock<std::mutex> lock(m_mtx); in flush() 216 std::unique_lock<std::mutex> lock(m_mtx); in injectSensorData() 231 std::unique_lock<std::mutex> lock(m_mtx); in initialize() 242 std::unique_lock<std::mutex> lock(m_mtx); in postSensorEvent() 282 std::unique_lock<std::mutex> lock(m_mtx); in batchThread()
|
/device/google/wahoo/usb/ |
D | UsbGadget.h | 55 using ::std::mutex; 72 std::mutex mLock; 76 std::mutex mLockSetCurrentFunction;
|
/device/google/bonito/usb/ |
D | UsbGadget.h | 56 using ::std::mutex; 74 std::mutex mLock; 78 std::mutex mLockSetCurrentFunction;
|
/device/google/crosshatch/usb/ |
D | UsbGadget.h | 56 using ::std::mutex; 74 std::mutex mLock; 78 std::mutex mLockSetCurrentFunction;
|
/device/google/cuttlefish/common/libs/tcp_socket/ |
D | tcp_socket.cpp | 43 std::lock_guard<std::mutex> guard(closed_lock_); in closed() 57 std::lock_guard<std::mutex> guard(closed_lock_); in Recv() 69 std::lock_guard<std::mutex> lock(send_lock_); in SendNoSignal() 79 std::lock_guard<std::mutex> guard(closed_lock_); in SendNoSignal()
|