Home
last modified time | relevance | path

Searched refs:lk (Results 1 – 22 of 22) sorted by relevance

/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp44 lock_guard<mutex> lk(mMut); in ~WorkerThread() local
56 lock_guard<mutex> lk(mMut); in schedule() local
64 lock_guard<mutex> lk(mMut); in cancelAll() local
71 unique_lock<mutex> lk(mMut); in threadLoop() local
73 mCond.wait(lk); in threadLoop()
79 mCond.wait_until(lk, task.when); in threadLoop()
84 lk.unlock(); // what() might need to schedule another task in threadLoop()
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp71 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 …]
DVirtualRadio.cpp57 lock_guard<mutex> lk(mMut); in getProgramList() local
62 lock_guard<mutex> lk(mMut); in getProgram() local
DBroadcastRadio.cpp135 lock_guard<mutex> lk(mMut); in openTuner() local
/hardware/interfaces/broadcastradio/common/vts/utils/
Dcall-barrier.cpp28 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/
DWorkerThread_test.cpp82 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/
DTunerSession.cpp97 lock_guard<mutex> lk(mMut); in tune() local
114 lock_guard<mutex> lk(mMut); in tune() local
124 lock_guard<mutex> lk(mMut); in scan() local
167 lock_guard<mutex> lk(mMut); in scan() local
177 lock_guard<mutex> lk(mMut); in step() local
206 lock_guard<mutex> lk(mMut); in step() local
226 lock_guard<mutex> lk(mMut); in cancel() local
236 lock_guard<mutex> lk(mMut); in startProgramListUpdates() local
247 lock_guard<mutex> lk(mMut); in startProgramListUpdates() local
297 lock_guard<mutex> lk(mMut); in close() local
DVirtualRadio.cpp56 lock_guard<mutex> lk(mMut); in getProgramList() local
61 lock_guard<mutex> lk(mMut); in getProgram() local
DBroadcastRadio.cpp75 lock_guard<mutex> lk(mMut); in getAmFmConfig() local
121 lock_guard<mutex> lk(mMut); in openSession() local
/hardware/interfaces/tests/multithread/1.0/default/
DMultithread.cpp35 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/
Dmock-timeout.h78 std::lock_guard<std::mutex> lk(egmock_mut_##Method); \
145 std::unique_lock<std::mutex> lk((obj).egmock_mut_##Method); \
147 auto status = (obj).egmock_cond_##Method.wait_for(lk, timeout); \
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp85 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
DDynamicSensorManager.h98 std::lock_guard<std::mutex> lk(mLock); in operateSensor()
DDummyDynamicAccelDaemon.cpp118 std::lock_guard<std::mutex> lk(mLock); in enable() local
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp253 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in dumpState() local
515 int ExternalCameraDeviceSession::waitForV4L2BufferReturnLocked(std::unique_lock<std::mutex>& lk) { in waitForV4L2BufferReturnLocked() argument
519 auto st = mV4L2BufferReturned.wait_for(lk, timeout); in waitForV4L2BufferReturnLocked()
627 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in processOneCaptureRequest() local
630 int waitRet = waitForV4L2BufferReturnLocked(lk); in processOneCaptureRequest()
673 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processOneCaptureRequest() local
733 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureRequestError() local
787 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureResult() local
1735 std::unique_lock<std::mutex> lk(mBufferLock); in threadLoop() local
1758 lk.unlock(); in threadLoop()
[all …]
DExternalCameraUtils.cpp46 std::lock_guard<std::mutex> lk(mLock); in map() local
63 std::lock_guard<std::mutex> lk(mLock); in unmap() local
86 std::lock_guard<std::mutex> lk(mLock); in allocate() local
123 std::lock_guard<std::mutex> lk(mLock); in getCroppedLayout() local
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dfuse.h541 struct fuse_file_lock lk; member
547 struct fuse_file_lock lk; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dfuse.h389 struct fuse_file_lock lk; member
395 struct fuse_file_lock lk; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dfuse.h562 struct fuse_file_lock lk; member
568 struct fuse_file_lock lk; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dfuse.h374 struct fuse_file_lock lk; member
380 struct fuse_file_lock lk; member
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h219 int waitForV4L2BufferReturnLocked(std::unique_lock<std::mutex>& lk);
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp177 std::lock_guard<std::mutex> lk(mLock); in onProgramListUpdated() local