Searched refs:newMimeType (Results 1 – 2 of 2) sorted by relevance
148 String newMimeType = getMimeTypeFromExtension(extension); in remapGenericMimeType() local149 if (newMimeType != null) { in remapGenericMimeType()150 mimeType = newMimeType; in remapGenericMimeType()
2105 private ContentValues getContentValuesForFuseRename(String path, String newMimeType, in getContentValuesForFuseRename() argument2108 values.put(MediaColumns.MIME_TYPE, newMimeType); in getContentValuesForFuseRename()2114 int mediaType = MimeUtils.resolveMediaType(newMimeType); in getContentValuesForFuseRename()2126 if (!newMimeType.equalsIgnoreCase("null") && in getContentValuesForFuseRename()2127 matchUri(getContentUriForFile(path, newMimeType), allowHidden) == AUDIO_MEDIA) { in getContentValuesForFuseRename()2356 final String newMimeType = MimeUtils.resolveMimeType(new File(newPath)); in renameFileCheckedForFuse() local2357 if (!isMimeTypeSupportedInPath(newPath, newMimeType)) { in renameFileCheckedForFuse()2394 final String newMimeType = MimeUtils.resolveMimeType(new File(newPath)); in renameFileForFuse() local2396 final boolean isSameMimeType = newMimeType.equalsIgnoreCase(oldMimeType); in renameFileForFuse()2397 final ContentValues contentValues = getContentValuesForFuseRename(newPath, newMimeType, in renameFileForFuse()