Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java78 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel()
85 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel()
87 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel()
93 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel()
95 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel()
98 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel()
102 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel()
107 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel()
112 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel()
150 mCollector.expectTrue("max number of raw output streams must be a non negative number", in testMaxNumOutputStreams()
[all …]
DExtendedCameraCharacteristicsTest.java454 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys()
791 mCollector.expectTrue("Support reprocessing but max number of input stream is " + in testReprocessingCharacteristics()
793 mCollector.expectTrue("Support reprocessing but EDGE_MODE_ZERO_SHUTTER_LAG is " + in testReprocessingCharacteristics()
795 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics()
802 mCollector.expectTrue("Support reprocessing but EDGE_MODE_HIGH_QUALITY is " + in testReprocessingCharacteristics()
804 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics()
809 mCollector.expectTrue("YUV_420_888 input must be supported for YUV reprocessing", in testReprocessingCharacteristics()
811 mCollector.expectTrue("PRIVATE input must be supported for OPAQUE reprocessing", in testReprocessingCharacteristics()
817 mCollector.expectTrue("max capture stall must be non-null and no larger than " in testReprocessingCharacteristics()
824 mCollector.expectTrue("YUV_420_888 output must be supported for reprocessing", in testReprocessingCharacteristics()
[all …]
DImageWriterTest.java232 mCollector.expectTrue( in readerWriterFormatTestByCamera()
243 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera()
279 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera()
330 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
DBurstCaptureRawTest.java250 mCollector.expectTrue( in execute()
256 mCollector.expectTrue( in execute()
328 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute()
331 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute()
335 mCollector.expectTrue( in execute()
341 mCollector.expectTrue( in execute()
DSurfaceViewPreviewTest.java279 mCollector.expectTrue( in preparePerformanceTestByCamera()
287 mCollector.expectTrue( in preparePerformanceTestByCamera()
317 mCollector.expectTrue( in preparePerformanceTestByCamera()
324 mCollector.expectTrue( in preparePerformanceTestByCamera()
735 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange()
739 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange()
742 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
DCaptureRequestTest.java1189 mCollector.expectTrue(String.format( in verifyFocusDistance()
1203 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance()
1208 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance()
1455 mCollector.expectTrue( in flashTestByAeMode()
1468 mCollector.expectTrue("Torch state FIRED never seen", in flashTestByAeMode()
1883 mCollector.expectTrue("Face id is expected to be -1 for SIMPLE mode",
1893 boolean faceRectAvailable = mCollector.expectTrue("Face rectangle "
1903 mCollector.expectTrue("Face id is shouldn't be -1 for FULL mode",
1906 mCollector.expectTrue("Left eye position shouldn't be null",
1909 mCollector.expectTrue("Right eye position shouldn't be null",
[all …]
DStillCaptureTest.java1088 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult()
1121 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult()
1124 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult()
1134 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult()
1334 mCollector.expectTrue("Exposure lock should be set", in aeCompensationTestByCamera()
1519 mCollector.expectTrue( in isRegionsSupportedFor3A()
DRecordingTest.java695 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1782 mCollector.expectTrue(
1802 mCollector.expectTrue(
1852 mCollector.expectTrue(
DImageReaderTest.java914 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
922 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
DCaptureResultTest.java220 mCollector.expectTrue( in testPartialResult()
230 mCollector.expectTrue( in testPartialResult()
DRobustnessTest.java1121 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode()
1128 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java123 public boolean expectTrue(String msg, boolean condition) { in expectTrue() method in CameraErrorCollector
232 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreater()
246 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreaterOrEqual()
260 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLess()
274 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLessOrEqual()
334 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesGreaterOrEqual()
363 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesInRange()
411 return expectTrue(msg + String.format(", value " + value.toString() in expectInRange()
448 if (!expectTrue(differentSizesMsg, actual != null)) { in expectMeteringRegionsAreSimilar()
575 succ = expectTrue(formattedMsg + tooLarge, in expectSimilarValues()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1968 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys()
2034 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys()
2037 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys()
2061 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys()
2112 if (collector.expectTrue("Focal length is invalid", in validateFocalLength()
2116 collector.expectTrue("Focal length should be one of the available focal length", in validateFocalLength()
2133 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture()
2137 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture()
2205 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags()
2246 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.java144 mCollector.expectTrue("CaptureRequest.CONTROL_ENABLE_ZSL should be false.", in testEnableZslValueByCamera()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1006 passedSoFar = expectTrue(failureMsg, logBuf, exposureTimeValue > 0); in checkExtraExifTagsSucceeds()
1016 passedSoFar = expectTrue("Exif TAG_APERTURE value " + aperture + " should be positive!", in checkExtraExifTagsSucceeds()
1035 passedSoFar = expectTrue("Exif TAG_MODEL value: " + make in checkExtraExifTagsSucceeds()
1045 passedSoFar = expectTrue("Exif TAG_MODEL value: " + model in checkExtraExifTagsSucceeds()
1053 passedSoFar = expectTrue("Exif ISO value " + iso + " is invalid", logBuf, iso > 0); in checkExtraExifTagsSucceeds()
1063 passedSoFar = expectTrue("dataTime should match digitizedTime", logBuf, in checkExtraExifTagsSucceeds()
1077 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1083 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1089 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds()
1120 private boolean expectTrue(String msg, StringBuffer logBuffer, boolean condition) { in expectTrue() method in CameraTest