/hardware/interfaces/broadcastradio/common/utils/ |
D | WorkerThread.cpp | 38 lock_guard<mutex> lk(mMut); in ~WorkerThread() local 48 lock_guard<mutex> lk(mMut); in schedule() local 54 lock_guard<mutex> lk(mMut); in cancelAll() local 60 unique_lock<mutex> lk(mMut); in threadLoop() local 62 mCond.wait(lk); in threadLoop() 68 mCond.wait_until(lk, task.when); in threadLoop() 73 lk.unlock(); // what() might need to schedule another task in threadLoop()
|
/hardware/qcom/sdm845/display/libhistogram/ |
D | ringbuffer.cpp | 61 std::unique_lock<decltype(mutex)> lk(mutex); in insert() local 73 std::unique_lock<decltype(mutex)> lk(mutex); in resize() local 83 std::unique_lock<decltype(mutex)> lk(mutex); in collect_cumulative() local 90 std::unique_lock<decltype(mutex)> lk(mutex); in collect_ringbuffer_all() local 91 return collect_max(ringbuffer.size(), lk); in collect_ringbuffer_all() 96 std::unique_lock<decltype(mutex)> lk(mutex); in collect_after() local 97 return collect_max_after(timestamp, ringbuffer.size(), lk); in collect_after() 101 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max() local 102 return collect_max(max_frames, lk); in collect_max() 107 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max_after() local [all …]
|
/hardware/qcom/sm8150/display/libhistogram/ |
D | ringbuffer.cpp | 61 std::unique_lock<decltype(mutex)> lk(mutex); in insert() local 73 std::unique_lock<decltype(mutex)> lk(mutex); in resize() local 83 std::unique_lock<decltype(mutex)> lk(mutex); in collect_cumulative() local 90 std::unique_lock<decltype(mutex)> lk(mutex); in collect_ringbuffer_all() local 91 return collect_max(ringbuffer.size(), lk); in collect_ringbuffer_all() 96 std::unique_lock<decltype(mutex)> lk(mutex); in collect_after() local 97 return collect_max_after(timestamp, ringbuffer.size(), lk); in collect_after() 101 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max() local 102 return collect_max(max_frames, lk); in collect_max() 107 std::unique_lock<decltype(mutex)> lk(mutex); in collect_max_after() local [all …]
|
D | histogram_collector.cpp | 146 std::unique_lock<decltype(mutex)> lk(mutex); in start() local 157 std::unique_lock<decltype(mutex)> lk(mutex); in stop() local 164 lk.unlock(); in stop() 171 std::unique_lock<decltype(mutex)> lk(mutex); in notify_histogram_event() local 188 std::unique_lock<decltype(mutex)> lk(mutex); in blob_processing_thread() local 191 cv.wait(lk, [this] { return !started || work_available; }); in blob_processing_thread() 198 lk.unlock(); in blob_processing_thread() 202 lk.lock(); in blob_processing_thread() 208 lk.lock(); in blob_processing_thread()
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | Tuner.cpp | 71 lock_guard<mutex> lk(mMut); in forceClose() local 106 lock_guard<mutex> lk(mMut); in setConfiguration() local 117 lock_guard<mutex> lk(mMut); in setConfiguration() local 127 lock_guard<mutex> lk(mMut); in getConfiguration() local 178 lock_guard<mutex> lk(mMut); in scan() local 223 lock_guard<mutex> lk(mMut); in scan() local 233 lock_guard<mutex> lk(mMut); in step() local 252 lock_guard<mutex> lk(mMut); in step() local 276 lock_guard<mutex> lk(mMut); in tune() local 284 lock_guard<mutex> lk(mMut); in tuneByProgramSelector() local [all …]
|
D | VirtualRadio.cpp | 57 lock_guard<mutex> lk(mMut); in getProgramList() local 62 lock_guard<mutex> lk(mMut); in getProgram() local
|
/hardware/google/pixel/power-libperfmgr/ |
D | InteractionHandler.cpp | 63 std::lock_guard<std::mutex> lk(mLock); in Init() local 87 std::unique_lock<std::mutex> lk(mLock); in Exit() local 93 lk.unlock(); in Exit() 128 std::lock_guard<std::mutex> lk(mLock); in Acquire() local 170 std::lock_guard<std::mutex> lk(mLock); in Release() local 238 std::unique_lock<std::mutex> lk(mLock, std::defer_lock); in Routine() local 241 lk.lock(); in Routine() 242 mCond.wait(lk, [&] { return mState != INTERACTION_STATE_IDLE; }); in Routine() 246 lk.unlock(); in Routine()
|
/hardware/interfaces/broadcastradio/common/vts/utils/ |
D | call-barrier.cpp | 28 lock_guard<mutex> lk(mMut); in call() local 34 unique_lock<mutex> lk(mMut); in waitForCall() local 38 auto status = mCond.wait_for(lk, timeout); in waitForCall()
|
/hardware/interfaces/broadcastradio/common/tests/ |
D | WorkerThread_test.cpp | 82 lock_guard<mutex> lk(mut); in TEST() local 89 lock_guard<mutex> lk(mut); in TEST() local 96 lock_guard<mutex> lk(mut); in TEST() local 103 lock_guard<mutex> lk(mut); in TEST() local 110 lock_guard<mutex> lk(mut); in TEST() local
|
/hardware/interfaces/broadcastradio/2.0/default/ |
D | TunerSession.cpp | 95 lock_guard<mutex> lk(mMut); in tune() local 112 lock_guard<mutex> lk(mMut); in tune() local 123 lock_guard<mutex> lk(mMut); in scan() local 166 lock_guard<mutex> lk(mMut); in scan() local 176 lock_guard<mutex> lk(mMut); in step() local 205 lock_guard<mutex> lk(mMut); in step() local 224 lock_guard<mutex> lk(mMut); in cancel() local 234 lock_guard<mutex> lk(mMut); in startProgramListUpdates() local 245 lock_guard<mutex> lk(mMut); in startProgramListUpdates() local 291 lock_guard<mutex> lk(mMut); in close() local
|
D | VirtualRadio.cpp | 63 lock_guard<mutex> lk(mMut); in getProgramList() local 68 lock_guard<mutex> lk(mMut); in getProgram() local
|
D | BroadcastRadio.cpp | 72 lock_guard<mutex> lk(mMut); in getAmFmConfig() local 114 lock_guard<mutex> lk(mMut); in openSession() local
|
/hardware/interfaces/camera/device/3.5/default/ |
D | ExternalCameraDeviceSession.cpp | 96 std::lock_guard<std::mutex> lk(mLock); in requestBufferStart() local 112 std::unique_lock<std::mutex> lk(mLock); in waitForBufferRequestDone() local 120 auto st = mRequestDoneCond.wait_for(lk, timeout); in waitForBufferRequestDone() 134 std::unique_lock<std::mutex> lk(mLock); in waitForNextRequest() local 141 auto st = mRequestCond.wait_for(lk, timeout); in waitForNextRequest() 182 std::unique_lock<std::mutex> lk(mLock); in threadLoop() local 214 lk.unlock(); in threadLoop() 219 lk.lock(); in threadLoop() 247 lk.unlock(); in threadLoop()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorManager.cpp | 85 std::lock_guard<std::mutex> lk(mLock); in activate() local 126 std::lock_guard<std::mutex> lk(mFifoLock); in poll() local 131 std::lock_guard<std::mutex> lk(mLock); in registerSensor() local 158 std::lock_guard<std::mutex> lk(mLock); in unregisterSensor() local 183 std::lock_guard<std::mutex> lk(mLock); in submitEvent() local 219 std::lock_guard<std::mutex> lk(mFifoLock); in submitEvent() local
|
D | DynamicSensorManager.h | 98 std::lock_guard<std::mutex> lk(mLock); in operateSensor()
|
D | DummyDynamicAccelDaemon.cpp | 118 std::lock_guard<std::mutex> lk(mLock); in enable() local
|
/hardware/interfaces/tests/multithread/1.0/default/ |
D | Multithread.cpp | 35 std::unique_lock<std::mutex> lk(mCvMutex); in runNewThread() local 42 bool noTimeout = mCv.wait_for(lk, kTimeoutDuration, in runNewThread()
|
/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/ |
D | mock-timeout.h | 78 std::lock_guard<std::mutex> lk(egmock_mut_##Method); \ 156 std::unique_lock<std::mutex> lk((obj).egmock_mut_##Method); \ 158 auto status = (obj).egmock_cond_##Method.wait_for(lk, timeout); \
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 284 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in dumpState() local 607 int ExternalCameraDeviceSession::waitForV4L2BufferReturnLocked(std::unique_lock<std::mutex>& lk) { in waitForV4L2BufferReturnLocked() argument 611 auto st = mV4L2BufferReturned.wait_for(lk, timeout); in waitForV4L2BufferReturnLocked() 719 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in processOneCaptureRequest() local 722 int waitRet = waitForV4L2BufferReturnLocked(lk); in processOneCaptureRequest() 765 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processOneCaptureRequest() local 825 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureRequestError() local 881 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureResult() local 1836 std::unique_lock<std::mutex> lk(mBufferLock); in threadLoop() local 1842 lk.unlock(); in threadLoop() [all …]
|
D | ExternalCameraUtils.cpp | 45 std::lock_guard<std::mutex> lk(mLock); in map() local 62 std::lock_guard<std::mutex> lk(mLock); in unmap() local 85 std::lock_guard<std::mutex> lk(mLock); in allocate() local 122 std::lock_guard<std::mutex> lk(mLock); in getCroppedLayout() local
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 250 std::unique_lock<std::mutex> lk(mLock); in waitForPullUp() local 255 if (mCv.wait_for(lk, timeout_ms * 1ms, [] { return gadgetPullup; })) { in waitForPullUp()
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | fuse.h | 541 struct fuse_file_lock lk; member 547 struct fuse_file_lock lk; member
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | fuse.h | 374 struct fuse_file_lock lk; member 380 struct fuse_file_lock lk; member
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | fuse.h | 562 struct fuse_file_lock lk; member 568 struct fuse_file_lock lk; member
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | fuse.h | 389 struct fuse_file_lock lk; member 395 struct fuse_file_lock lk; member
|