/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 93 mCollector.expectTrue("All devices must contains BACKWARD_COMPATIBLE capability or " + in testHwSupportedLevel() 100 mCollector.expectTrue("Level 3 device must contain YUV_REPROCESSING capability", in testHwSupportedLevel() 102 mCollector.expectTrue("Level 3 device must contain RAW capability", in testHwSupportedLevel() 108 mCollector.expectTrue("Full device must contain MANUAL_SENSOR capability", in testHwSupportedLevel() 110 mCollector.expectTrue("Full device must contain MANUAL_POST_PROCESSING capability", in testHwSupportedLevel() 113 mCollector.expectTrue("Full device must contain BURST_CAPTURE capability", in testHwSupportedLevel() 117 mCollector.expectTrue("Full device must support per frame control", in testHwSupportedLevel() 122 mCollector.expectTrue("Legacy devices must contain BACKWARD_COMPATIBLE capability", in testHwSupportedLevel() 127 mCollector.expectTrue("MANUAL_SENSOR capability always requires " + in testHwSupportedLevel() 166 mCollector.expectTrue("max number of raw output streams must be a non negative number", in testMaxNumOutputStreams() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 524 mCollector.expectTrue( in testSPerfClassJpegSizesByCamera() 559 mCollector.expectTrue("isSessionConfiguration fails with error", in testSPerfClassJpegSizesByCamera() 561 mCollector.expectTrue("isSessionConfiguration returns false for JPEG < 1080p", in testSPerfClassJpegSizesByCamera() 1277 mCollector.expectTrue("Version contains non-text characters: " + version, in testKeys() 1631 mCollector.expectTrue("Support reprocessing but max number of input stream is " + in testReprocessingCharacteristics() 1633 mCollector.expectTrue("Support reprocessing but EDGE_MODE_ZERO_SHUTTER_LAG is " + in testReprocessingCharacteristics() 1635 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics() 1642 mCollector.expectTrue("Support reprocessing but EDGE_MODE_HIGH_QUALITY is " + in testReprocessingCharacteristics() 1644 mCollector.expectTrue("Support reprocessing but " + in testReprocessingCharacteristics() 1649 mCollector.expectTrue("YUV_420_888 input must be supported for YUV reprocessing", in testReprocessingCharacteristics() [all …]
|
D | ReadoutTimestampTest.java | 163 mCollector.expectTrue(String.format("Camera %s timestampBase %d: timestamps[%d] should " in testReadoutTimestamp() 166 mCollector.expectTrue(String.format("Camera %s timestampBase %d: timestamps[%d] should " in testReadoutTimestamp() 197 mCollector.expectTrue("Camera " + cameraId + " timestampBase " + timestampBase in testReadoutTimestamp() 203 mCollector.expectTrue("Camera " + cameraId + "timestampBase " + timestampBase in testReadoutTimestamp()
|
D | BurstCaptureRawTest.java | 257 mCollector.expectTrue( in execute() 263 mCollector.expectTrue( in execute() 335 mCollector.expectTrue(String.format("Edge mode is not turned off."), in execute() 338 mCollector.expectTrue(String.format("Noise reduction is not turned off."), in execute() 342 mCollector.expectTrue( in execute() 348 mCollector.expectTrue( in execute()
|
D | ZoomCaptureTest.java | 242 mCollector.expectTrue("Camera " + mCamera.getId() + " activePhysicalId " + in bufferFormatZoomTestByCamera() 251 mCollector.expectTrue("The lens intrinsic calibration between " + in bufferFormatZoomTestByCamera() 317 mCollector.expectTrue("Logical camera's activePhysicalCamera should not " + in bufferFormatZoomTestByCamera()
|
D | CaptureRequestTest.java | 1479 mCollector.expectTrue(String.format( in verifyFocusDistance() 1493 mCollector.expectTrue(String.format("Adjacent [resultDistances, lens_state] results [" in verifyFocusDistance() 1498 mCollector.expectTrue(String.format("All values of this array are equal: " + in verifyFocusDistance() 1764 mCollector.expectTrue("For LEGACY devices, flash state must be null when" + in testLegacyTorchStates() 1927 mCollector.expectTrue( in flashTestByAeMode() 1940 mCollector.expectTrue("Torch state FIRED never seen", in flashTestByAeMode() 2387 mCollector.expectTrue("Face id is expected to be -1 for SIMPLE mode", 2397 boolean faceRectAvailable = mCollector.expectTrue("Face rectangle " 2407 mCollector.expectTrue("Face id is shouldn't be -1 for FULL mode", 2410 mCollector.expectTrue("Left eye position shouldn't be null", [all …]
|
D | CaptureResultTest.java | 222 mCollector.expectTrue( in testPartialResult() 234 mCollector.expectTrue( in testPartialResult() 386 mCollector.expectTrue( in testResultTimestamps() 392 mCollector.expectTrue( in testResultTimestamps() 407 mCollector.expectTrue("This should never fail", block[1000 + i] == i); in testResultTimestamps() 409 mCollector.expectTrue( in testResultTimestamps() 412 mCollector.expectTrue("This should never fail", block[1000 + count] == count); in testResultTimestamps() 480 errorCollector.expectTrue("Not all dropped results for physical cameras are notified", in validateCaptureResult()
|
D | SurfaceViewPreviewTest.java | 300 mCollector.expectTrue( in preparePerformanceTestByCamera() 308 mCollector.expectTrue( in preparePerformanceTestByCamera() 716 mCollector.expectTrue(String.format("Exposure time %d must be no larger than frame" in verifyPreviewTargetFpsRange() 720 boolean findDuration = mCollector.expectTrue("Unable to find minFrameDuration for size " in verifyPreviewTargetFpsRange() 723 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
|
D | ImageWriterTest.java | 523 mCollector.expectTrue( in readerWriterFormatTestByCamera() 539 mCollector.expectTrue("ImageWriter 1st output image should match 1st camera image", in readerWriterFormatTestByCamera() 575 mCollector.expectTrue("ImageWriter 2nd output image should match camera " in readerWriterFormatTestByCamera() 626 mCollector.expectTrue(msg + "Opaque image number planes should be zero", in validateOpaqueImage()
|
D | CameraExtensionSessionTest.java | 2024 mCollector.expectTrue("Capture result " + resultKey + " is not among the" in onCaptureResultAvailable() 2055 mCollector.expectTrue("Request extension strength: " + strength + in onCaptureResultAvailable() 2063 mCollector.expectTrue("Request Jpeg orientation: " + jpegOrientation + in onCaptureResultAvailable() 2071 mCollector.expectTrue("Request Jpeg quality: " + jpegQuality + in onCaptureResultAvailable() 2080 mCollector.expectTrue( in onCaptureResultAvailable() 2091 mCollector.expectTrue("Request flash mode: " + flashMode + in onCaptureResultAvailable() 2124 mCollector.expectTrue("Request AE mode: " + aeMode + in onCaptureResultAvailable() 2132 mCollector.expectTrue("Request AE lock: " + aeLock + in onCaptureResultAvailable() 2168 mCollector.expectTrue("Request AF mode: " + afMode + in onCaptureResultAvailable() 2185 mCollector.expectTrue("Request AF trigger: " + afTrigger + in onCaptureResultAvailable() [all …]
|
D | CameraDeviceSetupTest.java | 547 mCollector.expectTrue("getSessionCharacteristics succeeds, but " in testFeatureCombinationQueryConsistencyByCamera() 551 mCollector.expectTrue( in testFeatureCombinationQueryConsistencyByCamera() 580 mCollector.expectTrue( in testFeatureCombinationQueryConsistencyByCamera() 585 mCollector.expectTrue("With stabilization on, " in testFeatureCombinationQueryConsistencyByCamera()
|
D | StillCaptureTest.java | 779 mCollector.expectTrue( in focalLengthTestByCamera() 796 mCollector.expectTrue( in focalLengthTestByCamera() 1343 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult() 1376 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult() 1379 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult() 1389 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult() 1646 mCollector.expectTrue("Exposure lock should be set", in aeCompensationTestByCamera() 1831 mCollector.expectTrue( in isRegionsSupportedFor3A()
|
D | LogicalCameraDeviceTest.java | 722 mCollector.expectTrue("Field of view must be consistent with focal " + in testLogicalCameraZoomSwitch() 733 mCollector.expectTrue("The lens intrinsics between two " + in testLogicalCameraZoomSwitch() 756 mCollector.expectTrue("Current focal length " + resultFocalLength in testLogicalCameraZoomSwitch() 1292 mCollector.expectTrue( in testBasicPhysicalStreamingForCamera() 1309 mCollector.expectTrue( in testBasicPhysicalStreamingForCamera()
|
D | ImageReaderTest.java | 1909 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera() 1917 mCollector.expectTrue( in bufferFormatLongProcessingTimeTestByCamera() 2117 mCollector.expectTrue("Image timestamp " + timestamp in validateTimestamps() 2130 mCollector.expectTrue("Image timestamp " + timestampMs + " ms should be in the " in validateTimestamps()
|
D | RecordingTest.java | 1255 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording() 2638 mCollector.expectTrue( 2658 mCollector.expectTrue( 2708 mCollector.expectTrue(
|
D | MultiResolutionImageReaderTest.java | 543 mCollector.expectTrue(String.format("Camera's physical camera id + image size " + in validateImage()
|
D | FeatureCombinationTest.java | 513 mCollector.expectTrue("SESSION_CONFIGURATION_QUERY supported but " + in testVPerfClassRequirements()
|
D | MultiResolutionReprocessCaptureTest.java | 797 mCollector.expectTrue(String.format("Camera %s supported 0 multi-resolution " in getMultiResReprocessInfo()
|
D | RobustnessTest.java | 2017 mCollector.expectTrue("OIS samples reported in OIS_DATA_MODE_OFF", in testOisDataMode() 2024 mCollector.expectTrue("OIS samples not reported in OIS_DATA_MODE_ON", in testOisDataMode()
|
D | PerformanceTest.java | 1160 mTestRule.getCollector().expectTrue( in testZoomSettingsOverrideLatency()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 136 public boolean expectTrue(String msg, boolean condition) { in expectTrue() method in CameraErrorCollector 296 return expectTrue(String.format("%s: (actual = %s was not greater than expected = %s) ", in expectGreater() 310 return expectTrue(String.format("%s: (actual = %s was not greater than or equal to " in expectGreaterOrEqual() 324 return expectTrue(String.format("%s: (actual = %s was not less than expected = %s) ", in expectLess() 338 return expectTrue(String.format("%s: (actual = %s was not less than or equal to " in expectLessOrEqual() 398 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesGreaterOrEqual() 427 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesInRange() 475 return expectTrue(msg + String.format(", value " + value.toString() in expectInRange() 512 if (!expectTrue(differentSizesMsg, actual != null)) { in expectMeteringRegionsAreSimilar() 642 succ = expectTrue(formattedMsg + tooLarge, in expectSimilarValues() [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/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3360 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys() 3433 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys() 3436 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys() 3460 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys() 3582 if (collector.expectTrue("Focal length is invalid", in validateFocalLength() 3584 collector.expectTrue("Focal length should be one of the available focal length", in validateFocalLength() 3644 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture() 3646 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture() 3715 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags() 3756 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags() [all …]
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1076 passedSoFar = expectTrue(failureMsg, logBuf, exposureTimeValue > 0); in checkExtraExifTagsSucceeds() 1086 passedSoFar = expectTrue("Exif TAG_APERTURE value " + aperture + " should be positive!", in checkExtraExifTagsSucceeds() 1105 passedSoFar = expectTrue("Exif TAG_MODEL value: " + make in checkExtraExifTagsSucceeds() 1115 passedSoFar = expectTrue("Exif TAG_MODEL value: " + model in checkExtraExifTagsSucceeds() 1123 passedSoFar = expectTrue("Exif ISO value " + iso + " is invalid", logBuf, iso > 0); in checkExtraExifTagsSucceeds() 1133 passedSoFar = expectTrue("dataTime should match digitizedTime", logBuf, in checkExtraExifTagsSucceeds() 1147 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1153 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1159 passedSoFar = expectTrue( in checkExtraExifTagsSucceeds() 1190 private boolean expectTrue(String msg, StringBuffer logBuffer, boolean condition) { in expectTrue() method in CameraTest
|