Home
last modified time | relevance | path

Searched defs:lk (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/mtp/
DPosixAsyncIO.cpp40 std::unique_lock<std::mutex> lk(gLock); in work_func() local
57 std::unique_lock<std::mutex> lk(aiocbp->lock); in work_func() local
72 std::unique_lock<std::mutex> lk(gLock); in aio_add() local
85 std::unique_lock<std::mutex> lk(gLock); in aiocb() local
99 std::unique_lock<std::mutex> lk(gLock); in ~aiocb() local
135 std::unique_lock<std::mutex> lk(aiocbp[i]->lock); in aio_suspend() local
DMtpFfsHandle.cpp301 std::unique_lock lk(m); in close() local
680 std::unique_lock lk(m); in sendEvent() local
696 std::unique_lock lk(m); in doSendEvent() local
/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp43 std::lock_guard<std::mutex> lk(mLock); in addEvent() local
53 std::lock_guard<std::mutex> lk(mLock); in setLastEventStale() local
58 std::lock_guard<std::mutex> lk(mLock); in dump() local
98 std::lock_guard<std::mutex> lk(mLock); in dump() local
132 std::lock_guard<std::mutex> lk(mLock); in populateLastEventIfCurrent() local
DSensorDeviceUtils.cpp136 std::lock_guard<std::mutex> lk(mLock); in onRegistration() local
144 std::lock_guard<std::mutex> lk(mLock); in reset() local
159 std::unique_lock<std::mutex> lk(mLock); in wait() local
DSensorList.cpp33 std::lock_guard<std::mutex> lk(mLock); in add() local
45 std::lock_guard<std::mutex> lk(mLock); in remove() local
73 std::lock_guard<std::mutex> lk(mLock); in isNewHandle() local
/frameworks/base/services/core/jni/BroadcastRadio/
DNativeCallbackThread.cpp54 unique_lock<mutex> lk(mQueueMutex); in threadLoop() local
85 lock_guard<mutex> lk(mQueueMutex); in enqueue() local
101 lock_guard<mutex> lk(mQueueMutex); in stop() local
DTuner.cpp116 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
129 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
159 lock_guard<mutex> lk(gContextMutex); in assignHalInterfaces() local
189 lock_guard<mutex> lk(gContextMutex); in getHalTuner() local
194 lock_guard<mutex> lk(gContextMutex); in getHalTuner11() local
208 lock_guard<mutex> lk(gContextMutex); in nativeClose() local
230 lock_guard<mutex> lk(gContextMutex); in nativeSetConfiguration() local
285 lock_guard<mutex> lk(gContextMutex); in nativeTune() local
369 lock_guard<mutex> lk(gContextMutex); in nativeGetImage() local
DTunerCallback.cpp196 lock_guard<mutex> lk(mMut); in tuneComplete() local
276 lock_guard<mutex> lk(mMut); in newMetadata() local
359 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
372 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
380 lock_guard<mutex> lk(gContextMutex); in nativeDetach() local
389 lock_guard<mutex> lk(gContextMutex); in getNativeCallback() local
DBroadcastRadioService.cpp105 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
114 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
122 lock_guard<mutex> lk(gContextMutex); in nativeLoadModules() local
207 lock_guard<mutex> lk(gContextMutex); in nativeOpenTuner() local
/frameworks/hardware/interfaces/sensorservice/utils/
Ddirect_channel_buffer_reader_test.cc40 std::unique_lock lk(mutex_); in ReadOneSample() local
46 std::unique_lock lk(mutex_); in ReadOneSample() local
58 std::unique_lock lk(mutex_); in BlockReads() local
66 std::unique_lock lk(mutex_); in UnblockReads() local
74 std::unique_lock lk(mutex_); in UnblockAndWaitForReads() local
81 std::unique_lock lk(mutex_); in UnblockAndWaitForReads() local
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp40 std::unique_lock<decltype(mutex_)> lk(mutex_); in notify() local
60 std::unique_lock<decltype(mutex_)> lk(mutex_); in wait_vsync_notify() local
142 std::unique_lock<decltype(mutex)> lk(mutex); in onSampleCollected() local
149 std::unique_lock<decltype(mutex)> lk(mutex); in wait_event() local
154 std::unique_lock<decltype(mutex)> lk(mutex); in luma() local
159 std::unique_lock<decltype(mutex)> lk(mutex); in reset() local
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp234 std::lock_guard<std::mutex> lk(mRunningMutex); in callback() local
240 std::lock_guard<std::mutex> lk(mRunningMutex); in callback() local
246 std::unique_lock<std::mutex> lk(mRunningMutex); in ensureNotRunning() local
251 std::lock_guard<std::mutex> lk(mRunningMutex); in dump() local
/frameworks/native/libs/ftl/
Dfuture_test.cpp121 std::unique_lock lk(m); in TEST() local
131 std::unique_lock lk(m); in TEST() local
/frameworks/av/media/libstagefright/
DMediaAdapter.cpp122 std::unique_lock<std::mutex> lk(mBufferGatingMutex); in pushBuffer() local
DMPEG4Writer.cpp1279 std::unique_lock<std::mutex> lk(mResetMutex, std::defer_lock); in reset() local
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OfflineSession.cpp166 std::unique_lock<std::mutex> lk(mOutputLock); in waitForNextFrame() local
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp929 std::unique_lock<std::mutex> lk(dMutex); in TEST() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java437 sTable.add(new MccEntry(413, "lk", 2)); // Sri Lanka (Democratic Socialist Republic of) in sTable.add()