Home
last modified time | relevance | path

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

123

/hardware/samsung_slsi/exynos5/libexynosutils/
DExynosMutex.h91 inline Autolock(ExynosMutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
94 inline Autolock(ExynosMutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
97 inline ~Autolock() { mLock.unLock(); } in ~Autolock()
99 ExynosMutex& mLock;
/hardware/qcom/audio/alsa_sound/
DAudioStreamOutALSA.cpp126 mParent->mLock.lock(); in write()
199 mParent->mLock.unlock(); in write()
215 mParent->mLock.unlock(); in write()
222 mParent->mLock.lock(); in write()
233 mParent->mLock.unlock(); in write()
252 mParent->mLock.lock(); in write()
267 mParent->mLock.unlock(); in write()
271 mParent->mLock.unlock(); in write()
292 Mutex::Autolock autoLock(mParent->mLock); in open()
299 Mutex::Autolock autoLock(mParent->mLock); in close()
[all …]
DAudioStreamInALSA.cpp141 mParent->mLock.lock(); in read()
286 mParent->mLock.unlock(); in read()
302 mParent->mLock.unlock(); in read()
308 mParent->mLock.lock(); in read()
319 mParent->mLock.unlock(); in read()
426 mParent->mLock.lock(); in read()
441 mParent->mLock.unlock(); in read()
445 mParent->mLock.unlock(); in read()
475 Mutex::Autolock autoLock(mParent->mLock); in open()
484 Mutex::Autolock autoLock(mParent->mLock); in close()
[all …]
/hardware/msm7k/libaudio/
DAudioHardware.cpp161 Mutex::Autolock lock(mLock); in openOutputStream()
187 Mutex::Autolock lock(mLock); in closeOutputStream()
206 mLock.lock(); in openInputStream()
214 mLock.unlock(); in openInputStream()
220 mLock.unlock(); in openInputStream()
226 Mutex::Autolock lock(mLock); in closeInputStream()
232 mLock.unlock(); in closeInputStream()
234 mLock.lock(); in closeInputStream()
261 Mutex::Autolock lock(mLock); in setMicMute()
413 Mutex::Autolock lock(mLock); in setVoiceVolume()
[all …]
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp45 Locker::Autolock _l(mLock); in setSize()
62 Locker::Autolock _l(mLock); in allocate()
70 Locker::Autolock _l(mLock); in deallocate()
/hardware/msm7k/libgralloc/
Dallocator.cpp45 Locker::Autolock _l(mLock); in setSize()
62 Locker::Autolock _l(mLock); in allocate()
70 Locker::Autolock _l(mLock); in deallocate()
/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.h65 Mutex mLock; variable
98 Mutex mLock; variable
143 Mutex mLock; variable
DA2dpAudioInterface.cpp279 Mutex::Autolock lock(mLock); in write()
353 Mutex::Autolock lock(mLock); in standby()
437 Mutex::Autolock lock(mLock); in setAddress()
453 Mutex::Autolock lock(mLock); in setBluetoothEnabled()
472 Mutex::Autolock lock(mLock); in close()
DAudioHardwareGeneric.cpp70 AutoMutex lock(mLock); in openOutputStream()
110 AutoMutex lock(mLock); in openInputStream()
235 Mutex::Autolock _l(mLock); in write()
345 AutoMutex lock(mLock); in read()
/hardware/ti/omap4xxx/camera/
DSensorListener.cpp187 Mutex::Autolock lock(&mLock); in handleOrientation()
202 Mutex::Autolock lock(&mLock); in enableSensor()
221 Mutex::Autolock lock(&mLock); in disableSensor()
DAppCallbackNotifier.cpp76 Mutex::Autolock lock(mLock); in EncoderDoneCb()
209 Mutex::Autolock lock(mLock); in setCallbacks()
225 Mutex::Autolock lock(mLock); in setMeasurements()
314 Mutex::Autolock lock(mLock); in notifyEvent()
697 Mutex::Autolock lock(mLock); in copyAndSendPictureFrame()
733 Mutex::Autolock lock(mLock); in copyAndSendPreviewFrame()
846 Mutex::Autolock lock(mLock); in notifyFrame()
1211 Mutex::Autolock lock(mLock); in flushAndReturnFrames()
1251 Mutex::Autolock lock(mLock); in eventCallback()
1270 Mutex::Autolock lock(mLock); in flushEventQueue()
[all …]
DANativeWindowDisplayAdapter.cpp345 Mutex::Autolock lock(mLock); in setSnapshotTimeRef()
382 Mutex::Autolock lock(mLock); in enableDisplay()
455 Mutex::Autolock lock(mLock); in disableDisplay()
496 Mutex::Autolock lock(mLock); in pauseDisplay()
849 Mutex::Autolock lock(mLock); in freeBuffer()
1059 Mutex::Autolock lock(mLock); in PostFrame()
1136 Mutex::Autolock lock(mLock); in PostFrame()
DCameraProperties.cpp74 Mutex::Autolock lock(mLock); in initialize()
/hardware/qcom/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp354 Mutex::Autolock l(&mLock); in release()
404 Mutex::Autolock lock(mLock); in setCallbacks()
416 Mutex::Autolock lock(mLock); in enableMsgType()
424 Mutex::Autolock lock(mLock); in disableMsgType()
432 Mutex::Autolock lock(mLock); in msgTypeEnabled()
443 AutoMutex lock(&mLock);
461 Mutex::Autolock l(&mLock); in sendCommand()
769 Mutex::Autolock lock(mLock); in processChannelEvent()
790 Mutex::Autolock lock(mLock); in processCtrlEvent()
979 Mutex::Autolock lock(mLock); in startPreview()
[all …]
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp227 Mutex::Autolock lock(mLock); in openOutputStream()
253 Mutex::Autolock lock(mLock); in closeOutputStream()
272 mLock.lock(); in openInputStream()
280 mLock.unlock(); in openInputStream()
286 mLock.unlock(); in openInputStream()
292 Mutex::Autolock lock(mLock); in closeInputStream()
298 mLock.unlock(); in closeInputStream()
300 mLock.lock(); in closeInputStream()
359 Mutex::Autolock lock(mLock); in setMicMute()
624 Mutex::Autolock lock(mLock); in setVoiceVolume()
[all …]
/hardware/qcom/camera/
DQCameraHWI.cpp377 Mutex::Autolock l(&mLock); in release()
427 Mutex::Autolock lock(mLock); in setCallbacks()
439 Mutex::Autolock lock(mLock); in enableMsgType()
447 Mutex::Autolock lock(mLock); in disableMsgType()
455 Mutex::Autolock lock(mLock); in msgTypeEnabled()
466 AutoMutex lock(&mLock);
484 Mutex::Autolock l(&mLock); in sendCommand()
783 Mutex::Autolock lock(mLock); in processChannelEvent()
804 Mutex::Autolock lock(mLock); in processCtrlEvent()
1011 Mutex::Autolock lock(mLock); in startPreview()
[all …]
/hardware/qcom/display/libgralloc/
Dionalloc.h67 mutable Locker mLock; variable
Dionalloc.cpp67 Locker::Autolock _l(mLock); in alloc_buffer()
153 Locker::Autolock _l(mLock); in free_buffer()
/hardware/qcom/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp46 Mutex::Autolock lock(mLock); in setPreviewWindow()
254 Mutex::Autolock lock(mLock); in processPreviewFrame()
433 Mutex::Autolock lock(mLock); in start()
490 Mutex::Autolock lock(mLock); in stop()
/hardware/msm7k/libcamera/
DQualcommCameraHardware.cpp616 Mutex::Autolock l(&mLock); in release()
805 Mutex::Autolock l(&mLock); in startPreview()
814 Mutex::Autolock l(&mLock); in stopPreview()
825 Mutex::Autolock l(&mLock); in previewEnabled()
832 Mutex::Autolock l(&mLock); in startRecording()
841 Mutex::Autolock l(&mLock); in stopRecording()
852 Mutex::Autolock l(&mLock); in recordingEnabled()
861 Mutex::Autolock l(&mLock); in releaseRecordingFrame()
869 Mutex::Autolock l(&mLock); in autoFocus()
899 Mutex::Autolock l(&mLock); in takePicture()
[all …]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h663 Mutex::Autolock lock(mLock); in put()
669 Mutex::Autolock lock(mLock); in clearCommandQ()
684 Mutex mLock; variable
702 Mutex::Autolock lock(mLock); in put()
708 Mutex::Autolock lock(mLock); in clearCommandQ()
722 Mutex mLock; variable
/hardware/ti/omap4xxx/camera/inc/
DSensorListener.h96 Mutex mLock; variable
DCameraProperties.h189 mutable Mutex mLock; variable
/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp66 Mutex::Autolock lock(mLock); in openOutputStream()
92 Mutex::Autolock lock(mLock); in closeOutputStream()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h133 Mutex mLock; variable

123