Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java143 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() method in CameraErrorCollector
185 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() method in CameraErrorCollector
289 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() method in CameraErrorCollector
312 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() method in CameraErrorCollector
454 if (!expectEquals(differentSizesMsg, expected.length, actual.length)) return false; in expectMeteringRegionsAreSimilar()
465 if (!expectEquals(differentWeightsMsg, in expectMeteringRegionsAreSimilar()
1056 expectEquals(msg + "Image format is wrong.", image.getFormat(), format); in expectImageProperties()
1057 expectEquals(msg + "Image width is wrong.", image.getWidth(), size.getWidth()); in expectImageProperties()
1058 expectEquals(msg + "Image height is wrong.", image.getHeight(), size.getHeight()); in expectImageProperties()
1059 expectEquals(msg + "Image timestamp is wrong.", image.getTimestamp(), timestampNs); in expectImageProperties()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCaptureRequestTest.java848 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
850 mCollector.expectEquals("Color correction gain result/request mismatch", in colorCorrectionTestByCamera()
852 mCollector.expectEquals("Color correction gain result/request mismatch", in colorCorrectionTestByCamera()
865 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
876 mCollector.expectEquals("control mode result/request mismatch", in colorCorrectionTestByCamera()
901 mCollector.expectEquals("color correction mode result/request mismatch", in validateColorCorrectionResult()
936 mCollector.expectEquals("No flash unit available, flash state must be UNAVAILABLE" in flashTestByAeMode()
958 mCollector.expectEquals("Flash mode result must be SINGLE", in flashTestByAeMode()
960 mCollector.expectEquals("Flash state result must be FIRED", in flashTestByAeMode()
979 mCollector.expectEquals("Flash mode result " + i + " must be TORCH", in flashTestByAeMode()
[all …]
DCameraTestUtils.java1695 collector.expectEquals("JPEG thumbnail size request set and get should match", in setJpegKeys()
1700 collector.expectEquals("JPEG orientation request set and get should match", in setJpegKeys()
1703 collector.expectEquals("JPEG quality request set and get should match", in setJpegKeys()
1705 collector.expectEquals("JPEG thumbnail quality request set and get should match", in setJpegKeys()
1786 collector.expectEquals("JPEG thumbnail size result and request should match", in verifyJpegKeys()
1794 collector.expectEquals("JPEG orientation result and request should match", in verifyJpegKeys()
1797 collector.expectEquals("JPEG quality result and request should match", in verifyJpegKeys()
1799 collector.expectEquals("JPEG thumbnail quality result and request should match", in verifyJpegKeys()
1952 collector.expectEquals("Exif orientaiton should match requested orientation", in verifyJpegExifExtraTags()
1965 collector.expectEquals("Exif size should match jpeg capture size", jpegSize, exifSize); in verifyJpegExifExtraTags()
[all …]
DCaptureResultTest.java236 mCollector.expectEquals("TotalCaptureResult's partial results must match " + in testPartialResult()
367 mCollector.expectEquals(msg + ": Capture timestamp must be same as resultImage timestamp", in validateTimestamps()
389 mCollector.expectEquals(msg, in validateCaptureResult()
393 mCollector.expectEquals(msg, in validateCaptureResult()
397 mCollector.expectEquals(msg, in validateCaptureResult()
401 mCollector.expectEquals(msg, in validateCaptureResult()
405 mCollector.expectEquals(msg, in validateCaptureResult()
409 mCollector.expectEquals(msg, in validateCaptureResult()
413 mCollector.expectEquals(msg, in validateCaptureResult()
DStillCaptureTest.java544 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
550 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
588 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
610 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
843 mCollector.expectEquals("NeutralColorPoint length", empty.length, in verifyRawCaptureResult()
856 mCollector.expectEquals("NoiseProfile length", noiseProfile.length, in verifyRawCaptureResult()
1100 mCollector.expectEquals("Exposure compensation result should match requested value.", in aeCompensationTestByCamera()
DCameraDeviceTest.java1342 mCollector.expectEquals("Default metering regions should have all zero weight", in checkMeteringRect()
1431 mCollector.expectEquals("Lens aperture must be present in request if available apertures " + in checkRequestForTemplate()
1443 mCollector.expectEquals("Lens filter density must be present in request if available " + in checkRequestForTemplate()
1463 mCollector.expectEquals("Lens optical stabilization must be present in request if " + in checkRequestForTemplate()
1525 mCollector.expectEquals("Edge mode must be present in request if " + in checkRequestForTemplate()
1545 mCollector.expectEquals("Noise reduction mode must be present in request if " + in checkRequestForTemplate()
1585 mCollector.expectEquals("Tonemap mode must be present in request if " + in checkRequestForTemplate()