Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraErrorCollector.java129 public boolean expectTrue(String msg, boolean condition) { in expectTrue() method in CameraErrorCollector
238 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreater()
340 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesGreaterOrEqual()
369 expectTrue(msg + String.format(", array value " + value.toString() + in expectValuesInRange()
417 return expectTrue(msg + String.format(", value " + value.toString() in expectInRange()
454 if (!expectTrue(differentSizesMsg, actual != null)) { in expectMeteringRegionsAreSimilar()
589 succ = expectTrue(formattedMsg + tooLarge, in expectSimilarValues()
591 succ = expectTrue(formattedMsg + tooSmall, in expectSimilarValues()
624 expectTrue(String.format("Adjacent values (%s and %s) %s monotonicity is broken", in checkArrayMonotonicityAndNotAllEqual()
628 expectTrue("All values of this array are equal: " + array[0].toString(), in checkArrayMonotonicityAndNotAllEqual()
[all …]
H A DCameraTestUtils.java1797 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys()
1866 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys()
1890 collector.expectTrue("GPS location result and request should match.", in verifyJpegKeys()
1940 if (collector.expectTrue("Focal length is invalid", in validateFocalLength()
1961 if (collector.expectTrue("Capture result aperture is invalid", in validateAperture()
1965 collector.expectTrue("Aperture should be one of the available apertures", in validateAperture()
2032 boolean orientationValid = collector.expectTrue(String.format( in verifyJpegExifExtraTags()
2074 collector.expectTrue("Exif TAG_DATETIME is wrong", in verifyJpegExifExtraTags()
2082 collector.expectTrue("Exif date time should be local time", in verifyJpegExifExtraTags()
2184 collector.expectTrue("Exif TAG_SUBSEC_TIME_ORIG value is null or invalid!", in verifyJpegExifExtraTags()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2StillCaptureTest.java503 mCollector.expectTrue("NoiseProfile coefficients " + p + in verifyRawCaptureResult()
536 mCollector.expectTrue("HotPixelMap must be empty", hotPixelMap == null || in verifyRawCaptureResult()
539 mCollector.expectTrue("HotPixelMap must not be empty", hotPixelMap != null); in verifyRawCaptureResult()
549 mCollector.expectTrue("Hotpixel " + p + " must be in pixelArray " + in verifyRawCaptureResult()
621 mCollector.expectTrue( in isRegionsSupportedFor3A()
H A DCamera2CaptureRequestTest.java387 mCollector.expectTrue("Exposture time is invalid for AE manaul control test, request: " in validateExposureTime()
402 mCollector.expectTrue("Sensitivity is invalid for AE manaul control test, request: " in validateSensitivity()
421 mCollector.expectTrue(String.format("Frame duration (%d) should be longer than exposure" in validateFrameDurationForCapture()
H A DCamera2RecordingTest.java225 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1025 mCollector.expectTrue(
1045 mCollector.expectTrue(