Lines Matching refs:lock

103     Mutex* lock = mCameraService->getClientLockById(mCameraId);  in ~CameraClient()  local
104 lock->lock(); in ~CameraClient()
107 lock->unlock(); in ~CameraClient()
159 status_t CameraClient::lock() { in lock() function in android::CameraClient
162 Mutex::Autolock lock(mLock); in lock() local
177 Mutex::Autolock lock(mLock); in unlock() local
199 Mutex::Autolock lock(mLock); in connect() local
235 Mutex::Autolock lock(mLock); in disconnect() local
279 Mutex::Autolock lock(mLock); in setPreviewWindow() local
344 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag() local
377 Mutex::Autolock lock(mLock); in startCameraMode() local
450 Mutex::Autolock lock(mLock); in stopPreview() local
463 Mutex::Autolock lock(mLock); in stopRecording() local
475 Mutex::Autolock lock(mLock); in releaseRecordingFrame() local
483 Mutex::Autolock lock(mLock); in storeMetaDataInBuffers() local
493 Mutex::Autolock lock(mLock); in previewEnabled() local
501 Mutex::Autolock lock(mLock); in recordingEnabled() local
509 Mutex::Autolock lock(mLock); in autoFocus() local
519 Mutex::Autolock lock(mLock); in cancelAutoFocus() local
530 Mutex::Autolock lock(mLock); in takePicture() local
559 Mutex::Autolock lock(mLock); in setParameters() local
570 Mutex::Autolock lock(mLock); in getParameters() local
618 Mutex::Autolock lock(mLock); in sendCommand() local
717 Mutex* lock = getClientLockFromCookie(user); in notifyCallback() local
718 if (lock == NULL) return; in notifyCallback()
719 Mutex::Autolock alock(*lock); in notifyCallback()
742 Mutex* lock = getClientLockFromCookie(user); in dataCallback() local
743 if (lock == NULL) return; in dataCallback()
744 Mutex::Autolock alock(*lock); in dataCallback()
780 Mutex* lock = getClientLockFromCookie(user); in dataCallbackTimestamp() local
781 if (lock == NULL) return; in dataCallbackTimestamp()
782 Mutex::Autolock alock(*lock); in dataCallbackTimestamp()