/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 334 XAchar * mimeType; member in struct:XADataFormat_MIME_ 1373 XAchar * mimeType,
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 315 SLchar * mimeType; member in struct:SLDataFormat_MIME_
|
/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/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/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContactEntry.java | 33 public ContentValuesBuilder addContentValues(String mimeType) { argument 35 contentValues.put(Data.MIMETYPE, mimeType);
|
H A D | ContentValuesVerifierElem.java | 35 public ContentValuesBuilder addExpected(String mimeType) { argument 37 contentValues.put(Data.MIMETYPE, mimeType);
|
/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
|
H A D | VCardEntry.java | 1438 public AndroidCustomData(String mimeType, List<String> dataList) { argument 1439 mMimeType = mimeType; 1444 String mimeType; 1448 mimeType = null; 1451 mimeType = list.get(0); 1456 mimeType = list.get(0); 1460 return new AndroidCustomData(mimeType, dataList);
|
/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/opt/mms/src/java/com/google/android/mms/util/ |
H A D | DrmConvertSession.java | 44 * @param mimeType Mimetype of content that shall be converted. 47 public static DrmConvertSession open(Context context, String mimeType) { argument 50 if (context != null && mimeType != null && !mimeType.equals("")) { 54 convertSessionId = drmClient.openConvertSession(mimeType); 56 Log.w(TAG, "Conversion of Mimetype: " + mimeType
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 79 public static boolean isImageMimeType(String mimeType) { argument 80 return mimeType != null && mimeType.startsWith("image/");
|
/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/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/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 46 * @param mimeType The MIME type. 48 public DrmInfo(int infoType, byte[] data, String mimeType) { argument 50 mMimeType = mimeType; 54 "mimeType: " + mimeType + "," + 66 * @param mimeType The MIME type. 68 public DrmInfo(int infoType, String path, String mimeType) { argument 70 mMimeType = mimeType; 81 "mimeType: " + mimeType [all...] |
H A D | DrmInfoRequest.java | 65 * @param mimeType MIME type. 67 public DrmInfoRequest(int infoType, String mimeType) { argument 69 mMimeType = mimeType; 72 "mimeType: " + mimeType;
|
H A D | DrmInfoStatus.java | 55 public final String mimeType; field in class:DrmInfoStatus 72 * @param mimeType The MIME type. 74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { argument 83 if (mimeType == null || mimeType == "") { 84 throw new IllegalArgumentException("mimeType is null or an empty string"); 90 this.mimeType = mimeType;
|
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...] |
H A D | DrmRights.java | 50 * @param mimeType MIME type. Must not be null or an empty string. 52 public DrmRights(String rightsFilePath, String mimeType) { argument 54 instantiate(file, mimeType); 61 * @param mimeType MIME type. Must not be null or an empty string. 64 public DrmRights(String rightsFilePath, String mimeType, String accountId) { argument 65 this(rightsFilePath, mimeType); 74 * @param mimeType MIME type. Must not be null or an empty string. 79 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { 80 this(rightsFilePath, mimeType); 90 * @param mimeType MIM 78 DrmRights( String rightsFilePath, String mimeType, String accountId, String subscriptionId) argument 92 DrmRights(File rightsFile, String mimeType) argument 96 instantiate(File rightsFile, String mimeType) argument 118 DrmRights(ProcessedData data, String mimeType) argument [all...] |
H A D | DrmSupportInfo.java | 38 * @param mimeType MIME type that can be handles by this DRM plug-in. 41 public void addMimeType(String mimeType) { argument 42 if (mimeType == null) { 43 throw new IllegalArgumentException("mimeType is null"); 45 if (mimeType == "") { 46 throw new IllegalArgumentException("mimeType is an empty string"); 49 mMimeTypeList.add(mimeType); 157 * @param mimeType MIME type. 159 * Null or empty string is not a supported mimeType. 161 /* package */ boolean isSupportedMimeType(String mimeType) { argument [all...] |
/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/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 132 int mimeType; 139 mimeType = DRM_MIMETYPE_MESSAGE; 141 mimeType = DRM_MIMETYPE_CONTENT; 143 throw new IllegalArgumentException("mimeType must be DRM_MIMETYPE_MESSAGE or DRM_MIMETYPE_CONTENT"); 149 id = nativeConstructDrmContent(inData, inDataLen, mimeType); 387 * @param mimeType the mime type of this DRM content. the value of this field includes: 394 private native int nativeConstructDrmContent(InputStream data, int len, int mimeType); argument
|
H A D | DrmRightsManager.java | 95 int mimeType = 0; 98 mimeType = DRM_MIMETYPE_RIGHTS_XML; 100 mimeType = DRM_MIMETYPE_RIGHTS_WBXML; 102 mimeType = DRM_MIMETYPE_MESSAGE; 104 throw new IllegalArgumentException("mimeType must be DRM_MIMETYPE_RIGHTS_XML or DRM_MIMETYPE_RIGHTS_WBXML or DRM_MIMETYPE_MESSAGE"); 112 int res = nativeInstallDrmRights(rightsData, len, mimeType, rights); 193 * @param mimeType the mime type of this DRM rights object. the value of this field includes: 201 private native int nativeInstallDrmRights(InputStream data, int len, int mimeType, DrmRights rights); argument
|
/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...] |
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...] |