/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 844 const sp<DataSource> &source, String8 *mimeType, float *confidence, 858 *mimeType = MEDIA_MIMETYPE_AUDIO_FLAC; 843 SniffFLAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | OggExtractor.cpp | 73 const char *mimeType, 298 const char *mimeType, 309 mMimeType(mimeType), 1351 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1358 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_OGG); 296 MyOggExtractor( const sp<DataSource> &source, const char *mimeType, size_t numHeaders, int64_t seekPreRollUs) argument 1350 SniffOgg( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | MPEG4Extractor.cpp | 4959 const sp<DataSource> &source, String8 *mimeType, float *confidence) { 4973 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4; 5019 const sp<DataSource> &source, String8 *mimeType, float *confidence, 5122 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4; 5136 const sp<DataSource> &source, String8 *mimeType, float *confidence, 5138 if (BetterSniffMPEG4(source, mimeType, confidence, meta)) { 5142 if (LegacySniffMPEG4(source, mimeType, confidence)) { 4958 LegacySniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence) argument 5018 BetterSniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument 5135 SniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 184 bool AMediaDrm_isCryptoSchemeSupported(const AMediaUUID uuid, const char *mimeType) { argument 191 String8 mimeStr = mimeType ? String8(mimeType) : String8(""); 272 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, 279 if (!mimeType || !scope || !keyRequest || !keyRequestSize) { 311 status_t status = mObj->mDrm->getKeyRequest(*iter, mdInit, String8(mimeType), 271 AMediaDrm_getKeyRequest(AMediaDrm *mObj, const AMediaDrmScope *scope, const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, const AMediaDrmKeyValue *optionalParameters, size_t numOptionalParameters, const uint8_t **keyRequest, size_t *keyRequestSize) argument
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 414 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri uri, String mimeType, argument 423 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); 1514 * <p>The default implementation compares the given mimeType against the 1575 * <p>The default implementation compares the given mimeType against the 1640 * @param mimeType The desired type of data to be written. 1645 @NonNull String mimeType, @Nullable Bundle opts, @Nullable T args); 1656 * @param mimeType The desired type of data to be written. 1666 final @NonNull String mimeType, final @Nullable Bundle opts, final @Nullable T args, 1674 func.writeDataToPipe(fds[1], uri, mimeType, opts, args); 1644 writeDataToPipe(@onNull ParcelFileDescriptor output, @NonNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable T args) argument 1665 openPipeHelper(final @NonNull Uri uri, final @NonNull String mimeType, final @Nullable Bundle opts, final @Nullable T args, final @NonNull PipeDataWriter<T> func) argument
|
H A D | ContentResolver.java | 1076 * @param mimeType The desired MIME type of the returned data. This can 1090 @NonNull String mimeType, @Nullable Bundle opts) throws FileNotFoundException { 1091 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 1109 * @param mimeType The desired MIME type of the returned data. This can 1126 @NonNull String mimeType, @Nullable Bundle opts, 1129 Preconditions.checkNotNull(mimeType, "mimeType"); 1148 mPackageName, uri, mimeType, opts, remoteCancellationSignal); 1163 mPackageName, uri, mimeType, opts, remoteCancellationSignal); 2701 public Drawable getTypeDrawable(String mimeType) { argument 1089 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 1125 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal cancellationSignal) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 1056 * @param mimeType MIME type of new document 1061 String mimeType, String displayName) { 1065 return createDocument(client, parentDocumentUri, mimeType, displayName); 1076 String mimeType, String displayName) throws RemoteException { 1079 in.putString(Document.COLUMN_MIME_TYPE, mimeType); 1060 createDocument(ContentResolver resolver, Uri parentDocumentUri, String mimeType, String displayName) argument 1075 createDocument(ContentProviderClient client, Uri parentDocumentUri, String mimeType, String displayName) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 53 const char* mimeType; local 56 mimeType = "image/bmp"; 59 mimeType = "image/gif"; 62 mimeType = "image/x-ico"; 65 mimeType = "image/jpeg"; 68 mimeType = "image/png"; 71 mimeType = "image/webp"; 74 mimeType = "image/vnd.wap.wbmp"; 77 mimeType = "image/x-adobe-dng"; 80 mimeType 310 jstring mimeType = encodedFormatToString(env, codec->getEncodedFormat()); local [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 416 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 421 Utility::getStringValue(env, mimeType)); 499 processedData, env->NewStringUTF(pDrmInfoStatus->mimeType.string())); 582 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 587 Utility::getStringValue(env, mimeType)); 600 String8 mimeType local 605 return env->NewStringUTF(mimeType.string()); 633 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) { 637 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType)); 415 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 581 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 632 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardExporterTests.java | 1042 private String getAndroidPropValue(final String mimeType, String value, Integer type) { argument 1043 return getAndroidPropValue(mimeType, value, type, null); 1046 private String getAndroidPropValue(final String mimeType, String value, argument 1048 return (mimeType + ";" + value + ";"
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 144 String8 mimeType; local 153 mDataSource, &mimeType, &confidence, &dummy); 156 mimeType.string(), MEDIA_MIMETYPE_CONTAINER_WVM)) { 157 ALOGE("unsupported widevine mime: %s", mimeType.string()); 161 if (!mDataSource->sniff(&mimeType, &confidence, &dummy)) { 165 mimeType.string(), MEDIA_MIMETYPE_CONTAINER_WVM); 180 mimeType.isEmpty() ? NULL : mimeType.string());
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 1372 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1381 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MATROSKA); 1371 SniffMatroska( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 627 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/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 125 public void loadData(String data, String mimeType, String encoding); argument 128 String mimeType, String encoding, String historyUrl); 127 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
H A D | WebView.java | 975 * @param mimeType the MIME type of the data, e.g. 'text/html' 978 public void loadData(String data, String mimeType, String encoding) { argument 980 mProvider.loadData(data, mimeType, encoding); 1006 * @param mimeType the MIMEType of the data, e.g. 'text/html'. If null, 1013 String mimeType, String encoding, String historyUrl) { 1015 mProvider.loadDataWithBaseURL(baseUrl, data, mimeType, encoding, historyUrl); 1012 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDrm.java | 168 * media container format specified by mimeType. 170 * @param mimeType The MIME type of the media container, e.g. "video/mp4" 174 @NonNull UUID uuid, @NonNull String mimeType) { 175 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid), mimeType); 192 @NonNull byte[] uuid, @Nullable String mimeType); 753 * mime type provided in the mimeType parameter. It could contain, for example, 757 * @param mimeType identifies the mime type of the content 770 @Nullable String mimeType, @KeyType int keyType, 173 isCryptoSchemeSupported( @onNull UUID uuid, @NonNull String mimeType) argument 191 isCryptoSchemeSupportedNative( @onNull byte[] uuid, @Nullable String mimeType) argument 768 getKeyRequest( @onNull byte[] scope, @Nullable byte[] init, @Nullable String mimeType, @KeyType int keyType, @Nullable HashMap<String, String> optionalParameters) argument
|
H A D | MediaScanner.java | 500 public FileEntry beginFile(String path, String mimeType, long lastModified, argument 502 mMimeType = mimeType; 513 // try mimeType first, if it is specified 514 if (mimeType != null) { 515 mFileType = MediaFile.getFileTypeForMimeType(mimeType); 518 // if mimeType was not specified, compute file type based on file extension. 524 mMimeType = mediaFileType.mimeType; 583 public Uri doScanFile(String path, String mimeType, long lastModified, argument 588 FileEntry entry = beginFile(path, mimeType, lastModified, 646 processFile(path, mimeType, thi 832 setMimeType(String mimeType) argument 1436 scanSingleFile(String path, String mimeType) argument 1940 processFile(String path, String mimeType, MediaScannerClient client) argument [all...] |
H A D | MediaPlayer.java | 2164 private static boolean availableMimeTypeForExternalSource(String mimeType) { argument 2165 if (MEDIA_MIMETYPE_TEXT_SUBRIP.equals(mimeType)) { 2384 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 2386 * @throws IllegalArgumentException if the mimeType is not supported. 2389 public void addTimedTextSource(String path, String mimeType) argument 2391 if (!availableMimeTypeForExternalSource(mimeType)) { 2392 final String msg = "Illegal mimeType for timed text source: " + mimeType; 2400 addTimedTextSource(fd, mimeType); 2418 * @param mimeType Th 2423 addTimedTextSource(Context context, Uri uri, String mimeType) argument 2465 addTimedTextSource(FileDescriptor fd, String mimeType) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.cpp | 415 bool JDrm::IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) { argument 422 return drm->isCryptoSchemeSupported(uuid, mimeType); 741 String8 mimeType; local 743 mimeType = JStringToString8(env, jmimeType); 746 return JDrm::IsCryptoSchemeSupported(uuid.array(), mimeType); 800 String8 mimeType; local 802 mimeType = JStringToString8(env, jmimeType); 831 status_t err = drm->getKeyRequest(sessionId, initData, mimeType,
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Metrics.java | 715 * @param mimeType 718 private static @Mime int sanitizeMime(String mimeType) { argument 719 if (mimeType == null) { 721 } else if ("*/*".equals(mimeType)) { 724 String type = mimeType.substring(0, mimeType.indexOf('/'));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 633 public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte[] data) { argument 634 if (mimeType.equals(ConfigBuilder.WifiConfigType)) { 643 Log.i(TAG, "Unknown wi-fi config type: " + mimeType);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 1596 public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte[] data) { argument 1598 return mService.buildWifiConfig(uriString, mimeType, data);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntry.java | 1439 public AndroidCustomData(String mimeType, List<String> dataList) { argument 1440 mMimeType = mimeType; 1445 String mimeType; 1449 mimeType = null; 1452 mimeType = list.get(0); 1457 mimeType = list.get(0); 1461 return new AndroidCustomData(mimeType, dataList);
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 315 SLchar * mimeType; member in struct:SLDataFormat_MIME_
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 334 XAchar * mimeType; member in struct:XADataFormat_MIME_ 1373 XAchar * mimeType,
|