/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 143 String8 mimeType; local 147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) { 335 const sp<DataSource> &source, String8 *mimeType, float *confidence, 374 *mimeType = MEDIA_MIMETYPE_AUDIO_AAC_ADTS; 334 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
H A D | FragmentedMP4Extractor.cpp | 324 const sp<DataSource> &source, String8 *mimeType, float *confidence, 432 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4; 448 const sp<DataSource> &source, String8 *mimeType, float *confidence, 454 return Sniff(source, mimeType, confidence, meta); 323 Sniff( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument 447 SniffFragmentedMP4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
H A D | WAVExtractor.cpp | 489 const sp<DataSource> &source, String8 *mimeType, float *confidence, 505 *mimeType = MEDIA_MIMETYPE_CONTAINER_WAV; 488 SniffWAV( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | MP3Extractor.cpp | 648 const sp<DataSource> &source, String8 *mimeType, 662 *mimeType = MEDIA_MIMETYPE_AUDIO_MPEG; 647 SniffMP3( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
|
H A D | AVIExtractor.cpp | 1286 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1294 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_AVI); 1285 SniffAVI( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | FLACExtractor.cpp | 793 const sp<DataSource> &source, String8 *mimeType, float *confidence, 807 *mimeType = MEDIA_MIMETYPE_AUDIO_FLAC; 792 SniffFLAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | OggExtractor.cpp | 1014 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1021 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_OGG); 1013 SniffOgg( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 265 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeType, Bundle opts) argument 268 return ContentProvider.this.openTypedAssetFile(uri, mimeType, opts); 904 * <p>The default implementation compares the given mimeType against the 962 * @param mimeType The desired type of data to be written. 966 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, argument 978 * @param mimeType The desired type of data to be written. 987 public <T> ParcelFileDescriptor openPipeHelper(final Uri uri, final String mimeType, argument 996 func.writeDataToPipe(fds[1], uri, mimeType, opts, args);
|
H A D | ContentResolver.java | 693 * @param mimeType The desired MIME type of the returned data. This can 707 String mimeType, Bundle opts) throws FileNotFoundException { 717 fd = unstableProvider.openTypedAssetFile(uri, mimeType, opts); 731 fd = stableProvider.openTypedAssetFile(uri, mimeType, opts); 706 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 389 * The mimeType parameter will be normalized with 394 * if the mimeType parameter has serious problems, 403 * @param mimeType a valid MIME type 406 * @throws IllegalArugmentException if the mimeType is empty or invalid 409 public static NdefRecord createMime(String mimeType, byte[] mimeData) { argument 410 if (mimeType == null) throw new NullPointerException("mimeType is null"); 415 mimeType = Intent.normalizeMimeType(mimeType); 416 if (mimeType [all...] |
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 43 data->writeString8(handle->mimeType); 75 handle->mimeType = data.readString8(); 229 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 237 data.writeString8(mimeType); 278 const String8 mimeType = reply.readString8(); local 290 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType); 361 const String8 mimeType = drmRights.getMimeType(); local 362 data.writeString8((mimeType == String8("")) ? String8("NULL") : mimeType); 395 int uniqueId, const String8& path, const String8& mimeType) { 394 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 498 openConvertSession(int uniqueId, const String8& mimeType) argument 623 String8 mimeType; local 648 String8 mimeType; local 666 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument 940 const String8 mimeType = data.readString8(); local 1005 const String8 mimeType = data.readString8(); local 1106 const String8 mimeType = data.readString8(); local 1214 const String8 mimeType = data.readString8(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 203 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 205 const String8 plugInId = getSupportedPlugInId(mimeType); 279 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 281 const String8 plugInId = getSupportedPlugInId(uniqueId, path, mimeType); 284 return rDrmEngine.getDrmObjectType(uniqueId, path, mimeType); 356 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { argument 360 const String8 plugInId = getSupportedPlugInId(mimeType); 488 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 500 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType); 578 int uniqueId, const String8& path, const String8& mimeType) { 487 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument 577 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 589 getSupportedPlugInId(const String8& mimeType) argument [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 117 int uniqueId, const String8& path, const String8& mimeType) { 119 if ((EMPTY_STRING != path) || (EMPTY_STRING != mimeType)) { 120 retCode = getDrmManagerService()->canHandle(uniqueId, path, mimeType); 151 String8 mimeType = EMPTY_STRING; local 153 mimeType = getDrmManagerService()->getOriginalMimeType(uniqueId, path, fd); 155 return mimeType; 159 int uniqueId, const String8& path, const String8& mimeType) { 161 if ((EMPTY_STRING != path) || (EMPTY_STRING != mimeType)) { 163 getDrmManagerService()->getDrmObjectType(uniqueId, path, mimeType); 224 int uniqueId, const String8& mimeType) { 116 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument 158 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 223 openConvertSession( int uniqueId, const String8& mimeType) argument 275 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 337 const String8& mimeType) { 338 String8 mimeStr = String8(mimeType); 349 ((0 == mimeType.length()) || IsMimeTypeSupported(mimeType)) && (mimeType != path) ) { 504 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType); 335 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 697 const sp<DataSource> &source, String8 *mimeType, float *confidence, 710 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MPEG2PS); 696 SniffMPEG2PS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 255 const char *mimeType) { 268 if (!strcasecmp(trackMIME, mimeType)) { 253 MakeSource( const char *uri, const char *mimeType) argument
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 455 * @param mimeType MIME type of the object to be handled. 459 public boolean canHandle(String path, String mimeType) { argument 460 if ((null == path || path.equals("")) && (null == mimeType || mimeType.equals(""))) { 463 return _canHandle(mUniqueId, path, mimeType); 470 * @param mimeType MIME type of the object to be handled 474 public boolean canHandle(Uri uri, String mimeType) { argument 475 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals(""))) { 478 return canHandle(convertUriToPath(uri), mimeType); 546 getDrmObjectType(String path, String mimeType) argument 563 getDrmObjectType(Uri uri, String mimeType) argument 736 openConvertSession(String mimeType) argument 864 _canHandle(int uniqueId, String path, String mimeType) argument 873 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 883 _openConvertSession(int uniqueId, String mimeType) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 113 public void loadData(String data, String mimeType, String encoding) { argument 117 String mimeType, String encoding, String failUrl) { 116 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String failUrl) argument
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardBuilder.java | 1860 final String mimeType, ContentValues contentValues) { 1861 if (!sAllowedAndroidPropertySet.contains(mimeType)) { 1889 mBuilder.append(mimeType); // Should not be encoded. 1859 appendAndroidSpecificProperty( final String mimeType, ContentValues contentValues) argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ShareCompat.java | 413 * @param mimeType mimetype of the shared data 417 public IntentBuilder setType(String mimeType) { argument 418 mIntent.setType(mimeType);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFile.java | 115 public final String mimeType; field in class:MediaFile.MediaFileType 117 MediaFileType(int fileType, String mimeType) { argument 119 this.mimeType = mimeType; 137 static void addFileType(String extension, int fileType, String mimeType) { argument 138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); 139 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType)); 142 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { argument 143 addFileType(extension, fileType, mimeType); 145 sMimeTypeToFormatMap.put(mimeType, Intege 285 isMimeTypeMedia(String mimeType) argument 309 getFileTypeForMimeType(String mimeType) argument 319 getFormatCode(String fileName, String mimeType) argument [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 940 const sp<DataSource> &source, String8 *mimeType, float *confidence, 949 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MATROSKA); 939 SniffMatroska( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 413 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 418 Utility::getStringValue(env, mimeType)); 496 processedData, env->NewStringUTF(pDrmInfoStatus->mimeType.string())); 579 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 584 Utility::getStringValue(env, mimeType)); 597 String8 mimeType local 602 return env->NewStringUTF(mimeType.string()); 629 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) { 633 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType)); 412 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 578 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 628 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/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 562 (JNIEnv * env, jobject rawContent, jobject data, jint len, jint mimeType) 568 switch (mimeType) { 570 mimeType = TYPE_DRM_MESSAGE; 573 mimeType = TYPE_DRM_CONTENT; 591 inData.mimeType = mimeType; 905 (JNIEnv * env, jobject rightsManager, jobject data, jint len, jint mimeType, jobject rights) 914 switch (mimeType) { 916 mimeType = TYPE_DRM_RIGHTS_XML; 919 mimeType 561 Java_android_drm_mobile1_DrmRawContent_nativeConstructDrmContent(JNIEnv * env, jobject rawContent, jobject data, jint len, jint mimeType) argument 904 Java_android_drm_mobile1_DrmRightsManager_nativeInstallDrmRights(JNIEnv * env, jobject rightsManager, jobject data, jint len, jint mimeType, jobject rights) argument [all...] |