Lines Matching refs:collector

1711      * @param collector The camera error collector to collect errors.
1714 Size thumbnailSize, CameraErrorCollector collector) {
1723 collector.expectEquals("JPEG thumbnail size request set and get should match",
1725 collector.expectTrue("GPS locations request set and get should match.",
1728 collector.expectEquals("JPEG orientation request set and get should match",
1731 collector.expectEquals("JPEG quality request set and get should match",
1733 collector.expectEquals("JPEG thumbnail quality request set and get should match",
1776 * @param collector The camera error collector to collect errors.
1780 CameraErrorCollector collector) throws Exception {
1791 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)",
1794 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " +
1814 collector.expectEquals("JPEG thumbnail size result and request should match",
1816 if (collector.expectKeyValueNotNull(captureResult, CaptureResult.JPEG_GPS_LOCATION) !=
1818 collector.expectTrue("GPS location result and request should match.",
1822 collector.expectEquals("JPEG orientation result and request should match",
1825 collector.expectEquals("JPEG quality result and request should match",
1827 collector.expectEquals("JPEG thumbnail quality result and request should match",
1833 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector);
1841 CameraErrorCollector collector) {
1852 collector.addMessage("It is impossible to get non 0, 90, 180, 270 degress exif" +
1865 CameraErrorCollector collector) {
1868 if (collector.expectTrue("Focal length is invalid",
1872 collector.expectTrue("Focal length should be one of the available focal length",
1886 CameraErrorCollector collector) {
1889 if (collector.expectTrue("Capture result aperture is invalid",
1893 collector.expectTrue("Aperture should be one of the available apertures",
1934 CaptureResult result, StaticMetadata staticInfo, CameraErrorCollector collector)
1956 if (collector.expectKeyValueNotNull(result, CaptureResult.JPEG_ORIENTATION) != null) {
1960 boolean orientationValid = collector.expectTrue(String.format(
1980 collector.expectEquals("Exif orientaiton should match requested orientation",
1982 collector));
1993 collector.expectEquals("Exif size should match jpeg capture size", jpegSize, exifSize);
2001 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) {
2002 collector.expectTrue("Exif TAG_DATETIME is wrong",
2007 collector.expectTrue("Capture time deviates too much from the current time",
2010 collector.expectTrue("Exif date time should be local time",
2017 collector.expectEquals("Focal length should match",
2021 collector.expectEquals("Exif focal length should match capture result",
2022 validateFocalLength(result, staticInfo, collector), exifFocalLength);
2027 collector.expectNotNull("Exif TAG_EXPOSURE_TIME shouldn't be null", exposureTime);
2035 collector.expectEquals("Exif exposure time doesn't match", expected,
2043 collector.expectNotNull("Exif TAG_APERTURE shouldn't be null", exifAperture);
2048 collector.expectEquals("Aperture value should match",
2052 collector.expectEquals("Exif aperture length should match capture result",
2053 validateAperture(result, staticInfo, collector), apertureValue);
2062 collector.expectNotNull("Exif TAG_FLASH shouldn't be null", flash);
2069 collector.expectNotNull("Exif TAG_WHITE_BALANCE shouldn't be null", whiteBalance);
2073 collector.expectEquals("Exif TAG_MAKE is incorrect", Build.MANUFACTURER, make);
2077 collector.expectEquals("Exif TAG_MODEL is incorrect", Build.MODEL, model);
2084 collector.expectEquals("Exif TAG_ISO is incorrect", expectedIso, iso);
2089 collector.expectNotNull("Exif TAG_DATETIME_DIGITIZED shouldn't be null", digitizedTime);
2092 collector.expectNotNull("Exif TAG_DATETIME shouldn't be null", expectedDateTime);
2094 collector.expectEquals("dataTime should match digitizedTime",
2107 collector.expectTrue("Exif TAG_SUBSEC_TIME value is null or invalid!", subSecTime > 0);
2112 collector.expectTrue("Exif TAG_SUBSEC_TIME_ORIG value is null or invalid!",
2118 collector.expectTrue(