Home
last modified time | relevance | path

Searched refs:CameraRuntimeException (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsRuntimeExceptionTest.java20 import android.hardware.camera2.utils.CameraRuntimeException;
31 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345); in testCameraRuntimeException1()
43 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345, "Hello"); in testCameraRuntimeException2()
56 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345, cause); in testCameraRuntimeException3()
69 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345, "Hello", cause); in testCameraRuntimeException4()
DCameraUtilsBinderDecoratorTest.java21 import android.hardware.camera2.utils.CameraRuntimeException;
50 int doSomethingDeadObject() throws CameraRuntimeException; in doSomethingDeadObject()
52 int doSomethingBadPolicy() throws CameraRuntimeException; in doSomethingBadPolicy()
54 int doSomethingDeviceBusy() throws CameraRuntimeException; in doSomethingDeviceBusy()
56 int doSomethingNoSuchDevice() throws CameraRuntimeException; in doSomethingNoSuchDevice()
120 } catch (CameraRuntimeException e) { in testStereotypes()
127 } catch (CameraRuntimeException e) { in testStereotypes()
134 } catch (CameraRuntimeException e) { in testStereotypes()
141 } catch (CameraRuntimeException e) { in testStereotypes()
156 } catch (CameraRuntimeException e) { in testStereotypes()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraBinderDecorator.java81 throw new CameraRuntimeException(CAMERA_DISCONNECTED, in onCatchException()
116 throw new CameraRuntimeException(CAMERA_DISCONNECTED); in throwOnError()
118 throw new CameraRuntimeException(CAMERA_ERROR, in throwOnError()
121 throw new CameraRuntimeException(CAMERA_DISABLED); in throwOnError()
123 throw new CameraRuntimeException(CAMERA_IN_USE); in throwOnError()
125 throw new CameraRuntimeException(MAX_CAMERAS_IN_USE); in throwOnError()
127 throw new CameraRuntimeException(CAMERA_DISCONNECTED); in throwOnError()
129 throw new CameraRuntimeException(CAMERA_DEPRECATED_HAL); in throwOnError()
131 throw new CameraRuntimeException(CAMERA_ERROR, in throwOnError()
141 throw new CameraRuntimeException(CAMERA_ERROR, in throwOnError()
DCameraRuntimeException.java8 public class CameraRuntimeException extends RuntimeException { class
18 public CameraRuntimeException(int problem) { in CameraRuntimeException() method in CameraRuntimeException
23 public CameraRuntimeException(int problem, String message) { in CameraRuntimeException() method in CameraRuntimeException
29 public CameraRuntimeException(int problem, String message, Throwable cause) { in CameraRuntimeException() method in CameraRuntimeException
36 public CameraRuntimeException(int problem, Throwable cause) { in CameraRuntimeException() method in CameraRuntimeException
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java30 import android.hardware.camera2.utils.CameraRuntimeException;
260 } catch (CameraRuntimeException e) { in getCameraCharacteristics()
317 throw new CameraRuntimeException( in openCameraDeviceUserAsync()
329 } catch (CameraRuntimeException e) { in openCameraDeviceUserAsync()
354 CameraRuntimeException ce = new CameraRuntimeException( in openCameraDeviceUserAsync()
371 } catch (CameraRuntimeException e) { in openCameraDeviceUserAsync()
622 } catch(CameraRuntimeException e) { in getOrCreateDeviceIdListLocked()
644 } catch(CameraRuntimeException e) { in getOrCreateDeviceIdListLocked()
708 } catch (CameraRuntimeException e) { in supportsCameraApiLocked()
854 } catch (CameraRuntimeException e) { in connectCameraServiceLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java37 import android.hardware.camera2.utils.CameraRuntimeException;
284 public void setRemoteFailure(final CameraRuntimeException failure) { in setRemoteFailure()
445 } catch (CameraRuntimeException e) { in configureStreamsChecked()
567 } catch (CameraRuntimeException e) { in createCaptureSessionInternal()
629 } catch (CameraRuntimeException e) { in createCaptureRequest()
673 } catch (CameraRuntimeException e) { in prepare()
698 } catch (CameraRuntimeException e) { in tearDown()
831 } catch (CameraRuntimeException e) { in submitCaptureRequest()
904 } catch (CameraRuntimeException e) { in stopRepeating()
924 } catch (CameraRuntimeException e) { in waitUntilIdle()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java31 import android.hardware.camera2.utils.CameraRuntimeException;
178 throw new CameraRuntimeException(CameraAccessException.CAMERA_ERROR); in waitForOpen()
348 throw new CameraRuntimeException(CameraAccessException.CAMERA_ERROR, in connectBinderShim()
DLegacyCameraDevice.java32 import android.hardware.camera2.utils.CameraRuntimeException;
496 } catch (CameraRuntimeException e) { in finalize()