Searched defs:mimeType (Results 101 - 125 of 128) sorted by relevance

123456

/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp844 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 DOggExtractor.cpp73 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 DMPEG4Extractor.cpp4959 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 DNdkMediaDrm.cpp184 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 DContentProvider.java414 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 DContentResolver.java1076 * @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 DDocumentsContract.java1056 * @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 DBitmapFactory.cpp53 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 Dandroid_drm_DrmManagerClient.cpp416 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 DVCardExporterTests.java1042 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 DGenericSource.cpp144 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 DMatroskaExtractor.cpp1372 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 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/base/core/java/android/webkit/
H A DWebViewProvider.java125 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 DWebView.java975 * @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 DMediaDrm.java168 * 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 DMediaScanner.java500 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 DMediaPlayer.java2164 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 Dandroid_media_MediaDrm.cpp415 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 DMetrics.java715 * @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 DWifiServiceImpl.java633 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 DWifiManager.java1596 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 DVCardEntry.java1439 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 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 663 milliseconds

123456