/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2DeviceTester.java | 20 import android.hardware.camera2.CameraDevice; 55 private class DeviceCapturer extends CameraDevice.StateCallback { 56 private CameraDevice mCamera; 58 public CameraDevice captureCameraDevice() throws Exception { in captureCameraDevice() 70 public synchronized void onOpened(CameraDevice camera) { in onOpened() 76 public void onDisconnected(CameraDevice camera) {} in onDisconnected() 79 public void onError(CameraDevice camera, int error) {} in onError() 82 protected CameraDevice mCamera;
|
D | Camera2UtilsTest.java | 28 import android.hardware.camera2.CameraDevice; 280 setUp.createRequest(null, CameraDevice.TEMPLATE_PREVIEW); in requestSettingsSetNullArgToCreateRequest0() 286 setUp.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW, (Surface) null); in requestSettingsSetNullArgToCreateRequest2() 292 setUp.createRequest(null, CameraDevice.TEMPLATE_PREVIEW, (Surface) null); in requestSettingsSetNullArgToCreateRequest02() 344 CaptureRequest r1 = s.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW); in requestSettingsSetNullMeansDefault() 350 CaptureRequest r2 = s.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW); in requestSettingsSetNullMeansDefault() 355 CaptureRequest r3 = s.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW); in requestSettingsSetNullMeansDefault() 360 CaptureRequest r4 = s.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW); in requestSettingsSetNullMeansDefault()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCameraManager.java | 19 import android.hardware.camera2.CameraDevice; 145 public CameraDevice openCamera(String cameraId, CameraDevice.StateCallback listener, in openCamera() 171 private class OpenListener extends CameraDevice.StateCallback { 176 private final CameraDevice.StateCallback mProxy; 181 private CameraDevice mDevice = null; 190 CameraDevice.StateCallback listener, Handler handler) in OpenListener() 207 public void onOpened(CameraDevice camera) { in onOpened() 229 public void onDisconnected(CameraDevice camera) { in onDisconnected() 254 public void onError(CameraDevice camera, int error) { in onError() 280 public void onClosed(CameraDevice camera) { in onClosed() [all …]
|
D | BlockingStateCallback.java | 18 import android.hardware.camera2.CameraDevice; 42 public class BlockingStateCallback extends CameraDevice.StateCallback { 46 private final CameraDevice.StateCallback mProxy; 106 public BlockingStateCallback(CameraDevice.StateCallback listener) { in BlockingStateCallback() 111 public void onOpened(CameraDevice camera) { in onOpened() 119 public void onDisconnected(CameraDevice camera) { in onDisconnected() 127 public void onError(CameraDevice camera, int error) { in onError() 135 public void onClosed(CameraDevice camera) { in onClosed()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraCaptureSession.cpp | 26 sp<acam::CameraDevice> dev = getDeviceSp(); in ~ACameraCaptureSession() 53 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() 78 sp<acam::CameraDevice> dev = getDeviceSp(); in stopRepeating() 96 sp<acam::CameraDevice> dev = getDeviceSp(); in abortCaptures() 113 sp<acam::CameraDevice> dev = getDeviceSp(); in updateOutputConfiguration() 132 sp<acam::CameraDevice> dev = getDeviceSp(); in getDevice() 146 sp<acam::CameraDevice> 148 sp<acam::CameraDevice> device = mDevice.promote(); in getDeviceSp()
|
D | ACameraDevice.cpp | 39 const char* CameraDevice::kContextKey = "Context"; 40 const char* CameraDevice::kDeviceKey = "Device"; 41 const char* CameraDevice::kErrorCodeKey = "ErrorCode"; 42 const char* CameraDevice::kCallbackFpKey = "Callback"; 43 const char* CameraDevice::kSessionSpKey = "SessionSp"; 44 const char* CameraDevice::kCaptureRequestKey = "CaptureRequest"; 45 const char* CameraDevice::kTimeStampKey = "TimeStamp"; 46 const char* CameraDevice::kCaptureResultKey = "CaptureResult"; 47 const char* CameraDevice::kPhysicalCaptureResultKey = "PhysicalCaptureResult"; 48 const char* CameraDevice::kCaptureFailureKey = "CaptureFailure"; [all …]
|
D | ACameraCaptureSession.h | 72 android::acam::CameraDevice* device) : in ACameraCaptureSession() 111 friend class android::acam::CameraDevice; 117 sp<android::acam::CameraDevice> getDeviceSp(); 122 const wp<android::acam::CameraDevice> mDevice;
|
D | ACameraDevice.h | 62 class CameraDevice final : public RefBase { 64 CameraDevice(const char* id, ACameraDevice_StateCallbacks* cb, 67 ~CameraDevice(); 88 explicit ServiceCallback(CameraDevice* device) : mDevice(device) {} in ServiceCallback() 102 const wp<CameraDevice> mDevice; 359 mDevice(new android::acam::CameraDevice(id, cb, chars, this)) {} in ACameraDevice() 401 android::sp<android::acam::CameraDevice> mDevice;
|
D | ACameraDevice.inc | 29 CameraDevice::captureLocked( 40 CameraDevice::setRepeatingRequestsLocked( 50 camera_status_t CameraDevice::submitRequestsLocked(
|
D | ACameraCaptureSession.inc | 33 sp<acam::CameraDevice> dev = getDeviceSp(); 55 sp<acam::CameraDevice> dev = getDeviceSp();
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 60 const char* CameraDevice::kContextKey = "Context"; 61 const char* CameraDevice::kDeviceKey = "Device"; 62 const char* CameraDevice::kErrorCodeKey = "ErrorCode"; 63 const char* CameraDevice::kCallbackFpKey = "Callback"; 64 const char* CameraDevice::kSessionSpKey = "SessionSp"; 65 const char* CameraDevice::kCaptureRequestKey = "CaptureRequest"; 66 const char* CameraDevice::kTimeStampKey = "TimeStamp"; 67 const char* CameraDevice::kCaptureResultKey = "CaptureResult"; 68 const char* CameraDevice::kPhysicalCaptureResultKey = "PhysicalCaptureResult"; 69 const char* CameraDevice::kCaptureFailureKey = "CaptureFailure"; [all …]
|
D | ACameraDevice.h | 85 class CameraDevice final : public RefBase { 87 CameraDevice(const char* id, ACameraDevice_StateCallbacks* cb, 90 ~CameraDevice(); 111 explicit ServiceCallback(CameraDevice* device) : mDevice(device) {} in ServiceCallback() 125 const wp<CameraDevice> mDevice; 389 mDevice(new android::acam::CameraDevice(id, cb, std::move(chars), this)) {} in ACameraDevice() 432 android::sp<android::acam::CameraDevice> mDevice;
|
D | ACameraDeviceVendor.inc | 36 CameraDevice::captureLocked( 47 CameraDevice::setRepeatingRequestsLocked( 57 camera_status_t CameraDevice::submitRequestsLocked(
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraDevice.java | 69 public abstract class CameraDevice implements AutoCloseable { class 1132 public abstract void onOpened(@NonNull CameraDevice camera); // Must implement in onOpened() 1145 public void onClosed(@NonNull CameraDevice camera) { in onClosed() 1177 public abstract void onDisconnected(@NonNull CameraDevice camera); // Must implement in onDisconnected() 1206 public abstract void onError(@NonNull CameraDevice camera, in onError() 1214 public CameraDevice() {} in CameraDevice() method in CameraDevice
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraCaptureSessionImpl.java | 20 import android.hardware.camera2.CameraDevice; 133 public CameraDevice getDevice() { in getDevice() 592 public void onCaptureStarted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 607 public void onCapturePartial(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 621 public void onCaptureProgressed(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 635 public void onCaptureCompleted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 649 public void onCaptureFailed(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 663 public void onCaptureSequenceCompleted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 678 public void onCaptureSequenceAborted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 693 public void onCaptureBufferLost(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() [all …]
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | 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); 542 createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); [all …]
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 24 import android.hardware.camera2.CameraDevice; 61 private CameraDevice mCameraDevice; 393 CameraDevice device = mCameraDevice; in createCaptureRequest() 491 private CameraDevice.StateCallback mCameraDeviceListener = new CameraDevice.StateCallback() { 494 public void onOpened(CameraDevice camera) { 500 public void onClosed(CameraDevice camera) { 505 public void onDisconnected(CameraDevice camera) { 512 public void onError(CameraDevice camera, int error) { 529 createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); in captureStillPicture() 578 createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in setUpCamera() [all …]
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 24 import android.hardware.camera2.CameraDevice; 78 CameraDevice mCamera; 308 final CameraDevice.StateCallback mCameraStateCallback = 309 new CameraDevice.StateCallback() { 311 public void onOpened(CameraDevice camera) { 327 public void onDisconnected(CameraDevice camera) { 332 public void onError(CameraDevice camera, int error) {
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 29 import android.hardware.camera2.CameraDevice; 186 private CameraDevice mCamera; 314 CameraDevice.TEMPLATE_PREVIEW, mPreviewSurface), in handleMessage() 449 trigger.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW, in handleMessage() 478 cancel.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW, in handleMessage() 570 CameraDevice.TEMPLATE_STILL_CAPTURE, in handleMessage() 628 expose.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW, in handleMessage() 672 return new AndroidCamera2Settings(mCamera, CameraDevice.TEMPLATE_PREVIEW, in buildSettings() 701 CameraDevice.TEMPLATE_PREVIEW, mPreviewSurface), in applyToRequest() 776 private CameraDevice.StateCallback mCameraDeviceStateCallback = [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | SessionConfiguration.java | 26 import android.hardware.camera2.CameraDevice; 58 public static final int SESSION_REGULAR = CameraDevice.SESSION_OPERATION_MODE_NORMAL; 68 CameraDevice.SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED; 75 CameraDevice.SESSION_OPERATION_MODE_VENDOR_START;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | Camera2Focuser.java | 26 import android.hardware.camera2.CameraDevice; 56 private final CameraDevice mCamera; 96 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, in Camera2Focuser() 302 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in createRequestBuilder()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 26 import android.hardware.camera2.CameraDevice; 1227 CameraDevice.TEMPLATE_PREVIEW, 1228 CameraDevice.TEMPLATE_STILL_CAPTURE, 1229 CameraDevice.TEMPLATE_RECORD, 1306 case CameraDevice.TEMPLATE_PREVIEW: in createRequestTemplate() 1309 case CameraDevice.TEMPLATE_STILL_CAPTURE: in createRequestTemplate() 1312 case CameraDevice.TEMPLATE_RECORD: in createRequestTemplate() 1342 if (templateId == CameraDevice.TEMPLATE_RECORD || in createRequestTemplate() 1343 templateId == CameraDevice.TEMPLATE_VIDEO_SNAPSHOT) { in createRequestTemplate() 1348 } else if (templateId == CameraDevice.TEMPLATE_PREVIEW || in createRequestTemplate() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2RequestSettingsSet.java | 20 import android.hardware.camera2.CameraDevice; 228 public CaptureRequest createRequest(CameraDevice camera, int template, Surface... targets) in createRequest()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 24 import android.hardware.camera2.CameraDevice; 60 private CameraDevice mCamera; 195 mCaptureRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in onOpen()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2SwitchPreviewTest.java | 31 import android.hardware.camera2.CameraDevice; 301 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in stillCapturePreviewPreparer() 303 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); in stillCapturePreviewPreparer() 387 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in basicRecordingPreviewTestByCamera() 389 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in basicRecordingPreviewTestByCamera()
|