Searched refs:mCameraOpenCloseLock (Results 1 – 3 of 3) sorted by relevance
182 private Semaphore mCameraOpenCloseLock = new Semaphore(1); field in Camera2VideoFragment193 mCameraOpenCloseLock.release();201 mCameraOpenCloseLock.release();208 mCameraOpenCloseLock.release();428 if (!mCameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()466 mCameraOpenCloseLock.acquire(); in closeCamera()479 mCameraOpenCloseLock.release(); in closeCamera()
192 mCameraOpenCloseLock.release();199 mCameraOpenCloseLock.release();206 mCameraOpenCloseLock.release();271 private Semaphore mCameraOpenCloseLock = new Semaphore(1); field in Camera2BasicFragment613 if (!mCameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()629 mCameraOpenCloseLock.acquire(); in closeCamera()645 mCameraOpenCloseLock.release(); in closeCamera()
254 private final Semaphore mCameraOpenCloseLock = new Semaphore(1); field in Camera2RawFragment363 mCameraOpenCloseLock.release();377 mCameraOpenCloseLock.release();388 mCameraOpenCloseLock.release();779 if (!mCameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()856 mCameraOpenCloseLock.acquire(); in closeCamera()884 mCameraOpenCloseLock.release(); in closeCamera()