Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DAsyncIO.cpp62 std::unique_lock<std::mutex> lk(queue_lock); in splice_write_pool_func() local
63 queue_cond.wait(lk, []{return !queue.empty() || done;}); in splice_write_pool_func()
69 lk.unlock(); in splice_write_pool_func()
78 std::unique_lock<std::mutex> lk(queue_lock); in write_pool_func() local
79 queue_cond.wait(lk, []{return !queue.empty() || done;}); in write_pool_func()
85 lk.unlock(); in write_pool_func()
122 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_end() local
123 lk.unlock(); in aio_pool_end()
134 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_write() local
135 write_cond.wait(lk, []{return queue.size() < MAX_QUEUE_SIZE;}); in aio_pool_write()
[all …]
/frameworks/base/services/core/jni/BroadcastRadio/
DNativeCallbackThread.cpp54 unique_lock<mutex> lk(mQueueMutex); in threadLoop() local
59 mQueueCond.wait(lk); in threadLoop()
85 lock_guard<mutex> lk(mQueueMutex); in enqueue() local
101 lock_guard<mutex> lk(mQueueMutex); in stop() local
DTuner.cpp114 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
127 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
161 lock_guard<mutex> lk(gContextMutex); in assignHalInterfaces() local
195 lock_guard<mutex> lk(gContextMutex); in getHalTuner() local
200 lock_guard<mutex> lk(gContextMutex); in getHalTuner11() local
214 lock_guard<mutex> lk(gContextMutex); in nativeClose() local
238 lock_guard<mutex> lk(gContextMutex); in nativeSetConfiguration() local
273 lock_guard<mutex> lk(gContextMutex); in nativeSetMuted() local
301 lock_guard<mutex> lk(gContextMutex); in nativeTune() local
343 lock_guard<mutex> lk(gContextMutex); in nativeGetProgramInformation() local
[all …]
DTunerCallback.cpp193 lock_guard<mutex> lk(mMut); in tuneComplete() local
273 lock_guard<mutex> lk(mMut); in newMetadata() local
356 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
369 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
377 lock_guard<mutex> lk(gContextMutex); in nativeDetach() local
386 lock_guard<mutex> lk(gContextMutex); in getNativeCallback() local
DBroadcastRadioService.cpp97 lock_guard<mutex> lk(gContextMutex); in nativeInit() local
106 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local
114 lock_guard<mutex> lk(gContextMutex); in nativeLoadModules() local
189 lock_guard<mutex> lk(gContextMutex); in nativeOpenTuner() local
/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp39 std::lock_guard<std::mutex> lk(mLock); in addEvent() local
48 std::lock_guard<std::mutex> lk(mLock); in dump() local
88 std::lock_guard<std::mutex> lk(mLock); in populateLastEvent() local
DSensorList.cpp31 std::lock_guard<std::mutex> lk(mLock); in add() local
43 std::lock_guard<std::mutex> lk(mLock); in remove() local
65 std::lock_guard<std::mutex> lk(mLock); in isNewHandle() local
DSensorList.h115 std::lock_guard<std::mutex> lk(mLock); in forEachEntry()
126 std::lock_guard<std::mutex> lk(mLock); in getOne()
/frameworks/base/core/java/android/content/
DUriMatcher.java246 int lk = u.length();
247 for (int k=0; k<lk; k++) {