Home
last modified time | relevance | path

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

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java93 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
100 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel()
102 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel()
108 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
110 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
113 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
117 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
122 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
127 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
146 mCollector.expectSizesAreSimilar( in testHwSupportedLevel()
[all …]
DCameraDeviceTest.java1509 mCollector.addMessage( in invalidRequestCaptureTestByCamera()
1519 mCollector.addMessage("Session capture should throw " + in invalidRequestCaptureTestByCamera()
1528 mCollector.addMessage("Session setRepeatingRequest should throw " + in invalidRequestCaptureTestByCamera()
1538 mCollector.addMessage("Capture zero burst should throw IllegalArgumentException " + in invalidRequestCaptureTestByCamera()
1547 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1556 mCollector.addMessage("Session captureBurst should throw " + in invalidRequestCaptureTestByCamera()
1575 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1584 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1594 mCollector.addMessage("Session setRepeatingBurst should throw " + in invalidRequestCaptureTestByCamera()
1687 mCollector.addError(e); in runCaptureTest()
[all …]
DExtendedCameraCharacteristicsTest.java516 new StaticMetadata(c, StaticMetadata.CheckLevel.ASSERT, mCollector); in testSPerfClassJpegSizesByCamera()
524 mCollector.expectTrue( in testSPerfClassJpegSizesByCamera()
559 mCollector.expectTrue("isSessionConfiguration fails with error", in testSPerfClassJpegSizesByCamera()
561 mCollector.expectTrue("isSessionConfiguration returns false for JPEG < 1080p", in testSPerfClassJpegSizesByCamera()
1122 mCollector.setCameraId(allCameraIds[i]); in testKeys()
1137 mCollector.expectKeyValueNotNull(c, key); in testKeys()
1277 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys()
1279 mCollector.expectLessOrEqual("Version too long: " + version, MAX_VERSION_LENGTH, in testKeys()
1305 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
1309 mCollector.expectKeyValueContains(c, in testStaticRawCharacteristics()
[all …]
DCameraDeviceSetupTest.java96 mCollector.expectNotNull(CameraCharacteristics.INFO_SESSION_CONFIGURATION_QUERY_VERSION in testCameraDeviceSetupSupport()
106 mCollector.expectEquals(CameraCharacteristics.INFO_SESSION_CONFIGURATION_QUERY_VERSION in testCameraDeviceSetupSupport()
125 mCollector.expectEquals("Camera ID of created object is not the same as that " in testCameraDeviceSetupCreationSuccessful()
188 mCollector.expectEquals("CameraDeviceSetup and created CameraDevice must have " in testOpenSuccessful()
251 mCollector.expectNotNull("Session Characteristics keys must not be null", in testSessionCharacteristics()
257 mCollector.expectNotNull(key.toString() in testSessionCharacteristics()
270 mCollector.expectEquals( in testSessionCharacteristics()
275 mCollector.expectEquals( in testSessionCharacteristics()
279 mCollector.expectContainsAll( in testSessionCharacteristics()
317 mCollector.expectEquals( in checkSessionCharacteristicsForNoCallbackConfig()
[all …]
DCaptureRequestTest.java1197 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs fixed black level" in dynamicBlackWhiteLevelTestByCamera()
1201 mCollector.expectLessOrEqual("Max deviation of the dynamic white level exceed threshold." in dynamicBlackWhiteLevelTestByCamera()
1219 mCollector.expectLessOrEqual("Max deviation of the dynamic black level vs optical black" in dynamicBlackWhiteLevelTestByCamera()
1295 mCollector.expectLessOrEqual("Focus distance should be less than or equal to " in verifyFocusRange()
1297 mCollector.expectGreaterOrEqual("Focus distance should be greater than or equal to " in verifyFocusRange()
1358mCollector.expectInRange("Focus distance for hyper focal should be close enough to" + in focusDistanceTestRepeating()
1456 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance()
1459 mCollector.expectInRange("Focus distance in result should be close enough to " + in verifyFocusDistance()
1462 mCollector.expectInRange("Result focus distance is out of range", in verifyFocusDistance()
1479 mCollector.expectTrue(String.format( in verifyFocusDistance()
[all …]
DStillCaptureTest.java755 setJpegKeys(stillRequest, exifTestData, thumbnailSize, mCollector); in focalLengthTestByCamera()
774 mCollector.expectEquals( in focalLengthTestByCamera()
779 mCollector.expectTrue( in focalLengthTestByCamera()
791 mCollector.expectEquals( in focalLengthTestByCamera()
796 mCollector.expectTrue( in focalLengthTestByCamera()
805 mStaticInfo, mAllStaticInfo, mCollector, mDebugFileNameBase, ImageFormat.JPEG); in focalLengthTestByCamera()
980 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
986 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
1024 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
1031 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
[all …]
DFeatureCombinationTest.java210 mCollector.expectEquals("isSessionConfigurationSupported return value " in testIsSessionConfigurationSupported()
239 mCollector.addMessage(String.format( in testIsSessionConfigurationSupported()
250 mCollector.addMessage(String.format( in testIsSessionConfigurationSupported()
351 mCollector.expectNotNull("Result is null for combination " in verifyCombinationStreaming()
358 mCollector.expectEquals( in verifyCombinationStreaming()
367 mCollector.expectEquals("resultFpsRange doesn't match for " in verifyCombinationStreaming()
372 mCollector.expectInRange("frameDuration doesn't match for " in verifyCombinationStreaming()
386 mCollector.expectInRange( in verifyCombinationStreaming()
436 mCollector.expectEquals(String.format( in testVPerfClassCombination()
449 mCollector.addMPCFailure(); in testVPerfClassCombination()
[all …]
DCaptureResultTest.java128 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys()
212 mCollector.expectLessOrEqual("Too many partial results", in testPartialResult()
217 mCollector.expectEquals("Partial capture result camera ID must be correct", in testPartialResult()
220 mCollector.expectValuesUnique("Partial result keys: ", partialKeys); in testPartialResult()
222 mCollector.expectTrue( in testPartialResult()
231 mCollector.expectEquals("Total capture result camera ID must be correct", in testPartialResult()
234 mCollector.expectTrue( in testPartialResult()
239 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult()
252 mCollector.addMessage("Listener received multiple onCaptureComplete" + in testPartialResult()
256 mCollector.addMessage("Listener received onCaptureStart or" + in testPartialResult()
[all …]
DReadoutTimestampTest.java163 mCollector.expectTrue(String.format("Camera %s timestampBase %d: timestamps[%d] should " in testReadoutTimestamp()
166 mCollector.expectTrue(String.format("Camera %s timestampBase %d: timestamps[%d] should " in testReadoutTimestamp()
180 mCollector.expectEquals("Camera " + cameraId + " timestampBase " + timestampBase in testReadoutTimestamp()
197 mCollector.expectTrue("Camera " + cameraId + " timestampBase " + timestampBase in testReadoutTimestamp()
203 mCollector.expectTrue("Camera " + cameraId + "timestampBase " + timestampBase in testReadoutTimestamp()
DCameraExtensionSessionTest.java135 private CameraErrorCollector mCollector = null; field in CameraExtensionSessionTest
144 mCollector = new CameraErrorCollector(); in setUp()
176 if (mCollector != null) { in tearDown()
178 mCollector.verify(); in tearDown()
488 mCollector); in testRepeatingCapture()
647 extension), mCollector); in testPostviewAndCapture()
919 mCollector); in test10bitRepeatingAndCaptureCombined()
951 mCollector); in test10bitRepeatingAndCaptureCombined()
1126 mCollector); in testMultiFrameCapture()
1488 mCollector, afState, null /*flashState*/, null /*aeState*/, in testRepeatingAndCaptureCombined()
[all …]
DMultiResolutionImageReaderTest.java335 mCollector.addMessage( in testMultiResolutionMandatoryStreamCombination()
346 mCollector.addMessage( in testMultiResolutionMandatoryStreamCombination()
500 mCollector.expectEquals(String.format("Output image width %d doesn't match " + in validateImage()
503 mCollector.expectEquals(String.format("Output image height %d doesn't match " + in validateImage()
511 mCollector.expectEquals(String.format("Output image format %d doesn't match " + in validateImage()
524 mCollector.expectNotNull( in validateImage()
527 mCollector.expectEquals(String.format("Active physical camera id %s doesn't " + in validateImage()
543 mCollector.expectTrue(String.format("Camera's physical camera id + image size " + in validateImage()
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.java242 mCollector.expectTrue("Camera " + mCamera.getId() + " activePhysicalId " + in bufferFormatZoomTestByCamera()
251 mCollector.expectTrue("The lens intrinsic calibration between " + in bufferFormatZoomTestByCamera()
317 mCollector.expectTrue("Logical camera's activePhysicalCamera should not " + in bufferFormatZoomTestByCamera()
DLogicalCameraDeviceTest.java722 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch()
733 mCollector.expectTrue("The lens intrinsics between two " + in testLogicalCameraZoomSwitch()
738 mCollector.expectNull("If not supported, lens intrinsics " + in testLogicalCameraZoomSwitch()
741 mCollector.expectNull("If not supported, lens intrinsics " + in testLogicalCameraZoomSwitch()
756 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch()
924 mCollector.expectInRange("Camera " + id + " template " + template + in testDefaultFov()
1183 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1207 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListener, in testBasicPhysicalStreamingForCamera()
1222 CaptureResultTest.validateCaptureResult(mCollector, simpleResultListenerDual, in testBasicPhysicalStreamingForCamera()
1292 mCollector.expectTrue( in testBasicPhysicalStreamingForCamera()
[all …]
DSurfaceViewPreviewTest.java300 mCollector.expectTrue( in preparePerformanceTestByCamera()
308 mCollector.expectTrue( in preparePerformanceTestByCamera()
711 mCollector.expectInRange( in verifyPreviewTargetFpsRange()
716 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
720 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
723 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DImageWriterTest.java523 mCollector.expectTrue( in readerWriterFormatTestByCamera()
539 mCollector.expectTrue("ImageWriter 1st output image should match 1st camera image", in readerWriterFormatTestByCamera()
575 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
624 mCollector.expectImageProperties(msg + "Opaque ", image, CAMERA_PRIVATE_FORMAT, in validateOpaqueImage()
626 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
DConcurrentCameraTest.java264 mCollector.addMessage(String.format( in testMandatoryConcurrentStreamCombination()
305 mCollector.addMessage(String.format( in testMandatoryConcurrentStreamCombination()
323 mCollector.addMessage( in testMandatoryConcurrentStreamCombination()
DRobustnessTest.java460 mCollector.addMessage("No capture failures expected, but there was a failure"); in testMandatoryOutputCombinationWithPresetKeys()
464 mCollector.addMessage( in testMandatoryOutputCombinationWithPresetKeys()
475 mCollector.addMessage( in testMandatoryOutputCombinationWithPresetKeys()
490 mCollector.addMessage("SCALER_RAW_CROP_REGION should not be null " + in validateResultMandatoryConditions()
495 mCollector.addMessage("RAW_CROP_REGION dimensions should be <= pre correction" in validateResultMandatoryConditions()
652 mCollector.addMessage(String.format("Mandatory stream combination: %s failed due: %s", in testMandatoryStreamCombination()
661 mCollector.addMessage( in testMandatoryStreamCombination()
829 mCollector.addMessage( in testMandatory10BitStreamCombination()
1084 mCollector.addMessage(String.format("Reprocess stream combination %s failed due to: %s", in testMandatoryReprocessableStreamCombination()
1947 mCollector.expectKeyValueIsIn(result, in testAfSceneChange()
[all …]
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()
DHeifWriterTest.java391 mCollector.expectInRange( in validateCaptureResult()
399 mCollector.expectInRange( in validateCaptureResult()
/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.java88 protected CameraErrorCollector mCollector; field in Camera2ConcurrentAndroidTestCase
110 mCollector = new CameraErrorCollector(); in setUp()
177 if (mCollector != null) { in tearDown()
178 mCollector.verify(); in tearDown()
258 mCollector.setCameraId(cameraId); in openDevice()
DCamera2AndroidTestCase.java95 protected CameraErrorCollector mCollector; field in Camera2AndroidTestCase
134 mCollector = new CameraErrorCollector(); in setUp()
180 if (mCollector != null) { in tearDown()
181 mCollector.verify(); in tearDown()
285 mCollector.setCameraId(cameraId); in openDevice()
DCamera2AndroidTestRule.java85 private CameraErrorCollector mCollector; field in Camera2AndroidTestRule
197 return mCollector; in getCollector()
249 mCollector = new CameraErrorCollector(); in before()
299 mCollector.verify(); in after()
369 mCollector.setCameraId(cameraId); in openDevice()
DCamera2SurfaceViewTestCase.java103 protected CameraErrorCollector mCollector; field in Camera2SurfaceViewTestCase
134 mCollector = new CameraErrorCollector(); in setUp()
174 mCollector.verify(); in tearDown()
637 mCollector.setCameraId(cameraId); in openDevice()

12