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.java873 mCollector.setCameraId(mAllCameraIds[counter]); in testKeys()
888 mCollector.expectKeyValueNotNull(c, key); in testKeys()
1027 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys()
1029 mCollector.expectLessOrEqual("Version too long: " + version, MAX_VERSION_LENGTH, in testKeys()
1055 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1059 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1061 mCollector.expectKeyValueGreaterThan(c, CameraCharacteristics.SENSOR_INFO_WHITE_LEVEL, in testStaticRawCharacteristics()
1068 mCollector.expectKeyValueIsIn(c, in testStaticRawCharacteristics()
1076 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
1082 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
[all …]
DCaptureRequestTest.java1003 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs fixed black level" in dynamicBlackWhiteLevelTestByCamera()
1007 mCollector.expectLessOrEqual("Max deviation of the dynamic white level exceed threshold." in dynamicBlackWhiteLevelTestByCamera()
1025 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs optical black" in dynamicBlackWhiteLevelTestByCamera()
1137mCollector.expectInRange("Focus distance for hyper focal should be close enough to" + in focusDistanceTestRepeating()
1233 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance()
1236 mCollector.expectInRange("Focus distance in result should be close enough to " + in verifyFocusDistance()
1239 mCollector.expectInRange("Result focus distance is out of range", in verifyFocusDistance()
1256 mCollector.expectTrue(String.format( in verifyFocusDistance()
1270 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance()
1275 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance()
[all …]
DStillCaptureTest.java622 setJpegKeys(stillRequest, exifTestData, thumbnailSize, mCollector); in focalLengthTestByCamera()
637 mCollector.expectEquals("Focal length in preview result and request should be the same", in focalLengthTestByCamera()
646 mCollector.expectEquals( in focalLengthTestByCamera()
655 mStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera()
830 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
836 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
874 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
881 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
896 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
902 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
[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()
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 …]
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.java286 mCollector.expectTrue( in preparePerformanceTestByCamera()
294 mCollector.expectTrue( in preparePerformanceTestByCamera()
324 mCollector.expectTrue( in preparePerformanceTestByCamera()
331 mCollector.expectTrue( in preparePerformanceTestByCamera()
745 mCollector.expectInRange( in verifyPreviewTargetFpsRange()
750 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
754 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
757 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.java444 mCollector.addMessage(String.format("Mandatory stream combination: %s failed due: %s", in testMandatoryStreamCombination()
453 mCollector.addMessage( in testMandatoryStreamCombination()
679 mCollector.addMessage(String.format("Reprocess stream combination %s failed due to: %s", in testMandatoryReprocessableStreamCombination()
1535 mCollector.expectKeyValueIsIn(result, in testAfSceneChange()
1590 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1593 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode()
1597 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1600 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
1603 mCollector.addMessage(String.format("Invalid OIS mode: %d", oisMode)); in testOisDataMode()
DLogicalCameraDeviceTest.java673 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch()
686 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch()
827 mCollector.expectInRange("Camera " + id + " template " + template + in testDefaultFov()
1052 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1076 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1091 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()
640 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()
2627 mCollector.addMessage(failureCause); in failKeyCheck()