/frameworks/av/media/libstagefright/ |
ACodec.cpp | 938 bool isEncoder, const char *mime) { 940 const char *mime; member in struct:android::MimeToRole 987 if (!strcasecmp(mime, kMimeToRole[i].mime)) { 1025 const char *mime, const sp<AMessage> &msg) { 1033 status_t err = setComponentRole(encoder /* isEncoder */, mime); 1041 if (encoder && strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_FLAC) 2500 AString mime; local 3599 AString mime; local 3788 AString mime; local [all...] |
MPEG2TSWriter.cpp | 105 const char *mime; local 106 CHECK(meta->findCString(kKeyMIMEType, &mime)); 108 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 110 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 151 const char *mime; local 152 CHECK(meta->findCString(kKeyMIMEType, &mime)); 154 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 181 if (strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 543 const char *mime; local 544 CHECK(meta->findCString(kKeyMIMEType, &mime)); [all...] |
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...] |
/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 | 111 * A document can be either an openable stream (with a specific MIME type), 113 * {@link #MIME_TYPE_DIR} MIME type). A directory represents the top of a 141 * Concrete MIME type of a document. For example, "image/png" or 144 * the {@link #MIME_TYPE_DIR} MIME type. This column is required. 212 * MIME type of a document which is a directory that may contain 378 * MIME types supported by this root. This column is optional, and if 379 * {@code null} the root is assumed to support all MIME types. Multiple 380 * MIME types can be separated by a newline. For example, a root 555 * be a directory with MIME type of 756 * 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/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();
|
/developers/samples/android/content/documentsUi/StorageProvider/StorageProviderSample/src/main/java/com/example/android/storageprovider/ |
MyCloudProvider.java | 142 // The child MIME types are used to filter the roots and only present to the user roots 385 * Get a file's MIME type 388 * @return the MIME type of the file 399 * Get the MIME data type of a document, given its filename. 402 * @return the MIME data type of a document 408 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); 409 if (mime != null) { 410 return mime; 417 * Gets a string of unique MIME data types a directory supports, separated by newlines. This 421 * @return a string of the unique MIME data types the parent directory support [all...] |
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
MyCloudProvider.java | 142 // The child MIME types are used to filter the roots and only present to the user roots 385 * Get a file's MIME type 388 * @return the MIME type of the file 399 * Get the MIME data type of a document, given its filename. 402 * @return the MIME data type of a document 408 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); 409 if (mime != null) { 410 return mime; 417 * Gets a string of unique MIME data types a directory supports, separated by newlines. This 421 * @return a string of the unique MIME data types the parent directory support [all...] |
/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...] |