Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.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;
28 import android.hardware.camera2.CameraAccessException;
72 throws CameraAccessException { in submitRequest()
82 throws CameraAccessException { in submitRequestList()
91 public long cancelRequest(int requestId) throws CameraAccessException { in cancelRequest()
[all …]
DCameraConstrainedHighSpeedCaptureSessionImpl.java18 import android.hardware.camera2.CameraAccessException;
75 throws CameraAccessException { in createHighSpeedRequestList()
174 public void prepare(Surface surface) throws CameraAccessException { in prepare()
179 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare()
184 public void tearDown(Surface surface) throws CameraAccessException { in tearDown()
190 throws CameraAccessException { in capture()
197 CaptureCallback listener) throws CameraAccessException { in captureSingleRequest()
204 Handler handler) throws CameraAccessException { in captureBurst()
215 CaptureCallback listener) throws CameraAccessException { in captureBurstRequests()
226 Handler handler) throws CameraAccessException { in setRepeatingRequest()
[all …]
DCameraCaptureSessionImpl.java18 import android.hardware.camera2.CameraAccessException;
138 public void prepare(Surface surface) throws CameraAccessException { in prepare()
143 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare()
148 public void tearDown(Surface surface) throws CameraAccessException { in tearDown()
154 List<OutputConfiguration> outputConfigs) throws CameraAccessException { in finalizeOutputConfigurations()
160 Handler handler) throws CameraAccessException { in capture()
180 CaptureCallback callback) throws CameraAccessException { in captureSingleRequest()
216 Handler handler) throws CameraAccessException { in captureBurst()
237 CaptureCallback callback) throws CameraAccessException { in captureBurstRequests()
284 Handler handler) throws CameraAccessException { in setRepeatingRequest()
[all …]
DCameraDeviceImpl.java23 import android.hardware.camera2.CameraAccessException;
282 public void setRemoteDevice(ICameraDeviceUser remoteDevice) throws CameraAccessException { in setRemoteDevice()
299 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED, in setRemoteDevice()
362 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { in configureOutputs()
396 throws CameraAccessException { in configureStreamsChecked()
483 } catch (CameraAccessException e) { in configureStreamsChecked()
484 if (e.getReason() == CameraAccessException.CAMERA_IN_USE) { in configureStreamsChecked()
505 throws CameraAccessException { in createCaptureSession()
519 throws CameraAccessException { in createCaptureSessionByOutputConfigurations()
534 throws CameraAccessException { in createReprocessableCaptureSession()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java146 public abstract void prepare(@NonNull Surface surface) throws CameraAccessException; in prepare()
189 throws CameraAccessException; in prepare()
227 public abstract void tearDown(@NonNull Surface surface) throws CameraAccessException; in tearDown()
284 List<OutputConfiguration> outputConfigs) throws CameraAccessException; in finalizeOutputConfigurations()
355 throws CameraAccessException; in capture()
397 throws CameraAccessException { in captureSingleRequest()
461 throws CameraAccessException; in captureBurst()
506 throws CameraAccessException { in captureBurstRequests()
575 throws CameraAccessException; in setRepeatingRequest()
612 throws CameraAccessException { in setSingleRepeatingRequest()
[all …]
DCameraDevice.java448 throws CameraAccessException; in createCaptureSession()
460 throws CameraAccessException; in createCaptureSessionByOutputConfigurations()
635 throws CameraAccessException; in createReprocessableCaptureSession()
651 throws CameraAccessException; in createReprocessableCaptureSessionByConfigurations()
735 throws CameraAccessException; in createConstrainedHighSpeedCaptureSession()
813 throws CameraAccessException; in createCustomCaptureSession()
832 SessionConfiguration config) throws CameraAccessException { in createCaptureSession()
858 throws CameraAccessException; in createCaptureRequest()
902 Set<String> physicalCameraIdSet) throws CameraAccessException { in createCaptureRequest()
936 @NonNull TotalCaptureResult inputResult) throws CameraAccessException; in createReprocessCaptureRequest()
DCameraManager.java103 public String[] getCameraIdList() throws CameraAccessException { in getCameraIdList()
249 throws CameraAccessException { in getCameraCharacteristics()
261 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED, in getCameraCharacteristics()
285 throw new CameraAccessException(CameraAccessException.CAMERA_DISCONNECTED, in getCameraCharacteristics()
317 throws CameraAccessException { in openCameraDeviceUserAsync()
468 throws CameraAccessException { in openCamera()
506 throws CameraAccessException { in openCamera()
531 throws CameraAccessException { in openCameraForUid()
585 throws CameraAccessException { in setTorchMode()
698 public static void throwAsPublicException(Throwable t) throws CameraAccessException { in throwAsPublicException()
[all …]
DCameraAccessException.java33 public class CameraAccessException extends AndroidException { class
111 public CameraAccessException(@AccessError int problem) { in CameraAccessException() method in CameraAccessException
116 public CameraAccessException(@AccessError int problem, String message) { in CameraAccessException() method in CameraAccessException
121 public CameraAccessException(@AccessError int problem, String message, Throwable cause) { in CameraAccessException() method in CameraAccessException
126 public CameraAccessException(@AccessError int problem, Throwable cause) { in CameraAccessException() method in CameraAccessException
DCameraConstrainedHighSpeedCaptureSession.java129 @NonNull CaptureRequest request) throws CameraAccessException; in createHighSpeedRequestList()
/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()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java22 import android.hardware.camera2.CameraAccessException;
98 throws CameraAccessException { in Camera2Focuser()
181 throws CameraAccessException { in touchForAutoFocus()
199 throws CameraAccessException { in startAutoFocus()
209 public synchronized void cancelAutoFocus() throws CameraAccessException { in cancelAutoFocus()
240 boolean forceActive, MeteringRectangle[] afRegions) throws CameraAccessException { in startAutoFocusLocked()
267 private void startAutoFocusFullActiveLocked() throws CameraAccessException { in startAutoFocusFullActiveLocked()
300 private CaptureRequest.Builder createRequestBuilder() throws CameraAccessException { in createRequestBuilder()
DCameraTestUtils.java34 import android.hardware.camera2.CameraAccessException;
658 CameraDevice.StateCallback listener, Handler handler) throws CameraAccessException, in openCamera()
691 throws CameraAccessException, in openCamera()
706 throws CameraAccessException { in configureCameraSession()
736 throws CameraAccessException { in configureCameraSession()
745 throws CameraAccessException { in configureReprocessableCameraSession()
955 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForFormat()
984 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForClass()
1026 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes()
1082 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat()
[all …]
/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/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java21 import android.hardware.camera2.CameraAccessException;
164 } catch (CameraAccessException e) { in resume()
264 } catch (CameraAccessException e) { in openCamera()
357 public CaptureRequest.Builder createCaptureRequest(int template) throws CameraAccessException {
375 } catch (CameraAccessException e) {
394 } catch (CameraAccessException e) {
413 } catch (CameraAccessException e) {
513 } catch (CameraAccessException e) {
529 } catch (CameraAccessException e) {
552 } catch (CameraAccessException e) {
[all …]
DCameraView.java21 import android.hardware.camera2.CameraAccessException;
102 public String getErrorString(CameraAccessException e) { in CameraView()
104 case CameraAccessException.CAMERA_DISABLED: in CameraView()
106 case CameraAccessException.CAMERA_DISCONNECTED: in CameraView()
108 case CameraAccessException.CAMERA_ERROR: in CameraView()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java21 import android.hardware.camera2.CameraAccessException;
178 } catch (CameraAccessException e) { in resume()
288 } catch (CameraAccessException e) { in openCamera()
392 public CaptureRequest.Builder createCaptureRequest(int template) throws CameraAccessException { in createCaptureRequest()
410 } catch (CameraAccessException e) { in setRepeatingRequest()
429 } catch (CameraAccessException e) { in setRepeatingBurst()
448 } catch (CameraAccessException e) { in startCameraSession()
549 } catch (CameraAccessException e) { in captureStillPicture()
565 } catch (CameraAccessException e) { in setRequest()
588 } catch (CameraAccessException e) { in setUpCamera()
[all …]
DCameraView.java21 import android.hardware.camera2.CameraAccessException;
101 public String getErrorString(CameraAccessException e) { in CameraView()
103 case CameraAccessException.CAMERA_DISABLED: in CameraView()
105 case CameraAccessException.CAMERA_DISCONNECTED: in CameraView()
107 case CameraAccessException.CAMERA_ERROR: in CameraView()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java21 import android.hardware.camera2.CameraAccessException;
92 } catch (CameraAccessException e) { in setFlashlight()
143 private String getCameraId() throws CameraAccessException { in getCameraId()
/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;
93 private CameraCharacteristics buildFrameworkCharacteristics() throws CameraAccessException { in buildFrameworkCharacteristics()
110 public void camera2SettingsSetOptionsAndGetRequestSettings() throws CameraAccessException { in camera2SettingsSetOptionsAndGetRequestSettings()
191 public void camera2CapabilitiesFocusModeFromInt() throws CameraAccessException { in camera2CapabilitiesFocusModeFromInt()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java31 import android.hardware.camera2.CameraAccessException;
233 throws CameraAccessException { in configurePreviewOutput()
248 protected CaptureRequest.Builder createRequestForPreview() throws CameraAccessException { in createRequestForPreview()
422 throws CameraAccessException { in captureRequestsSynchronized()
450 throws CameraAccessException { in captureRequestsSynchronized()
761 throws CameraAccessException { in isReprocessSupported()

12