Home
last modified time | relevance | path

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

123456

/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.java55 public DrmRights(String rightsFilePath, String mimeType) { in DrmRights()
67 public DrmRights(String rightsFilePath, String mimeType, String accountId) { in DrmRights()
82 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { in DrmRights()
95 public DrmRights(File rightsFile, String mimeType) { in DrmRights()
99 private void instantiate(File rightsFile, String mimeType) { in instantiate()
121 public DrmRights(ProcessedData data, String mimeType) { in DrmRights()
DDrmInfoStatus.java57 public final String mimeType; field in DrmInfoStatus
76 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { in DrmInfoStatus()
DDrmSupportInfo.java43 public void addMimeType(String mimeType) { in addMimeType()
163 /* package */ boolean isSupportedMimeType(String mimeType) { in isSupportedMimeType()
DDrmInfo.java51 public DrmInfo(int infoType, byte[] data, String mimeType) { in DrmInfo()
71 public DrmInfo(int infoType, String path, String mimeType) { in DrmInfo()
DDrmManagerClient.java500 public boolean canHandle(String path, String mimeType) { in canHandle()
515 public boolean canHandle(Uri uri, String mimeType) { in canHandle()
587 public int getDrmObjectType(String path, String mimeType) { in getDrmObjectType()
604 public int getDrmObjectType(Uri uri, String mimeType) { in getDrmObjectType()
777 public int openConvertSession(String mimeType) { in openConvertSession()
906 private native boolean _canHandle(int uniqueId, String path, String mimeType); in _canHandle()
915 private native int _getDrmObjectType(int uniqueId, String path, String mimeType); in _getDrmObjectType()
925 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.java59 public final String mimeType; field in MediaFile.MediaFileType
61 MediaFileType(int fileType, String mimeType) { in MediaFileType()
90 static void addFileType(String extension, int fileType, String mimeType) { in addFileType()
93 private static void addFileType(int mtpFormatCode, @NonNull String mimeType) { in addFileType()
209 public static boolean isDocumentMimeType(@Nullable String mimeType) { in isDocumentMimeType()
282 public static boolean isExifMimeType(@Nullable String mimeType) { in isExifMimeType()
287 public static boolean isAudioMimeType(@Nullable String mimeType) { in isAudioMimeType()
291 public static boolean isVideoMimeType(@Nullable String mimeType) { in isVideoMimeType()
295 public static boolean isImageMimeType(@Nullable String mimeType) { in isImageMimeType()
299 public static boolean isPlayListMimeType(@Nullable String mimeType) { in isPlayListMimeType()
[all …]
DIMediaScannerService.aidl35 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); in requestScanFile()
45 void scanFile(String path, String mimeType); in scanFile()
DDrmInitData.java84 public final String mimeType; field in DrmInitData.SchemeInitData
97 public SchemeInitData(@NonNull UUID uuid, @NonNull String mimeType, @NonNull byte[] data) { in SchemeInitData()
DMediaScanner.java122 public FileEntry beginFile(String path, String mimeType, long lastModified, in beginFile()
136 public Uri doScanFile(String path, String mimeType, long lastModified, in doScanFile()
149 public void setMimeType(String mimeType) { in setMimeType()
188 public Uri scanSingleFile(String path, String mimeType) { in scanSingleFile()
/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.java63 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse()
90 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse()
102 public void setMimeType(String mimeType) { in setMimeType()
236 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse()
DURLUtil.java347 String url, @Nullable String contentDisposition, @Nullable String mimeType) { in guessFileName()
359 String url, @Nullable String contentDisposition, @Nullable String mimeType) { in guessFileNameRfc2616()
448 @NonNull String url, @Nullable String contentDisposition, @Nullable String mimeType) { in guessFileNameRfc6266()
510 @NonNull String filename, @NonNull String mimeType) { in extensionDifferentFromMimeType()
526 private static String suggestExtensionFromMimeType(@Nullable String mimeType) { in suggestExtensionFromMimeType()
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java33 private final String mimeType; field in FileInfo
52 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/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()
/frameworks/base/core/java/android/view/contentcapture/
DDataShareRequest.java50 public DataShareRequest(@Nullable LocusId locusId, @NonNull String mimeType) { in DataShareRequest()
169 String mimeType = in.readString(); in DataShareRequest() 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/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java232 String mimeType = pduDecoder.getValueString(); in decodeWapPdu() local
450 public static String getPermissionForType(String mimeType) { in getPermissionForType()
465 public static String getAppOpsStringPermissionForIntent(String mimeType) { in getAppOpsStringPermissionForIntent()
479 String mimeType; field in WapPushOverSms.DecodedResult
/frameworks/av/drm/drmserver/
DDrmManager.cpp113 const char func[], const String8& plugInId8, const String8& mimeType) { in recordEngineMetrics()
306 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { in canHandle()
332 const String8 mimeType = drmInfo->getMimeType(); in processDrmInfo() local
363 const String8 mimeType = drmInfoRequest->getMimeType(); in acquireDrmInfo() local
378 const String8 mimeType = drmRights.getMimeType(); in saveRights() local
393 String8 mimeType(EMPTY_STRING); in getOriginalMimeType() local
405 int DrmManager::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { in getDrmObjectType()
494 int DrmManager::openConvertSession(int uniqueId, const String8& mimeType) { in openConvertSession()
629 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
720 int uniqueId, const String8& path, const String8& mimeType) { in getSupportedPlugInId()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityLoggerFake.java37 public String mimeType; field in ChooserActivityLoggerFake.CallRecord
57 CallRecord(int atomId, String packageName, InstanceId instanceId, String mimeType, in CallRecord()
108 public void logShareStarted(int eventId, String packageName, String mimeType, in logShareStarted()
/frameworks/av/media/ndk/fuzzer/
Dndk_mediamuxer_fuzzer.cpp46 std::string mimeType = fdp.ConsumeBool() ? fdp.ConsumeRandomLengthString(kMaxStringLength) in getSampleAudioFormat() local
56 std::string mimeType = fdp.ConsumeBool() ? fdp.ConsumeRandomLengthString(kMaxStringLength) in getSampleVideoFormat() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRemoteInputNotificationRebuilderTest.java76 String mimeType = "image/jpeg"; in testRebuildWithRemoteInput_noExistingInput_image() local
143 String mimeType = "image/jpeg"; in testRebuildWithRemoteInput_withExistingInput_image() local

123456