/frameworks/av/camera/ndk/impl/ |
ACameraDevice.cpp | 34 const char* CameraDevice::kContextKey = "Context"; 35 const char* CameraDevice::kDeviceKey = "Device"; 36 const char* CameraDevice::kErrorCodeKey = "ErrorCode"; 37 const char* CameraDevice::kCallbackFpKey = "Callback"; 38 const char* CameraDevice::kSessionSpKey = "SessionSp"; 39 const char* CameraDevice::kCaptureRequestKey = "CaptureRequest"; 40 const char* CameraDevice::kTimeStampKey = "TimeStamp"; 41 const char* CameraDevice::kCaptureResultKey = "CaptureResult"; 42 const char* CameraDevice::kCaptureFailureKey = "CaptureFailure"; 43 const char* CameraDevice::kSequenceIdKey = "SequenceId" [all...] |
ACameraDevice.h | 47 class CameraDevice final : public RefBase { 49 CameraDevice(const char* id, ACameraDevice_StateCallbacks* cb, 52 ~CameraDevice(); 68 ServiceCallback(CameraDevice* device) : mDevice(device) {} 79 const wp<CameraDevice> mDevice; 279 mDevice(new CameraDevice(id, cb, std::move(chars), this)) {} 314 android::sp<android::CameraDevice> mDevice;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
CameraDeviceTest.java | 31 import android.hardware.camera2.CameraDevice; 68 * <p>Basic test for CameraDevice APIs.</p> 88 CameraDevice.TEMPLATE_PREVIEW, 89 CameraDevice.TEMPLATE_RECORD, 90 CameraDevice.TEMPLATE_STILL_CAPTURE, 91 CameraDevice.TEMPLATE_VIDEO_SNAPSHOT 95 CameraDevice.TEMPLATE_PREVIEW - 1, 96 CameraDevice.TEMPLATE_MANUAL + 1, 102 sLegacySkipTemplates.add(CameraDevice.TEMPLATE_VIDEO_SNAPSHOT); 103 sLegacySkipTemplates.add(CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG) [all...] |
CameraManagerTest.java | 27 import android.hardware.camera2.CameraDevice; 28 import android.hardware.camera2.CameraDevice.StateCallback; 209 CameraDevice camera = null; 246 List<CameraDevice> cameraList = new ArrayList<CameraDevice>(); 302 CameraDevice camera; 309 ArgumentCaptor<CameraDevice> argument = 310 ArgumentCaptor.forClass(CameraDevice.class); 315 eq(CameraDevice.StateCallback.ERROR_MAX_CAMERAS_IN_USE)); 337 for (CameraDevice camera : cameraList) [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
CameraSessionUtils.java | 20 import android.hardware.camera2.CameraDevice; 66 * @param device the {@link CameraDevice} to open a session for. 71 * @throws CameraAccessException if any of the {@link CameraDevice} methods fail. 74 public synchronized CameraCaptureSession getConfiguredSession(CameraDevice device, 113 * @throws CameraAccessException if any of the {@link CameraDevice} methods fail. 164 * @param device the {@link CameraDevice} to use. 169 * @throws CameraAccessException if any of the {@link CameraDevice} methods fail. 173 CameraDevice device, 209 * @throws CameraAccessException if any of the {@link CameraDevice} methods fail.
|
/frameworks/base/docs/html/sdk/api_diff/23/changes/ |
android.hardware.camera2.CameraDevice.html | 10 android.hardware.camera2.CameraDevice 74 Class android.hardware.camera2.<A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html" target="_top"><font size="+2"><code>CameraDevice</code></font></A> 86 <A NAME="android.hardware.camera2.CameraDevice.createConstrainedHighSpeedCaptureSession_added(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html#createConstrainedHighSpeedCaptureSession(java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)" target="_top"><code>createConstrainedHighSpeedCaptureSession</code></A>(<code>List<Surface>,</nobr> StateCallback<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr> 93 <A NAME="android.hardware.camera2.CameraDevice.createReprocessCaptureRequest_added(android.hardware.camera2.TotalCaptureResult)"></A> 94 <nobr><code>Builder</code> <A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html#createReprocessCaptureRequest(android.hardware.camera2.TotalCaptureResult)" target="_top"><code>createReprocessCaptureRequest</code></A>(<code>TotalCaptureResult</code>)</nobr> 100 <A NAME="android.hardware.camera2.CameraDevice.createReprocessableCaptureSession_added(android.hardware.camera2.params.InputConfiguration, java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)"></A> 101 <nobr><code>void</code> <A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html#createReprocessableCaptureSession(android.hardware.camera2.params.InputConfiguration, java.util.List<android.view.Surface>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)" target="_top"><code>createReprocessableCaptureSession</code></A>(<code>InputConfiguration,</nobr> List<Surface><nobr>,</nobr> StateCallback<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr>
|
/developers/build/prebuilts/gradle/Camera2Basic/.google/ |
packaging.yaml | 17 - android:android.hardware.camera2.CameraDevice
|
/developers/build/prebuilts/gradle/HdrViewfinder/.google/ |
packaging.yaml | 19 - android:android.hardware.camera2.CameraDevice
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
Camera2OneCameraOpenerImpl.java | 23 import android.hardware.camera2.CameraDevice; 118 mCameraManager.openCamera(cameraKey.getValue(), new CameraDevice.StateCallback() { 127 public void onDisconnected(CameraDevice device) { 138 public void onClosed(CameraDevice device) { 146 public void onError(CameraDevice device, int error) { 159 public void onOpened(CameraDevice device) {
|
/frameworks/base/docs/html/sdk/api_diff/24/changes/ |
android.hardware.camera2.CameraDevice.html | 10 android.hardware.camera2.CameraDevice 74 Class android.hardware.camera2.<A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html" target="_top"><font size="+2"><code>CameraDevice</code></font></A> 86 <A NAME="android.hardware.camera2.CameraDevice.createCaptureSessionByOutputConfigurations_added(java.util.List<android.hardware.camera2.params.OutputConfiguration>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html#createCaptureSessionByOutputConfigurations(java.util.List<android.hardware.camera2.params.OutputConfiguration>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)" target="_top"><code>createCaptureSessionByOutputConfigurations</code></A>(<code>List<OutputConfiguration>,</nobr> StateCallback<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr> 93 <A NAME="android.hardware.camera2.CameraDevice.createReprocessableCaptureSessionByConfigurations_added(android.hardware.camera2.params.InputConfiguration, java.util.List<android.hardware.camera2.params.OutputConfiguration>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/android/hardware/camera2/CameraDevice.html#createReprocessableCaptureSessionByConfigurations(android.hardware.camera2.params.InputConfiguration, java.util.List<android.hardware.camera2.params.OutputConfiguration>, android.hardware.camera2.CameraCaptureSession.StateCallback, android.os.Handler)" target="_top"><code>createReprocessableCaptureSessionByConfigurations</code></A>(<code>InputConfiguration,</nobr> List<OutputConfiguration><nobr>,</nobr> StateCallback<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr>
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
RequestControlPane.java | 20 import android.hardware.camera2.CameraDevice; 51 MANUAL(CameraDevice.TEMPLATE_MANUAL), 52 PREVIEW(CameraDevice.TEMPLATE_PREVIEW), 53 RECORD(CameraDevice.TEMPLATE_RECORD), 54 STILL_CAPTURE(CameraDevice.TEMPLATE_STILL_CAPTURE), 55 VIDEO_SNAPSHOT(CameraDevice.TEMPLATE_VIDEO_SNAPSHOT), 56 ZERO_SHUTTER_LAG(CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG);
|
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 37 import android.hardware.camera2.CameraDevice; 160 * ID of the current {@link CameraDevice}. 175 * A reference to the opened {@link CameraDevice}. 177 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its state. 187 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(@NonNull CameraDevice cameraDevice) { [all...] |
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 37 import android.hardware.camera2.CameraDevice; 160 * ID of the current {@link CameraDevice}. 175 * A reference to the opened {@link CameraDevice}. 177 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its state. 187 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(@NonNull CameraDevice cameraDevice) { [all...] |
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
Camera2BasicFragment.java | 37 import android.hardware.camera2.CameraDevice; 160 * ID of the current {@link CameraDevice}. 175 * A reference to the opened {@link CameraDevice}. 177 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its state. 187 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(@NonNull CameraDevice cameraDevice) { [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
CaptureFailure.java | 27 * <p>CaptureFailures are produced by a {@link CameraDevice} if processing a 86 * <code><pre>cameraDevice.capture(someRequest, new CaptureCallback() { 110 * {@link CameraDevice}.</p> 149 * incremented every time a new group of requests is submitted to the CameraDevice.</p> 153 * @see CameraDevice.CaptureCallback#onCaptureSequenceCompleted
|
CameraConstrainedHighSpeedCaptureSession.java | 25 * A constrained high speed capture session for a {@link CameraDevice}, used for capturing high 26 * speed images from the {@link CameraDevice} for high speed video recording use case. 29 * {@link CameraDevice#createConstrainedHighSpeedCaptureSession}, Once created, the session is 40 * {@link CameraDevice#createConstrainedHighSpeedCaptureSession} for more details of the 47 * {@link CameraDevice#createConstrainedHighSpeedCaptureSession} will send the ready-to-use 120 * @see CameraDevice#createConstrainedHighSpeedCaptureSession
|
CameraAccessException.java | 29 * opened {@link CameraDevice} is no longer valid.</p> 32 * @see CameraDevice 67 * {@link CameraDevice.StateCallback#onError} for the exact 71 * the camera with {@link CameraDevice#close} and try
|
package.html | 33 <p>Individual {@link android.hardware.camera2.CameraDevice 46 android.hardware.camera2.CameraDevice#createCaptureSession}. Each 76 should be used as targets for this capture. The CameraDevice has a 77 {@link android.hardware.camera2.CameraDevice#createCaptureRequest
|
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 35 import android.hardware.camera2.CameraDevice; 109 * A refernce to the opened {@link android.hardware.camera2.CameraDevice}. 111 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its status. 187 private CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(CameraDevice cameraDevice) { 191 mCameraDevice = cameraDevice; [all...] |
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 35 import android.hardware.camera2.CameraDevice; 109 * A refernce to the opened {@link android.hardware.camera2.CameraDevice}. 111 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its status. 187 private CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(CameraDevice cameraDevice) { 191 mCameraDevice = cameraDevice; [all...] |
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
Camera2VideoFragment.java | 35 import android.hardware.camera2.CameraDevice; 109 * A refernce to the opened {@link android.hardware.camera2.CameraDevice}. 111 private CameraDevice mCameraDevice; 185 * {@link CameraDevice.StateCallback} is called when {@link CameraDevice} changes its status. 187 private CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 190 public void onOpened(CameraDevice cameraDevice) { 191 mCameraDevice = cameraDevice; [all...] |
/developers/samples/android/media/Camera2Basic/ |
template-params.xml | 50 <android>android.hardware.camera2.CameraDevice</android> 77 Create an instance of [CameraDevice.StateCallback][4] and open a 93 [4]: https://developer.android.com/reference/android/hardware/camera2/CameraDevice.StateCallback.html
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
CameraOps.java | 24 import android.hardware.camera2.CameraDevice; 67 private CameraDevice mCameraDevice; 358 CameraDevice device = mCameraDevice; 456 private CameraDevice.StateCallback mCameraDeviceListener = new CameraDevice.StateCallback() { 459 public void onOpened(CameraDevice camera) { 465 public void onClosed(CameraDevice camera) { 470 public void onDisconnected(CameraDevice camera) { 477 public void onError(CameraDevice camera, int error) { 493 createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE) [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.cpp | 34 sp<CameraDeviceBase> cameraDevice = device.promote(); 35 if (cameraDevice != 0 && 36 cameraDevice->getDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) { 37 CameraMetadata staticInfo = cameraDevice->info();
|
/packages/apps/Camera2/src/com/android/camera/device/ |
CameraDeviceActionProvider.java | 25 * Provider implements CameraDeviceActionProvider<CameraDevice, String>
|