/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 23 import android.hardware.camera2.CameraCharacteristics; 24 import android.hardware.camera2.CameraCharacteristics.Key; 75 private final CameraCharacteristics mCharacteristics; 139 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata() 154 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata() 172 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() 191 public CameraCharacteristics getCharacteristics() { in getCharacteristics() 217 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in getHardwareLevelChecked() 254 Integer value = getValueFromKeyNonNull(CameraCharacteristics.SYNC_MAX_LATENCY); in getSyncMaxLatency() 287 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in isHardwareLevelLimitedOrBetter() [all …]
|
D | CameraUtils.java | 21 import android.hardware.camera2.CameraCharacteristics; 45 CameraCharacteristics characteristics = in isLegacyHAL() 48 return characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isLegacyHAL() 49 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY; in isLegacyHAL()
|
D | CameraErrorCollector.java | 24 import android.hardware.camera2.CameraCharacteristics; 640 public <T> T expectKeyValueNotNull(CameraCharacteristics characteristics, in expectKeyValueNotNull() 641 CameraCharacteristics.Key<T> key) { in expectKeyValueNotNull() 832 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T expected) { in expectKeyValueGreaterThan() 850 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T min, T max) { in expectKeyValueInRange() 865 public <T> void expectKeyValueIsIn(CameraCharacteristics characteristics, in expectKeyValueIsIn() 866 CameraCharacteristics.Key<T> key, T... expected) { in expectKeyValueIsIn() 900 public <T> void expectKeyValueContains(CameraCharacteristics characteristics, in expectKeyValueContains() 901 CameraCharacteristics.Key<T[]> key, T expected) { in expectKeyValueContains() 918 public void expectKeyValueContains(CameraCharacteristics characteristics, in expectKeyValueContains() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 25 import android.hardware.camera2.CameraCharacteristics; 48 import static android.hardware.camera2.CameraCharacteristics.*; 119 public static CameraCharacteristics createCharacteristics(Camera.Parameters parameters, in createCharacteristics() 141 public static CameraCharacteristics createCharacteristics(String parameters, in createCharacteristics() 162 return new CameraCharacteristics(m); in createCharacteristics() 752 CameraCharacteristics.COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES , in mapRequest() 753 CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES , in mapRequest() 754 CameraCharacteristics.CONTROL_AE_AVAILABLE_MODES , in mapRequest() 755 CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES , in mapRequest() 756 CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE , in mapRequest() [all …]
|
D | LegacyRequest.java | 20 import android.hardware.camera2.CameraCharacteristics; 31 public final CameraCharacteristics characteristics; 47 public LegacyRequest(CameraCharacteristics characteristics, CaptureRequest captureRequest, in LegacyRequest()
|
D | LegacyFaceDetectMapper.java | 24 import android.hardware.camera2.CameraCharacteristics; 71 public LegacyFaceDetectMapper(Camera camera, CameraCharacteristics characteristics) { in LegacyFaceDetectMapper() 77 CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES), in LegacyFaceDetectMapper() 230 CameraCharacteristics characteristics = legacyRequest.characteristics; in mapResultFaces() 235 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in mapResultFaces()
|
D | LegacyResultMapper.java | 22 import android.hardware.camera2.CameraCharacteristics; 112 CameraCharacteristics characteristics = legacyRequest.characteristics; in convertResultMetadata() 120 CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertResultMetadata() 244 characteristics.get(CameraCharacteristics.REQUEST_PIPELINE_MAX_DEPTH)); in convertResultMetadata() 293 CameraCharacteristics characteristics, in mapAe() 408 CameraCharacteristics characteristics, Parameters p) { in mapAeAndFlashMode() 413 Integer flashState = characteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE) in mapAeAndFlashMode()
|
D | LegacyRequestMapper.java | 22 import android.hardware.camera2.CameraCharacteristics; 59 CameraCharacteristics characteristics = legacyRequest.characteristics; in convertRequestMetadata() 64 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertRequestMetadata() 191 characteristics.get(CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE); in convertRequestMetadata()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 22 import android.hardware.camera2.CameraCharacteristics; 192 } else if (o instanceof CameraCharacteristics.Key) { in equals() 193 lhs = ((CameraCharacteristics.Key)o).getNativeKey(); in equals() 351 public <T> T get(CameraCharacteristics.Key<T> key) { in get() 440 public <T> void set(CameraCharacteristics.Key<T> key, T value) { in set() 480 private <T> T getBase(CameraCharacteristics.Key<T> key) { in getBase() 511 CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(), new GetCommand() { in GetCommand() 535 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey(), in CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey() 544 CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey(), new GetCommand() { in CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey() 552 CameraCharacteristics.CONTROL_MAX_REGIONS_AWB.getNativeKey(), new GetCommand() { in GetCommand() [all …]
|
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 20 import android.hardware.camera2.CameraCharacteristics; 51 private final CameraCharacteristics mCharacteristics; 65 CameraCharacteristics characteristics) { in CameraConstrainedHighSpeedCaptureSessionImpl() 82 mCharacteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in createHighSpeedRequestList()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 23 import android.hardware.camera2.CameraCharacteristics; 96 private CameraCharacteristics mCameraInfo; 111 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume() 112 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() 114 int level = info.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in resume() 116 = (level == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL); in resume() 118 int[] capabilities = info.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in resume() 119 int syncLatency = info.get(CameraCharacteristics.SYNC_MAX_LATENCY); in resume() 121 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR); in resume() 123 syncLatency == CameraCharacteristics.SYNC_MAX_LATENCY_PER_FRAME_CONTROL; in resume() [all …]
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 23 import android.hardware.camera2.CameraCharacteristics; 90 private CameraCharacteristics mCameraInfo; 106 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume() 107 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() 109 int level = info.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in resume() 111 = (level == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL); in resume() 113 int[] capabilities = info.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in resume() 114 int syncLatency = info.get(CameraCharacteristics.SYNC_MAX_LATENCY); in resume() 116 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR); in resume() 118 syncLatency == CameraCharacteristics.SYNC_MAX_LATENCY_PER_FRAME_CONTROL; in resume() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Capabilities.java | 19 import static android.hardware.camera2.CameraCharacteristics.*; 24 import android.hardware.camera2.CameraCharacteristics; 41 AndroidCamera2Capabilities(CameraCharacteristics p) { in AndroidCamera2Capabilities() 107 private void buildSceneModes(CameraCharacteristics p) { in buildSceneModes() 119 private void buildFlashModes(CameraCharacteristics p) { in buildFlashModes() 133 private void buildFocusModes(CameraCharacteristics p) { in buildFocusModes() 145 private void buildWhiteBalances(CameraCharacteristics p) { in buildWhiteBalances()
|
D | AndroidCamera2AgentImpl.java | 28 import android.hardware.camera2.CameraCharacteristics; 783 CameraCharacteristics props = 791 props.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); 793 props.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == 794 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY; 989 CameraCharacteristics properties) { in AndroidCamera2ProxyImpl() 1307 .get(CameraCharacteristics.LENS_FACING); in AndroidCamera2DeviceInfo() 1309 lensDirection == CameraCharacteristics.LENS_FACING_BACK) { in AndroidCamera2DeviceInfo() 1313 lensDirection == CameraCharacteristics.LENS_FACING_FRONT) { in AndroidCamera2DeviceInfo() 1328 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(actualId); in getCharacteristics() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2CaptureRequestTest.java | 22 import android.hardware.camera2.CameraCharacteristics; 31 import static android.hardware.camera2.CameraCharacteristics.CONTROL_AE_MODE_OFF; 32 import static android.hardware.camera2.CameraCharacteristics.CONTROL_AE_MODE_ON; 33 import static android.hardware.camera2.CameraCharacteristics.CONTROL_AE_MODE_ON_ALWAYS_FLASH; 34 import static android.hardware.camera2.CameraCharacteristics.CONTROL_AE_MODE_ON_AUTO_FLASH; 35 import static android.hardware.camera2.CameraCharacteristics.CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE; 136 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) { in aeModeAndLockTestByMode() 242 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS)) { in autoAeMultipleCapturesThenTestLock()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 30 import android.hardware.camera2.CameraCharacteristics; 1000 Key<int[]> formatKey = CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(); in testReadWriteOverride() 1129 CameraCharacteristics.SCALER_AVAILABLE_STREAM_CONFIGURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1157 CameraCharacteristics.SCALER_AVAILABLE_MIN_FRAME_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1183 CameraCharacteristics.SCALER_AVAILABLE_STALL_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1191 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in testOverrideStreamConfigurationMap() 1241 private <T> void assertKeyValueEquals(T expected, CameraCharacteristics.Key<T> key) { in assertKeyValueEquals() 1254 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AE); in testOverrideMaxRegions() 1255 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AWB); in testOverrideMaxRegions() 1256 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AF); in testOverrideMaxRegions() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImpl.java | 22 import android.hardware.camera2.CameraCharacteristics; 146 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(id); in getCameraId() 147 Boolean flashAvailable = c.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in getCameraId() 148 Integer lensFacing = c.get(CameraCharacteristics.LENS_FACING); in getCameraId() 150 && lensFacing != null && lensFacing == CameraCharacteristics.LENS_FACING_BACK) { in getCameraId()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 200 } else if (k instanceof CameraCharacteristics.Key<?>) { in getKeys() 201 keyName = ((CameraCharacteristics.Key<?>) k).getName(); in getKeys() 202 vendorId = ((CameraCharacteristics.Key<?>) k).getVendorId(); in getKeys() 228 if (key instanceof CameraCharacteristics.Key) { in shouldKeyBeAdded() 229 nativeKey = ((CameraCharacteristics.Key)key).getNativeKey(); in shouldKeyBeAdded()
|
D | DngCreator.java | 87 public DngCreator(@NonNull CameraCharacteristics characteristics, in DngCreator() 99 CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE); in DngCreator() 101 if (timestampSource == CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME) { in DngCreator() 105 } else if (timestampSource == CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN) { in DngCreator()
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 22 import android.hardware.camera2.CameraCharacteristics; 238 CameraCharacteristics cameraCharacteristics = 241 CameraCharacteristics.LENS_FACING_BACK) { 244 .get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 34 import android.hardware.camera2.CameraCharacteristics; 608 CameraCharacteristics properties = mCameraManager.getCameraCharacteristics(cameraId); in openDevice() 611 properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in openDevice() 746 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) { in getMaxPreviewSizeForFpsRange() 770 int cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING; in isReprocessSupported() 772 cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING; in isReprocessSupported()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 23 import android.hardware.camera2.CameraCharacteristics; 64 private CameraCharacteristics mProperties; 244 Integer orientation = mProperties.get(CameraCharacteristics.SENSOR_ORIENTATION); in onProcess()
|
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/ |
D | Camera2PortabilityTest.java | 26 import android.hardware.camera2.CameraCharacteristics; 93 private CameraCharacteristics buildFrameworkCharacteristics() throws CameraAccessException { in buildFrameworkCharacteristics() 192 CameraCharacteristics chars = buildFrameworkCharacteristics(); in camera2CapabilitiesFocusModeFromInt()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfiguration.java | 23 import android.hardware.camera2.CameraCharacteristics;
|
D | StreamConfigurationDuration.java | 23 import android.hardware.camera2.CameraCharacteristics;
|