Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java719 mCollector.expectTrue("Support reprocessing but max number of input stream is " + in testReprocessingCharacteristics()
721 mCollector.expectTrue("Support reprocessing but EDGE_MODE_ZERO_SHUTTER_LAG is " + in testReprocessingCharacteristics()
723 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics()
730 mCollector.expectTrue("Support reprocessing but EDGE_MODE_HIGH_QUALITY is " + in testReprocessingCharacteristics()
732 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics()
737 mCollector.expectTrue("YUV_420_888 input must be supported for YUV reprocessing", in testReprocessingCharacteristics()
739 mCollector.expectTrue("PRIVATE input must be supported for OPAQUE reprocessing", in testReprocessingCharacteristics()
745 mCollector.expectTrue("max capture stall must be non-null and no larger than " in testReprocessingCharacteristics()
752 mCollector.expectTrue("YUV_420_888 output must be supported for reprocessing", in testReprocessingCharacteristics()
754 mCollector.expectTrue("JPEG output must be supported for reprocessing", in testReprocessingCharacteristics()
[all …]
DStaticMetadataTest.java76 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
83 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel()
85 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel()
91 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
93 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
96 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
100 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
105 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
110 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
148 mCollector.expectTrue("max number of raw output streams must be a non negative number", in testMaxNumOutputStreams()
[all …]
DImageWriterTest.java230 mCollector.expectTrue( in readerWriterFormatTestByCamera()
241 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera()
277 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
328 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()
DSurfaceViewPreviewTest.java277 mCollector.expectTrue( in preparePerformanceTestByCamera()
285 mCollector.expectTrue( in preparePerformanceTestByCamera()
315 mCollector.expectTrue( in preparePerformanceTestByCamera()
322 mCollector.expectTrue( in preparePerformanceTestByCamera()
733 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
737 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
740 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DCaptureRequestTest.java1100 mCollector.expectTrue(String.format( in verifyFocusDistance()
1114 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance()
1119 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance()
1366 mCollector.expectTrue( in flashTestByAeMode()
1379 mCollector.expectTrue("Torch state FIRED never seen", in flashTestByAeMode()
1784 mCollector.expectTrue("Face id is expected to be -1 for SIMPLE mode",
1794 boolean faceRectAvailable = mCollector.expectTrue("Face rectangle "
1804 mCollector.expectTrue("Face id is shouldn't be -1 for FULL mode",
1807 mCollector.expectTrue("Left eye position shouldn't be null",
1810 mCollector.expectTrue("Right eye position shouldn't be null",
[all …]
DStillCaptureTest.java999 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult()
1032 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult()
1035 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult()
1045 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult()
1245 mCollector.expectTrue("Exposure lock should be set", in aeCompensationTestByCamera()
1430 mCollector.expectTrue( in isRegionsSupportedFor3A()
DRecordingTest.java540 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1506 mCollector.expectTrue(
1526 mCollector.expectTrue(
1576 mCollector.expectTrue(
DCaptureResultTest.java222 mCollector.expectTrue( in testPartialResult()
232 mCollector.expectTrue( in testPartialResult()
DImageReaderTest.java864 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
872 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
/cts/tests/camera/utils/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()
577 succ = expectTrue(formattedMsg + tooLarge, in expectSimilarValues()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1914 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys()
1980 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys()
1983 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys()
2007 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys()
2058 if (collector.expectTrue("Focal length is invalid", in validateFocalLength()
2062 collector.expectTrue("Focal length should be one of the available focal length", in validateFocalLength()
2079 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture()
2083 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture()
2151 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags()
2192 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags()
[all …]
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java132 mCollector.expectTrue("CaptureRequest.CONTROL_ENABLE_ZSL should be false.", in testEnableZslValueByCamera()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java945 passedSoFar = expectTrue(failureMsg, logBuf, exposureTimeValue > 0); in checkExtraExifTagsSucceeds()
955 passedSoFar = expectTrue("Exif TAG_APERTURE value " + aperture + " should be positive!", in checkExtraExifTagsSucceeds()
974 passedSoFar = expectTrue("Exif TAG_MODEL value: " + make in checkExtraExifTagsSucceeds()
984 passedSoFar = expectTrue("Exif TAG_MODEL value: " + model in checkExtraExifTagsSucceeds()
992 passedSoFar = expectTrue("Exif ISO value " + iso + " is invalid", logBuf, iso > 0); in checkExtraExifTagsSucceeds()
1002 passedSoFar = expectTrue("dataTime should match digitizedTime", logBuf, in checkExtraExifTagsSucceeds()
1016 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1022 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1028 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1059 private boolean expectTrue(String msg, StringBuffer logBuffer, boolean condition) { in expectTrue() method in CameraTest