| /packages/providers/MediaProvider/src/com/android/providers/media/util/ |
| D | MimeUtils.java | 61 public static int resolveMediaType(@NonNull String mimeType) { in resolveMediaType() 84 public static int resolveFormatCode(@Nullable String mimeType) { in resolveFormatCode() 98 public static @NonNull String extractPrimaryType(@NonNull String mimeType) { in extractPrimaryType() 106 public static boolean isAudioMimeType(@Nullable String mimeType) { in isAudioMimeType() 111 public static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType() 122 public static boolean isAllVideosMimeType(@Nullable String mimeType) { in isAllVideosMimeType() 126 public static boolean isImageMimeType(@Nullable String mimeType) { in isImageMimeType() 137 public static boolean isAllImagesMimeType(@Nullable String mimeType) { in isAllImagesMimeType() 146 public static boolean isPlaylistMimeType(@Nullable String mimeType) { in isPlaylistMimeType() 163 public static boolean isSubtitleMimeType(@Nullable String mimeType) { in isSubtitleMimeType() [all …]
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
| D | MimeFilterUtilsTest.java | 36 final String mimeType = "image/*"; in testRequiresUnsupportedFilters_imagesType() local 45 final String mimeType = "video/*"; in testRequiresUnsupportedFilters_videosType() local 54 final String mimeType = "*/*"; in testRequiresUnsupportedFilters_allType() local 63 final String mimeType = "*/*"; in testRequiresUnsupportedFilters_extraMimeTypeImagesVideos() local 73 final String mimeType = "image/*"; in testRequiresUnsupportedFilters_extraMimeTypeAllFiles() local 84 final String mimeType = "image/*"; in testRequiresUnsupportedFilters_multipleFilters() local 113 String mimeType = "image/*"; in testGetMimeTypeFilter_setType() local
|
| /packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
| D | MediaSoftwareCodecUtil.java | 51 public static DecoderInfo getSoftwareDecoderInfo(String mimeType, boolean secure) in getSoftwareDecoderInfo() 64 getMediaSoftwareCodecInfo(String mimeType, boolean secure) in getMediaSoftwareCodecInfo() 102 String mimeType = key.mimeType; in getMediaSoftwareCodecInfoInternal() local 170 String mimeType, MediaCodecInfo.CodecCapabilities capabilities); in isSecurePlaybackSupported() 203 String mimeType, MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() 235 String mimeType, MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() 244 public final String mimeType; field in MediaSoftwareCodecUtil.CodecKey 247 public CodecKey(String mimeType, boolean secure) { in CodecKey()
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
| D | ItemTest.java | 62 final String mimeType = "image/png"; in testConstructor() local 89 final String mimeType = "image/png"; in testConstructor_differentUser() local 118 final String mimeType = "image/png"; in testIsImage() local 134 final String mimeType = "video/mpeg"; in testIsVideo() local 150 final String mimeType = "image/jpeg"; in testIsMotionPhoto() local 167 final String mimeType = "image/jpeg"; in testIsGifOrAnimatedWebp() local 195 final String mimeType = "image/gif"; in testIsGifDoesNotUseMimeType() local 308 private static Cursor generateCursorForItem(String id, String mimeType, long dateTaken, in generateCursorForItem()
|
| D | ModelTestUtils.java | 35 public static Item generateItem(String id, String mimeType, long dateTaken, in generateItem() 53 public static Item generateSpecialFormatItem(String id, String mimeType, long dateTaken, in generateSpecialFormatItem()
|
| /packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
| D | ArchiveRegistry.java | 113 static String getArchiveName(String mimeType) { in getArchiveName() 125 static String getCompressName(String mimeType) { in getCompressName() 136 static Integer getArchiveType(String mimeType) { in getArchiveType()
|
| D | ArchiveHandle.java | 87 @NonNull String mimeType, in ArchiveHandle() 186 SevenZFileHandle(ParcelFileDescriptor parcelFileDescriptor, String mimeType, in SevenZFileHandle() 215 ZipFileHandle(ParcelFileDescriptor parcelFileDescriptor, String mimeType, in ZipFileHandle() 238 String mimeType, ArchiveInputStream commonArchive) { in CommonArchiveInputHandle() 270 @NonNull String mimeType) throws CompressorException, ArchiveException { in createCommonArchive() 295 @NonNull String mimeType) throws CompressorException, ArchiveException, IOException { in create()
|
| /packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
| D | IconProvider.java | 42 public Drawable loadMimeIcon(String mimeType) { in loadMimeIcon() 51 final String mimeType = in getMimeType() local 61 String mimeType = getMimeType(file); in isImageType() local
|
| /packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/ |
| D | MimeTypeClassifier.java | 28 default boolean isImageType(@Nullable String mimeType) { in isImageType() 33 default boolean isVideoType(@Nullable String mimeType) { in isVideoType()
|
| D | FileInfo.kt | 21 class FileInfo private constructor(val uri: Uri, val previewUri: Uri?, val mimeType: String?) { constant in com.android.intentresolver.contentpreview.FileInfo 26 var mimeType: String? = null variable in com.android.intentresolver.contentpreview.FileInfo.Builder
|
| /packages/apps/Contacts/src/com/android/contacts/model/ |
| D | RawContactDelta.java | 155 public ValuesDelta getPrimaryEntry(String mimeType) { in getPrimaryEntry() 173 public ValuesDelta getSuperPrimaryEntry(String mimeType) { in getSuperPrimaryEntry() 183 public ValuesDelta getSuperPrimaryEntry(String mimeType, boolean forceSelection) { in getSuperPrimaryEntry() 249 private ArrayList<ValuesDelta> getMimeEntries(String mimeType, boolean lazyCreate) { in getMimeEntries() 258 public ArrayList<ValuesDelta> getMimeEntries(String mimeType) { in getMimeEntries() 262 public int getMimeEntriesCount(String mimeType, boolean onlyVisible) { in getMimeEntriesCount() 275 public boolean hasMimeEntries(String mimeType) { in hasMimeEntries() 280 final String mimeType = entry.getMimetype(); in addEntry() local
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
| D | BluetoothOppReceiveFileInfoTest.java | 112 String mimeType = "text/plain"; in generateFileInfo_wrongHint_fileError() local 148 String mimeType = "text/plain"; in generateFileInfo_noInsertUri_returnFileError() local 175 String mimeType = "text/plain"; in generateFileInfo_withInsertUri_workCorrectly() local 207 String mimeType = "text/plain"; in generateFileInfo_longFileName_trimFileName() local
|
| D | BluetoothOppObexServerSessionTest.java | 171 String mimeType = "text/plain"; in onPut_withZeroLengthInHeader_returnsLengthRequired() local 185 String mimeType = "text/plain"; in onPut_withZeroLengthNameInHeader_returnsHttpBadRequest() local 198 String mimeType = null; in onPut_withNoMimeTypeInHeader_returnsHttpBadRequest() local 211 String mimeType = "3danimation/superultrasonic"; in onPut_withUnsupportedMimeTypeInHeader_returnsHttpBadRequest() local 233 String mimeType = "text/plain"; in onPut_returnsObexHttpOk() local
|
| /packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
| D | MediaCodecAudioDecoder.java | 58 public static boolean supportMimeType(MediaCodecSelector selector, String mimeType) { in supportMimeType() 65 private static DecoderInfo getDecoderInfo(MediaCodecSelector selector, String mimeType) { in getDecoderInfo() 84 String mimeType = format.mimeType; in maybeInitDecoder() local 107 public void resetDecoderState(String mimeType) { in resetDecoderState()
|
| /packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
| D | VoicemailPayload.java | 21 private final String mimeType; field in VoicemailPayload 24 public VoicemailPayload(String mimeType, byte[] bytes) { in VoicemailPayload()
|
| /packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
| D | ActionMultiMap.java | 27 public void put(String mimeType, Action info) { in put() 35 public void put(String mimeType, Action info, boolean front) { in put()
|
| D | ResolveCache.java | 124 protected Entry getEntry(String mimeType, Intent intent) { in getEntry() 200 public boolean hasResolve(String mimeType, Intent intent) { in hasResolve() 209 public Drawable getIcon(String mimeType, Intent intent) { in getIcon()
|
| /packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
| D | MimeFilterUtils.java | 53 public static boolean isMimeTypeMedia(@Nullable String mimeType) { in isMimeTypeMedia() 82 final String mimeType = intent.getType(); in getMimeTypeFilters() local
|
| /packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
| D | MimeTypes.java | 123 public static @Nullable String[] splitMimeType(String mimeType) { in splitMimeType() 207 public static boolean isApkType(@Nullable String mimeType) { in isApkType() 211 public static boolean isDirectoryType(@Nullable String mimeType) { in isDirectoryType()
|
| /packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
| D | DownloadScanner.java | 53 public final String mimeType; field in DownloadScanner.ScanRequest 56 public ScanRequest(long id, String path, String mimeType) { in ScanRequest() 82 public static void requestScanBlocking(Context context, long id, String path, String mimeType) { in requestScanBlocking()
|
| /packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
| D | MimeUtility.java | 220 String mimeType = part.getMimeType(); in getTextFromPart() local 280 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() 294 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() 363 String mimeType = part.getMimeType().toLowerCase(); in collectParts() local
|
| /packages/apps/Camera2/src/com/android/camera/ |
| D | Storage.java | 131 int height, String mimeType) throws IOException { in addImage() 161 int height, String mimeType, ExifInterface exif) { in addImageToMediaStore() 201 String mimeType, boolean isPending) { in getContentValuesForData() 294 byte[] jpeg, int width, int height, String mimeType) throws IOException { in updateImage() 360 Bitmap bitmap, int width, int height, String mimeType, ExifInterface exif) { in updateImage() 378 private String generateFilepath(String title, String mimeType) { in generateFilepath() 382 public String generateFilepath(String directory, String title, String mimeType) { in generateFilepath()
|
| /packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
| D | ModernMediaScanner.java | 788 final String mimeType = c.getString(3); in visitFile() local 859 File file, String mimeType, int defaultMediaType) { in mediaTypeFromMimeType() 1022 BasicFileAttributes attrs, String mimeType, int mediaType, String volumeName) { in scanItem() 1060 File file, BasicFileAttributes attrs, String mimeType, Integer mediaType) { in withGenericValues() 1101 MediaMetadataRetriever mmr, String mimeType) { in withRetrieverValues() 1148 XmpInterface xmp, String mimeType) { in withXmpValues() 1195 final String mimeType = optionalMimeType.get(); in withOptionalMimeTypeAndMediaType() local 1240 File file, BasicFileAttributes attrs, String mimeType, String volumeName) { in scanItemDirectory() 1254 File file, BasicFileAttributes attrs, String mimeType, int mediaType, in scanItemAudio() 1287 File file, BasicFileAttributes attrs, String mimeType, int mediaType, in scanItemPlaylist() [all …]
|
| /packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
| D | StubProvider.java | 210 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() 572 String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in dispatchCreateDocumentWithFlags() local 605 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() 623 private File createFile(StubDocument parent, String mimeType, String displayName) in createFile() 720 public Uri createRegularFile(String rootId, String path, String mimeType, byte[] content) in createRegularFile() 734 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) in createVirtualFile() 764 private File createFile(String rootId, String path, String mimeType, byte[] content) in createFile() 820 public final String mimeType; field in StubProvider.StubDocument 826 private StubDocument(File file, String mimeType, List<String> streamTypes, int flags, in StubDocument() 852 File file, String mimeType, StubDocument parent) { in createRegularDocument() [all …]
|
| /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
| D | SortingCursorWrapperTest.java | 238 String mimeType =(i % 2 == 0) ? Document.MIME_TYPE_DIR : "text/*"; in testSort_sizesWithBucketing_ascending() local 258 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_ascending() local 290 String mimeType =(i % 2 == 0) ? Document.MIME_TYPE_DIR : "text/*"; in testSort_sizesWithBucketing_descending() local 309 String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in testSort_sizesWithBucketing_descending() local
|