/external/chromium_org/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. 269 // XML processing directive. Although this is not an HTML mime type, we sniff 542 // This function checks for files that have a Microsoft Office MIME type 558 // match one, the MIME type was invalid. Set it instead to a safe value. 602 // and stop at the first "plain" tag, then make a decision on the mime-type 725 // Empty mime types are as unknown as they get. 729 // The second most popular unknown mime type is application/unknown 731 // Firefox rejects a mime type if it is exactly */ [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
gdata_wapi_parser.h | 94 // Link MIME type. 140 // MIME type of the feed. 235 // Content details of a resource: mime-type, url, and so on. 264 // and MIME type. 269 ICON_DOCUMENT, // Document icon for various MIME types 270 ICON_APPLICATION, // Application icon for various MIME types 708 // List of primary mime types supported by this WebApp. Primary status should 710 // have these mime types. 715 // List of secondary mime types supported by this WebApp. Secondary status 717 // default action menu for file with matching mime types [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.cpp | 476 static const char *GetURLForMime(const char *mime) { 503 if (!strcasecmp(kMimeToURL[i].mMime, mime)) { 511 static sp<MediaSource> CreateSourceForMime(const char *mime) { 512 const char *url = GetURLForMime(mime); 531 if (!strcasecmp(mime, trackMime)) { 569 const char *mime = GetMimeFromComponentRole(componentRole); local 571 if (!mime) { 578 sp<MediaSource> source = CreateSourceForMime(mime); 583 mime, componentRole); 588 sp<MediaSource> seekSource = CreateSourceForMime(mime); [all...] |
/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 328 * The MIME type of {@link #CONTENT_URI} providing a directory of bookmarks. 333 * The MIME type of a {@link #CONTENT_URI} of a single bookmark. 450 * The MIME type of {@link #CONTENT_URI} providing a directory of browser history items. 455 * The MIME type of a {@link #CONTENT_URI} of a single browser history item. 473 * The MIME type of {@link #CONTENT_URI} providing a directory of browser search items. 478 * The MIME type of a {@link #CONTENT_URI} of a single browser search item. 579 * The MIME type of {@link #CONTENT_URI} providing a directory of images. 584 * The MIME type of a {@link #CONTENT_URI} of a single image. 652 * The MIME type of {@link #CONTENT_URI} providing a directory of image mappings. 657 * The MIME type of a {@link #CONTENT_URI} of a single image mapping [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 138 * MIME-type to a list of {@link Action}. 143 * {@link #LEADING_MIMETYPES} and {@link #TRAILING_MIMETYPES} are used to sort MIME-types. 145 * <p>The MIME-types in {@link #LEADING_MIMETYPES} appear in the front of the dialog, 352 * Check if the given MIME-type appears in the list of excluded MIME-types 439 // Skip this data item if MIME-type excluded 449 // along with all others of this MIME-type. 485 // All the mime-types to add. 513 mStopWatch.lap("mt"); // Mime types initialized 567 * Inflate the in-track view for the action of the given MIME-type, collapsing duplicate values [all...] |
/frameworks/base/docs/html/guide/topics/providers/ |
content-provider-creating.jd | 39 <a href="#MIMETypes">Implementing Content Provider MIME Types</a> 42 <a href="#TableMIMETypes">MIME types for tables</a> 45 <a href="#FileMIMETypes">MIME types for files</a> 261 this type of table, you define a primary key column, a MIME type column, and one or 263 by the value in the MIME type column. This allows you to store different row types in 530 Return the MIME type corresponding to a content URI. This method is described in more 531 detail in the section <a href="#MIMETypes">Implementing Content Provider MIME Types</a>. 751 <!-- Implementing ContentProvider MIME Types --> 752 <h2 id="MIMETypes">Implementing ContentProvider MIME Types</h2> 754 The {@link android.content.ContentProvider} class has two methods for returning MIME types [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
test_email.py | 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' 103 eq(msg['mime-version'], '2.0') 713 MIME-Version: 1.0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
test_email.py | 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' 103 eq(msg['mime-version'], '2.0') 713 MIME-Version: 1.0 [all...] |
/frameworks/av/media/libstagefright/ |
OMXCodec.cpp | 183 const char *mime, 197 list->findCodecByType(mime, createEncoder, index); 291 const char *mime; local 292 bool success = meta->findCString(kKeyMIMEType, &mime); 297 mime, createEncoder, matchComponentName, flags, &matchingCodecs); 300 ALOGV("No matching codecs! (mime: %s, createEncoder: %s, " 302 mime, createEncoder ? "true" : "false", matchComponentName, flags); 356 createEncoder, mime, componentName, 786 const char *mime, const sp<MetaData>& meta) { 799 if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime)) { 1363 const char *mime; member in struct:android::MimeToRole [all...] |
AwesomePlayer.cpp | 386 const char *mime; local 387 CHECK(meta->findCString(kKeyMIMEType, &mime)); 388 ALOGV("track of type '%s' does not publish bitrate", mime); 417 String8 mime = String8(_mime); local 419 if (!haveVideo && !strncasecmp(mime.string(), "video/", 6)) { 440 stat->mMIME = mime.string(); 442 } else if (!haveAudio && !strncasecmp(mime.string(), "audio/", 6)) { 453 stat->mMIME = mime.string(); 456 if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_AUDIO_VORBIS)) { 468 } else if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_TEXT_3GPP)) 1492 const char *mime; local 2508 String8 mime = String8(_mime); local 2623 const char *mime; local [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 79 // Stores the MIME types served by this provider 85 * - MimeType array that returns the custom MIME type of a table 93 * Sets up an array that maps content URIs to MIME types, via a mapping between the 94 * URIs and an integer code. These are custom MIME types that apply to tables and rows 111 // Specifies a custom MIME type for the picture URL table 118 // Specifies the custom MIME type for a single modification date row
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseDiff.pl | 77 svn:mime-type = application/octet-stream 81 Name: svn:mime-type 93 svn:mime-type = application/octet-stream 113 svn:mime-type = application/octet-stream 117 Name: svn:mime-type 130 svn:mime-type = application/octet-stream 502 svn:mime-type = application/octet-stream 506 Name: svn:mime-type 520 svn:mime-type = application/octet-stream 541 svn:mime-type = application/octet-strea [all...] |
/frameworks/base/docs/html/guide/topics/connectivity/nfc/ |
nfc.jd | 11 <li><a href="#ndef">How NFC tags are mapped to MIME types and URIs</a></li> 27 <li><a href="#mime">TNF_MIME_MEDIA</a></li> 86 <li>Parsing the NFC tag and figuring out the MIME type or a URI that identifies the data payload 88 <li>Encapsulating the MIME type or URI and the payload into an intent. These first two 89 steps are described in <a href="#ndef">How NFC tags are mapped to MIME types and URIs</a>.</li> 94 <h3 id="ndef">How NFC tags are mapped to MIME types and URIs</h3> 122 formatted data, it parses the message and tries to figure out the data's MIME type or identifying 148 <p>The tag dispatch system uses the TNF and type fields to try to map a MIME type or URI to the 152 record. This happens when the NDEF data cannot be mapped to a MIME type or URI, or when the 159 fields to MIME types or URIs. It also describes which TNFs cannot be mapped to a MIME type or URI [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestSendToPresetReverb.cpp | 88 SLDataFormat_MIME mime; local 192 mime.formatType = SL_DATAFORMAT_MIME; 193 /* this is how ignored mime information is specified, according to OpenSL ES spec 195 mime.mimeType = (SLchar*)NULL; 196 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 198 audioSource.pFormat = (void*)&mime;
|
/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 174 SLDataFormat_MIME mime; local 228 mime.formatType = SL_DATAFORMAT_MIME; 229 /* this is how ignored mime information is specified, according to OpenSL ES spec 231 mime.mimeType = (SLchar*)NULL; 232 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 234 audioSource.pFormat = (void*)&mime;
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestManyPlayers.cpp | 48 SLDataFormat_MIME mime; variable 161 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL, 165 mime.formatType = SL_DATAFORMAT_MIME; 166 mime.mimeType = (SLchar*)NULL; 167 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 169 audioSource.pFormat = (void *)&mime;
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeConverter.cpp | 95 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) { 118 // identifies one of the names as MIME-preferred. If a charset has more than one registry 119 // name then its canonical name must be the MIME-preferred name and the other names in 125 // Check to see if this is a well-known MIME or IANA name. 127 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { 582 if (!collectStandardNames(env, icuCanonicalName, "MIME", aliases)) {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 282 * See if there is conversion from the MIME charset to the Java one. 323 * @param mimeType A MIME type to check. 324 * @param matchAgainst A MIME type to check against. May include wildcards. 338 * @param mimeType A MIME type to check. 339 * @param matchAgainst An array of MIME types to check against. May include wildcards. 414 // The lower-case mime type
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 123 """Convert a quoted-printable part of a MIME mail message to 8bit.""" 208 """Convert quoted-printable parts of a MIME mail message to 8bit.""" 276 mv = re.compile('^mime-version:', re.I) 281 """Convert an 8bit part of a MIME mail message to quoted-printable.""" 370 ofile.write('Mime-Version: 1.0\n') 416 """Convert 8bit parts of a MIME mail message to quoted-printable."""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 123 """Convert a quoted-printable part of a MIME mail message to 8bit.""" 208 """Convert quoted-printable parts of a MIME mail message to 8bit.""" 276 mv = re.compile('^mime-version:', re.I) 281 """Convert an 8bit part of a MIME mail message to quoted-printable.""" 370 ofile.write('Mime-Version: 1.0\n') 416 """Convert 8bit parts of a MIME mail message to quoted-printable."""
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
file_tasks.cc | 109 VLOG(1) << "Looking for default for MIME type: " << mime_type 116 LOG_IF(ERROR, !mime_task_prefs) << "Unable to open MIME type prefs"; 119 VLOG(1) << "Found MIME default handler: " << task_id;
|
/external/chromium_org/ppapi/c/ |
ppp_instance.h | 149 * instance that was instantiated based on the MIME type of a DOMWindow 151 * to handle certain MIME types. If you haven't specifically registered to 152 * handle a MIME type or aren't positive this applies to you, your
|
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
MediaSource.cpp | 83 // 2. If type contains a MIME type that is not supported ..., then throw a 104 // 2. If type contains a MIME type that is not supported ..., then throw a NotSupportedError exception and abort these steps. 200 // 2. If type does not contain a valid MIME type string, then return false.
|
/frameworks/av/cmds/stagefright/ |
record.cpp | 133 const char *mime; 134 if (!meta->findCString(kKeyMIMEType, &mime)) { 138 if (strncasecmp(mime, "video/", 6)) {
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
MultipartEntity.java | 56 * MIME data streams as outlined in RFC 1521. The multipart/form-data contains 117 /** The MIME parts as set by the constructor */ 152 * Returns the MIME boundary string that is used to demarcate boundaries of
|