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

12345

/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/
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.cpp4819 const sp<DataSource> &source, String8 *mimeType, float *confidence) {
4833 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
4879 const sp<DataSource> &source, String8 *mimeType, float *confidence,
4982 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
4996 const sp<DataSource> &source, String8 *mimeType, float *confidence,
4998 if (BetterSniffMPEG4(source, mimeType, confidence, meta)) {
5002 if (LegacySniffMPEG4(source, mimeType, confidence)) {
4818 LegacySniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence) argument
4878 BetterSniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
4995 SniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
/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/content/
H A DContentResolver.java1074 * @param mimeType The desired MIME type of the returned data. This can
1088 @NonNull String mimeType, @Nullable Bundle opts) throws FileNotFoundException {
1089 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
1107 * @param mimeType The desired MIME type of the returned data. This can
1124 @NonNull String mimeType, @Nullable Bundle opts,
1127 Preconditions.checkNotNull(mimeType, "mimeType");
1146 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1161 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1087 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument
1123 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal cancellationSignal) argument
/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.java475 public FileEntry beginFile(String path, String mimeType, long lastModified, argument
477 mMimeType = mimeType;
488 // try mimeType first, if it is specified
489 if (mimeType != null) {
490 mFileType = MediaFile.getFileTypeForMimeType(mimeType);
493 // if mimeType was not specified, compute file type based on file extension.
499 mMimeType = mediaFileType.mimeType;
557 public Uri doScanFile(String path, String mimeType, long lastModified, argument
562 FileEntry entry = beginFile(path, mimeType, lastModified,
612 processFile(path, mimeType, thi
788 setMimeType(String mimeType) argument
1390 scanSingleFile(String path, String mimeType) argument
1894 processFile(String path, String mimeType, MediaScannerClient client) argument
[all...]
H A DMediaPlayer.java2163 private static boolean availableMimeTypeForExternalSource(String mimeType) { argument
2164 if (MEDIA_MIMETYPE_TEXT_SUBRIP.equals(mimeType)) {
2383 * @param mimeType The mime type of the file. Must be one of the mime types listed above.
2385 * @throws IllegalArgumentException if the mimeType is not supported.
2388 public void addTimedTextSource(String path, String mimeType) argument
2390 if (!availableMimeTypeForExternalSource(mimeType)) {
2391 final String msg = "Illegal mimeType for timed text source: " + mimeType;
2399 addTimedTextSource(fd, mimeType);
2417 * @param mimeType Th
2422 addTimedTextSource(Context context, Uri uri, String mimeType) argument
2464 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.java635 public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte[] data) { argument
636 if (mimeType.equals(ConfigBuilder.WifiConfigType)) {
645 Log.i(TAG, "Unknown wi-fi config type: " + mimeType);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1588 public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte[] data) { argument
1590 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,
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 361 milliseconds

12345