Lines Matching refs:mServiceLock
137 mServiceLockWrapper = std::make_shared<WaitableMutexWrapper>(&mServiceLock); in CameraService()
179 Mutex::Autolock l(mServiceLock); in enumerateProviders()
271 Mutex::Autolock l(mServiceLock); in updateCameraNumAndIds()
365 Mutex::Autolock lock(mServiceLock); in onDeviceStatusChanged()
458 Mutex::Autolock l(mServiceLock); in getNumberOfCameras()
478 Mutex::Autolock l(mServiceLock); in getCameraInfo()
513 Mutex::Autolock lock(mServiceLock); in cameraIdIntToStr()
839 Mutex::Autolock lock(mServiceLock); in getLegacyParametersLazy()
864 Mutex::Autolock lock(mServiceLock); in getLegacyParametersLazy()
1249 mServiceLock.unlock(); in handleEvictionsLocked()
1283 mServiceLock.lock(); in handleEvictionsLocked()
1548 mServiceLock.unlock(); in connectHelper()
1550 mServiceLock.lock(); in connectHelper()
1565 Mutex::Autolock lock(mServiceLock); in setTorchMode()
1775 Mutex::Autolock l(mServiceLock); in notifyDeviceStateChange()
1801 Mutex::Autolock lock(mServiceLock); in addListenerHelper()
1878 Mutex::Autolock lock(mServiceLock); in removeListener()
1994 Mutex::Autolock lock(mServiceLock); in removeByClient()
2032 mServiceLock.unlock(); in evictClientIdByRemote()
2044 mServiceLock.lock(); in evictClientIdByRemote()
2137 mServiceLock.unlock(); in doUserSwitch()
2149 mServiceLock.lock(); in doUserSwitch()
3083 bool locked = tryLock(mServiceLock); in dump()
3095 if (locked) mServiceLock.unlock(); in dump()
3159 if (locked) mServiceLock.unlock(); in dump()