/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 301 * @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...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_inner.h | 66 int32_t mimeType; member in struct:_T_DRM_Session_Node
|
H A D | svc_drm.h | 91 int32_t mimeType; member in struct:_T_DRM_Input_Data
|
/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/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/base/media/java/android/media/ |
H A D | MediaPlayer.java | 1676 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 D | MediaScanner.java | 439 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/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...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | IDrmEngine.h | 182 * @param[in] mimeType Mime type of the content or null. 187 int uniqueId, const String8& path, const String8& mimeType) = 0; 354 * @param[in] mimeType Mime type of the protected content 359 const DrmBuffer& buf, const String8& mimeType) = 0;
|
/frameworks/av/media/libstagefright/ |
H A D | WVMExtractor.cpp | 166 const sp<DataSource> &source, String8 *mimeType, float *confidence, 182 *mimeType = MEDIA_MIMETYPE_CONTAINER_WVM; 165 SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
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
|
/frameworks/av/media/libstagefright/include/ |
H A D | MPEG4Extractor.h | 103 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
H A D | AVIExtractor.h | 121 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 124 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument 126 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 232 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument
|
H A D | MockIContentProvider.java | 103 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 83 public static boolean isImageMimeType(String mimeType) { argument 84 return mimeType != null && mimeType.startsWith("image/");
|
/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 | IContentProvider.java | 59 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument
|
H A D | ContentProviderClient.java | 209 String mimeType, Bundle opts) 212 return mContentProvider.openTypedAssetFile(uri, mimeType, opts); 208 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
|
/frameworks/wilhelm/src/ |
H A D | data.c | 483 if (NULL != pDataFormat->mMIME.mimeType) { 485 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); 490 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 498 pDataFormat->mMIME.mimeType = myMIME; 720 if (NULL != pDataFormat->mMIME.mimeType) { 721 free(pDataFormat->mMIME.mimeType); 722 pDataFormat->mMIME.mimeType = NULL;
|
/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/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
|
/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/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 250 const sp<DataSource> &source, String8 *mimeType, float *confidence, 261 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MPEG2TS); 249 SniffMPEG2TS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|