Home
last modified time | relevance | path

Searched refs:mCollector (Results 1 – 21 of 21) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1477 mCollector.addMessage( in invalidRequestCaptureTestByCamera()
1487 mCollector.addMessage("Session capture should throw " + in invalidRequestCaptureTestByCamera()
1496 mCollector.addMessage("Session setRepeatingRequest should throw " + in invalidRequestCaptureTestByCamera()
1506 mCollector.addMessage("Capture zero burst should throw IllegalArgumentException " + in invalidRequestCaptureTestByCamera()
1515 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1524 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1543 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1552 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1562 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1654 mCollector.addError(e); in runCaptureTest()
[all …]
DStaticMetadataTest.java73 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
80 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel()
82 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel()
88 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
90 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
93 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
97 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
102 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
107 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
126 mCollector.expectSizesAreSimilar( in testHwSupportedLevel()
[all …]
DExtendedCameraCharacteristicsTest.java874 mCollector.setCameraId(mAllCameraIds[i]); in testKeys()
889 mCollector.expectKeyValueNotNull(c, key); in testKeys()
1028 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys()
1030 mCollector.expectLessOrEqual("Version too long: " + version, MAX_VERSION_LENGTH, in testKeys()
1054 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1058 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1060 mCollector.expectKeyValueGreaterThan(c, CameraCharacteristics.SENSOR_INFO_WHITE_LEVEL, in testStaticRawCharacteristics()
1067 mCollector.expectKeyValueIsIn(c, in testStaticRawCharacteristics()
1075 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
1081 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
[all …]
DCaptureRequestTest.java1011 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs fixed black level" in dynamicBlackWhiteLevelTestByCamera()
1015 mCollector.expectLessOrEqual("Max deviation of the dynamic white level exceed threshold." in dynamicBlackWhiteLevelTestByCamera()
1033 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs optical black" in dynamicBlackWhiteLevelTestByCamera()
1145mCollector.expectInRange("Focus distance for hyper focal should be close enough to" + in focusDistanceTestRepeating()
1241 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance()
1244 mCollector.expectInRange("Focus distance in result should be close enough to " + in verifyFocusDistance()
1247 mCollector.expectInRange("Result focus distance is out of range", in verifyFocusDistance()
1264 mCollector.expectTrue(String.format( in verifyFocusDistance()
1278 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance()
1283 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance()
[all …]
DStillCaptureTest.java655 setJpegKeys(stillRequest, exifTestData, thumbnailSize, mCollector); in focalLengthTestByCamera()
670 mCollector.expectEquals("Focal length in preview result and request should be the same", in focalLengthTestByCamera()
679 mCollector.expectEquals( in focalLengthTestByCamera()
688 mStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera()
863 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
869 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
907 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
914 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
929 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
935 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
[all …]
DCaptureResultTest.java128 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys()
211 mCollector.expectLessOrEqual("Too many partial results", in testPartialResult()
217 mCollector.expectValuesUnique("Partial result keys: ", partialKeys); in testPartialResult()
219 mCollector.expectTrue( in testPartialResult()
229 mCollector.expectTrue( in testPartialResult()
234 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult()
247 mCollector.addMessage("Listener received multiple onCaptureComplete" + in testPartialResult()
251 mCollector.addMessage("Listener received onCaptureStart or" + in testPartialResult()
343 mCollector.expectGreater("Timestamps must be increasing.", result.second, in testResultTimestamps()
366 mCollector.expectGreaterOrEqual("Timestamps increase faster than system clock.", in testResultTimestamps()
[all …]
DImageWriterTest.java271 mCollector.expectTrue( in readerWriterFormatTestByCamera()
282 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera()
318 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
367 mCollector.expectImageProperties(msg + "Opaque ", image, CAMERA_PRIVATE_FORMAT, in validateOpaqueImage()
369 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
DBurstCaptureRawTest.java254 mCollector.expectTrue( in execute()
260 mCollector.expectTrue( in execute()
332 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute()
335 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute()
339 mCollector.expectTrue( in execute()
345 mCollector.expectTrue( in execute()
431 mCollector.expectLessOrEqual( in execute()
DSurfaceViewPreviewTest.java290 mCollector.expectTrue( in preparePerformanceTestByCamera()
298 mCollector.expectTrue( in preparePerformanceTestByCamera()
328 mCollector.expectTrue( in preparePerformanceTestByCamera()
336 mCollector.expectTrue( in preparePerformanceTestByCamera()
751 mCollector.expectInRange( in verifyPreviewTargetFpsRange()
756 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
760 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
763 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DCameraManagerTest.java75 private CameraErrorCollector mCollector; field in CameraManagerTest
104 mCollector = new CameraErrorCollector(); in setUp()
113 mCollector.verify(); in tearDown()
466 mCollector.setCameraId(ids[i]); in testCameraManagerOpenCameraTwice()
DRobustnessTest.java449 mCollector.addMessage(String.format("Mandatory stream combination: %s failed due: %s", in testMandatoryStreamCombination()
458 mCollector.addMessage( in testMandatoryStreamCombination()
684 mCollector.addMessage(String.format("Reprocess stream combination %s failed due to: %s", in testMandatoryReprocessableStreamCombination()
1540 mCollector.expectKeyValueIsIn(result, in testAfSceneChange()
1595 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1598 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode()
1602 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1605 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
1608 mCollector.addMessage(String.format("Invalid OIS mode: %d", oisMode)); in testOisDataMode()
DLogicalCameraDeviceTest.java674 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch()
687 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch()
828 mCollector.expectInRange("Camera " + id + " template " + template + in testDefaultFov()
1053 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1077 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1092 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListenerDual, in testBasicPhysicalStreamingForCamera()
DRecordingTest.java385 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in testAbandonedHighSpeedRequest()
678 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in slowMotionRecording()
750 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1240 mCollector.addMessage("Video size " + videoSz.toString() + " for profile ID " + in videoSnapshotTestByCamera()
1452 mCollector.expectLessOrEqual( in videoSnapshotTestByCamera()
1939 mCollector.expectTrue(
1959 mCollector.expectTrue(
2009 mCollector.expectTrue(
DHeifWriterTest.java380 mCollector.expectInRange( in validateCaptureResult()
388 mCollector.expectInRange( in validateCaptureResult()
DReprocessCaptureTest.java676 mCollector.expectImageProperties("testReprocessMixedBurst", reprocessedImage, in testReprocessMixedBurst()
735 mCollector.expectImageProperties("testReprocessBurst", reprocessedImage, in testReprocessBurst()
796 mCollector.expectImageProperties("testReprocess", reprocessedImage, in testReprocess()
1021 setJpegKeys(builder, EXIF_TEST_DATA[i], testThumbnailSizes[i], mCollector); in testReprocessJpegExif()
1037 testThumbnailSizes[i], EXIF_TEST_DATA[i], mStaticInfo, mCollector, in testReprocessJpegExif()
DImageReaderTest.java1116 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
1124 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
1169 mCollector.expectInRange( in validateCaptureResult()
1177 mCollector.expectInRange( in validateCaptureResult()
DPerformanceTest.java1362 mCollector.setCameraId(cameraId); in simpleOpenCamera()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java49 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/
DCamera2AndroidTestCase.java80 protected CameraErrorCollector mCollector; field in Camera2AndroidTestCase
118 mCollector = new CameraErrorCollector(); in setUp()
168 mCollector.verify(); in tearDown()
239 mCollector.setCameraId(cameraId); in openDevice()
DCamera2SurfaceViewTestCase.java96 protected CameraErrorCollector mCollector; field in Camera2SurfaceViewTestCase
138 mCollector = new CameraErrorCollector(); in setUp()
186 mCollector.verify(); in tearDown()
648 mCollector.setCameraId(cameraId); in openDevice()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java74 private final CameraErrorCollector mCollector; field in StaticMetadata
198 mCollector = collector; in StaticMetadata()
2635 mCollector.addMessage(failureCause); in failKeyCheck()