Home
last modified time | relevance | path

Searched defs:mimeType (Results 1 – 25 of 147) 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.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.java477 public boolean canHandle(String path, String mimeType) { in canHandle()
492 public boolean canHandle(Uri uri, String mimeType) { in canHandle()
564 public int getDrmObjectType(String path, String mimeType) { in getDrmObjectType()
581 public int getDrmObjectType(Uri uri, String mimeType) { in getDrmObjectType()
754 public int openConvertSession(String mimeType) { in openConvertSession()
882 private native boolean _canHandle(int uniqueId, String path, String mimeType); in _canHandle()
891 private native int _getDrmObjectType(int uniqueId, String path, String mimeType); in _getDrmObjectType()
901 private native int _openConvertSession(int uniqueId, String mimeType); in _openConvertSession()
/frameworks/base/media/java/android/media/
DIMediaScannerService.aidl34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); in requestScanFile()
43 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()
DMediaFile.java126 public final String mimeType; field in MediaFile.MediaFileType
128 MediaFileType(int fileType, String mimeType) { in MediaFileType()
148 static void addFileType(String extension, int fileType, String mimeType) { in addFileType()
153 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { in addFileType()
316 public static boolean isMimeTypeMedia(String mimeType) { in isMimeTypeMedia()
340 public static int getFileTypeForMimeType(String mimeType) { in getFileTypeForMimeType()
350 public static int getFormatCode(String fileName, String mimeType) { in getFormatCode()
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java31 private static void add(String mimeType, int resId) { in add()
200 public static Drawable loadMimeIcon(Context context, String mimeType) { in loadMimeIcon()
/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java78 public boolean hasMimeType(String mimeType) { in hasMimeType()
112 public String getExtensionFromMimeType(String mimeType) { in getExtensionFromMimeType()
126 /* package */ String remapGenericMimeType(String mimeType, String url, in remapGenericMimeType()
DWebResourceResponse.java50 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse()
73 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse()
85 public void setMimeType(String mimeType) { in setMimeType()
218 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse()
/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/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java100 public static boolean isApkType(@Nullable String mimeType) { in isApkType()
104 public static boolean isDirectoryType(@Nullable String mimeType) { in isDirectoryType()
DIconUtils.java43 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon()
55 public static Drawable loadMimeIcon(Context context, String mimeType) { in loadMimeIcon()
DSaveFragment.java53 public static void show(FragmentManager fm, String mimeType, String displayName) { in show()
154 final String mimeType = getArguments().getString(EXTRA_MIME_TYPE); in performSave() local
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java185 public String createDocument(String parentId, String mimeType, String displayName) in createDocument()
519 String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in dispatchCreateDocumentWithFlags() local
536 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument()
554 private File createFile(StubDocument parent, String mimeType, String displayName) in createFile()
648 public Uri createRegularFile(String rootId, String path, String mimeType, byte[] content) in createRegularFile()
662 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) in createVirtualFile()
692 private File createFile(String rootId, String path, String mimeType, byte[] content) in createFile()
748 public final String mimeType; field in StubProvider.StubDocument
754 private StubDocument(File file, String mimeType, List<String> streamTypes, int flags, in StubDocument()
780 File file, String mimeType, StubDocument parent) { in createRegularDocument()
[all …]
/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/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentsAdapter.java86 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in isDirectory() local
105 boolean isDocumentEnabled(String mimeType, int flags); in isDocumentEnabled()
/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/tests/
DInitDataParserUnittest.cpp41 const String8& mimeType, in attemptParse()
48 const String8& mimeType, in attemptParseExpectingSuccess()
71 const String8& mimeType) { in attemptParseExpectingFailure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java240 String mimeType = pduDecoder.getValueString(); in decodeWapPdu() local
599 public static String getPermissionForType(String mimeType) { in getPermissionForType()
609 public static int getAppOpsPermissionForIntent(String mimeType) { in getAppOpsPermissionForIntent()
623 String mimeType; field in WapPushOverSms.DecodedResult

123456