Home
last modified time | relevance | path

Searched refs:mLock (Results 1 – 25 of 47) sorted by relevance

12

/device/generic/goldfish-opengl/android-emu/android/base/synchronization/
DAndroidLock.h56 ::AcquireSRWLockExclusive(&mLock); in lock()
58 ::pthread_mutex_lock(&mLock); in lock()
66 ret = ::TryAcquireSRWLockExclusive(&mLock); in tryLock()
68 ret = ::pthread_mutex_trylock(&mLock) == 0; in tryLock()
80 ::ReleaseSRWLockExclusive(&mLock);
82 ::pthread_mutex_unlock(&mLock);
93 SRWLOCK mLock = SRWLOCK_INIT; variable
95 pthread_mutex_t mLock = PTHREAD_MUTEX_INITIALIZER; variable
112 ~Lock() { ::pthread_mutex_destroy(&mLock); } in ~Lock()
124 void lockRead() { ::AcquireSRWLockShared(&mLock); } in lockRead()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCameraParametersIntf.cpp56 Mutex::Autolock lock(mLock); in ~QCameraParametersIntf()
67 Mutex::Autolock lock(mLock); in allocate()
81 Mutex::Autolock lock(mLock); in init()
88 Mutex::Autolock lock(mLock); in deinit()
95 Mutex::Autolock lock(mLock); in updateParameters()
102 Mutex::Autolock lock(mLock); in commitParameters()
109 Mutex::Autolock lock(mLock); in getParameters()
116 Mutex::Autolock lock(mLock); in getPreviewFpsRange()
124 Mutex::Autolock lock(mLock); in getTsMakeupInfo()
132 Mutex::Autolock lock(mLock); in getPreviewHalPixelFormat()
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3StreamMem.cpp84 Mutex::Autolock lock(mLock); in getCnt()
121 Mutex::Autolock lock(mLock); in getFd()
141 Mutex::Autolock lock(mLock); in getSize()
163 Mutex::Autolock lock(mLock); in invalidateCache()
185 Mutex::Autolock lock(mLock); in cleanInvalidateCache()
207 Mutex::Autolock lock(mLock); in cleanCache()
257 Mutex::Autolock lock(mLock); in getPtr()
277 Mutex::Autolock lock(mLock); in valid()
301 Mutex::Autolock lock(mLock); in registerBuffer()
320 Mutex::Autolock lock(mLock); in unregisterBuffer()
[all …]
DQCamera3Mem.cpp108 Mutex::Autolock lock(mLock); in cacheOpsInternal()
157 Mutex::Autolock lock(mLock); in getFd()
182 Mutex::Autolock lock(mLock); in getSize()
206 Mutex::Autolock lock(mLock); in getCnt()
228 Mutex::Autolock lock(mLock); in getBufDef()
417 Mutex::Autolock lock(mLock); in markFrameNumber()
452 Mutex::Autolock lock(mLock); in getFrameNumber()
483 Mutex::Autolock lock(mLock); in getOldestFrameNumber()
521 Mutex::Autolock lock(mLock); in getBufferIndex()
794 Mutex::Autolock lock(mLock); in registerBuffer()
[all …]
DQCamera3StreamMem.h95 Mutex mLock; variable
DQCamera3Stream.cpp739 Mutex::Autolock lock(mLock); in bufDone()
811 Mutex::Autolock lock(mLock); in cancelBuffer()
851 Mutex::Autolock lock(mLock); in bufRelease()
904 Mutex::Autolock lock(mLock); in getBufs()
1021 Mutex::Autolock lock(mLock); in putBufs()
1341 Mutex::Autolock lock(mLock); in getBatchBufs()
1467 Mutex::Autolock lock(mLock); in putBatchBufs()
/device/google/marlin/camera/QCamera2/util/
DQCameraPerf.cpp107 Mutex::Autolock lock(mLock); in lock_init()
178 Mutex::Autolock lock(mLock); in lock_deinit()
222 Mutex::Autolock lock(mLock); in isTimerReset()
289 Mutex::Autolock lock(mLock); in lock_acq_timed()
345 Mutex::Autolock lock(mLock); in lock_acq()
392 Mutex::Autolock lock(mLock); in lock_rel_timed()
434 Mutex::Autolock lock(mLock); in lock_rel()
DQCameraPerf.h84 Mutex mLock; variable
/device/google/contexthub/util/common/
Dring.cpp38 Mutex::Autolock autoLock(mLock); in write()
70 Mutex::Autolock autoLock(mLock); in read()
79 mNotEmptyCondition.wait(mLock); in read()
Dring.h36 Mutex mLock;
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp296 AutoLock lock(mLock); \
302 AutoLock lock(mLock); \
310 AutoLock lock(mLock); in GOLDFISH_VK_LIST_TRIVIAL_HANDLE_TYPES()
320 AutoLock lock(mLock); in unregister_VkDevice()
330 AutoLock lock(mLock); in unregister_VkDeviceMemory()
361 AutoLock lock(mLock); in unregister_VkImage()
372 AutoLock lock(mLock); in unregister_VkBuffer()
381 AutoLock lock(mLock); in unregister_VkSemaphore()
407 AutoLock lock(mLock); in setInstanceInfo()
424 AutoLock lock(mLock); in setDeviceInfo()
[all …]
/device/google/marlin/usb/
DUsb.cpp232 pthread_mutex_lock(&mLock); in switchRole()
242 pthread_mutex_unlock(&mLock); in switchRole()
454 pthread_mutex_lock(&mLock); in queryPortStatus()
477 pthread_mutex_unlock(&mLock); in queryPortStatus()
511 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
541 pthread_mutex_unlock(&payload->usb->mLock); in uevent_event()
642 pthread_mutex_lock(&mLock); in setCallback()
657 pthread_mutex_unlock(&mLock); in setCallback()
666 pthread_mutex_unlock(&mLock); in setCallback()
686 pthread_mutex_unlock(&mLock); in setCallback()
/device/google/crosshatch/usb/
DUsb.cpp192 : mLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
257 pthread_mutex_lock(&mLock); in switchRole()
267 pthread_mutex_unlock(&mLock); in switchRole()
479 pthread_mutex_lock(&mLock); in queryPortStatus()
502 pthread_mutex_unlock(&mLock); in queryPortStatus()
538 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
568 pthread_mutex_unlock(&payload->usb->mLock); in uevent_event()
669 pthread_mutex_lock(&mLock); in setCallback()
684 pthread_mutex_unlock(&mLock); in setCallback()
693 pthread_mutex_unlock(&mLock); in setCallback()
[all …]
/device/google/wahoo/usb/
DUsb.cpp216 : mLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
281 pthread_mutex_lock(&mLock); in switchRole()
291 pthread_mutex_unlock(&mLock); in switchRole()
503 pthread_mutex_lock(&mLock); in queryPortStatus()
526 pthread_mutex_unlock(&mLock); in queryPortStatus()
561 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
591 pthread_mutex_unlock(&payload->usb->mLock); in uevent_event()
700 pthread_mutex_lock(&mLock); in setCallback()
715 pthread_mutex_unlock(&mLock); in setCallback()
724 pthread_mutex_unlock(&mLock); in setCallback()
[all …]
DUsbGadget.h72 std::mutex mLock; member
/device/google/bonito/usb/
DUsb.cpp190 : mLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
255 pthread_mutex_lock(&mLock); in switchRole()
265 pthread_mutex_unlock(&mLock); in switchRole()
477 pthread_mutex_lock(&mLock); in queryPortStatus()
500 pthread_mutex_unlock(&mLock); in queryPortStatus()
534 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
564 pthread_mutex_unlock(&payload->usb->mLock); in uevent_event()
665 pthread_mutex_lock(&mLock); in setCallback()
680 pthread_mutex_unlock(&mLock); in setCallback()
689 pthread_mutex_unlock(&mLock); in setCallback()
[all …]
/device/generic/goldfish/camera/
DEmulatedQemuCamera3.cpp221 Mutex::Autolock l(mLock); in connectCamera()
265 Mutex::Autolock l(mLock); in closeCamera()
281 Mutex::Autolock l(mLock); in closeCamera()
308 Mutex::Autolock l(mLock); in configureStreams()
456 Mutex::Autolock l(mLock); in registerStreamBuffers()
463 Mutex::Autolock l(mLock); in constructDefaultRequestSettings()
727 Mutex::Autolock l(mLock); in processCaptureRequest()
1861 Mutex::Autolock l(mLock); in signalReadoutIdle()
1906 Mutex::Autolock l(mLock); in queueCaptureRequest()
1913 Mutex::Autolock l(mLock); in isIdle()
[all …]
DEmulatedFakeCamera3.h155 Mutex mLock; variable
229 Mutex mLock; variable
DEmulatedQemuCamera3.h148 Mutex mLock; variable
229 Mutex mLock; variable
DEmulatedFakeCamera3.cpp144 Mutex::Autolock l(mLock); in connectCamera()
186 Mutex::Autolock l(mLock); in closeCamera()
202 Mutex::Autolock l(mLock); in closeCamera()
229 Mutex::Autolock l(mLock); in configureStreams()
403 Mutex::Autolock l(mLock); in registerStreamBuffers()
415 Mutex::Autolock l(mLock); in constructDefaultRequestSettings()
771 Mutex::Autolock l(mLock); in processCaptureRequest()
2443 Mutex::Autolock l(mLock); in signalReadoutIdle()
2486 Mutex::Autolock l(mLock); in queueCaptureRequest()
2493 Mutex::Autolock l(mLock); in isIdle()
[all …]
/device/google/wahoo/powerstats/
DEaselStateResidencyDataProvider.h40 std::mutex mLock;
DEaselStateResidencyDataProvider.cpp47 std::lock_guard<std::mutex> lock(mLock); in getResults()
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera3.h157 Mutex mLock; variable
231 Mutex mLock; variable
DEmulatedFakeCamera3.cpp131 Mutex::Autolock l(mLock); in connectCamera()
173 Mutex::Autolock l(mLock); in closeCamera()
189 Mutex::Autolock l(mLock); in closeCamera()
233 Mutex::Autolock l(mLock); in configureStreams()
368 Mutex::Autolock l(mLock); in registerStreamBuffers()
379 Mutex::Autolock l(mLock); in constructDefaultRequestSettings()
719 Mutex::Autolock l(mLock); in processCaptureRequest()
2366 Mutex::Autolock l(mLock); in signalReadoutIdle()
2408 Mutex::Autolock l(mLock); in queueCaptureRequest()
2415 Mutex::Autolock l(mLock); in isIdle()
[all …]
/device/google/contexthub/contexthubhal/
Dsystem_comms.h181 mutable std::mutex mLock; // serializes message handling
199 std::lock_guard<std::mutex> _l(mLock); in abort()
214 std::lock_guard<std::mutex> _l(mLock); in getStatus()
306 std::lock_guard<std::mutex> _l(mLock); in haveKeys()

12