Searched refs:xmp (Results 1 – 5 of 5) sorted by relevance
155 String xmp = new String(xmpBytes); in assertVideoRedactedReadOnlyAccess() local157 .that(xmp.contains("10,41.751000E")).isFalse(); in assertVideoRedactedReadOnlyAccess()159 .that(xmp.contains("53,50.070500N")).isFalse(); in assertVideoRedactedReadOnlyAccess()161 .that(xmp.contains("13166/7763")).isTrue(); in assertVideoRedactedReadOnlyAccess()206 String xmp = exif.getAttribute(ExifInterface.TAG_XMP); in assertImageExifRedacted() local208 .that(xmp.contains("10,41.751000E")).isFalse(); in assertImageExifRedacted()210 .that(xmp.contains("53,50.070500N")).isFalse(); in assertImageExifRedacted()212 .that(xmp.contains("LensDefaults")).isTrue(); in assertImageExifRedacted()
24 import com.adobe.xmp.XMPConst;25 import com.adobe.xmp.XMPException;26 import com.adobe.xmp.XMPIterator;27 import com.adobe.xmp.XMPMeta;28 import com.adobe.xmp.XMPMetaFactory;29 import com.adobe.xmp.properties.XMPPropertyInfo;
244 String xmp = new String(xmpBytes); in testXmpLocationRedaction() local245 assertWithMessage("Failed to read XMP longitude").that(xmp).contains("10,41.751000E"); in testXmpLocationRedaction()246 assertWithMessage("Failed to read XMP latitude").that(xmp).contains("53,50.070500N"); in testXmpLocationRedaction()247 assertWithMessage("Failed to read non-location XMP").that(xmp).contains("13166/7763"); in testXmpLocationRedaction()259 String xmp = new String(xmpBytes); in testXmpLocationRedaction() local260 assertWithMessage("Failed to redact XMP longitude").that(xmp) in testXmpLocationRedaction()262 assertWithMessage("Failed to redact XMP latitude").that(xmp) in testXmpLocationRedaction()264 assertWithMessage("Redacted non-location XMP").that(xmp).contains("13166/7763"); in testXmpLocationRedaction()
427 String xmp = exif.getAttribute(ExifInterface.TAG_XMP);428 assertWithMessage("Failed to read XMP longitude").that(xmp).contains("10,41.751000E");429 assertWithMessage("Failed to read XMP latitude").that(xmp).contains("53,50.070500N");430 assertWithMessage("Failed to read non-location XMP").that(xmp).contains("LensDefaults");447 String xmp = exif.getAttribute(ExifInterface.TAG_XMP);448 assertWithMessage("Failed to redact XMP longitude").that(xmp)450 assertWithMessage("Failed to redact XMP latitude").that(xmp)453 assertWithMessage("Redacted non-location XMP").that(xmp).contains("13166/7763");
406 final String xmp = new String(exifInterface.getAttributeBytes(ExifInterface.TAG_XMP), in compareWithExpectedValue() local412 if (!xmp.contains("<rdf:RDF")) { in compareWithExpectedValue()413 fail("Invalid XMP: " + xmp); in compareWithExpectedValue()