Home
last modified time | relevance | path

Searched refs:expectTrue (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DStaticMetadataTest.java76 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
83 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
85 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
88 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
92 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
97 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
102 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
130 mCollector.expectTrue("max number of raw output streams must be a non negative number", in testMaxNumOutputStreams()
132 mCollector.expectTrue("max number of processed (stalling) output streams must be >= 1", in testMaxNumOutputStreams()
136 mCollector.expectTrue("max number of processed (non-stalling) output streams" + in testMaxNumOutputStreams()
[all …]
DExtendedCameraCharacteristicsTest.java680 mCollector.expectTrue("Support reprocessing but max number of input stream is " + in testReprocessingCharacteristics()
682 mCollector.expectTrue("Support reprocessing but EDGE_MODE_ZERO_SHUTTER_LAG is " + in testReprocessingCharacteristics()
684 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics()
689 mCollector.expectTrue("YUV_420_888 input must be supported for YUV reprocessing", in testReprocessingCharacteristics()
691 mCollector.expectTrue("PRIVATE input must be supported for OPAQUE reprocessing", in testReprocessingCharacteristics()
697 mCollector.expectTrue("max capture stall must be non-null and no larger than " in testReprocessingCharacteristics()
704 mCollector.expectTrue("YUV_420_888 output must be supported for reprocessing", in testReprocessingCharacteristics()
706 mCollector.expectTrue("JPEG output must be supported for reprocessing", in testReprocessingCharacteristics()
713 mCollector.expectTrue("no input size supported for format " + input, in testReprocessingCharacteristics()
715 mCollector.expectTrue("no output size supported for format " + input, in testReprocessingCharacteristics()
[all …]
DSurfaceViewPreviewTest.java245 mCollector.expectTrue( in preparePerformanceTestByCamera()
253 mCollector.expectTrue( in preparePerformanceTestByCamera()
283 mCollector.expectTrue( in preparePerformanceTestByCamera()
290 mCollector.expectTrue( in preparePerformanceTestByCamera()
384 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
388 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
391 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DImageWriterTest.java265 mCollector.expectTrue( in readerWriterFormatTestByCamera()
276 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera()
312 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
363 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
DBurstCaptureRawTest.java248 mCollector.expectTrue( in execute()
254 mCollector.expectTrue( in execute()
326 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute()
329 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute()
333 mCollector.expectTrue( in execute()
339 mCollector.expectTrue( in execute()
DCameraTestUtils.java1697 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys()
1763 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys()
1766 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys()
1790 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys()
1840 if (collector.expectTrue("Focal length is invalid", in validateFocalLength()
1844 collector.expectTrue("Focal length should be one of the available focal length", in validateFocalLength()
1861 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture()
1865 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture()
1932 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags()
1973 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags()
[all …]
DCaptureRequestTest.java990 mCollector.expectTrue( in flashTestByAeMode()
1003 mCollector.expectTrue("Torch state FIRED never seen", in flashTestByAeMode()
1408 mCollector.expectTrue("Face id is expected to be -1 for SIMPLE mode",
1418 boolean faceRectAvailable = mCollector.expectTrue("Face rectangle "
1428 mCollector.expectTrue("Face id is shouldn't be -1 for FULL mode",
1431 mCollector.expectTrue("Left eye position shouldn't be null",
1434 mCollector.expectTrue("Right eye position shouldn't be null",
1437 mCollector.expectTrue("Mouth position shouldn't be null",
1442 mCollector.expectTrue("Left eye " + leftEye + "should be"
1448 mCollector.expectTrue("Right eye " + rightEye + "should be"
[all …]
DStillCaptureTest.java859 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult()
892 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult()
895 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult()
905 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult()
1104 mCollector.expectTrue("Exposure lock should be set", in aeCompensationTestByCamera()
1285 mCollector.expectTrue( in isRegionsSupportedFor3A()
DRecordingTest.java424 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1256 mCollector.expectTrue(
1276 mCollector.expectTrue(
1326 mCollector.expectTrue(
DCaptureResultTest.java221 mCollector.expectTrue( in testPartialResult()
231 mCollector.expectTrue( in testPartialResult()
DImageReaderTest.java785 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
793 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java125 public boolean expectTrue(String msg, boolean condition) { in expectTrue() method in CameraErrorCollector
234 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreater()
248 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreaterOrEqual()
262 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLess()
276 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLessOrEqual()
336 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesGreaterOrEqual()
365 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesInRange()
413 return expectTrue(msg + String.format(", value " + value.toString() in expectInRange()
450 if (!expectTrue(differentSizesMsg, actual != null)) { in expectMeteringRegionsAreSimilar()
585 succ = expectTrue(formattedMsg + tooLarge, in expectSimilarValues()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java947 passedSoFar = expectTrue(failureMsg, logBuf, exposureTimeValue > 0); in checkExtraExifTagsSucceeds()
957 passedSoFar = expectTrue("Exif TAG_APERTURE value " + aperture + " should be positive!", in checkExtraExifTagsSucceeds()
976 passedSoFar = expectTrue("Exif TAG_MODEL value: " + make in checkExtraExifTagsSucceeds()
986 passedSoFar = expectTrue("Exif TAG_MODEL value: " + model in checkExtraExifTagsSucceeds()
994 passedSoFar = expectTrue("Exif ISO value " + iso + " is invalid", logBuf, iso > 0); in checkExtraExifTagsSucceeds()
1004 passedSoFar = expectTrue("dataTime should match digitizedTime", logBuf, in checkExtraExifTagsSucceeds()
1018 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1024 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1030 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1061 private boolean expectTrue(String msg, StringBuffer logBuffer, boolean condition) { in expectTrue() method in CameraTest