Searched refs:mimeType (Results 76 - 100 of 217) sorted by relevance

123456789

/frameworks/av/media/libstagefright/include/
H A DDRMExtractor.h58 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DFLACExtractor.h60 bool SniffFLAC(const sp<DataSource> &source, String8 *mimeType,
H A DMP3Extractor.h57 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DMPEG2PSExtractor.h75 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DOggExtractor.h59 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DWAVExtractor.h65 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DWVMExtractor.h96 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DMPEG2TSExtractor.h96 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DMidiExtractor.h91 bool SniffMidi(const sp<DataSource> &source, String8 *mimeType,
H A DSoftVideoDecoderOMXComponent.h64 const char *mimeType,
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.h40 static bool IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DQuickViewIntentBuilder.java80 intent.setDataAndType(mDocument.derivedUri, mDocument.mimeType);
125 String mimeType;
141 mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE);
142 if (Document.MIME_TYPE_DIR.equals(mimeType)) {
/frameworks/support/v4/java/android/support/v4/provider/
H A DSingleDocumentFile.java34 public DocumentFile createFile(String mimeType, String displayName) { argument
H A DRawDocumentFile.java36 public DocumentFile createFile(String mimeType, String displayName) { argument
38 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java391 * The mimeType parameter will be normalized with
396 * if the mimeType parameter has serious problems,
405 * @param mimeType a valid MIME type
408 * @throws IllegalArugmentException if the mimeType is empty or invalid
411 public static NdefRecord createMime(String mimeType, byte[] mimeData) { argument
412 if (mimeType == null) throw new NullPointerException("mimeType is null");
417 mimeType = Intent.normalizeMimeType(mimeType);
418 if (mimeType
[all...]
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp285 const sp<DataSource> &source, String8 *mimeType, float *confidence,
291 *mimeType = String8("drm+container_based+") + decryptHandle->mimeType;
294 *mimeType = String8("drm+es_based+") + decryptHandle->mimeType;
284 SniffDRM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DWVMExtractor.cpp169 const sp<DataSource> &source, String8 *mimeType, float *confidence,
185 *mimeType = MEDIA_MIMETYPE_CONTAINER_WVM;
168 SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DAACExtractor.cpp143 String8 mimeType; local
147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) {
335 const sp<DataSource> &source, String8 *mimeType, float *confidence,
374 *mimeType = MEDIA_MIMETYPE_AUDIO_AAC_ADTS;
334 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp178 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument
180 const String8 plugInId = getSupportedPlugInId(mimeType);
254 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument
256 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType);
259 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType);
331 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { argument
335 const String8 plugInId = getSupportedPlugInId(mimeType);
463 int uniqueId, const DrmBuffer& buf, const String8& mimeType) {
475 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType);
553 int uniqueId, const String8& path, const String8& mimeType) {
462 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument
564 getSupportedPlugInId(const String8& mimeType) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java627 public Request setMimeType(String mimeType) { argument
628 mMimeType = mimeType;
1209 String mimeType = null;
1221 mimeType = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE));
1229 if (oldDisplayName == null || mimeType == null) {
1248 if (mimeType.startsWith("image/")) {
1313 * @param mimeType mimetype of the file.
1323 boolean isMediaScannerScannable, String mimeType, String path, long length,
1325 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path,
1342 * @param mimeType mimetyp
1322 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument
1353 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, Uri uri, Uri referer) argument
1361 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument
1369 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite, Uri uri, Uri referer) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h182 * @param[in] mimeType Mime type of the content or null.
187 int uniqueId, const String8& path, const String8& mimeType) = 0;
354 * @param[in] mimeType Mime type of the protected content
359 const DrmBuffer& buf, const String8& mimeType) = 0;
/frameworks/av/include/media/stagefright/
H A DDataSource.h105 bool sniff(String8 *mimeType, float *confidence, sp<AMessage> *meta);
111 const sp<DataSource> &source, String8 *mimeType,
/frameworks/av/include/ndk/
H A DNdkMediaDrm.h86 * whether the drm plugin is able to handle the media container format specified by mimeType.
89 * mimeType is the MIME type of the media container, e.g. "video/mp4". If mimeType
92 bool AMediaDrm_isCryptoSchemeSupported(const uint8_t *uuid, const char *mimeType);
173 * provided in the mimeType parameter. It could contain, for example, the content
179 * mimeType identifies the mime type of the content.
202 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.h92 const sp<DataSource> &source, String8 *mimeType, float *confidence,
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DModelBackedDocumentsAdapterTest.java89 public boolean isDocumentEnabled(String mimeType, int flags) { argument

Completed in 2010 milliseconds

123456789