Home
last modified time | relevance | path

Searched refs:CameraAccessException (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraRuntimeException.java3 import android.hardware.camera2.CameraAccessException;
46 public CameraAccessException asChecked() { in asChecked()
47 CameraAccessException e; in asChecked()
50 e = new CameraAccessException(mReason, mMessage, mCause); in asChecked()
52 e = new CameraAccessException(mReason, mMessage); in asChecked()
54 e = new CameraAccessException(mReason, mCause); in asChecked()
56 e = new CameraAccessException(mReason); in asChecked()
DCameraBinderDecorator.java19 import static android.hardware.camera2.CameraAccessException.CAMERA_DISABLED;
20 import static android.hardware.camera2.CameraAccessException.CAMERA_DISCONNECTED;
21 import static android.hardware.camera2.CameraAccessException.CAMERA_IN_USE;
22 import static android.hardware.camera2.CameraAccessException.CAMERA_ERROR;
23 import static android.hardware.camera2.CameraAccessException.MAX_CAMERAS_IN_USE;
24 import static android.hardware.camera2.CameraAccessException.CAMERA_DEPRECATED_HAL;
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java88 public String[] getCameraIdList() throws CameraAccessException { in getCameraIdList()
158 throws CameraAccessException { in getCameraCharacteristics()
176 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED, in getCameraCharacteristics()
204 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED, in getCameraCharacteristics()
232 throws CameraAccessException { in openCameraDeviceUserAsync()
258 CameraAccessException.CAMERA_DISCONNECTED, in openCameraDeviceUserAsync()
270 if (e.getReason() == CameraAccessException.CAMERA_DEPRECATED_HAL) { in openCameraDeviceUserAsync()
272 } else if (e.getReason() == CameraAccessException.CAMERA_IN_USE || in openCameraDeviceUserAsync()
273 e.getReason() == CameraAccessException.MAX_CAMERAS_IN_USE || in openCameraDeviceUserAsync()
274 e.getReason() == CameraAccessException.CAMERA_DISABLED || in openCameraDeviceUserAsync()
[all …]
DCameraAccessException.java29 public class CameraAccessException extends AndroidException { class
97 public CameraAccessException(int problem) { in CameraAccessException() method in CameraAccessException
102 public CameraAccessException(int problem, String message) { in CameraAccessException() method in CameraAccessException
107 public CameraAccessException(int problem, String message, Throwable cause) { in CameraAccessException() method in CameraAccessException
112 public CameraAccessException(int problem, Throwable cause) { in CameraAccessException() method in CameraAccessException
DCameraCaptureSession.java107 throws CameraAccessException; in capture()
151 Handler handler) throws CameraAccessException; in captureBurst()
207 Handler handler) throws CameraAccessException; in setRepeatingRequest()
267 Handler handler) throws CameraAccessException; in setRepeatingBurst()
290 public abstract void stopRepeating() throws CameraAccessException; in stopRepeating()
325 public abstract void abortCaptures() throws CameraAccessException; in abortCaptures()
DCameraDevice.java381 throws CameraAccessException; in createCaptureSession()
409 throws CameraAccessException; in createCaptureRequest()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsUncheckedThrowTest.java19 import android.hardware.camera2.CameraAccessException;
27 private void fakeNeverThrowsCameraAccess() throws CameraAccessException { in fakeNeverThrowsCameraAccess()
33 UncheckedThrow.throwAnyException(new CameraAccessException( in testUncheckedThrow()
34 CameraAccessException.CAMERA_DISCONNECTED)); in testUncheckedThrow()
37 } catch (CameraAccessException e) { in testUncheckedThrow()
DCameraUtilsRuntimeExceptionTest.java19 import android.hardware.camera2.CameraAccessException;
33 } catch (CameraAccessException e) { in testCameraRuntimeException1()
45 } catch (CameraAccessException e) { in testCameraRuntimeException2()
58 } catch (CameraAccessException e) { in testCameraRuntimeException3()
71 } catch (CameraAccessException e) { in testCameraRuntimeException4()
DCameraUtilsBinderDecoratorTest.java19 import android.hardware.camera2.CameraAccessException;
29 import static android.hardware.camera2.CameraAccessException.*;
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java19 import static android.hardware.camera2.CameraAccessException.CAMERA_IN_USE;
21 import android.hardware.camera2.CameraAccessException;
274 case CameraAccessException.CAMERA_IN_USE: in setRemoteFailure()
277 case CameraAccessException.MAX_CAMERAS_IN_USE: in setRemoteFailure()
280 case CameraAccessException.CAMERA_DISABLED: in setRemoteFailure()
283 case CameraAccessException.CAMERA_DISCONNECTED: in setRemoteFailure()
286 case CameraAccessException.CAMERA_ERROR: in setRemoteFailure()
315 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { in configureOutputs()
336 public boolean configureOutputsChecked(List<Surface> outputs) throws CameraAccessException { in configureOutputsChecked()
419 throws CameraAccessException { in createCaptureSession()
[all …]
DCameraCaptureSessionImpl.java18 import android.hardware.camera2.CameraAccessException;
147 Handler handler) throws CameraAccessException { in capture()
167 Handler handler) throws CameraAccessException { in captureBurst()
190 Handler handler) throws CameraAccessException { in setRepeatingRequest()
210 CaptureCallback callback, Handler handler) throws CameraAccessException { in setRepeatingBurst()
232 public synchronized void stopRepeating() throws CameraAccessException { in stopRepeating()
243 public synchronized void abortCaptures() throws CameraAccessException { in abortCaptures()
340 } catch (CameraAccessException e) { in close()
665 } catch (CameraAccessException e) { in onDrained()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java21 import android.hardware.camera2.CameraAccessException;
193 } catch (CameraAccessException ex) { in onClickOnSurfaceView()
196 } catch (CameraAccessException ex) { in onClickOnSurfaceView()
279 } catch (CameraAccessException ex) {
295 } catch (CameraAccessException ex) {
319 } catch (CameraAccessException ex) {
360 } catch (CameraAccessException ex) {
363 } catch (CameraAccessException ex) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java21 import android.hardware.camera2.CameraAccessException;
130 private void startDevice() throws CameraAccessException { in startDevice()
134 private void startSession() throws CameraAccessException { in startSession()
144 private Size getSmallestSize(String cameraId) throws CameraAccessException { in getSmallestSize()
166 private String getCameraId() throws CameraAccessException { in getCameraId()
211 } catch (CameraAccessException|IllegalStateException|UnsupportedOperationException e) { in updateFlashlight()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java26 import android.hardware.camera2.CameraAccessException;
131 } catch (CameraAccessException ex) { in updateCameraDevices()
316 } catch(CameraAccessException ex) { in handleMessage()
452 } catch(CameraAccessException ex) { in handleMessage()
481 } catch(CameraAccessException ex) { in handleMessage()
573 } catch (CameraAccessException ex) { in handleMessage()
631 } catch (CameraAccessException ex) { in handleMessage()
674 } catch (CameraAccessException ex) { in buildSettings()
703 } catch (CameraAccessException ex) { in applyToRequest()
750 } catch (CameraAccessException ex) { in setPreviewTexture()
[all …]
DAndroidCamera2Settings.java24 import android.hardware.camera2.CameraAccessException;
80 Size preview, Size photo) throws CameraAccessException { in AndroidCamera2Settings()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java22 import android.hardware.camera2.CameraAccessException;
159 } catch (CameraAccessException e) { in onOpen()
200 } catch (CameraAccessException e) { in onOpen()
208 } catch (CameraAccessException e) { in onOpen()
215 } catch (CameraAccessException e) { in onOpen()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java18 import android.hardware.camera2.CameraAccessException;
146 Handler handler) throws CameraAccessException, BlockingOpenException { in openCamera()
191 throws CameraAccessException { in OpenListener()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java19 import android.hardware.camera2.CameraAccessException;
229 throws CameraAccessException { in createRequest()
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/
DCamera2PortabilityTest.java25 import android.hardware.camera2.CameraAccessException;
94 private CameraCharacteristics buildFrameworkCharacteristics() throws CameraAccessException { in buildFrameworkCharacteristics()
111 public void camera2SettingsSetOptionsAndGetRequestSettings() throws CameraAccessException { in camera2SettingsSetOptionsAndGetRequestSettings()
192 public void camera2CapabilitiesFocusModeFromInt() throws CameraAccessException { in camera2CapabilitiesFocusModeFromInt()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java21 import android.hardware.camera2.CameraAccessException;
186 throw new CameraRuntimeException(CameraAccessException.CAMERA_ERROR); in waitForOpen()
343 throw new CameraRuntimeException(CameraAccessException.CAMERA_ERROR, in connectBinderShim()
/frameworks/base/api/
Dsystem-current.txt12860 public class CameraAccessException extends android.util.AndroidException {
12861 ctor public CameraAccessException(int);
12862 ctor public CameraAccessException(int, java.lang.String);
12863 ctor public CameraAccessException(int, java.lang.String, java.lang.Throwable);
12864 ctor public CameraAccessException(int, java.lang.Throwable);
12873 … method public abstract void abortCaptures() throws android.hardware.camera2.CameraAccessException;
12874 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12875 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12878 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12879 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
[all …]
Dcurrent.txt12554 public class CameraAccessException extends android.util.AndroidException {
12555 ctor public CameraAccessException(int);
12556 ctor public CameraAccessException(int, java.lang.String);
12557 ctor public CameraAccessException(int, java.lang.String, java.lang.Throwable);
12558 ctor public CameraAccessException(int, java.lang.Throwable);
12567 … method public abstract void abortCaptures() throws android.hardware.camera2.CameraAccessException;
12568 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12569 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12572 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
12573 …Session.CaptureCallback, android.os.Handler) throws android.hardware.camera2.CameraAccessException;
[all …]