Home | History | Annotate | Download | only in camera2

Lines Matching refs:CameraAccessException

88     public String[] getCameraIdList() throws CameraAccessException {
149 * @throws CameraAccessException if the camera is disabled by device policy, or
158 throws CameraAccessException {
176 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED,
204 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED,
218 * @throws CameraAccessException if the camera is disabled by device policy,
232 throws CameraAccessException {
258 CameraAccessException.CAMERA_DISCONNECTED,
270 if (e.getReason() == CameraAccessException.CAMERA_DEPRECATED_HAL) {
272 } else if (e.getReason() == CameraAccessException.CAMERA_IN_USE ||
273 e.getReason() == CameraAccessException.MAX_CAMERAS_IN_USE ||
274 e.getReason() == CameraAccessException.CAMERA_DISABLED ||
275 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED ||
276 e.getReason() == CameraAccessException.CAMERA_ERROR) {
282 if (e.getReason() == CameraAccessException.CAMERA_DISABLED ||
283 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED) {
294 CameraAccessException.CAMERA_DISCONNECTED,
343 * calls on the camera device will throw a {@link CameraAccessException}.</p>
353 * @throws CameraAccessException if the camera is disabled by device policy,
368 throws CameraAccessException {
435 private ArrayList<String> getOrCreateDeviceIdListLocked() throws CameraAccessException {
474 if (e.getReason() != CameraAccessException.CAMERA_DISCONNECTED) {
535 if (e.getReason() != CameraAccessException.CAMERA_DEPRECATED_HAL) {
674 case CameraAccessException.CAMERA_DISCONNECTED:
675 String errorMsg = CameraAccessException.getDefaultMessage(problem);