Home
last modified time | relevance | path

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

/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java80 CameraCharacteristics characteristics = in isLegacyHAL() local
83 return characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isLegacyHAL()
192 CameraCharacteristics characteristics = in isExternal() local
195 if (!matchParametersToCharacteristics(params, info, characteristics)) { in isExternal()
198 characteristics = manager.getCameraCharacteristics(id); in isExternal()
199 if (matchParametersToCharacteristics(params, info, characteristics)) { in isExternal()
209 return characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isExternal()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/
Dandroid_virtualdevice_cts_camera_util_NativeCameraManager.cc181 ACameraMetadata* characteristics = nullptr; in getCameraCharacteristics() local
183 &characteristics); in getCameraCharacteristics()
184 return {characteristics, ACameraMetadata_free}; in getCameraCharacteristics()
188 auto characteristics = getCameraCharacteristics(cameraId); in getCameraDeviceId() local
189 if (characteristics == nullptr) { in getCameraDeviceId()
195 ACameraMetadata_getConstEntry(characteristics.get(), kInfoDeviceIdTag, &entry); in getCameraDeviceId()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraVulkanGpuTest.java63 CameraCharacteristics characteristics = camMgr.getCameraCharacteristics(id); in testCameraImportAndRendering() local
65 characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in testCameraImportAndRendering()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java691 Characteristics characteristics = mWifiAwareManager.getCharacteristics(); in testCharacteristics() local
692 assertNotNull("Wi-Fi Aware characteristics are null", characteristics); in testCharacteristics()
693 assertEquals("Service Name Length", characteristics.getMaxServiceNameLength(), 255); in testCharacteristics()
695 characteristics.getMaxServiceSpecificInfoLength() >= 255); in testCharacteristics()
696 assertEquals("Match Filter Length", characteristics.getMaxMatchFilterLength(), 255); in testCharacteristics()
697 assertNotEquals("Cipher suites", characteristics.getSupportedCipherSuites(), 0); in testCharacteristics()
698 assertTrue("Max number of NDP", characteristics.getNumberOfSupportedDataPaths() > 0); in testCharacteristics()
699 assertTrue("Max number of NDI", characteristics.getNumberOfSupportedDataInterfaces() > 0); in testCharacteristics()
701 characteristics.getNumberOfSupportedPublishSessions() > 0); in testCharacteristics()
703 characteristics.getNumberOfSupportedSubscribeSessions() > 0); in testCharacteristics()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java693 public <T> T expectKeyValueNotNull(CameraCharacteristics characteristics, in expectKeyValueNotNull() argument
696 T value = characteristics.get(key); in expectKeyValueNotNull()
885 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T expected) { in expectKeyValueGreaterThan() argument
887 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueGreaterThan()
903 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T min, T max) { in expectKeyValueInRange() argument
905 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueInRange()
935 public <T> void expectKeyValueIsIn(CameraCharacteristics characteristics, in expectKeyValueIsIn() argument
937 T value = expectKeyValueNotNull(characteristics, key); in expectKeyValueIsIn()
988 public <T> void expectKeyValueContains(CameraCharacteristics characteristics, in expectKeyValueContains() argument
991 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueContains()
[all …]
DStaticMetadata.java161 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata() argument
162 this(characteristics, CheckLevel.WARN, /*collector*/null); in StaticMetadata()
176 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata() argument
177 this(characteristics, CheckLevel.COLLECT, collector); in StaticMetadata()
194 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() argument
196 if (characteristics == null) { in StaticMetadata()
203 mCharacteristics = characteristics; in StaticMetadata()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java113 public CameraCharacteristics characteristics; field in DngCreatorTest.CapturedData
122 public CameraCharacteristics characteristics; field in DngCreatorTest.CapturedDataMaximumResolution
128 CameraCharacteristics characteristics; field in DngCreatorTest.DngDebugParams
177 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasic() local
180 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testSingleImageBasic()
270 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageBasicMaximumResolution() local
273 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testSingleImageBasicMaximumResolution()
366 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testSingleImageThumbnail() local
376 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testSingleImageThumbnail()
528 data.characteristics, /*captureREsult*/data.raw.second, /*offsetX*/ 0, in testRaw16JpegMaximumResolutionConsistency()
[all …]
DFeatureCombinationTest.java117 CameraCharacteristics characteristics = staticInfo.getCharacteristics(); in testIsSessionConfigurationSupported() local
118 boolean supportSessionConfigurationQuery = characteristics.get( in testIsSessionConfigurationSupported()
297 CameraCharacteristics characteristics = in verifyCombinationStreaming() local
299 DynamicRangeProfiles profiles = characteristics.get( in verifyCombinationStreaming()
505 CameraCharacteristics characteristics = mStaticInfo.getCharacteristics(); in testVPerfClassRequirements() local
506 boolean supportSessionConfigurationQuery = characteristics.get( in testVPerfClassRequirements()
DMultiResolutionReprocessCaptureTest.java778 CameraCharacteristics characteristics = staticInfo.getCharacteristics(); in getMultiResReprocessInfo() local
779 MultiResolutionStreamConfigurationMap configs = characteristics.get( in getMultiResReprocessInfo()
DCameraDeviceTest.java954 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics(cameraId); in testSessionParametersStateLeakByCamera() local
955 StreamConfigurationMap config = characteristics.get( in testSessionParametersStateLeakByCamera()
957 List <CaptureRequest.Key<?>> sessionKeys = characteristics.getAvailableSessionKeys(); in testSessionParametersStateLeakByCamera()
1144 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics(cameraId); in testCreateSessionWithParametersByCamera() local
1145 StreamConfigurationMap config = characteristics.get( in testCreateSessionWithParametersByCamera()
DExtendedCameraCharacteristicsTest.java4128 CameraCharacteristics characteristics =
4132 int sensorOrientation = characteristics.get(
4138 int facing = characteristics.get(CameraCharacteristics.LENS_FACING);
4176 CameraCharacteristics characteristics =
4179 Set<String> physicalCameraIds = characteristics.getPhysicalCameraIds();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java314 CameraCharacteristics characteristics = null; in getRotation() local
316 characteristics = manager.getCameraCharacteristics(CAMERA_ID + ""); in getRotation()
320 int toOrientate = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in getRotation()
/cts/tests/signature/lib/common/src/android/signature/cts/
DBufferedReaderLineSpliterator.java49 public int characteristics() { in characteristics() method in BufferedReaderLineSpliterator
DByteBufferLineSpliterator.java67 public int characteristics() { in characteristics() method in ByteBufferLineSpliterator
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java377 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics( in virtualCamera_hasCorrectDeviceId() local
379 assertThat(characteristics.get(INFO_DEVICE_ID)) in virtualCamera_hasCorrectDeviceId()
830 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics( in verifyCameraSensorOrientation() local
832 int orientationAngleDegrees = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in verifyCameraSensorOrientation()
840 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics(cameraId); in verifyCameraMaximumFramesPerSecond() local
842 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in verifyCameraMaximumFramesPerSecond()
855 CameraCharacteristics characteristics = mCameraManager.getCameraCharacteristics( in verifyCameraLensFacing() local
857 int cameraLensFacing = characteristics.get(CameraCharacteristics.LENS_FACING); in verifyCameraLensFacing()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java371 CameraCharacteristics characteristics = manager.getCameraCharacteristics(id); in getItsCompatibleCameraIds() local
372 int[] actualCapabilities = characteristics.get( in getItsCompatibleCameraIds()
381 final Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in getItsCompatibleCameraIds()
404 int hwLevel = characteristics.get( in getItsCompatibleCameraIds()
418 Set<String> physicalIds = characteristics.getPhysicalCameraIds(); in getItsCompatibleCameraIds()
DItsService.java1485 CameraCharacteristics characteristics = null;
1487 characteristics = mCameraManager.getCameraCharacteristics(cameraId,
1490 characteristics = mCameraManager.getCameraCharacteristics(cameraId);
1492 mSocketRunnableObj.sendResponse(characteristics);
/cts/tools/release-parser/tests/resources/
Dbuild.prop42 ro.build.characteristics=nosdcard
Dbuild.prop.pb.txt102 key: "ro.build.characteristics"
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainVisualQueryDetectionService.java394 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in openCamera() local
395 Size imageSize = characteristics.get( in openCamera()
/cts/tests/mediapc/src/android/mediapc/cts/
DVideoCodecRequirementsTest.java141 CameraCharacteristics characteristics = cm.getCameraCharacteristics(cameraId); in getMaxSupportedRecordingSize() local
143 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in getMaxSupportedRecordingSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java636 CameraCharacteristics characteristics = in isExternalCamera() local
639 if (characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isExternalCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java227 CameraCharacteristics characteristics = in onCreate() local
231 Capability[] extendedSceneModeCaps = characteristics.get(key); in onCreate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1345 public static boolean hasCapability(CameraCharacteristics characteristics, int capability) { in hasCapability() argument
1347 characteristics.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in hasCapability()
1358 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in isSystemCamera() local
1359 return hasCapability(characteristics, in isSystemCamera()
2953 public static <T> T getValueNotNull(CameraCharacteristics characteristics, in getValueNotNull() argument
2955 if (characteristics == null) { in getValueNotNull()
2959 T value = characteristics.get(key); in getValueNotNull()
4388 CameraCharacteristics characteristics; in isPrimaryCamera() local
4393 characteristics = manager.getCameraCharacteristics(id); in isPrimaryCamera()
4394 facing = characteristics.get(CameraCharacteristics.LENS_FACING); in isPrimaryCamera()
/cts/tests/signature/lib/android/src/android/signature/cts/
DXmlApiParser.java431 public int characteristics() { in characteristics() method in XmlApiParser.ClassDescriptionSpliterator