/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 78 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel() 85 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel() 87 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel() 93 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel() 95 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel() 98 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel() 102 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel() 107 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel() 112 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel() 131 mCollector.expectSizesAreSimilar( in testHwSupportedLevel() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 73 private CameraErrorCollector mCollector; field in ExtendedCameraCharacteristicsTest 127 mCollector = new CameraErrorCollector(); in setUp() 141 mCollector.verify(); in tearDown() 309 mCollector.setCameraId(mIds[counter]); in testKeys() 324 mCollector.expectKeyValueNotNull(c, key); in testKeys() 454 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys() 456 mCollector.expectLessOrEqual("Version too long: " + version, MAX_VERSION_LENGTH, in testKeys() 482 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics() 486 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics() 488 mCollector.expectKeyValueGreaterThan(c, CameraCharacteristics.SENSOR_INFO_WHITE_LEVEL, in testStaticRawCharacteristics() [all …]
|
D | CameraDeviceTest.java | 1464 mCollector.addMessage( in invalidRequestCaptureTestByCamera() 1474 mCollector.addMessage("Session capture should throw " + in invalidRequestCaptureTestByCamera() 1483 mCollector.addMessage("Session setRepeatingRequest should throw " + in invalidRequestCaptureTestByCamera() 1493 mCollector.addMessage("Capture zero burst should throw IllegalArgumentException " + in invalidRequestCaptureTestByCamera() 1502 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera() 1511 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera() 1530 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera() 1539 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera() 1549 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera() 1641 mCollector.addError(e); in runCaptureTest() [all …]
|
D | CaptureRequestTest.java | 936 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs fixed black level" in dynamicBlackWhiteLevelTestByCamera() 940 mCollector.expectLessOrEqual("Max deviation of the dynamic white level exceed threshold." in dynamicBlackWhiteLevelTestByCamera() 958 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs optical black" in dynamicBlackWhiteLevelTestByCamera() 1070 … mCollector.expectInRange("Focus distance for hyper focal should be close enough to" + in focusDistanceTestRepeating() 1166 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance() 1169 mCollector.expectInRange("Focus distance in result should be close enough to " + in verifyFocusDistance() 1172 mCollector.expectInRange("Result focus distance is out of range", in verifyFocusDistance() 1189 mCollector.expectTrue(String.format( in verifyFocusDistance() 1203 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance() 1208 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance() [all …]
|
D | StillCaptureTest.java | 555 setJpegKeys(stillRequest, exifTestData, thumbnailSize, mCollector); in focalLengthTestByCamera() 570 mCollector.expectEquals("Focal length in preview result and request should be the same", in focalLengthTestByCamera() 579 mCollector.expectEquals( in focalLengthTestByCamera() 588 mStaticInfo, mCollector); in focalLengthTestByCamera() 763 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera() 769 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera() 807 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera() 814 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera() 829 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera() 835 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera() [all …]
|
D | ImageWriterTest.java | 232 mCollector.expectTrue( in readerWriterFormatTestByCamera() 243 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera() 279 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera() 328 mCollector.expectImageProperties(msg + "Opaque ", image, CAMERA_PRIVATE_FORMAT, in validateOpaqueImage() 330 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
|
D | CaptureResultTest.java | 128 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys() 212 mCollector.expectLessOrEqual("Too many partial results", in testPartialResult() 218 mCollector.expectValuesUnique("Partial result keys: ", partialKeys); in testPartialResult() 220 mCollector.expectTrue( in testPartialResult() 230 mCollector.expectTrue( in testPartialResult() 235 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult() 248 mCollector.addMessage("Listener received multiple onCaptureComplete" + in testPartialResult() 252 mCollector.addMessage("Listener received onCaptureStart or" + in testPartialResult() 344 mCollector.expectGreater("Timestamps must be increasing.", result.second, in testResultTimestamps() 367 mCollector.expectGreaterOrEqual("Timestamps increase faster than system clock.", in testResultTimestamps() [all …]
|
D | BurstCaptureRawTest.java | 250 mCollector.expectTrue( in execute() 256 mCollector.expectTrue( in execute() 328 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute() 331 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute() 335 mCollector.expectTrue( in execute() 341 mCollector.expectTrue( in execute() 427 mCollector.expectLessOrEqual( in execute()
|
D | SurfaceViewPreviewTest.java | 279 mCollector.expectTrue( in preparePerformanceTestByCamera() 287 mCollector.expectTrue( in preparePerformanceTestByCamera() 317 mCollector.expectTrue( in preparePerformanceTestByCamera() 324 mCollector.expectTrue( in preparePerformanceTestByCamera() 730 mCollector.expectInRange( in verifyPreviewTargetFpsRange() 735 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange() 739 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange() 742 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
|
D | CameraManagerTest.java | 66 private CameraErrorCollector mCollector; field in CameraManagerTest 95 mCollector = new CameraErrorCollector(); in setUp() 104 mCollector.verify(); in tearDown() 457 mCollector.setCameraId(ids[i]); in testCameraManagerOpenCameraTwice()
|
D | RobustnessTest.java | 1063 mCollector.expectKeyValueIsIn(result, in testAfSceneChange() 1118 mCollector.expectKeyValueEquals(result, in testOisDataMode() 1121 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode() 1125 mCollector.expectKeyValueEquals(result, in testOisDataMode() 1128 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode() 1131 mCollector.addMessage(String.format("Invalid OIS mode: %d", oisMode)); in testOisDataMode() 1697 mCollector.addMessage(String.format("Reprocess stream combination %s failed due to: %s", in testReprocessStreamCombination() 1793 mCollector.addMessage(String.format("Output combination %s failed due to: %s", in testSingleCameraOutputCombination() 1802 mCollector.addMessage( in testSingleCameraOutputCombination() 1903 mCollector.addMessage(String.format("Output combination %s failed due to: %s", in testMultiCameraOutputCombination() [all …]
|
D | RecordingTest.java | 337 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in testAbandonedHighSpeedRequest() 623 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in slowMotionRecording() 695 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording() 1167 mCollector.addMessage("Video size " + videoSz.toString() + " for profile ID " + in videoSnapshotTestByCamera() 1361 mCollector.expectLessOrEqual( in videoSnapshotTestByCamera() 1782 mCollector.expectTrue( 1802 mCollector.expectTrue( 1852 mCollector.expectTrue(
|
D | LogicalCameraDeviceTest.java | 652 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera() 676 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera() 691 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListenerDual, in testBasicPhysicalStreamingForCamera() 738 mCollector.expectLessOrEqual("The average frame duration increase of all physical " in testBasicPhysicalStreamingForCamera()
|
D | ReprocessCaptureTest.java | 605 mCollector.expectImageProperties("testReprocessMixedBurst", reprocessedImage, in testReprocessMixedBurst() 664 mCollector.expectImageProperties("testReprocessBurst", reprocessedImage, in testReprocessBurst() 725 mCollector.expectImageProperties("testReprocess", reprocessedImage, in testReprocess() 950 setJpegKeys(builder, EXIF_TEST_DATA[i], testThumbnailSizes[i], mCollector); in testReprocessJpegExif() 966 testThumbnailSizes[i], EXIF_TEST_DATA[i], mStaticInfo, mCollector); in testReprocessJpegExif()
|
D | ImageReaderTest.java | 914 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera() 922 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera() 967 mCollector.expectInRange( in validateCaptureResult() 975 mCollector.expectInRange( in validateCaptureResult()
|
D | PerformanceTest.java | 1079 mCollector.setCameraId(cameraId); in simpleOpenCamera()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 49 private CameraErrorCollector mCollector; field in EnableZslTest 86 mCollector = new CameraErrorCollector(); in setUp() 95 mCollector.verify(); in tearDown() 133 mCollector); in testEnableZslValueByCamera() 144 mCollector.expectTrue("CaptureRequest.CONTROL_ENABLE_ZSL should be false.", in testEnableZslValueByCamera()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2AndroidTestCase.java | 78 protected CameraErrorCollector mCollector; field in Camera2AndroidTestCase 115 mCollector = new CameraErrorCollector(); in setUp() 141 mCollector.verify(); in tearDown() 212 mCollector.setCameraId(cameraId); in openDevice()
|
D | Camera2SurfaceViewTestCase.java | 95 protected CameraErrorCollector mCollector; field in Camera2SurfaceViewTestCase 140 mCollector = new CameraErrorCollector(); in setUp() 161 mCollector.verify(); in tearDown() 593 mCollector.setCameraId(cameraId); in openDevice()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 74 private final CameraErrorCollector mCollector; field in StaticMetadata 180 mCollector = collector; in StaticMetadata() 2518 mCollector.addMessage(failureCause); in failKeyCheck()
|