Home
last modified time | relevance | path

Searched defs:mimeType (Results 1 – 25 of 168) sorted by relevance

1234567

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveRegistry.java113 static String getArchiveName(String mimeType) { in getArchiveName()
125 static String getCompressName(String mimeType) { in getCompressName()
136 static Integer getArchiveType(String mimeType) { in getArchiveType()
DArchiveHandle.java87 @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/
DIconProvider.java42 public Drawable loadMimeIcon(String mimeType) { in loadMimeIcon()
51 final String mimeType = in getMimeType() local
61 String mimeType = getMimeType(file); in isImageType() local
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaSoftwareCodecUtil.java51 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/apps/Dialer/java/com/android/voicemail/impl/imap/
DVoicemailPayload.java21 private final String mimeType; field in VoicemailPayload
24 public VoicemailPayload(String mimeType, byte[] bytes) { in VoicemailPayload()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DActionMultiMap.java27 public void put(String mimeType, Action info) { in put()
35 public void put(String mimeType, Action info, boolean front) { in put()
DResolveCache.java124 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/apps/DocumentsUI/src/com/android/documentsui/base/
DMimeTypes.java40 public static @Nullable String[] splitMimeType(String mimeType) { in splitMimeType()
124 public static boolean isApkType(@Nullable String mimeType) { in isApkType()
128 public static boolean isDirectoryType(@Nullable String mimeType) { in isDirectoryType()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMediaCodecAudioDecoder.java58 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/Contacts/src/com/android/contacts/model/
DRawContactDelta.java155 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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java53 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/
DMimeUtility.java220 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/DocumentsUI/src/com/android/documentsui/
DFileTypeMap.java35 public String lookup(String mimeType) { in lookup()
DIconUtils.java44 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon()
54 public static Drawable loadMimeIcon(Context context, String mimeType) { in loadMimeIcon()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestFileTypeLookup.java30 public String lookup(String mimeType) { in lookup()
DTestDocumentsAccess.java63 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument()
92 public void assertCreatedDocument(DocumentInfo parent, String mimeType, String displayName) { in assertCreatedDocument()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemUtils.java42 public static boolean isMimeTypeVideo(String mimeType) { in isMimeTypeVideo()
52 public static boolean isMimeTypeImage(String mimeType) { in isMimeTypeImage()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java131 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/apps/DocumentsUI/src/com/android/documentsui/picker/
DConfig.java57 public boolean isDocumentEnabled(String mimeType, int docFlags, State state) { in isDocumentEnabled()
/packages/apps/Camera2/src/com/android/camera/session/
DStackSaver.java42 int imageOrientation, long captureTimeEpoch, String mimeType); in saveStackedImage()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMovie.java37 Movie(long id, @NonNull String mimeType, @NonNull String title) { in Movie()
44 Movie(long id, @NonNull String mimeType, @NonNull String title, int year) { in Movie()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java190 public String createDocument(String parentId, String mimeType, String displayName) in createDocument()
552 String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in dispatchCreateDocumentWithFlags() local
585 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument()
603 private File createFile(StubDocument parent, String mimeType, String displayName) in createFile()
700 public Uri createRegularFile(String rootId, String path, String mimeType, byte[] content) in createRegularFile()
714 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) in createVirtualFile()
744 private File createFile(String rootId, String path, String mimeType, byte[] content) in createFile()
800 public final String mimeType; field in StubProvider.StubDocument
806 private StubDocument(File file, String mimeType, List<String> streamTypes, int flags, in StubDocument()
832 File file, String mimeType, StubDocument parent) { in createRegularDocument()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DReadableArchiveTest.java84 private void loadArchive(ParcelFileDescriptor descriptor, String mimeType) in loadArchive()
317 private void queryDocumentByResIdWithMimeTypeAndVerify(@IdRes int resId, String mimeType) in queryDocumentByResIdWithMimeTypeAndVerify()
320 mimeType); in queryDocumentByResIdWithMimeTypeAndVerify() local
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java68 public void scanFile(String path, String mimeType) { in onBind()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataKind.java44 public String mimeType; field in DataKind
91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind()

1234567