Lines Matching refs:MtpConstants
24 import android.mtp.MtpConstants;
103 addFileType(MtpConstants.FORMAT_MP3, "audio/mpeg"); in addFileType()
104 addFileType(MtpConstants.FORMAT_WAV, "audio/x-wav"); in addFileType()
105 addFileType(MtpConstants.FORMAT_WMA, "audio/x-ms-wma"); in addFileType()
106 addFileType(MtpConstants.FORMAT_OGG, "audio/ogg"); in addFileType()
107 addFileType(MtpConstants.FORMAT_AAC, "audio/aac"); in addFileType()
108 addFileType(MtpConstants.FORMAT_FLAC, "audio/flac"); in addFileType()
109 addFileType(MtpConstants.FORMAT_AIFF, "audio/x-aiff"); in addFileType()
110 addFileType(MtpConstants.FORMAT_MP2, "audio/mpeg"); in addFileType()
112 addFileType(MtpConstants.FORMAT_MPEG, "video/mpeg"); in addFileType()
113 addFileType(MtpConstants.FORMAT_MP4_CONTAINER, "video/mp4"); in addFileType()
114 addFileType(MtpConstants.FORMAT_3GP_CONTAINER, "video/3gpp"); in addFileType()
115 addFileType(MtpConstants.FORMAT_3GP_CONTAINER, "video/3gpp2"); in addFileType()
116 addFileType(MtpConstants.FORMAT_AVI, "video/avi"); in addFileType()
117 addFileType(MtpConstants.FORMAT_WMV, "video/x-ms-wmv"); in addFileType()
118 addFileType(MtpConstants.FORMAT_ASF, "video/x-ms-asf"); in addFileType()
120 addFileType(MtpConstants.FORMAT_EXIF_JPEG, "image/jpeg"); in addFileType()
121 addFileType(MtpConstants.FORMAT_GIF, "image/gif"); in addFileType()
122 addFileType(MtpConstants.FORMAT_PNG, "image/png"); in addFileType()
123 addFileType(MtpConstants.FORMAT_BMP, "image/x-ms-bmp"); in addFileType()
124 addFileType(MtpConstants.FORMAT_HEIF, "image/heif"); in addFileType()
125 addFileType(MtpConstants.FORMAT_DNG, "image/x-adobe-dng"); in addFileType()
126 addFileType(MtpConstants.FORMAT_TIFF, "image/tiff"); in addFileType()
127 addFileType(MtpConstants.FORMAT_TIFF, "image/x-canon-cr2"); in addFileType()
128 addFileType(MtpConstants.FORMAT_TIFF, "image/x-nikon-nrw"); in addFileType()
129 addFileType(MtpConstants.FORMAT_TIFF, "image/x-sony-arw"); in addFileType()
130 addFileType(MtpConstants.FORMAT_TIFF, "image/x-panasonic-rw2"); in addFileType()
131 addFileType(MtpConstants.FORMAT_TIFF, "image/x-olympus-orf"); in addFileType()
132 addFileType(MtpConstants.FORMAT_TIFF, "image/x-pentax-pef"); in addFileType()
133 addFileType(MtpConstants.FORMAT_TIFF, "image/x-samsung-srw"); in addFileType()
134 addFileType(MtpConstants.FORMAT_TIFF_EP, "image/tiff"); in addFileType()
135 addFileType(MtpConstants.FORMAT_TIFF_EP, "image/x-nikon-nef"); in addFileType()
136 addFileType(MtpConstants.FORMAT_JP2, "image/jp2"); in addFileType()
137 addFileType(MtpConstants.FORMAT_JPX, "image/jpx"); in addFileType()
139 addFileType(MtpConstants.FORMAT_M3U_PLAYLIST, "audio/x-mpegurl"); in addFileType()
140 addFileType(MtpConstants.FORMAT_PLS_PLAYLIST, "audio/x-scpls"); in addFileType()
141 addFileType(MtpConstants.FORMAT_WPL_PLAYLIST, "application/vnd.ms-wpl"); in addFileType()
142 addFileType(MtpConstants.FORMAT_ASX_PLAYLIST, "video/x-ms-asf"); in addFileType()
144 addFileType(MtpConstants.FORMAT_TEXT, "text/plain"); in addFileType()
145 addFileType(MtpConstants.FORMAT_HTML, "text/html"); in addFileType()
146 addFileType(MtpConstants.FORMAT_XML_DOCUMENT, "text/xml"); in addFileType()
148 addFileType(MtpConstants.FORMAT_MS_WORD_DOCUMENT, in addFileType()
150 addFileType(MtpConstants.FORMAT_MS_WORD_DOCUMENT, in addFileType()
152 addFileType(MtpConstants.FORMAT_MS_EXCEL_SPREADSHEET, in addFileType()
154 addFileType(MtpConstants.FORMAT_MS_EXCEL_SPREADSHEET, in addFileType()
156 addFileType(MtpConstants.FORMAT_MS_POWERPOINT_PRESENTATION, in addFileType()
158 addFileType(MtpConstants.FORMAT_MS_POWERPOINT_PRESENTATION, in addFileType()
390 if (formatCode != MtpConstants.FORMAT_UNDEFINED) { in getFormatCode()
404 return MtpConstants.FORMAT_UNDEFINED; in getFormatCodeForMimeType()
419 return MtpConstants.FORMAT_UNDEFINED_AUDIO; in getFormatCodeForMimeType()
421 return MtpConstants.FORMAT_UNDEFINED_VIDEO; in getFormatCodeForMimeType()
423 return MtpConstants.FORMAT_DEFINED; in getFormatCodeForMimeType()
425 return MtpConstants.FORMAT_UNDEFINED; in getFormatCodeForMimeType()