Home
last modified time | relevance | path

Searched defs:mimeType (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java228 String mimeType = unit.getValueString(); in testWellKnownShortIntegerMimeTypeValues() local
230 assertEquals(Wap230WspContentTypeTest.WELL_KNOWN_SHORT_MIME_TYPES.get(value), mimeType); in testWellKnownShortIntegerMimeTypeValues() local
247 String mimeType = unit.getValueString(); in testWellKnownLongIntegerMimeTypeValues() local
249 assertEquals(Wap230WspContentTypeTest.WELL_KNOWN_SHORT_MIME_TYPES.get(value), mimeType); in testWellKnownLongIntegerMimeTypeValues() local
272 String mimeType = unit.getValueString(); in testConstrainedMediaExtensionMedia() local
289 String mimeType = unit.getValueString(); in testGeneralFormShortLengthExtensionMedia() local
304 String mimeType = unit.getValueString(); in testGeneralFormShortLengthWellKnownShortInteger() local
320 String mimeType = unit.getValueString(); in testGeneralFormShortLengthWellKnownShortIntegerWithUnknownValue() local
339 String mimeType = unit.getValueString(); in testGeneralFormShortLengthWellKnownLongInteger() local
358 String mimeType = unit.getValueString(); in testGeneralFormShortLengthWellKnownLongIntegerWithUnknownValue() local
[all …]
/frameworks/base/drm/java/android/drm/
DDrmRights.java53 public DrmRights(String rightsFilePath, String mimeType) { in DrmRights()
65 public DrmRights(String rightsFilePath, String mimeType, String accountId) { in DrmRights()
80 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { in DrmRights()
93 public DrmRights(File rightsFile, String mimeType) { in DrmRights()
97 private void instantiate(File rightsFile, String mimeType) { in instantiate()
119 public DrmRights(ProcessedData data, String mimeType) { in DrmRights()
DDrmInfoStatus.java55 public final String mimeType; field in DrmInfoStatus
74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { in DrmInfoStatus()
DDrmSupportInfo.java41 public void addMimeType(String mimeType) { in addMimeType()
161 /* package */ boolean isSupportedMimeType(String mimeType) { in isSupportedMimeType()
DDrmInfo.java49 public DrmInfo(int infoType, byte[] data, String mimeType) { in DrmInfo()
69 public DrmInfo(int infoType, String path, String mimeType) { in DrmInfo()
DDrmManagerClient.java484 public boolean canHandle(String path, String mimeType) { in canHandle()
499 public boolean canHandle(Uri uri, String mimeType) { in canHandle()
571 public int getDrmObjectType(String path, String mimeType) { in getDrmObjectType()
588 public int getDrmObjectType(Uri uri, String mimeType) { in getDrmObjectType()
761 public int openConvertSession(String mimeType) { in openConvertSession()
890 private native boolean _canHandle(int uniqueId, String path, String mimeType); in _canHandle()
899 private native int _getDrmObjectType(int uniqueId, String path, String mimeType); in _getDrmObjectType()
909 private native int _openConvertSession(int uniqueId, String mimeType); in _openConvertSession()
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java39 private static MimeTypeInfo buildTypeInfo(String mimeType, int iconId, in buildTypeInfo()
55 private static @Nullable MimeTypeInfo buildTypeInfo(@NonNull String mimeType) { in buildTypeInfo()
225 private static @Nullable MimeTypeInfo buildGenericTypeInfo(@NonNull String mimeType) { in buildGenericTypeInfo()
256 public static @NonNull MimeTypeInfo getTypeInfo(@NonNull String mimeType) { in getTypeInfo()
/frameworks/base/media/java/android/media/
DMediaFile.java58 public final String mimeType; field in MediaFile.MediaFileType
60 MediaFileType(int fileType, String mimeType) { in MediaFileType()
89 static void addFileType(String extension, int fileType, String mimeType) { in addFileType()
92 private static void addFileType(int mtpFormatCode, @NonNull String mimeType) { in addFileType()
203 public static boolean isExifMimeType(@Nullable String mimeType) { in isExifMimeType()
208 public static boolean isAudioMimeType(@Nullable String mimeType) { in isAudioMimeType()
212 public static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType()
216 public static boolean isImageMimeType(@Nullable String mimeType) { in isImageMimeType()
220 public static boolean isPlayListMimeType(@Nullable String mimeType) { in isPlayListMimeType()
234 public static boolean isDrmMimeType(@Nullable String mimeType) { in isDrmMimeType()
[all …]
DIMediaScannerService.aidl35 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); in requestScanFile()
45 void scanFile(String path, String mimeType); in scanFile()
DDrmInitData.java52 public final String mimeType; field in DrmInitData.SchemeInitData
64 public SchemeInitData(String mimeType, byte[] data) { in SchemeInitData()
DMediaDrm.java184 @NonNull UUID uuid, @NonNull String mimeType) { in isCryptoSchemeSupported()
201 @NonNull UUID uuid, @NonNull String mimeType, @SecurityLevel int securityLevel) { in isCryptoSchemeSupported()
220 @NonNull byte[] uuid, @Nullable String mimeType, @SecurityLevel int securityLevel); in isCryptoSchemeSupportedNative()
/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java81 public boolean hasMimeType(String mimeType) { in hasMimeType()
117 public String getExtensionFromMimeType(String mimeType) { in getExtensionFromMimeType()
131 /* package */ String remapGenericMimeType(@Nullable String mimeType, String url, in remapGenericMimeType()
DWebResourceResponse.java62 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse()
89 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse()
101 public void setMimeType(String mimeType) { in setMimeType()
235 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse()
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java34 private final String mimeType; field in FileInfo
54 public FileInfo(Uri uri, String mimeType) { in FileInfo()
/frameworks/av/drm/common/
DDrmRights.cpp22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType, in DrmRights()
35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, in DrmRights()
DIDrmManagerService.cpp220 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { in canHandle()
269 const String8 mimeType = reply.readString8(); in processDrmInfo() local
354 const String8 mimeType = drmRights.getMimeType(); in saveRights() local
388 int uniqueId, const String8& path, const String8& mimeType) { in getDrmObjectType()
491 int BpDrmManagerService::openConvertSession(int uniqueId, const String8& mimeType) { in openConvertSession()
616 String8 mimeType; in openDecryptSession() local
641 String8 mimeType; in openDecryptSession() local
660 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
924 const String8 mimeType = data.readString8(); in onTransact() local
994 const String8 mimeType = data.readString8(); in onTransact() local
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmFactory.cpp46 const hidl_string &mimeType, in isCryptoSchemeSupported_1_2()
52 Return<bool> DrmFactory::isContentTypeSupported(const hidl_string &mimeType) { in isContentTypeSupported()
/frameworks/base/core/java/android/content/
DMimeTypeFilter.java77 public static boolean matches(@Nullable String mimeType, @NonNull String filter) { in matches()
93 public static String matches( in matches()
DClipDescription.java185 public boolean hasMimeType(String mimeType) { in hasMimeType()
203 public String[] filterMimeTypes(String mimeType) { in filterMimeTypes()
241 final String mimeType = mimeTypes[i]; in addMimeTypes() local
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { in canHandle()
71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { in getDrmObjectType()
103 int DrmManagerClient::openConvertSession(const String8& mimeType) { in openConvertSession()
134 const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
/frameworks/av/include/drm/
DDrmInfoStatus.h61 String8 mimeType; variable
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContactEntry.java33 public ContentValuesBuilder addContentValues(String mimeType) { in addContentValues()
DImportTestProvider.java45 final String mimeType = expectedContentValues.getAsString(Data.MIMETYPE); in addExpectedContentValues() local
86 final String mimeType = actualContentValues.getAsString(Data.MIMETYPE); in applyBatch() local
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DInitDataParserUnittest.cpp41 const String8& mimeType, in attemptParse()
48 const String8& mimeType, in attemptParseExpectingSuccess()
71 const String8& mimeType) { in attemptParseExpectingFailure()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java19 public static ArrayList<String> selectCodecs(String mimeType, boolean isEncoder) { in selectCodecs()

12345