Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DXmpInterfaceTest.java34 import com.android.providers.media.util.XmpInterface;
61 final XmpInterface xmp = XmpInterface.fromContainer(in); in testContainer_Empty()
73 final XmpInterface xmp = XmpInterface.fromContainer(in); in testContainer_ValidAttrs()
85 final XmpInterface xmp = XmpInterface.fromContainer(in); in testContainer_ValidTags()
107 final XmpInterface xmp = XmpInterface.fromContainer(exif, redactionTags); in testContainer_ExifRedactionRanges()
122 final XmpInterface xmp = XmpInterface.fromContainer(mp4, redactionTags); in testContainer_IsoRedactionRanges()
140 final XmpInterface xmp = XmpInterface.fromContainer(mp4, redactionTags); in testContainer_IsoRedactionRanges_BadTagValue()
159 final XmpInterface xmp = XmpInterface.fromContainer(mp4, redactionTags); in testContainer_IsoRedactionRanges_MalformedXml()
169 final XmpInterface.ByteCountingInputStream stream = in testStream_LineOffsets()
170 new XmpInterface.ByteCountingInputStream(xmlStream); in testStream_LineOffsets()
DIsoInterfaceTest.java29 import com.android.providers.media.util.XmpInterface;
69 final XmpInterface xmp = XmpInterface.fromContainer(mp4); in testXmp()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java57 public class XmpInterface { class
79 private XmpInterface(@NonNull InputStream in) throws IOException { in XmpInterface() method in XmpInterface
83 private XmpInterface( in XmpInterface() method in XmpInterface
140 public static @NonNull XmpInterface fromContainer(@NonNull InputStream is) in fromContainer()
145 public static @NonNull XmpInterface fromContainer(@NonNull InputStream is, in fromContainer()
150 public static @NonNull XmpInterface fromContainer(@NonNull ExifInterface exif) in fromContainer()
155 public static @NonNull XmpInterface fromContainer(@NonNull ExifInterface exif, in fromContainer()
166 return new XmpInterface(new ByteArrayInputStream(buf), redactedExifTags, xmpOffsets); in fromContainer()
169 public static @NonNull XmpInterface fromContainer(@NonNull IsoInterface iso) in fromContainer()
174 public static @NonNull XmpInterface fromContainer(@NonNull IsoInterface iso, in fromContainer()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java82 import com.android.providers.media.util.XmpInterface;
538 XmpInterface xmp, String mimeType) { in withXmpValues()
641 final XmpInterface xmp = XmpInterface.fromContainer(iso); in scanItemAudio()
709 final XmpInterface xmp = XmpInterface.fromContainer(iso); in scanItemVideo()
743 final XmpInterface xmp = XmpInterface.fromContainer(exif); in scanItemImage()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java145 import com.android.providers.media.util.XmpInterface;
5564 final XmpInterface exifXmp = XmpInterface.fromContainer(exif, redactedXmpTags); in getRedactionRanges()
5566 final XmpInterface isoXmp = XmpInterface.fromContainer(iso, redactedXmpTags); in getRedactionRanges()