/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 | DrmRights.java | 51 * @param mimeType MIME type. Must not be null or an empty string. 53 public DrmRights(String rightsFilePath, String mimeType) { argument 55 instantiate(file, mimeType); 62 * @param mimeType MIME type. Must not be null or an empty string. 65 public DrmRights(String rightsFilePath, String mimeType, String accountId) { argument 66 this(rightsFilePath, mimeType); 75 * @param mimeType MIME type. Must not be null or an empty string. 80 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { 81 this(rightsFilePath, mimeType); 91 * @param mimeType MIM 79 DrmRights( String rightsFilePath, String mimeType, String accountId, String subscriptionId) argument 93 DrmRights(File rightsFile, String mimeType) argument 97 instantiate(File rightsFile, String mimeType) argument 119 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...] |
H A D | DrmInfo.java | 47 * @param mimeType The MIME type. 49 public DrmInfo(int infoType, byte[] data, String mimeType) { argument 51 mMimeType = mimeType; 55 "mimeType: " + mimeType + "," + 67 * @param mimeType The MIME type. 69 public DrmInfo(int infoType, String path, String mimeType) { argument 71 mMimeType = mimeType; 82 "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;
|
/frameworks/base/media/java/android/media/ |
H A D | IMediaScannerService.aidl | 29 * @param mimeType an optional mimeType for the file. 30 * If mimeType is null, then the mimeType will be inferred from the file extension. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 40 * @param mimeType an optional mimeType for the file. 41 * If mimeType is null, then the mimeType will be inferred from the file extension. 43 void scanFile(String path, String mimeType); [all...] |
H A D | DrmInitData.java | 50 * The mimeType of {@link #data}. 52 public final String mimeType; field in class:DrmInitData.SchemeInitData 59 * @param mimeType The mimeType of the initialization data. 64 public SchemeInitData(String mimeType, byte[] data) { argument 65 this.mimeType = mimeType; 79 return mimeType.equals(other.mimeType) && Arrays.equals(data, other.data); 84 return mimeType [all...] |
H A D | MediaScannerClient.java | 35 public void setMimeType(String mimeType); argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | DrmFactory.cpp | 44 Return<bool> DrmFactory::isContentTypeSupported(const hidl_string &mimeType) { argument 46 return mimeType == kIsoBmffVideoMimeType || 47 mimeType == kIsoBmffAudioMimeType || 48 mimeType == kCencInitDataFormat || 49 mimeType == kWebmVideoMimeType || 50 mimeType == kWebmAudioMimeType || 51 mimeType == kWebmInitDataFormat;
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
H A D | FileInfo.java | 34 private final String mimeType; field in class:FileInfo 54 public FileInfo(Uri uri, String mimeType) { argument 56 this.mimeType = mimeType; 61 mimeType = in.readString(); 67 dest.writeString(mimeType); 87 return mimeType; 101 Objects.equals(mimeType, fileInfo.mimeType); 106 return Objects.hash(uri, mimeType); [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 78 * @param mimeType A MIME type (i.e. text/plain) 79 * @return {@code true} if there is a mimeType entry in the map. 81 public boolean hasMimeType(String mimeType) { argument 82 return MimeUtils.hasMimeType(mimeType); 113 * @param mimeType A MIME type (i.e. text/plain) 117 public String getExtensionFromMimeType(String mimeType) { argument 118 return MimeUtils.guessExtensionFromMimeType(mimeType); 126 * @param mimeType MIME type provided by the server. 131 /* package */ String remapGenericMimeType(@Nullable String mimeType, String url, argument 135 if ("text/plain".equals(mimeType) || [all...] |
H A D | WebResourceResponse.java | 46 * @param mimeType the resource response's MIME type, for example text/html 51 public WebResourceResponse(String mimeType, String encoding, argument 53 mMimeType = mimeType; 63 * @param mimeType the resource response's MIME type, for example text/html 74 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument 76 this(mimeType, encoding, data); 84 * @param mimeType The resource response's MIME type 86 public void setMimeType(String mimeType) { argument 88 mMimeType = mimeType; 219 public WebResourceResponse(boolean immutable, String mimeType, Strin argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/content/ |
H A D | MimeTypeFilter.java | 73 * @return True if the {@code mimeType} matches the {@code filter}. 75 public static boolean matches(@Nullable String mimeType, @NonNull String filter) { argument 76 if (mimeType == null) { 80 final String[] mimeTypeParts = mimeType.split("/"); 92 @Nullable String mimeType, @NonNull String[] filters) { 93 if (mimeType == null) { 97 final String[] mimeTypeParts = mimeType.split("/"); 120 for (String mimeType : mimeTypes) { 121 final String[] mimeTypeParts = mimeType.split("/"); 123 return mimeType; 91 matches( @ullable String mimeType, @NonNull String[] filters) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmInfoStatus.cpp | 26 mimeType(_mimeType) {
|
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 | 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/util/include/ |
H A D | MimeTypeUtil.h | 37 * @param mimeType - mimetype in lower case to convert. 41 static String8 convertMimeType(String8& mimeType);
|
/frameworks/av/include/media/stagefright/ |
H A D | StagefrightMediaScanner.h | 30 const char *path, const char *mimeType, 40 const char *path, const char *mimeType,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | StagefrightMediaScanner.h | 30 const char *path, const char *mimeType, 40 const char *path, const char *mimeType,
|
/frameworks/av/include/drm/ |
H A D | DrmRights.h | 39 * @param[in] mimeType MIME type 44 const String8& rightsFilePath, const String8& mimeType, 52 * @param[in] mimeType MIME type 57 const DrmBuffer& rightsData, const String8& mimeType,
|
H A D | DrmInfoStatus.h | 61 String8 mimeType; member in class:android::DrmInfoStatus
|
/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/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 228 String mimeType = unit.getValueString(); 230 assertEquals(Wap230WspContentTypeTest.WELL_KNOWN_SHORT_MIME_TYPES.get(value), mimeType); 247 String mimeType = unit.getValueString(); 249 assertEquals(Wap230WspContentTypeTest.WELL_KNOWN_SHORT_MIME_TYPES.get(value), mimeType); 272 String mimeType = unit.getValueString(); 273 assertEquals(testType, mimeType); 289 String mimeType = unit.getValueString(); 290 assertEquals(testType, mimeType); 304 String mimeType = unit.getValueString(); 305 assertEquals(STRING_MIME_TYPE_ROLLOVER_CERTIFICATE, mimeType); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 247 public static boolean isSupportedByRegionDecoder(String mimeType) { argument 248 if (mimeType == null) return false; 249 mimeType = mimeType.toLowerCase(); 250 return mimeType.startsWith("image/") && 251 (!mimeType.equals("image/gif") && !mimeType.endsWith("bmp")); 254 public static boolean isRotationSupported(String mimeType) { argument 255 if (mimeType == null) return false; 256 mimeType [all...] |