Searched refs:cameraDevice (Results 1 – 6 of 6) sorted by relevance
67 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument70 if (cameraDevice != null) { in onOpened()71 cameraDevice.close(); in onOpened()77 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument83 public void onError(CameraDevice cameraDevice, int error) { in onError() argument
149 final CameraDevice cameraDevice = captor.getValue(); in assertCameraAccess() local150 assertThat(cameraDevice).isNotNull(); in assertCameraAccess()151 cameraDevice.close(); in assertCameraAccess()190 final CameraDevice cameraDevice = captor.getValue(); in testCameraAccessBecomingInactiveUidByCamera() local191 assertThat(cameraDevice).isNotNull(); in testCameraAccessBecomingInactiveUidByCamera()192 cameraDevice.close(); in testCameraAccessBecomingInactiveUidByCamera()
540 public CameraDevice cameraDevice; in testChainedOperation() field in CameraDeviceTest.ChainedCameraListener545 cameraDevice = camera; in testChainedOperation()610 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()621 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()632 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()
84 public void onOpened(CameraDevice cameraDevice) {87 mCameraDevice = cameraDevice;92 public void onDisconnected(CameraDevice cameraDevice) {94 cameraDevice.close();99 public void onError(CameraDevice cameraDevice, int error) {101 cameraDevice.close();
96 public void onOpened(CameraDevice cameraDevice) { in onResume()103 public void onDisconnected(CameraDevice cameraDevice) { in onResume()110 public void onError(CameraDevice cameraDevice, int i) { in onResume()
83 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument85 mCameraDevice = cameraDevice; in onOpened()100 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument109 public void onError(CameraDevice cameraDevice, int i) { in onError() argument