/frameworks/base/drm/java/android/drm/ |
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 | DrmOutputStream.java | 56 public DrmOutputStream(DrmManagerClient client, ParcelFileDescriptor pfd, String mimeType) argument 62 mSessionId = mClient.openConvertSession(mimeType); 64 throw new UnknownServiceException("Failed to open DRM session for " + mimeType);
|
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 | 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 | 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/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/av/drm/common/ |
H A D | DrmRights.cpp | 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType, argument 24 mMimeType(mimeType), 35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, argument 38 mMimeType(mimeType),
|
H A D | DrmInfoRequest.cpp | 24 DrmInfoRequest::DrmInfoRequest(int infoType, const String8& mimeType) : argument 25 mInfoType(infoType), mMimeType(mimeType) {
|
H A D | DrmInfo.cpp | 21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : argument 24 mMimeType(mimeType) {
|
H A D | DrmSupportInfo.cpp | 45 bool DrmSupportInfo::isSupportedMimeType(const String8& mimeType) const { 46 if (String8("") == mimeType) { 53 if (!strcasecmp(item.string(), mimeType.string())) { 86 status_t DrmSupportInfo::addMimeType(const String8& mimeType) { argument 87 mMimeTypeVector.push(mimeType);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 91 const DrmBuffer& buf, const String8& mimeType); 238 * @param[in] mimeType Mime type of the content or null. 243 int uniqueId, const String8& path, const String8& mimeType) = 0; 445 * @param[in] mimeType Mime type of the protected content 450 const DrmBuffer& buf, const String8& mimeType) { 449 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/include/drm/ |
H A D | DrmInfoStatus.h | 61 String8 mimeType; member in class:android::DrmInfoStatus
|
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 75 * @param mimeType A MIME type (i.e. text/plain) 76 * @return True iff there is a mimeType entry in the map. 78 public boolean hasMimeType(String mimeType) { argument 79 return MimeUtils.hasMimeType(mimeType); 109 * @param mimeType A MIME type (i.e. text/plain) 112 public String getExtensionFromMimeType(String mimeType) { argument 113 return MimeUtils.guessExtensionFromMimeType(mimeType); 121 * @param mimeType MIME type provided by the server. 126 /* package */ String remapGenericMimeType(String mimeType, String url, argument 130 if ("text/plain".equals(mimeType) || [all...] |
H A D | WebResourceResponse.java | 41 * @param mimeType the resource response's MIME type, for example text/html 45 public WebResourceResponse(String mimeType, String encoding, argument 47 mMimeType = mimeType; 57 * @param mimeType the resource response's MIME type, for example text/html 67 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument 69 this(mimeType, encoding, data); 77 * @param mimeType the resource response's MIME type 79 public void setMimeType(String mimeType) { argument 80 mMimeType = mimeType;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerClient.java | 35 public void setMimeType(String mimeType); argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 35 private static void add(String mimeType, int resId) { argument 36 if (sMimeIcons.put(mimeType, resId) != null) { 37 throw new RuntimeException(mimeType + " already registered!"); 220 Context context, String mimeType, String authority, String docId, int mode) { 221 if (Document.MIME_TYPE_DIR.equals(mimeType)) { 235 return loadMimeIcon(context, mimeType); 238 public static Drawable loadMimeIcon(Context context, String mimeType) { argument 239 if (Document.MIME_TYPE_DIR.equals(mimeType)) { 244 Integer resId = sMimeIcons.get(mimeType); 249 if (mimeType 219 loadMimeIcon( Context context, String mimeType, String authority, String docId, int mode) argument [all...] |
/frameworks/opt/telephony/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/support/v4/api21/android/support/v4/provider/ |
H A D | DocumentsContractApi21.java | 31 public static Uri createFile(Context context, Uri self, String mimeType, argument 33 return DocumentsContract.createDocument(context.getContentResolver(), self, mimeType,
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListWithMailMessages.java | 122 final String mimeType = "text/html"; field in class:ListWithMailMessages.MyAdapter 139 body.loadData(message.getBody(), mimeType, null);
|
/frameworks/support/v4/java/android/support/v4/provider/ |
H A D | SingleDocumentFile.java | 34 public DocumentFile createFile(String mimeType, String displayName) { argument
|
H A D | TreeDocumentFile.java | 33 public DocumentFile createFile(String mimeType, String displayName) { argument 34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName);
|
/frameworks/av/drm/libdrmframework/plugins/common/util/src/ |
H A D | MimeTypeUtil.cpp | 121 * @param mimeType - mimetype in lower case to convert. 125 String8 MimeTypeUtil::convertMimeType(String8& mimeType) { argument 126 String8 result = mimeType; 131 pMimeType = mimeType.string();
|
/frameworks/av/media/libmedia/ |
H A D | IMediaHTTPConnection.cpp | 134 virtual status_t getMIMEType(String8 *mimeType) { argument 135 *mimeType = String8(""); 149 *mimeType = String8(reply.readString16());
|