/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 132 const char *mime; local 133 CHECK(meta->findCString(kKeyMIMEType, &mime)); 135 if (!strncasecmp("audio/", mime, 6)) {
|
/frameworks/wilhelm/src/android/ |
VideoCodec_to_android.cpp | 40 // codec capabilities in the following arrays maps to the mime types defined in kVideoMimeTypes 83 // for a given decoder ID / MIME type 174 // We only look at the first codec implementation for a given decoder ID / MIME type.
|
android_defs.h | 158 * MIME types required for data in Android Buffer Queues 160 // The preferred MIME types for new applications are in ../../include/*/OpenMAXAL_Android.h 161 // The legacy MIME type used elsewhere in the Android framework for AAC ADTS is below:
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 66 * The MIME type(s) of attachments we're willing to send via attachments. 74 * The MIME type(s) of attachments we're willing to send from the internal UI. 84 * The MIME type(s) of attachments we're willing to view. 90 * The MIME type(s) of attachments we're not willing to view. 95 * The MIME type(s) of attachments we're willing to download to SD. 101 * The MIME type(s) of attachments we're not willing to download to SD. 178 * extensions. The mime type is inferred based upon the table below. It's not perfect, but 197 * NOTE: Since mime types on Android are case-*sensitive*, return values are always in 201 * @param mimeType The given mime type 202 * @return A likely mime type for the attachmen [all...] |
/frameworks/base/core/java/android/nfc/ |
NdefRecord.java | 39 * typed data, such as MIME-type media, a URI, or a custom 110 * Use this with MIME type names such as {@literal "image/jpeg"}, or 144 * "application/octet-stream" MIME type. The payload 386 * Create a new NDEF Record containing MIME data.<p> 387 * Use this method to encode MIME-typed data into an NDEF Record, 403 * @param mimeType a valid MIME type 404 * @param mimeData MIME data as bytes 405 * @return an NDEF Record containing the MIME-typed data 412 // We only do basic MIME type validation: trying to follow the 413 // RFCs strictly only ends in tears, since there are lots of MIME [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
asn1_err.c | 251 {ERR_REASON(ASN1_R_INVALID_MIME_TYPE) ,"invalid mime type"}, 262 {ERR_REASON(ASN1_R_MIME_NO_CONTENT_TYPE) ,"mime no content type"}, 263 {ERR_REASON(ASN1_R_MIME_PARSE_ERROR) ,"mime parse error"}, 264 {ERR_REASON(ASN1_R_MIME_SIG_PARSE_ERROR) ,"mime sig parse error"}, 289 {ERR_REASON(ASN1_R_SIG_INVALID_MIME_TYPE),"sig invalid mime type"},
|
asn_mime.c | 64 /* Generalised MIME like utilities for streaming ASN1. Although many 68 /* MIME format structures 200 /* Generate the MIME "micalg" parameter from RFC3851, RFC4490 */ 307 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol); 314 BIO_printf(bio, "This is an S/MIME signed message%s%s", 355 /* MIME headers */ 356 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol); 517 if (strcmp (hdr->value, "application/x-pkcs7-mime") && 518 strcmp (hdr->value, "application/pkcs7-mime")) { 649 /* This is the big one: parse MIME header lines up to message body * [all...] |
/external/openssl/crypto/asn1/ |
asn1_err.c | 251 {ERR_REASON(ASN1_R_INVALID_MIME_TYPE) ,"invalid mime type"}, 262 {ERR_REASON(ASN1_R_MIME_NO_CONTENT_TYPE) ,"mime no content type"}, 263 {ERR_REASON(ASN1_R_MIME_PARSE_ERROR) ,"mime parse error"}, 264 {ERR_REASON(ASN1_R_MIME_SIG_PARSE_ERROR) ,"mime sig parse error"}, 289 {ERR_REASON(ASN1_R_SIG_INVALID_MIME_TYPE),"sig invalid mime type"},
|
asn_mime.c | 64 /* Generalised MIME like utilities for streaming ASN1. Although many 68 /* MIME format structures 200 /* Generate the MIME "micalg" parameter from RFC3851, RFC4490 */ 307 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol); 314 BIO_printf(bio, "This is an S/MIME signed message%s%s", 355 /* MIME headers */ 356 BIO_printf(bio, "MIME-Version: 1.0%s", mime_eol); 517 if (strcmp (hdr->value, "application/x-pkcs7-mime") && 518 strcmp (hdr->value, "application/pkcs7-mime")) { 649 /* This is the big one: parse MIME header lines up to message body * [all...] |
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 116 /** The MIME type for a collection of voicemails. */ 119 /** The MIME type for a single voicemail. */ 186 * MIME type of the media content for the voicemail. 210 /** The MIME type for a collection of voicemail source statuses. */ 212 /** The MIME type for a single voicemail source status entry. */
|
DocumentsContract.java | 107 * A document can be either an openable stream (with a specific MIME type), 109 * {@link #MIME_TYPE_DIR} MIME type). A directory represents the top of a 137 * Concrete MIME type of a document. For example, "image/png" or 140 * the {@link #MIME_TYPE_DIR} MIME type. This column is required. 208 * MIME type of a document which is a directory that may contain 374 * MIME types supported by this root. This column is optional, and if 375 * {@code null} the root is assumed to support all MIME types. Multiple 376 * MIME types can be separated by a newline. For example, a root 551 * be a directory with MIME type of 750 * Create a new document with given MIME type and display name [all...] |
/frameworks/base/docs/html/training/sharing/ |
send.jd | 76 {@link android.content.Intent#ACTION_SEND} and MIME type text/plain, the Android system will run 120 setting the appropriate MIME type and placing the URI to the data in an extra named {@link 134 <li>You can use a MIME type of {@code "*/*"}, but this will only match activities that are able to 147 is primarily aimed at video, audio and image MIME types, however beginning with Android 3.0 (API 165 action together with a list of URIs pointing to the content. The MIME type varies according to the
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 332 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); local 333 if (mime != null) { 334 return mime; 342 * Remove file extension from name, but only if exact MIME type mapping 358 * Add file extension to name, but only if exact MIME type mapping exists.
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestLoopUri.cpp | 133 SLDataFormat_MIME mime; local 171 mime.formatType = SL_DATAFORMAT_MIME; 172 mime.mimeType = (SLchar*)NULL; 173 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 175 audioSource.pFormat = (void *)&mime;
|
/frameworks/wilhelm/tests/ |
mimeUri_test.cpp | 110 SLDataFormat_MIME mime; local 151 mime.formatType = SL_DATAFORMAT_MIME; 152 mime.mimeType = (SLchar*)NULL; 153 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 155 audioSource.pFormat = (void *)&mime;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
Constants.java | 140 /** intent extra used to provide the mime-type of the data in 187 * The MIME type(s) of we could share to other device. 197 * The MIME type(s) of we could not share to other device. TODO: define 205 * The MIME type(s) of we could accept from other device. 227 * The MIME type(s) of we could not accept from other device. TODO: define
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
TutorialJAJP.java | 63 private OpenWnnJAJP mIme; 212 mIme = ime; 318 ImageSpan span = new ImageSpan(mIme, imageResourceId, 344 mIme.sendDownUpKeyEvents(-1); 345 mIme.tutorialDone();
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 65 AString mime; local 66 CHECK(mOutputFormat->findString("mime", &mime)); 68 if (!strncasecmp("video/", mime.c_str(), 6)) { 71 mIsH264 = !strcasecmp(mime.c_str(), MEDIA_MIMETYPE_VIDEO_AVC); 72 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime.c_str())) { 168 CHECK(mOutputFormat->findString("mime", &outputMIME)); 447 AString mime; local 448 CHECK(mOutputFormat->findString("mime", &mime)); [all...] |
PlaybackSession.cpp | 158 AString mime; local 159 CHECK(format->findString("mime", &mime)); 161 return !strncasecmp(mime.c_str(), "audio/", 6); 769 AString mime; local 770 CHECK(format->findString("mime", &mime)); 772 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 773 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 940 format->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Encodings.java | 59 * @param encoding The encoding MIME name, not a Java name for the encoding. 191 * Get the proper mime encoding. From the XSLT recommendation: "The encoding 226 * See if the mime type is equal to UTF8. If you don't 357 // Get the substring after the Mime names 397 * Get the length of the Mime names within the property value 399 * separated list of Mime names, followed optionally by a space and the 407 // the value must be all Mime names, so set the length appropriately
|
/frameworks/base/core/java/android/content/ |
IntentFilter.java | 65 * match; a content: URI will never match because they always have a MIME type 97 * used for the MIME sub-type, in both the Intent and IntentFilter, so that the 99 * <em>Note that MIME type matching here is <b>case sensitive</b>, unlike 100 * formal RFC MIME types!</em> You should thus always use lower case letters 101 * for your MIME types. 228 * The filter matched an intent with the same data MIME type. 233 * The filter didn't match due to different MIME types. 319 * This exception is thrown when a given MIME type does not have a valid 332 * Create a new IntentFilter instance with a specified action and MIME 333 * type, where you know the MIME type is correctly formatted. This catche [all...] |
/frameworks/av/media/libstagefright/ |
MPEG4Writer.cpp | 442 const char *mime; local 443 source->getFormat()->findCString(kKeyMIMEType, &mime); 444 bool isAudio = !strncasecmp(mime, "audio/", 6); 445 bool isVideo = !strncasecmp(mime, "video/", 6); 448 mime); 1360 const char *mime; local 1455 const char *mime; local 2566 const char *mime; local 2633 const char *mime; local 2687 const char *mime; local [all...] |
/external/chromium/net/base/ |
mime_sniffer.cc | 5 // Detecting mime types is a tricky business because we need to balance 29 // we won't detect dangerous mime types (those that can execute script). 90 // "don't detect dangerous mime types" rule. 187 // XML processing directive. Although this is not an HTML mime type, we sniff 370 // and stop at the first "plain" tag, then make a decision on the mime-type 491 // Empty mime types are as unknown as they get. 495 // The second most popular unknown mime type is application/unknown 497 // Firefox rejects a mime type if it is exactly */* 511 // Firefox rejects a mime type if it does not contain a slash 570 // We are willing to sniff the mime type for HTTP, HTTPS, and FT [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
test_email_renamed.py | 21 from email.mime.application import MIMEApplication 22 from email.mime.audio import MIMEAudio 23 from email.mime.text import MIMEText 24 from email.mime.image import MIMEImage 25 from email.mime.base import MIMEBase 26 from email.mime.message import MIMEMessage 27 from email.mime.multipart import MIMEMultipart 87 eq(msg['mime-version'], '1.0') 97 # Try adding a charset when there's already MIME headers present 99 msg['MIME-Version'] = '2.0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
test_email_renamed.py | 21 from email.mime.application import MIMEApplication 22 from email.mime.audio import MIMEAudio 23 from email.mime.text import MIMEText 24 from email.mime.image import MIMEImage 25 from email.mime.base import MIMEBase 26 from email.mime.message import MIMEMessage 27 from email.mime.multipart import MIMEMultipart 87 eq(msg['mime-version'], '1.0') 97 # Try adding a charset when there's already MIME headers present 99 msg['MIME-Version'] = '2.0 [all...] |