/hardware/qcom/display/libgenlock/ |
D | genlock.cpp | 82 genlock_lock lock; in perform_lock_unlock_operation() local 83 lock.op = lockType; in perform_lock_unlock_operation() 84 lock.flags = flags; in perform_lock_unlock_operation() 85 lock.timeout = timeout; in perform_lock_unlock_operation() 86 lock.fd = hnd->genlockHandle; in perform_lock_unlock_operation() 89 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_DREADLOCK, &lock)) { in perform_lock_unlock_operation() 100 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_LOCK, &lock)) { in perform_lock_unlock_operation() 155 genlock_lock lock; in genlock_create_lock() local 159 close_genlock_fd_and_handle(fd, lock.fd); in genlock_create_lock() 165 if (ioctl(fd, GENLOCK_IOC_EXPORT, &lock)) { in genlock_create_lock() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 79 pthread_mutex_t lock; member 163 pthread_mutex_lock(&out->dev->lock); in out_standby() 167 pthread_mutex_unlock(&out->dev->lock); in out_standby() 187 pthread_mutex_lock(&out->dev->lock); in out_set_parameters() 192 pthread_mutex_unlock(&out->dev->lock); in out_set_parameters() 200 pthread_mutex_unlock(&out->dev->lock); in out_set_parameters() 237 pthread_mutex_lock(&out->dev->lock); in out_write() 245 pthread_mutex_unlock(&out->dev->lock); in out_write() 252 pthread_mutex_unlock(&out->dev->lock); in out_write() 258 pthread_mutex_unlock(&out->dev->lock); in out_write() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMX3A.cpp | 84 Mutex::Autolock lock(m3ASettingsUpdateLock); in setParameters3A() local 285 OMX_BOOL lock = OMX_FALSE; in setParameters3A() local 291 lock = OMX_TRUE; in setParameters3A() 299 if (mParameters3A.ExposureLock != lock) in setParameters3A() 301 mParameters3A.ExposureLock = lock; in setParameters3A() 302 CAMHAL_LOGDB("ExposureLock %d", lock); in setParameters3A() 310 OMX_BOOL lock = OMX_FALSE; in setParameters3A() local 316 lock = OMX_TRUE; in setParameters3A() 323 if (mParameters3A.WhiteBalanceLock != lock) in setParameters3A() 325 mParameters3A.WhiteBalanceLock = lock; in setParameters3A() [all …]
|
D | OMXZoom.cpp | 56 Mutex::Autolock lock(mZoomLock); in setParametersZoom() local 142 Mutex::Autolock lock(mZoomLock); in advanceZoom() local 244 Mutex::Autolock lock(mZoomLock); in startSmoothZoom() local 270 Mutex::Autolock lock(mZoomLock); in stopSmoothZoom() local
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hw.c | 47 pthread_mutex_t lock; /* see note below on mutex acquisition order */ member 56 pthread_mutex_t lock; /* see note below on mutex acquisition order */ member 127 pthread_mutex_lock(&out->dev->lock); in out_standby() 128 pthread_mutex_lock(&out->lock); in out_standby() 136 pthread_mutex_unlock(&out->lock); in out_standby() 137 pthread_mutex_unlock(&out->dev->lock); in out_standby() 157 pthread_mutex_lock(&adev->lock); in out_set_parameters() 167 pthread_mutex_unlock(&adev->lock); in out_set_parameters() 196 pthread_mutex_lock(&out->dev->lock); in out_write() 197 pthread_mutex_lock(&out->lock); in out_write() [all …]
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | SignalDrivenThread.cpp | 82 Mutex::Autolock lock(m_signalMutex); in SetSignal() local 97 Mutex::Autolock lock(m_signalMutex); in GetProcessingSignal() local 103 Mutex::Autolock lock(m_signalMutex); in IsTerminated() local 122 Mutex::Autolock lock(m_signalMutex); in threadLoop() local 137 Mutex::Autolock lock(m_signalMutex); in threadLoop() local
|
/hardware/msm7k/librpc/ |
D | svc.c | 87 pthread_mutex_t lock; member 168 pthread_mutex_init(&xprt->lock, &xprt->lock_attr); in svcrtr_create() 199 pthread_mutex_lock(&xprt->lock); in svc_find() 201 pthread_mutex_unlock(&xprt->lock); in svc_find() 212 pthread_mutex_lock(&xprt->lock); in svc_register() 220 pthread_mutex_unlock(&xprt->lock); in svc_register() 247 pthread_mutex_unlock(&xprt->lock); in svc_register() 262 pthread_mutex_unlock(&xprt->lock); in svc_register() 285 pthread_mutex_unlock(&xprt->lock); in svc_register() 291 pthread_mutex_lock(&xprt->lock); in svc_unregister() [all …]
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
D | ExynosMutex.h | 65 bool lock(void); 91 inline Autolock(ExynosMutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() 94 inline Autolock(ExynosMutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
|
D | ExynosMutex.cpp | 114 bool ExynosMutex::lock(void) in lock() function in ExynosMutex 125 if (((Mutex *)m_mutex)->lock() != 0) { in lock() 223 return ((ExynosMutex *)handle)->lock(); in exynos_mutex_lock()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 1363 pthread_mutex_lock(&out->lock); in out_standby() 1371 pthread_mutex_lock(&adev->lock); in out_standby() 1373 pthread_mutex_unlock(&adev->lock); in out_standby() 1375 pthread_mutex_unlock(&out->lock); in out_standby() 1402 pthread_mutex_lock(&out->lock); in out_set_parameters() 1403 pthread_mutex_lock(&adev->lock); in out_set_parameters() 1455 pthread_mutex_unlock(&adev->lock); in out_set_parameters() 1456 pthread_mutex_unlock(&out->lock); in out_set_parameters() 1528 pthread_mutex_lock(&out->lock); in out_write() 1531 pthread_mutex_lock(&adev->lock); in out_write() [all …]
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
D | ClientLib.cpp | 180 devMutex.lock(); in mcOpenDevice() 263 devMutex.lock(); in mcCloseDevice() 307 devMutex.lock(); in mcOpenSession() 464 devMutex.lock(); in mcCloseSession() 511 devMutex.lock(); in mcNotify() 548 devMutex.lock(); in mcWaitNotification() 634 devMutex.lock(); in mcMallocWsm() 669 devMutex.lock(); in mcFreeWsm() 715 devMutex.lock(); in mcMap() 801 devMutex.lock(); in mcUnmap() [all …]
|
D | Session.h | 160 void lock() { in lock() function 161 workLock.lock(); in lock()
|
/hardware/msm7k/libgralloc-qsd8k/ |
D | gr.h | 54 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock() 59 inline void lock() { pthread_mutex_lock(&mutex); } in lock() function
|
/hardware/msm7k/libgralloc/ |
D | gr.h | 55 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock() 60 inline void lock() { pthread_mutex_lock(&mutex); } in lock() function
|
D | gralloc.cpp | 108 lock: gralloc_lock, 116 lock: PTHREAD_MUTEX_INITIALIZER, 187 pthread_mutex_lock(&m->lock); in gralloc_alloc_framebuffer() 189 pthread_mutex_unlock(&m->lock); in gralloc_alloc_framebuffer() 228 pthread_mutex_lock(&m->lock); in init_pmem_area() 242 pthread_mutex_unlock(&m->lock); in init_pmem_area() 296 pthread_mutex_lock(&m->lock); in init_gpu_area() 310 pthread_mutex_unlock(&m->lock); in init_gpu_area()
|
/hardware/libhardware/modules/gralloc/ |
D | gr.h | 55 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock() 60 inline void lock() { pthread_mutex_lock(&mutex); } in lock() function
|
D | gralloc.cpp | 91 lock: gralloc_lock, 98 lock: PTHREAD_MUTEX_INITIALIZER, 162 pthread_mutex_lock(&m->lock); in gralloc_alloc_framebuffer() 164 pthread_mutex_unlock(&m->lock); in gralloc_alloc_framebuffer()
|
/hardware/ti/omap4xxx/camera/ |
D | BaseCameraAdapter.cpp | 67 Mutex::Autolock lock(mSubscriberLock); in ~BaseCameraAdapter() local 133 Mutex::Autolock lock(mSubscriberLock); in enableMsgType() local 174 Mutex::Autolock lock(mSubscriberLock); in disableMsgType() local 226 Mutex::Autolock lock(mSubscriberLock); in addFramePointers() local 242 Mutex::Autolock lock(mSubscriberLock); in removeFramePointers() local 269 Mutex::Autolock lock(mReturnFrameLock); in returnFrame() local 354 Mutex::Autolock lock(mPreviewBufferLock); in sendCommand() local 407 Mutex::Autolock lock(mPreviewDataBufferLock); in sendCommand() local 460 Mutex::Autolock lock(mCaptureBufferLock); in sendCommand() local 1333 Mutex::Autolock lock(mCaptureBufferLock); in getFrameRefCount() local [all …]
|
D | AppCallbackNotifier.cpp | 76 Mutex::Autolock lock(mLock); in EncoderDoneCb() local 129 Mutex::Autolock lock(mBurstLock); in EncoderDoneCb() local 209 Mutex::Autolock lock(mLock); in setCallbacks() local 225 Mutex::Autolock lock(mLock); in setMeasurements() local 314 Mutex::Autolock lock(mLock); in notifyEvent() local 697 Mutex::Autolock lock(mLock); in copyAndSendPictureFrame() local 733 Mutex::Autolock lock(mLock); in copyAndSendPreviewFrame() local 846 Mutex::Autolock lock(mLock); in notifyFrame() local 1015 Mutex::Autolock lock(mBurstLock); in notifyFrame() local 1036 mRecordingLock.lock(); in notifyFrame() [all …]
|
D | ANativeWindowDisplayAdapter.cpp | 345 Mutex::Autolock lock(mLock); in setSnapshotTimeRef() local 382 Mutex::Autolock lock(mLock); in enableDisplay() local 455 Mutex::Autolock lock(mLock); in disableDisplay() local 496 Mutex::Autolock lock(mLock); in pauseDisplay() local 642 mapper.lock((buffer_handle_t) mGrallocHandleMap[i], CAMHAL_GRALLOC_USAGE, bounds, y_uv); in allocateBuffer() 663 mapper.lock((buffer_handle_t) mGrallocHandleMap[i], CAMHAL_GRALLOC_USAGE, bounds, y_uv); in allocateBuffer() 849 Mutex::Autolock lock(mLock); in freeBuffer() local 1059 Mutex::Autolock lock(mLock); in PostFrame() local 1136 Mutex::Autolock lock(mLock); in PostFrame() local 1211 …while (mapper.lock((buffer_handle_t) mGrallocHandleMap[i], CAMHAL_GRALLOC_USAGE, bounds, y_uv) < 0… in handleFrameReturn()
|
/hardware/ti/omap4xxx/ |
D | heaptracker.c | 92 static pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; variable 188 pthread_rwlock_wrlock(&lock); in add() 195 pthread_rwlock_unlock(&lock); in add() 203 pthread_rwlock_wrlock(&lock); in del() 206 pthread_rwlock_unlock(&lock); in del() 323 pthread_rwlock_wrlock(&lock); in del_leak() 327 pthread_rwlock_unlock(&lock); in del_leak() 534 num_checked = check_list(last, &lock); in scanner()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
D | NotificationQueue.cpp | 54 mutex.lock(); in putNotification() 70 mutex.lock(); in getNotification()
|
/hardware/libhardware_legacy/power/ |
D | power.c | 94 acquire_wake_lock(int lock, const char* id) in acquire_wake_lock() argument 104 if (lock == PARTIAL_WAKE_LOCK) { in acquire_wake_lock()
|
/hardware/qcom/display/libgralloc/ |
D | gr.h | 74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock() 79 inline void lock() { pthread_mutex_lock(&mutex); } in lock() function
|
D | gralloc.cpp | 84 lock: gralloc_lock, 94 lock: PTHREAD_MUTEX_INITIALIZER,
|