/frameworks/av/media/libstagefright/include/ |
H A D | OggExtractor.h | 59 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | WAVExtractor.h | 65 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | MPEG2TSExtractor.h | 103 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | MidiExtractor.h | 91 bool SniffMidi(const sp<DataSource> &source, String8 *mimeType,
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.h | 40 static bool IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
|
/frameworks/support/core-utils/java/android/support/v4/provider/ |
H A D | DocumentFile.java | 150 * @param mimeType MIME type of new document, such as {@code image/png} or 161 public abstract DocumentFile createFile(String mimeType, String displayName); argument
|
H A D | SingleDocumentFile.java | 35 public DocumentFile createFile(String mimeType, String displayName) { argument
|
H A D | RawDocumentFile.java | 36 public DocumentFile createFile(String mimeType, String displayName) { argument 38 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 391 * 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/drm/drmserver/ |
H A D | DrmManager.cpp | 173 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 175 const String8 plugInId = getSupportedPlugInId(mimeType); 249 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 251 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType); 254 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType); 326 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { argument 330 const String8 plugInId = getSupportedPlugInId(mimeType); 458 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 470 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType); 548 int uniqueId, const String8& path, const String8& mimeType) { 457 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument 547 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 559 getSupportedPlugInId(const String8& mimeType) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 631 public Request setMimeType(String mimeType) { argument 632 mMimeType = mimeType; 1236 String mimeType = null; 1248 mimeType = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDIA_TYPE)); 1256 if (oldDisplayName == null || mimeType == null) { 1275 if (mimeType.startsWith("image/")) { 1340 * @param mimeType mimetype of the file. 1350 boolean isMediaScannerScannable, String mimeType, String path, long length, 1352 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path, 1369 * @param mimeType mimetyp 1349 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument 1380 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, Uri uri, Uri referer) argument 1388 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument 1396 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite, Uri uri, Uri referer) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 58 const char* mimeType; local 61 mimeType = "image/bmp"; 64 mimeType = "image/gif"; 67 mimeType = "image/x-ico"; 70 mimeType = "image/jpeg"; 73 mimeType = "image/png"; 76 mimeType = "image/webp"; 79 mimeType = "image/vnd.wap.wbmp"; 82 mimeType = "image/x-adobe-dng"; 85 mimeType 333 jstring mimeType = encodedFormatToString( local [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | IDrmEngine.h | 182 * @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;
|
H A D | DrmEngineBase.h | 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 91 const DrmBuffer& buf, const String8& mimeType); 238 * @param[in] mimeType Mime type of the content or null. 243 int uniqueId, const String8& path, const String8& mimeType) = 0; 445 * @param[in] mimeType Mime type of the protected content 452 const String8& /* mimeType */) {
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaDrm.h | 89 * whether the drm plugin is able to handle the media container format specified by mimeType. 92 * mimeType is the MIME type of the media container, e.g. "video/mp4". If mimeType 95 bool AMediaDrm_isCryptoSchemeSupported(const uint8_t *uuid, const char *mimeType); 175 * provided in the mimeType parameter. It could contain, for example, the content 181 * mimeType identifies the mime type of the content. 204 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG2TSExtractor.h | 103 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | MidiExtractor.h | 91 bool SniffMidi(const sp<DataSource> &source, String8 *mimeType,
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 143 String8 mimeType; local 147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) { 337 const sp<DataSource> &source, String8 *mimeType, float *confidence, 376 *mimeType = MEDIA_MIMETYPE_AUDIO_AAC_ADTS; 336 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
H A D | MediaExtractor.cpp | 231 const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) { 232 *mimeType = ""; 250 *mimeType = newMimeType; 230 sniff( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.h | 69 const char* mimeType,
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MPEG2TSExtractor.h | 103 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | MidiExtractor.h | 91 bool SniffMidi(const sp<DataSource> &source, String8 *mimeType,
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.h | 99 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 132 String mimeType, Bundle opts, ICancellationSignal signal) 134 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 258 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument 131 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 84 public static boolean isImageMimeType(String mimeType) { argument 85 return mimeType != null && mimeType.startsWith("image/");
|