Lines Matching full:lock
170 Mutex::Autolock lock(mServiceLock);
219 // Declare this before the lock to make absolutely sure the
220 // destructor won't be called with the lock held.
223 Mutex::Autolock lock(mServiceLock);
308 Mutex::Autolock lock(mSoundLock);
317 Mutex::Autolock lock(mSoundLock);
331 Mutex::Autolock lock(mSoundLock);
408 status_t CameraService::Client::lock() {
410 LOG1("lock (pid %d)", callingPid);
411 Mutex::Autolock lock(mLock);
413 // lock camera to this client if the the camera is unlocked
426 Mutex::Autolock lock(mLock);
428 // allow anyone to use camera (after they lock the camera)
448 Mutex::Autolock lock(mLock);
483 Mutex::Autolock lock(mLock);
527 Mutex::Autolock lock(mLock);
598 Mutex::Autolock lock(mLock);
624 Mutex::Autolock lock(mLock);
697 Mutex::Autolock lock(mLock);
710 Mutex::Autolock lock(mLock);
722 Mutex::Autolock lock(mLock);
730 Mutex::Autolock lock(mLock);
740 Mutex::Autolock lock(mLock);
748 Mutex::Autolock lock(mLock);
756 Mutex::Autolock lock(mLock);
766 Mutex::Autolock lock(mLock);
777 Mutex::Autolock lock(mLock);
806 Mutex::Autolock lock(mLock);
816 Mutex::Autolock lock(mLock);
856 Mutex::Autolock lock(mLock);
968 // lock before calling the ICameraClient's callbacks, so those callbacks can
971 // release the lock after all accesses to member variables, so it must be
1180 // hold the preview lock while we grab a reference to the preview buffer
1264 // failed to lock - CameraService is probably deadlocked