Searched refs:getRedactionRanges (Results 1 – 5 of 5) sorted by relevance
101 public static long[] getRedactionRanges(File file) throws IOException { in getRedactionRanges() method in RedactionUtils103 return getRedactionRanges(is, MimeUtils.resolveMimeType(file)); in getRedactionRanges()121 public static long[] getRedactionRanges(FileInputStream fis, String mimeType) in getRedactionRanges() method in RedactionUtils137 res.addAll(XmpDataParser.getRedactionRanges(exif)); in getRedactionRanges()151 res.addAll(XmpDataParser.getRedactionRanges(iso)); in getRedactionRanges()
157 public static LongArray getRedactionRanges(ExifInterface exifInterface) throws IOException { in getRedactionRanges() method in XmpDataParser158 return getRedactionRanges(XmpData.extractXmpData(exifInterface)); in getRedactionRanges()164 public static LongArray getRedactionRanges(IsoInterface isoInterface) throws IOException { in getRedactionRanges() method in XmpDataParser165 return getRedactionRanges(XmpData.extractXmpData(isoInterface)); in getRedactionRanges()170 private static LongArray getRedactionRanges(XmpData xmpData) throws IOException { in getRedactionRanges() method in XmpDataParser
97 assertThat(XmpDataParser.getRedactionRanges(exif).toArray()).isEqualTo(expectedRanges); in testContainer_ExifRedactionRanges()117 assertThat(XmpDataParser.getRedactionRanges(mp4).toArray()).isEqualTo(expectedRanges); in testContainer_IsoRedactionRanges()136 assertThat(XmpDataParser.getRedactionRanges(mp4).toArray()).isEqualTo(expectedRanges); in testContainer_IsoRedactionRanges_BadTagValue()160 final long[] actualRanges = XmpDataParser.getRedactionRanges(mp4).toArray(); in testRedaction_IsoRedactionRanges_MalformedXml()169 final long[] actualRanges = XmpDataParser.getRedactionRanges(exif).toArray(); in testRedaction_ExifRedactionRanges_MalformedXml()
41 assertThat(RedactionUtils.getRedactionRanges(file)).isNotNull(); in testGetRedactionRanges_Image()54 assertThat(RedactionUtils.getRedactionRanges(file)).isNotNull(); in testGetRedactionRanges_Video()
2787 redactionRanges = RedactionUtils.getRedactionRanges(fis, mimeType); in handlePickerFileOpen()10242 redactionRanges = redactionNeeded ? RedactionUtils.getRedactionRanges(file)10635 return RedactionUtils.getRedactionRanges(file);10652 return RedactionUtils.getRedactionRanges(file);10714 return RedactionUtils.getRedactionRanges(file);