Home
last modified time | relevance | path

Searched refs:expectEquals (Results 1 – 14 of 14) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceSetupTest.java106 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()
270 mCollector.expectEquals( in testSessionCharacteristics()
275 mCollector.expectEquals( in testSessionCharacteristics()
317 mCollector.expectEquals( in checkSessionCharacteristicsForNoCallbackConfig()
324 mCollector.expectEquals( in checkSessionCharacteristicsForNoCallbackConfig()
337 mCollector.expectEquals( in checkSessionCharacteristicsForNoCallbackConfig()
341 mCollector.expectEquals("Executor set by setStateCallback not reflect in getExecutor.", in checkSessionCharacteristicsForNoCallbackConfig()
429 mCollector.expectEquals("The CaptureRequest created by CameraDeviceSetup " in testCameraDeviceSetupTemplatesByCamera()
[all …]
DCaptureResultTest.java217 mCollector.expectEquals("Partial capture result camera ID must be correct", in testPartialResult()
231 mCollector.expectEquals("Total capture result camera ID must be correct", in testPartialResult()
239 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult()
419 mCollector.expectEquals(msg + ": Capture timestamp must be same as resultImage timestamp", in validateTimestamps()
506 errorCollector.expectEquals(msg, in validateOneCaptureResult()
510 errorCollector.expectEquals(msg, in validateOneCaptureResult()
514 errorCollector.expectEquals(msg, in validateOneCaptureResult()
518 errorCollector.expectEquals(msg, in validateOneCaptureResult()
522 errorCollector.expectEquals(msg, in validateOneCaptureResult()
526 errorCollector.expectEquals(msg, in validateOneCaptureResult()
[all …]
DCaptureRequestTest.java1456 mCollector.expectEquals("Lens moves even though focus_distance didn't change", in verifyFocusDistance()
1603 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
1605 mCollector.expectEquals("Color correction gain result/request mismatch", in colorCorrectionTestByCamera()
1607 mCollector.expectEquals("Color correction gain result/request mismatch", in colorCorrectionTestByCamera()
1620 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
1631 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
1656 mCollector.expectEquals("color correction mode result/request mismatch", in validateColorCorrectionResult()
1691 mCollector.expectEquals("Flash state result must be FIRED", CaptureResult.FLASH_STATE_FIRED, in flashTurnOffTest()
1758 mCollector.expectEquals("For LEGACY devices, flash state must be FIRED when" + in testLegacyTorchStates()
1815 mCollector.expectEquals("flash state result must be READY", in checkTorchStates()
[all …]
DMultiResolutionImageReaderTest.java500 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()
527 mCollector.expectEquals(String.format("Active physical camera id %s doesn't " + in validateImage()
DFeatureCombinationTest.java210 mCollector.expectEquals("isSessionConfigurationSupported return value " in testIsSessionConfigurationSupported()
358 mCollector.expectEquals( in verifyCombinationStreaming()
367 mCollector.expectEquals("resultFpsRange doesn't match for " in verifyCombinationStreaming()
436 mCollector.expectEquals(String.format( in testVPerfClassCombination()
500 mCollector.expectEquals( in testVPerfClassRequirements()
DStillCaptureTest.java774 mCollector.expectEquals( in focalLengthTestByCamera()
791 mCollector.expectEquals( 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()
1046 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
1309 mCollector.expectEquals("NeutralColorPoint length", empty.length, in verifyRawCaptureResult()
1341 mCollector.expectEquals("NoiseProfile length", noiseProfile.length, numCfaChannels); in verifyRawCaptureResult()
1642 mCollector.expectEquals("Exposure compensation result should match requested value.", in aeCompensationTestByCamera()
DCameraDeviceTest.java2057 mCollector.expectEquals("Default metering regions should have all zero weight", in checkMeteringRect()
2146 mCollector.expectEquals("Lens aperture must be present in request if available apertures " + in checkRequestForTemplate()
2158 mCollector.expectEquals("Lens filter density must be present in request if available " + in checkRequestForTemplate()
2182 mCollector.expectEquals("Lens optical stabilization must be present in request if " + in checkRequestForTemplate()
2250 mCollector.expectEquals("Edge mode must be present in request if " + in checkRequestForTemplate()
2274 mCollector.expectEquals("Noise reduction mode must be present in request if " + in checkRequestForTemplate()
2295 mCollector.expectEquals("Hot pixel mode must be present in request if " + in checkRequestForTemplate()
2320 mCollector.expectEquals("Aberration correction mode must be present in request if " + in checkRequestForTemplate()
2432 mCollector.expectEquals("Tonemap mode must be present in request if " + in checkRequestForTemplate()
DReadoutTimestampTest.java180 mCollector.expectEquals("Camera " + cameraId + " timestampBase " + timestampBase in testReadoutTimestamp()
DStaticMetadataTest.java616 mCollector.expectEquals( in testSessionCharacteristicsKeys()
635 mCollector.expectEquals( in testCameraCharacteristicKeysAreUnique()
DMultiResolutionReprocessCaptureTest.java430 mCollector.expectEquals(String.format( in testMultiResolutionMandatoryStreamCombination()
DExtendedCameraCharacteristicsTest.java1373 mCollector.expectEquals( in testStaticRawCharacteristics()
3024 mCollector.expectEquals("Logical camera and physical cameras must have same " + in testLogicalCameraCharacteristics()
DCameraExtensionSessionTest.java2047 mCollector.expectEquals("Unexpected extension type result: " + currentType in onCaptureResultAvailable()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java154 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() method in CameraErrorCollector
155 return expectEquals(msg, expected, actual, /*mpc*/false); in expectEquals()
169 public <T> boolean expectEquals(String msg, T expected, T actual, boolean mpc) { in expectEquals() method in CameraErrorCollector
215 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() method in CameraErrorCollector
351 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() method in CameraErrorCollector
374 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() method in CameraErrorCollector
516 if (!expectEquals(differentSizesMsg, expected.length, actual.length)) return false; in expectMeteringRegionsAreSimilar()
530 if (!expectEquals(differentWeightsMsg, in expectMeteringRegionsAreSimilar()
1176 expectEquals(msg + "Image format is wrong.", image.getFormat(), format); in expectImageProperties()
1177 expectEquals(msg + "Image width is wrong.", image.getWidth(), size.getWidth()); in expectImageProperties()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3358 collector.expectEquals("JPEG thumbnail size request set and get should match", in setJpegKeys()
3363 collector.expectEquals("JPEG orientation request set and get should match", in setJpegKeys()
3366 collector.expectEquals("JPEG quality request set and get should match", in setJpegKeys()
3368 collector.expectEquals("JPEG thumbnail quality request set and get should match", in setJpegKeys()
3456 collector.expectEquals("JPEG thumbnail size result and request should match", in verifyJpegKeys()
3464 collector.expectEquals("JPEG orientation result and request should match", in verifyJpegKeys()
3467 collector.expectEquals("JPEG quality result and request should match", in verifyJpegKeys()
3469 collector.expectEquals("JPEG thumbnail quality result and request should match", in verifyJpegKeys()
3735 collector.expectEquals("Exif orientaiton should match requested orientation", in verifyJpegExifExtraTags()
3748 collector.expectEquals("Exif size should match jpeg capture size", jpegSize, exifSize); in verifyJpegExifExtraTags()
[all …]