Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncReactor.cpp90 std::lock_guard<std::mutex> lk(mMutex); in ~CallbackRepeater() local
95 std::lock_guard<std::mutex> lk(mMutex); in start() local
105 std::lock_guard<std::mutex> lk(mMutex); in setPeriod() local
113 std::lock_guard<std::mutex> lk(mMutex); in stop() local
120 std::lock_guard<std::mutex> lk(mMutex); in dump() local
129 std::lock_guard<std::mutex> lk(mMutex); in callback() local
136 std::lock_guard<std::mutex> lk(mMutex); in callback() local
172 std::lock_guard<std::mutex> lk(mMutex); in addPresentFence() local
210 std::lock_guard<std::mutex> lk(mMutex); in setIgnorePresentFences() local
252 std::lock_guard lk(mMutex); in setPeriod() local
[all …]
DVSyncPredictor.cpp72 std::lock_guard<std::mutex> lk(mMutex); in currentPeriod() local
77 std::lock_guard<std::mutex> lk(mMutex); in addVsyncTimestamp() local
180 std::lock_guard<std::mutex> lk(mMutex); in nextAnticipatedVSyncTimeFrom() local
218 std::lock_guard<std::mutex> lk(mMutex); in getVSyncPredictionModel() local
230 std::lock_guard<std::mutex> lk(mMutex); in setPeriod() local
260 std::lock_guard<std::mutex> lk(mMutex); in needsMoreSamples() local
276 std::lock_guard<std::mutex> lk(mMutex); in resetModel() local
282 std::lock_guard<std::mutex> lk(mMutex); in dump() local
DVSyncDispatchTimerQueue.cpp127 std::lock_guard<std::mutex> lk(mRunningMutex); in callback() local
133 std::lock_guard<std::mutex> lk(mRunningMutex); in callback() local
139 std::unique_lock<std::mutex> lk(mRunningMutex); in ensureNotRunning() local
144 std::lock_guard<std::mutex> lk(mRunningMutex); in dump() local
174 std::lock_guard<decltype(mMutex)> lk(mMutex); in ~VSyncDispatchTimerQueue() local
245 std::lock_guard<decltype(mMutex)> lk(mMutex); in timerCallback() local
272 std::lock_guard<decltype(mMutex)> lk(mMutex); in registerCallback() local
285 std::lock_guard<decltype(mMutex)> lk(mMutex); in unregisterCallback() local
302 std::lock_guard<decltype(mMutex)> lk(mMutex); in schedule() local
333 std::lock_guard<decltype(mMutex)> lk(mMutex); in cancel() local
[all …]
DTimer.cpp92 std::lock_guard<decltype(mMutex)> lk(mMutex); in alarmIn() local
112 std::lock_guard<decltype(mMutex)> lk(mMutex); in alarmCancel() local
195 std::lock_guard<decltype(mMutex)> lk(mMutex); in dispatch() local
214 std::lock_guard lk(mMutex); in setDebugState() local
236 std::lock_guard lk(mMutex); in dump() local
/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
/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.cpp117 std::lock_guard<std::mutex> lk(mLock); in onRegistration() local
125 std::lock_guard<std::mutex> lk(mLock); in reset() local
140 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
67 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/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp67 std::lock_guard<decltype(mMutex)> lk(mMutex); in nextAnticipatedVSyncTimeFrom() local
77 std::lock_guard<decltype(mMutex)> lk(mMutex); in set_interval() local
83 std::lock_guard<decltype(mMutex)> lk(mMutex); in currentPeriod() local
115 std::unique_lock<decltype(mMutex)> lk(mMutex); in repeatedly_schedule() local
127 std::unique_lock<decltype(mMutex)> lk(mMutex); in repeatedly_schedule() local
137 std::lock_guard<decltype(mMutex)> lk(mMutex); in callback_called() local
DVSyncDispatchTimerQueueTest.cpp140 std::unique_lock<std::mutex> lk(mMutex); in pause() local
150 std::unique_lock<std::mutex> lk(mMutex); in waitForPause() local
160 std::unique_lock<std::mutex> lk(mMutex); in unpause() local
DVSyncReactorTest.cpp139 std::lock_guard<std::mutex> lk(mMutex); in onDispSyncEvent() local
143 std::lock_guard<std::mutex> lk(mMutex); in lastCallTime() local
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp38 std::unique_lock<decltype(mutex_)> lk(mutex_); in notify() local
58 std::unique_lock<decltype(mutex_)> lk(mutex_); in wait_vsync_notify() local
140 std::unique_lock<decltype(mutex)> lk(mutex); in onSampleCollected() local
146 std::unique_lock<decltype(mutex)> lk(mutex); in wait_event() local
151 std::unique_lock<decltype(mutex)> lk(mutex); in luma() local
156 std::unique_lock<decltype(mutex)> lk(mutex); in reset() local
/frameworks/base/cmds/statsd/src/external/
DStatsCallbackPuller.cpp67 lock_guard<mutex> lk(*cv_mutex); in PullInternal() local
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OfflineSession.cpp205 std::unique_lock<std::mutex> lk(mOutputLock); in waitForNextFrame() local
/frameworks/native/libs/binder/ndk/test/
Dlibbinder_ndk_unit_test.cpp304 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()