Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
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()
252 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectGreaterOrEqual()
266 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLess()
280 return expectTrue(String.format("%s: (expected = %s was not greater than actual = %s) ", in expectLessOrEqual()
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()
[all …]
DCameraTestUtils.java1797 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys()
1863 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys()
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()
1944 collector.expectTrue("Focal length should be one of the available focal length", 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()
2073 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
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()
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()
DCamera2RecordingTest.java225 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
1025 mCollector.expectTrue(
1045 mCollector.expectTrue(