/frameworks/av/camera/ndk/impl/ |
D | ACameraCaptureSession.cpp | 27 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in ~ACameraCaptureSession() 29 sp<acam::CameraDevice> dev = getDeviceSp(); in ~ACameraCaptureSession() 58 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in closeByApp() 60 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() 87 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in stopRepeating() 89 sp<acam::CameraDevice> dev = getDeviceSp(); in stopRepeating() 109 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in abortCaptures() 111 sp<acam::CameraDevice> dev = getDeviceSp(); in abortCaptures() 130 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in updateOutputConfiguration() 132 sp<acam::CameraDevice> dev = getDeviceSp(); in updateOutputConfiguration() [all …]
|
D | ACameraCaptureSession.h | 98 std::weak_ptr<android::acam::CameraDevice> device) : in ACameraCaptureSession() 106 android::acam::CameraDevice* device) : 154 friend class android::acam::CameraDevice; 161 std::shared_ptr<android::acam::CameraDevice> getDevicePtr(); 163 sp<android::acam::CameraDevice> getDeviceSp(); 170 const std::weak_ptr<android::acam::CameraDevice> mDevice; 172 const wp<android::acam::CameraDevice> mDevice;
|
D | ACameraDevice.cpp | 38 const char* CameraDevice::kContextKey = "Context"; 39 const char* CameraDevice::kDeviceKey = "Device"; 40 const char* CameraDevice::kErrorCodeKey = "ErrorCode"; 41 const char* CameraDevice::kCallbackFpKey = "Callback"; 42 const char* CameraDevice::kSessionSpKey = "SessionSp"; 43 const char* CameraDevice::kCaptureRequestKey = "CaptureRequest"; 44 const char* CameraDevice::kTimeStampKey = "TimeStamp"; 45 const char* CameraDevice::kCaptureResultKey = "CaptureResult"; 46 const char* CameraDevice::kPhysicalCaptureResultKey = "PhysicalCaptureResult"; 47 const char* CameraDevice::kCaptureFailureKey = "CaptureFailure"; [all …]
|
D | ACameraCaptureSession.inc | 33 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); 35 sp<acam::CameraDevice> dev = getDeviceSp(); 59 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); 61 sp<acam::CameraDevice> dev = getDeviceSp();
|
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; 407 mDevice(new android::acam::CameraDevice(id, cb, chars, this)) {} in ACameraDevice() 449 android::sp<android::acam::CameraDevice> mDevice;
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CaptureCallback.java | 20 import android.hardware.camera2.CameraDevice; 65 public abstract void onCaptureStarted(CameraDevice camera, in onCaptureStarted() 72 public abstract void onReadoutStarted(CameraDevice camera, in onReadoutStarted() 81 public abstract void onCapturePartial(CameraDevice camera, in onCapturePartial() 89 public abstract void onCaptureProgressed(CameraDevice camera, in onCaptureProgressed() 96 public abstract void onCaptureCompleted(CameraDevice camera, in onCaptureCompleted() 104 public abstract void onCaptureFailed(CameraDevice camera, in onCaptureFailed() 112 public abstract void onCaptureSequenceCompleted(CameraDevice camera, in onCaptureSequenceCompleted() 120 public abstract void onCaptureSequenceAborted(CameraDevice camera, in onCaptureSequenceAborted() 129 public abstract void onCaptureBufferLost(CameraDevice camera, in onCaptureBufferLost()
|
D | CameraCaptureSessionImpl.java | 20 import android.hardware.camera2.CameraDevice; 137 public CameraDevice getDevice() { in getDevice() 645 public void onCaptureStarted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 660 public void onReadoutStarted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 675 public void onCapturePartial(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 689 public void onCaptureProgressed(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 703 public void onCaptureCompleted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 717 public void onCaptureFailed(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 731 public void onCaptureSequenceCompleted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() 746 public void onCaptureSequenceAborted(CameraDevice camera, in createCaptureCallbackProxyWithExecutor() [all …]
|
/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;
|
/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 protected class OpenListener extends CameraDevice.StateCallback { 176 private final CameraDevice.StateCallback mProxy; 181 private CameraDevice mDevice = null; 189 protected OpenListener(String cameraId, CameraDevice.StateCallback listener) { in OpenListener() 194 OpenListener(CameraManager manager, String cameraId, CameraDevice.StateCallback listener, in OpenListener() 211 public void onOpened(CameraDevice camera) { in onOpened() 233 public void onDisconnected(CameraDevice camera) { in onDisconnected() 258 public void onError(CameraDevice camera, int error) { in onError() [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/base/services/core/java/com/android/server/appop/ |
D | AudioRestrictionManager.java | 20 import android.hardware.camera2.CameraDevice; 21 import android.hardware.camera2.CameraDevice.CAMERA_AUDIO_RESTRICTION; 39 @CAMERA_AUDIO_RESTRICTION int mCameraAudioRestriction = CameraDevice.AUDIO_RESTRICTION_NONE; 73 if (mCameraAudioRestriction != CameraDevice.AUDIO_RESTRICTION_NONE) { in checkAudioOperation() 76 CameraDevice.AUDIO_RESTRICTION_VIBRATION_SOUND)) { in checkAudioOperation() 142 mCameraAudioRestriction != CameraDevice.AUDIO_RESTRICTION_NONE); in hasActiveRestrictions() 175 if (mCameraAudioRestriction != CameraDevice.AUDIO_RESTRICTION_NONE) { in dump() 185 case CameraDevice.AUDIO_RESTRICTION_NONE: in cameraRestrictionModeToName() 187 case CameraDevice.AUDIO_RESTRICTION_VIBRATION: in cameraRestrictionModeToName() 189 case CameraDevice.AUDIO_RESTRICTION_VIBRATION_SOUND: in cameraRestrictionModeToName()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 66 const char* CameraDevice::kContextKey = "Context"; 67 const char* CameraDevice::kDeviceKey = "Device"; 68 const char* CameraDevice::kErrorCodeKey = "ErrorCode"; 69 const char* CameraDevice::kCallbackFpKey = "Callback"; 70 const char* CameraDevice::kSessionSpKey = "SessionSp"; 71 const char* CameraDevice::kCaptureRequestKey = "CaptureRequest"; 72 const char* CameraDevice::kTimeStampKey = "TimeStamp"; 73 const char* CameraDevice::kCaptureResultKey = "CaptureResult"; 74 const char* CameraDevice::kPhysicalCaptureResultKey = "PhysicalCaptureResult"; 75 const char* CameraDevice::kCaptureFailureKey = "CaptureFailure"; [all …]
|
D | ACameraDevice.h | 94 class CameraDevice final : public std::enable_shared_from_this<CameraDevice> { 96 CameraDevice(const char* id, ACameraDevice_StateCallbacks* cb, 99 ~CameraDevice(); 123 explicit ServiceCallback(std::weak_ptr<CameraDevice> device) : in ServiceCallback() 143 const std::weak_ptr<CameraDevice> mDevice; 438 mDevice(std::make_shared<android::acam::CameraDevice>(id, cb, in ACameraDevice() 485 std::shared_ptr<android::acam::CameraDevice> mDevice;
|
/frameworks/base/api/ |
D | javadoc-lint-baseline | 2 …cs.java:2169: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#stream-use-case… 3 …cs.java:2344: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#concurrent-stre… 4 …cs.java:2344: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#concurrent-stre… 5 …cs.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#additional-guar… 6 …cs.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#additional-guar… 7 …cs.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#legacy-level-gu… 8 …cs.java:2390: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#preview-stabili… 9 …cs.java:2390: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#preview-stabili… 10 …cs.java:2402: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#legacy-level-gu… 11 …cs.java:2402: lint: Unresolved link/see tag "android.hardware.camera2.CameraDevice#legacy-level-gu… [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraDevice.java | 75 public abstract class CameraDevice implements AutoCloseable { class 1544 public abstract void onOpened(@NonNull CameraDevice camera); // Must implement in onOpened() 1557 public void onClosed(@NonNull CameraDevice camera) { in onClosed() 1589 public abstract void onDisconnected(@NonNull CameraDevice camera); // Must implement in onDisconnected() 1618 public abstract void onError(@NonNull CameraDevice camera, in onError() 1887 public CameraDevice() {} in CameraDevice() method in CameraDevice
|
/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/base/core/java/android/hardware/camera2/extension/ |
D | ExtensionConfiguration.java | 23 import android.hardware.camera2.CameraDevice; 69 public ExtensionConfiguration(@CameraDevice.SessionOperatingMode int sessionType, in ExtensionConfiguration() 70 @CameraDevice.RequestTemplate int sessionTemplateId, in ExtensionConfiguration()
|
/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 | 31 import android.hardware.camera2.CameraDevice; 32 import android.hardware.camera2.CameraDevice.CameraDeviceSetup; 65 public static final int SESSION_REGULAR = CameraDevice.SESSION_OPERATION_MODE_NORMAL; 81 CameraDevice.SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED; 88 CameraDevice.SESSION_OPERATION_MODE_VENDOR_START;
|
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/ |
D | RequestBuilder.java | 20 import android.hardware.camera2.CameraDevice; 34 private int mTemplateId = CameraDevice.TEMPLATE_PREVIEW;
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/advanced/ |
D | Camera2SessionConfigImplBuilder.java | 21 import android.hardware.camera2.CameraDevice; 34 private int mSessionTemplateId = CameraDevice.TEMPLATE_PREVIEW;
|
/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/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/ |
D | BeautyAdvancedExtenderImpl.java | 25 import android.hardware.camera2.CameraDevice; 79 CameraDevice.TEMPLATE_STILL_CAPTURE, DEFAULT_CAPTURE_ID); in addCaptureRequestParameters()
|