/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 73 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel() 80 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel() 82 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel() 88 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel() 90 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel() 93 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel() 97 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel() 102 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel() 107 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel() 145 mCollector.expectTrue("max number of raw output streams must be a non negative number", in testMaxNumOutputStreams() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 1028 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys() 1375 mCollector.expectTrue("Support reprocessing but max number of input stream is " + in testReprocessingCharacteristics() 1377 mCollector.expectTrue("Support reprocessing but EDGE_MODE_ZERO_SHUTTER_LAG is " + in testReprocessingCharacteristics() 1379 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics() 1386 mCollector.expectTrue("Support reprocessing but EDGE_MODE_HIGH_QUALITY is " + in testReprocessingCharacteristics() 1388 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics() 1393 mCollector.expectTrue("YUV_420_888 input must be supported for YUV reprocessing", in testReprocessingCharacteristics() 1395 mCollector.expectTrue("Y8 input must be supported for YUV reprocessing on " + in testReprocessingCharacteristics() 1398 mCollector.expectTrue("PRIVATE input must be supported for OPAQUE reprocessing", in testReprocessingCharacteristics() 1404 mCollector.expectTrue("max capture stall must be non-null and no larger than " in testReprocessingCharacteristics() [all …]
|
D | ImageWriterTest.java | 271 mCollector.expectTrue( in readerWriterFormatTestByCamera() 282 mCollector.expectTrue("ImageWriter 1st output image should match 1st input image", in readerWriterFormatTestByCamera() 318 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera() 369 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
|
D | BurstCaptureRawTest.java | 254 mCollector.expectTrue( in execute() 260 mCollector.expectTrue( in execute() 332 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute() 335 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute() 339 mCollector.expectTrue( in execute() 345 mCollector.expectTrue( in execute()
|
D | CaptureRequestTest.java | 1264 mCollector.expectTrue(String.format( in verifyFocusDistance() 1278 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance() 1283 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance() 1550 mCollector.expectTrue("For LEGACY devices, flash state must be null when" + in testLegacyTorchStates() 1713 mCollector.expectTrue( in flashTestByAeMode() 1726 mCollector.expectTrue("Torch state FIRED never seen", in flashTestByAeMode() 2145 mCollector.expectTrue("Face id is expected to be -1 for SIMPLE mode", 2155 boolean faceRectAvailable = mCollector.expectTrue("Face rectangle " 2165 mCollector.expectTrue("Face id is shouldn't be -1 for FULL mode", 2168 mCollector.expectTrue("Left eye position shouldn't be null", [all …]
|
D | SurfaceViewPreviewTest.java | 290 mCollector.expectTrue( in preparePerformanceTestByCamera() 298 mCollector.expectTrue( in preparePerformanceTestByCamera() 328 mCollector.expectTrue( in preparePerformanceTestByCamera() 336 mCollector.expectTrue( in preparePerformanceTestByCamera() 756 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange() 760 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange() 763 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
|
D | StillCaptureTest.java | 1226 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult() 1259 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult() 1262 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult() 1272 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult() 1513 mCollector.expectTrue("Exposure lock should be set", in aeCompensationTestByCamera() 1698 mCollector.expectTrue( in isRegionsSupportedFor3A()
|
D | RecordingTest.java | 750 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording() 1939 mCollector.expectTrue( 1959 mCollector.expectTrue( 2009 mCollector.expectTrue(
|
D | CaptureResultTest.java | 219 mCollector.expectTrue( in testPartialResult() 229 mCollector.expectTrue( in testPartialResult()
|
D | ImageReaderTest.java | 1116 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera() 1124 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera()
|
D | LogicalCameraDeviceTest.java | 674 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch() 687 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch()
|
D | RobustnessTest.java | 1598 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode() 1605 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 123 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/ |
D | CameraTestUtils.java | 2216 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys() 2287 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys() 2290 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys() 2314 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys() 2365 if (collector.expectTrue("Focal length is invalid", in validateFocalLength() 2369 collector.expectTrue("Focal length should be one of the available focal length", in validateFocalLength() 2386 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture() 2390 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture() 2458 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags() 2499 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags() [all …]
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 144 mCollector.expectTrue("CaptureRequest.CONTROL_ENABLE_ZSL should be false.", in testEnableZslValueByCamera()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1044 passedSoFar = expectTrue(failureMsg, logBuf, exposureTimeValue > 0); in checkExtraExifTagsSucceeds() 1054 passedSoFar = expectTrue("Exif TAG_APERTURE value " + aperture + " should be positive!", in checkExtraExifTagsSucceeds() 1073 passedSoFar = expectTrue("Exif TAG_MODEL value: " + make in checkExtraExifTagsSucceeds() 1083 passedSoFar = expectTrue("Exif TAG_MODEL value: " + model in checkExtraExifTagsSucceeds() 1091 passedSoFar = expectTrue("Exif ISO value " + iso + " is invalid", logBuf, iso > 0); in checkExtraExifTagsSucceeds() 1101 passedSoFar = expectTrue("dataTime should match digitizedTime", logBuf, in checkExtraExifTagsSucceeds() 1115 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1121 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1127 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1158 private boolean expectTrue(String msg, StringBuffer logBuffer, boolean condition) { in expectTrue() method in CameraTest
|