Home
last modified time | relevance | path

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

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java83 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
90 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel()
92 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel()
98 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
100 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
103 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
107 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
112 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
117 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
136 mCollector.expectSizesAreSimilar( in testHwSupportedLevel()
[all …]
DCameraDeviceTest.java1499 mCollector.addMessage( in invalidRequestCaptureTestByCamera()
1509 mCollector.addMessage("Session capture should throw " + in invalidRequestCaptureTestByCamera()
1518 mCollector.addMessage("Session setRepeatingRequest should throw " + in invalidRequestCaptureTestByCamera()
1528 mCollector.addMessage("Capture zero burst should throw IllegalArgumentException " + in invalidRequestCaptureTestByCamera()
1537 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1546 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1565 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1574 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1584 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1676 mCollector.addError(e); in runCaptureTest()
[all …]
DExtendedCameraCharacteristicsTest.java901 mCollector.setCameraId(mAllCameraIds[i]); in testKeys()
916 mCollector.expectKeyValueNotNull(c, key); in testKeys()
1055 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys()
1057 mCollector.expectLessOrEqual("Version too long: " + version, MAX_VERSION_LENGTH, in testKeys()
1082 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1086 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1088 mCollector.expectKeyValueGreaterThan(c, CameraCharacteristics.SENSOR_INFO_WHITE_LEVEL, in testStaticRawCharacteristics()
1095 mCollector.expectKeyValueIsIn(c, in testStaticRawCharacteristics()
1103 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
1109 mCollector.expectKeyValueInRange(c, in testStaticRawCharacteristics()
[all …]
DCaptureRequestTest.java1058 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs fixed black level" in dynamicBlackWhiteLevelTestByCamera()
1062 mCollector.expectLessOrEqual("Max deviation of the dynamic white level exceed threshold." in dynamicBlackWhiteLevelTestByCamera()
1080 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs optical black" in dynamicBlackWhiteLevelTestByCamera()
1192mCollector.expectInRange("Focus distance for hyper focal should be close enough to" + in focusDistanceTestRepeating()
1288 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance()
1291 mCollector.expectInRange("Focus distance in result should be close enough to " + in verifyFocusDistance()
1294 mCollector.expectInRange("Result focus distance is out of range", in verifyFocusDistance()
1311 mCollector.expectTrue(String.format( in verifyFocusDistance()
1325 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance()
1330 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance()
[all …]
DStillCaptureTest.java658 setJpegKeys(stillRequest, exifTestData, thumbnailSize, mCollector); in focalLengthTestByCamera()
673 mCollector.expectEquals("Focal length in preview result and request should be the same", in focalLengthTestByCamera()
682 mCollector.expectEquals( in focalLengthTestByCamera()
691 mStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera()
866 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
872 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
910 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
917 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
932 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
938 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
[all …]
DCaptureResultTest.java127 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys()
211 mCollector.expectLessOrEqual("Too many partial results", in testPartialResult()
216 mCollector.expectEquals("Partial capture result camera ID must be correct", in testPartialResult()
219 mCollector.expectValuesUnique("Partial result keys: ", partialKeys); in testPartialResult()
221 mCollector.expectTrue( in testPartialResult()
230 mCollector.expectEquals("Total capture result camera ID must be correct", in testPartialResult()
233 mCollector.expectTrue( in testPartialResult()
238 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult()
251 mCollector.addMessage("Listener received multiple onCaptureComplete" + in testPartialResult()
255 mCollector.addMessage("Listener received onCaptureStart or" + in testPartialResult()
[all …]
DMultiResolutionImageReaderTest.java336 mCollector.addMessage( in testMultiResolutionMandatoryStreamCombination()
347 mCollector.addMessage( in testMultiResolutionMandatoryStreamCombination()
478 mCollector.expectEquals(String.format("Output image width %d doesn't match " + in validateImage()
481 mCollector.expectEquals(String.format("Output image height %d doesn't match " + in validateImage()
489 mCollector.expectEquals(String.format("Output image format %d doesn't match " + in validateImage()
502 mCollector.expectNotNull( in validateImage()
505 mCollector.expectEquals(String.format("Active physical camera id %s doesn't " + in validateImage()
521 mCollector.expectTrue(String.format("Camera's physical camera id + image size " + in validateImage()
DImageWriterTest.java317 mCollector.expectTrue( in readerWriterFormatTestByCamera()
333 mCollector.expectTrue("ImageWriter 1st output image should match 1st camera image", in readerWriterFormatTestByCamera()
369 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
418 mCollector.expectImageProperties(msg + "Opaque ", image, CAMERA_PRIVATE_FORMAT, in validateOpaqueImage()
420 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
DBurstCaptureRawTest.java257 mCollector.expectTrue( in execute()
263 mCollector.expectTrue( in execute()
335 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute()
338 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute()
342 mCollector.expectTrue( in execute()
348 mCollector.expectTrue( in execute()
434 mCollector.expectLessOrEqual( in execute()
DZoomCaptureTest.java161 mCollector.expectTrue("Camera " + mCamera.getId() + " activePhysicalId " + in bufferFormatZoomTestByCamera()
174 mCollector.expectTrue("Logical camera's activePhysicalCamera should not " + in bufferFormatZoomTestByCamera()
DConcurrentCameraTest.java264 mCollector.addMessage(String.format( in testMandatoryConcurrentStreamCombination()
305 mCollector.addMessage(String.format( in testMandatoryConcurrentStreamCombination()
323 mCollector.addMessage( in testMandatoryConcurrentStreamCombination()
DSurfaceViewPreviewTest.java300 mCollector.expectTrue( in preparePerformanceTestByCamera()
308 mCollector.expectTrue( in preparePerformanceTestByCamera()
723 mCollector.expectInRange( in verifyPreviewTargetFpsRange()
728 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
732 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
735 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DLogicalCameraDeviceTest.java696 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch()
709 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch()
896 mCollector.expectInRange("Camera " + id + " template " + template + in testDefaultFov()
1136 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1160 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1175 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListenerDual, in testBasicPhysicalStreamingForCamera()
1245 mCollector.expectTrue( in testBasicPhysicalStreamingForCamera()
1262 mCollector.expectTrue( in testBasicPhysicalStreamingForCamera()
DMultiResolutionReprocessCaptureTest.java430 mCollector.expectEquals(String.format( in testMultiResolutionMandatoryStreamCombination()
457 mCollector.addMessage( in testMultiResolutionMandatoryStreamCombination()
534 mCollector.expectImageProperties("testMultiResolutionReprocess", in testMultiResolutionReprocessWithStreamInfo()
797 mCollector.expectTrue(String.format("Camera %s supported 0 multi-resolution " in getMultiResReprocessInfo()
DCameraManagerTest.java84 private CameraErrorCollector mCollector; field in CameraManagerTest
112 mCollector = new CameraErrorCollector(); in setUp()
123 mCollector.verify(); in tearDown()
540 mCollector.setCameraId(ids[i]); in testCameraManagerOpenCameraTwice()
DHeifWriterTest.java386 mCollector.expectInRange( in validateCaptureResult()
394 mCollector.expectInRange( in validateCaptureResult()
DRecordingTest.java413 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in testAbandonedHighSpeedRequest()
828 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in slowMotionRecording()
900 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1482 mCollector.addMessage("Video size " + videoSz.toString() + " for profile ID " + in videoSnapshotTestByCamera()
1694 mCollector.expectLessOrEqual( in videoSnapshotTestByCamera()
2226 mCollector.expectTrue(
2246 mCollector.expectTrue(
2296 mCollector.expectTrue(
DReprocessCaptureTest.java747 mCollector.expectImageProperties("testReprocessMixedBurst", reprocessedImage, in testReprocessMixedBurst()
806 mCollector.expectImageProperties("testReprocessBurst", reprocessedImage, in testReprocessBurst()
867 mCollector.expectImageProperties("testReprocess", reprocessedImage, in testReprocess()
1100 setJpegKeys(builder, EXIF_TEST_DATA[i], testThumbnailSizes[i], mCollector); in testReprocessJpegExif()
1116 testThumbnailSizes[i], EXIF_TEST_DATA[i], mStaticInfo, mCollector, in testReprocessJpegExif()
DRobustnessTest.java448 mCollector.addMessage(String.format("Mandatory stream combination: %s failed due: %s", in testMandatoryStreamCombination()
457 mCollector.addMessage( in testMandatoryStreamCombination()
713 mCollector.addMessage(String.format("Reprocess stream combination %s failed due to: %s", in testMandatoryReprocessableStreamCombination()
1574 mCollector.expectKeyValueIsIn(result, in testAfSceneChange()
1630 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1633 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode()
1637 mCollector.expectKeyValueEquals(result, in testOisDataMode()
1640 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
1643 mCollector.addMessage(String.format("Invalid OIS mode: %d", oisMode)); in testOisDataMode()
/cts/tests/camera/api31test/src/android/camera/cts/api31test/
DSPerfClassTest.java70 private CameraErrorCollector mCollector; field in SPerfClassTest
90 mCollector = new CameraErrorCollector(); in setUp()
99 mCollector.verify(); in tearDown()
119 StaticMetadata staticInfo = new StaticMetadata(c, CheckLevel.ASSERT, mCollector); in testSPerfClassJpegSizesByCamera()
125 mCollector.expectTrue( in testSPerfClassJpegSizesByCamera()
151 mCollector.expectTrue("isSessionConfiguration fails with error", in testSPerfClassJpegSizesByCamera()
153 mCollector.expectTrue("isSessionConfiguration returns false for JPEG < 1080p", in testSPerfClassJpegSizesByCamera()
/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/
DCamera2ConcurrentAndroidTestCase.java84 protected CameraErrorCollector mCollector; field in Camera2ConcurrentAndroidTestCase
100 mCollector = new CameraErrorCollector(); in setUp()
166 if (mCollector != null) { in tearDown()
167 mCollector.verify(); in tearDown()
247 mCollector.setCameraId(cameraId); in openDevice()
DCamera2AndroidTestCase.java86 protected CameraErrorCollector mCollector; field in Camera2AndroidTestCase
116 mCollector = new CameraErrorCollector(); in setUp()
160 if (mCollector != null) { in tearDown()
161 mCollector.verify(); in tearDown()
233 mCollector.setCameraId(cameraId); in openDevice()
DCamera2AndroidTestRule.java84 private CameraErrorCollector mCollector; field in Camera2AndroidTestRule
190 return mCollector; in getCollector()
238 mCollector = new CameraErrorCollector(); in before()
288 mCollector.verify(); in after()
358 mCollector.setCameraId(cameraId); in openDevice()
DCamera2SurfaceViewTestCase.java103 protected CameraErrorCollector mCollector; field in Camera2SurfaceViewTestCase
134 mCollector = new CameraErrorCollector(); in setUp()
173 mCollector.verify(); in tearDown()
636 mCollector.setCameraId(cameraId); in openDevice()

12