Searched defs:mimeType (Results 76 - 89 of 89) sorted by relevance

1234

/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp2135 String8 mimeType; local
2143 success = SniffWVM(dataSource, &mimeType, &confidence, &dummy);
2148 mimeType.string(), MEDIA_MIMETYPE_CONTAINER_WVM)) {
2547 String8 mimeType(request.readString16());
2549 return mTextDriver->addOutOfBandTextSource(nTracks, uri, mimeType);
2560 String8 mimeType(request.readString16());
2563 nTracks, fd, offset, length, mimeType);
H A DMPEG4Extractor.cpp2307 const sp<DataSource> &source, String8 *mimeType, float *confidence) {
2321 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
2365 const sp<DataSource> &source, String8 *mimeType, float *confidence,
2459 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
2473 const sp<DataSource> &source, String8 *mimeType, float *confidence,
2475 if (BetterSniffMPEG4(source, mimeType, confidence, meta)) {
2479 if (LegacySniffMPEG4(source, mimeType, confidence)) {
2306 LegacySniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence) argument
2364 BetterSniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
2472 SniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
H A DOMXCodec.cpp4619 const char *mimeType, bool queryDecoders,
4621 return QueryCodecs(omx, mimeType, queryDecoders, false /*hwCodecOnly*/, results);
4617 QueryCodecs( const sp<IOMX> &omx, const char *mimeType, bool queryDecoders, Vector<CodecCapabilities> *results) argument
/frameworks/base/core/java/android/app/
H A DDownloadManager.java576 public Request setMimeType(String mimeType) { argument
577 mMimeType = mimeType;
1151 * @param mimeType mimetype of the file.
1161 boolean isMediaScannerScannable, String mimeType, String path, long length,
1167 validateArgumentIsNonEmpty("mimeType", mimeType);
1176 .setMimeType(mimeType);
1160 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification) argument
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java301 * @param mimeType Mimetype of the data being passed in
305 public void loadData(String baseUrl, String data, String mimeType, argument
320 if (mimeType == null || mimeType.length() == 0) {
321 mimeType = "text/html";
323 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl);
1162 String contentDisposition, String mimeType, String referer, long contentLength) {
1164 if (mimeType.isEmpty()) {
1167 mimeType = libcore.net.MimeUtils.guessMimeTypeFromExtension(extension);
1169 if (mimeType
1161 downloadStart(String url, String userAgent, String contentDisposition, String mimeType, String referer, long contentLength) argument
1280 nativeLoadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
[all...]
H A DWebViewProvider.java111 public void loadData(String data, String mimeType, String encoding); argument
114 String mimeType, String encoding, String historyUrl);
113 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebView.java826 * @param mimeType the MIME type of the data, e.g. 'text/html'
829 public void loadData(String data, String mimeType, String encoding) { argument
831 mProvider.loadData(data, mimeType, encoding);
851 * @param mimeType the MIMEType of the data, e.g. 'text/html'. If null,
858 String mimeType, String encoding, String historyUrl) {
860 mProvider.loadDataWithBaseURL(baseUrl, data, mimeType, encoding, historyUrl);
857 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebViewCore.java315 * Given mimeType, check whether it's supported in Android media framework.
316 * mimeType could be such as "audio/ogg" and "video/mp4".
318 /* package */ static boolean isSupportedMediaMimeType(String mimeType) { argument
319 int fileType = MediaFile.getFileTypeForMimeType(mimeType);
324 || (mimeType != null && mimeType.startsWith("video/m4v"));
H A DWebViewClassic.java2565 public void loadData(String data, String mimeType, String encoding) { argument
2566 loadDataImpl(data, mimeType, encoding);
2569 private void loadDataImpl(String data, String mimeType, String encoding) { argument
2571 dataUrl.append(mimeType);
2585 String mimeType, String encoding, String historyUrl) {
2588 loadDataImpl(data, mimeType, encoding);
2595 arg.mMimeType = mimeType;
2584 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java1438 public AndroidCustomData(String mimeType, List<String> dataList) { argument
1439 mMimeType = mimeType;
1444 String mimeType;
1448 mimeType = null;
1451 mimeType = list.get(0);
1456 mimeType = list.get(0);
1460 return new AndroidCustomData(mimeType, dataList);
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1676 private static boolean availableMimeTypeForExternalSource(String mimeType) { argument
1677 if (mimeType == MEDIA_MIMETYPE_TEXT_SUBRIP) {
1694 * @param mimeType The mime type of the file. Must be one of the mime types listed above.
1696 * @throws IllegalArgumentException if the mimeType is not supported.
1699 public void addTimedTextSource(String path, String mimeType) argument
1701 if (!availableMimeTypeForExternalSource(mimeType)) {
1702 final String msg = "Illegal mimeType for timed text source: " + mimeType;
1710 addTimedTextSource(fd, mimeType);
1728 * @param mimeType Th
1733 addTimedTextSource(Context context, Uri uri, String mimeType) argument
1775 addTimedTextSource(FileDescriptor fd, String mimeType) argument
1799 addTimedTextSource(FileDescriptor fd, long offset, long length, String mimeType) argument
[all...]
H A DMediaScanner.java439 public FileEntry beginFile(String path, String mimeType, long lastModified, argument
441 mMimeType = mimeType;
451 // try mimeType first, if it is specified
452 if (mimeType != null) {
453 mFileType = MediaFile.getFileTypeForMimeType(mimeType);
456 // if mimeType was not specified, compute file type based on file extension.
462 mMimeType = mediaFileType.mimeType;
521 public Uri doScanFile(String path, String mimeType, long lastModified, argument
526 FileEntry entry = beginFile(path, mimeType, lastModified,
566 processFile(path, mimeType, thi
742 setMimeType(String mimeType) argument
1333 scanSingleFile(String path, String volumeName, String mimeType) argument
1826 processFile(String path, String mimeType, MediaScannerClient client) argument
[all...]
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h315 SLchar * mimeType; member in struct:SLDataFormat_MIME_
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h334 XAchar * mimeType; member in struct:XADataFormat_MIME_
1373 XAchar * mimeType,

Completed in 317 milliseconds

1234