/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMimeTest.java | 35 * System tests for the handling of mime type in the media framework. 71 // AUDIO mime type resolution tests. 97 // Checks the activity resolver handling of mime types is case sensitive. 105 // resolving mime types. Trailing whitespaces seems to be non 114 // @return a ResolveInfo instance for the mime type or null if the type is 116 private ResolveInfo resolveMime(String mime) { 120 viewIntent.setDataAndType(uri, mime); 125 // Helper method to check the media playback activity handles the given mime type. 126 // @param mime type to test for 127 private void assertMediaPlaybackActivityHandles(String mime) throws Exception [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractEditText.java | 30 private InputMethodService mIME; 46 mIME = ime; 84 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) { 85 mIME.onExtractedSelectionChanged(selStart, selEnd); 94 if (!super.performClick() && mIME != null) { 95 mIME.onExtractedTextClicked(); 102 if (mIME != null && mIME.onExtractTextContextMenuItem(id)) { 158 if (mIME != null) { 159 mIME.onViewClicked(false) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MimeType.java | 102 "mime-type: %s, uri: %s, normalized mime-type: %s normalized uri: %s", 133 * Returns the mime type of the attachment based on its name and 134 * original mime type. This is an workaround for bugs where Gmail 138 * @param mimeType original mime type of the attachment. 139 * @return the inferred mime type of the attachment. 144 // Attachment doesn't have extension, just return original mime 159 // Extension is ".eml", return mime type "message/rfc822" 162 // Extension is not ".eml", just return original mime type. 169 * Checks the supplied mime type to determine if it is a valid eml file [all...] |
/frameworks/base/core/java/android/webkit/ |
WebResourceResponse.java | 35 * Constructs a resource response with the given MIME type, encoding, and 40 * @param mimeType the resource response's MIME type, for example text/html 52 * Sets the resource response's MIME type, for example text/html. 54 * @param mimeType the resource response's MIME type 61 * Gets the resource response's MIME type. 63 * @return the resource response's MIME type
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/mime/ |
audio.py | 5 """Class representing audio/* type MIME documents.""" 13 from email.mime.nonmultipart import MIMENonMultipart 24 # There are others in sndhdr that don't have MIME types. :( 45 """Class for generating audio/* MIME documents.""" 49 """Create an audio/* type MIME document. 72 raise TypeError('Could not find audio MIME subtype')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/mime/ |
audio.py | 5 """Class representing audio/* type MIME documents.""" 13 from email.mime.nonmultipart import MIMENonMultipart 24 # There are others in sndhdr that don't have MIME types. :( 45 """Class for generating audio/* MIME documents.""" 49 """Create an audio/* type MIME document. 72 raise TypeError('Could not find audio MIME subtype')
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 47 * The prefix of all <code>multipart</code> MIME types.
51 * The <code>multipart/digest</code> MIME type.
55 * The <code>text/plain</code> MIME type.
59 * The <code>message/rfc822</code> MIME type.
91 * Gets the MIME type defined in this Content-Type field.
93 * @return the MIME type or an empty string if not set.
100 * Gets the MIME type defined in the child's
101 * Content-Type field or derives a MIME type from the parent
102 * if child is <code>null</code> or hasn't got a MIME type value set.
103 * If child's MIME type is multipart but no boundary [all...] |
/external/chromium/net/base/ |
platform_mime_util.h | 23 // Get the mime type (if any) that is associated with the file extension. 24 // Returns true if a corresponding mime type exists.
|
/external/chromium_org/content/common/ |
mime_registry_messages.h | 14 // Mime registry messages sent from the renderer to the browser. 16 // Sent to query MIME information.
|
/frameworks/av/drm/common/ |
DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 126 if (!mime || mime[0] == '\0') { 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 135 const char* uri, const char* mime) { 136 if (!mime || mime[0] == '\0') { 139 return onOpenDecryptSession(uniqueId, decryptHandle, uri, mime);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_05.txt | 4 MIME-Version: 1.0 9 This is a MIME-encapsulated message.
|
msg_17.txt | 0 MIME-Version: 1.0
|
msg_42.txt | 5 This is a MIME-encapsulated message
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_05.txt | 4 MIME-Version: 1.0 9 This is a MIME-encapsulated message.
|
msg_17.txt | 0 MIME-Version: 1.0
|
msg_42.txt | 5 This is a MIME-encapsulated message
|
/external/chromium_org/chrome/common/extensions/ |
mime_types_handler.h | 23 // Returns list of extensions' ids that are allowed to use MIME type filters. 37 // Adds a MIME type filter to the handler. 39 // Tests if the handler has registered a filter for the MIME type. 47 // A list of MIME type filters.
|
/external/chromium_org/net/base/ |
mime_util_certificate_type_list.h | 8 // This file contains the list of certificate MIME types.
|
/external/chromium_org/third_party/WebKit/Tools/ |
svn-config | 8 *.png = svn:mime-type=image/png
|
/frameworks/base/drm/java/android/drm/ |
DrmSupportInfo.java | 24 * such as the MIME type and file suffix the DRM plug-in can handle. 36 * Adds the specified MIME type to the list of MIME types this DRM plug-in supports. 38 * @param mimeType MIME type that can be handles by this DRM plug-in. 68 * Retrieves an iterator object that you can use to iterate over the MIME types that 138 * are considered being equal if they support exactly the same set of mime 155 * Determines whether a given MIME type is supported. 157 * @param mimeType MIME type. 158 * @return True if Mime type is supported; false if MIME type is not supported [all...] |
/external/chromium_org/chrome/browser/extensions/api/streams_private/ |
streams_private_apitest.cc | 53 // For relative path "/doc_path.doc", return success response with MIME type 62 // MIME type "plain/text" and content "txt content". Also, set content 73 // MIME type "plain/text" and content "txt content". 90 // extension to have MIME type 'application/msword' and the resources that 91 // should be downloaded by the browser to have MIME type 'plain/text'. 133 // Sends onExecuteContentHandler event with the MIME type "test/done" to the 136 // event with the "test/done" MIME type (unless the 'chrome.test.notifyFail' 154 // 'application/msword' and 'plain/text' MIME types. 155 // The extension will notify success when it detects an event with the MIME 157 // MIME type 'plain/text' [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
stdnmtst.c | 99 if (dotestname("ibm-1208", "MIME", "UTF-8") && 100 /*dotestname("cp1252", "MIME", "windows-1252") &&*/ 101 dotestname("ascii", "MIME", "US-ASCII") && 102 dotestname("csiso2022jp2", "MIME", "ISO-2022-JP-2") && 106 dotestname("crazy", "MIME", NULL) && 108 dotestname("LMBCS-1", "MIME", NULL)) 110 log_verbose("PASS: getting IANA and MIME standard names works\n"); 146 dotestconv("UTF-8", "MIME", "UTF-8") && /* default name */ 149 dotestconv("ibm-5305", "MIME", NULL) && /* mapping does not exist */ 150 dotestconv("ascii", "MIME", NULL) && /* mapping does not exist * [all...] |
/external/icu4c/test/cintltst/ |
stdnmtst.c | 99 if (dotestname("ibm-1208", "MIME", "UTF-8") && 100 /*dotestname("cp1252", "MIME", "windows-1252") &&*/ 101 dotestname("ascii", "MIME", "US-ASCII") && 102 dotestname("csiso2022jp2", "MIME", "ISO-2022-JP-2") && 106 dotestname("crazy", "MIME", NULL) && 108 dotestname("LMBCS-1", "MIME", NULL)) 110 log_verbose("PASS: getting IANA and MIME standard names works\n"); 146 dotestconv("UTF-8", "MIME", "UTF-8") && /* default name */ 149 dotestconv("ibm-5305", "MIME", NULL) && /* mapping does not exist */ 150 dotestconv("ascii", "MIME", NULL) && /* mapping does not exist * [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
Entity.java | 30 * MIME entity. An entity has a header and a body (see RFC 2045).
98 * Determines the MIME type of this <code>Entity</code>. The MIME type
102 * @return the MIME type.
116 * Determines the MIME character set encoding of this <code>Entity</code>.
118 * @return the MIME character set encoding.
138 * Determines if the MIME type of this <code>Entity</code> matches the
139 * given one. MIME types are case-insensitive.
141 * @param type the MIME type to match against.
149 * Determines if the MIME type of this <code>Entity</code> is [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
AttachmentUtilitiesTests.java | 58 // .eml files always override mime type 68 // Non-generic, non-empty mime type; return it 69 assertEquals("mime/type", AttachmentUtilities.inferMimeType(FILE_PNG, "Mime/TyPe")); 70 assertEquals("mime/type", AttachmentUtilities.inferMimeType(FILE_ABC, "Mime/TyPe")); 71 assertEquals("mime/type", 72 AttachmentUtilities.inferMimeType(FILE_NO_EXT, "Mime/TyPe")); 73 assertEquals("mime/type", AttachmentUtilities.inferMimeType(null, "Mime/TyPe")) [all...] |