/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
lighttpd.conf | 13 # mimetype mapping 14 mimetype.assign = ( 35 mimetype.use-xattr = "enable" 74 mimetype.assign = ( 80 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) 86 mimetype.assign = ( ".manifest" => "text/plain" )
|
/frameworks/base/core/java/android/webkit/ |
DownloadListener.java | 27 * @param mimetype The mimetype of the content reported by the server 31 String contentDisposition, String mimetype, long contentLength);
|
CallbackProxy.java | 384 String mimetype = msg.getData().getString("mimetype"); local 388 contentDisposition, mimetype, contentLength); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 77 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 79 * @param mimetype The mimetype of the data with which the type is associated. 84 public static int getTypePrecedence(String mimetype, int type) { 85 int[] typePrecedence = getTypePrecedenceList(mimetype); 99 private static int[] getTypePrecedenceList(String mimetype) { 100 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 102 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) [all...] |
SplitAggregateView.java | 60 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, Data.RAW_CONTACT_ID, Data.IS_PRIMARY, 64 int MIMETYPE = 0; 170 String mimetype = cursor.getString(SplitQuery.MIMETYPE); local 171 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) { 173 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 175 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 177 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
ContactEntryAdapter.java | 50 public String mimetype; field in class:ContactEntryAdapter.Entry 62 p.writeString(mimetype); 76 mimetype = p.readString();
|
ContactsUtils.java | 57 * provided cursor, assuming the given mimeType. 60 String mimeType, Cursor cursor) { 61 // Try finding the type and label for this mimetype 65 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) 66 || Constants.MIME_SMS_ADDRESS.equals(mimeType)) { 67 // Reset to phone mimetype so we generate a label for SMS case 68 mimeType = Phone.CONTENT_ITEM_TYPE; 71 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 74 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 77 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { [all...] |
ViewContactActivity.java | 572 if (entry.mimetype.equals(CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { 578 } else if (entry.mimetype.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) { 583 } else if (entry.mimetype.equals(CommonDataKinds.StructuredPostal.CONTENT_ITEM_TYPE)) { [all...] |
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
FileContentProvider.java | 45 // If the mimetype is not appended to the uri, then return an empty string 46 String mimetype = uri.getQuery(); local 47 return mimetype == null ? "" : mimetype;
|
/external/bluetooth/glib/gio/xdgmime/ |
test-mime.c | 150 test_one_icon (const char *mimetype, const char *expected) 154 actual = xdg_mime_get_generic_icon (mimetype); 159 mimetype, actual, expected);
|
xdgmimeglob.c | 574 char *mimetype, *glob; local 590 mimetype = colon; 596 mimetype = line; 599 _xdg_glob_hash_append_glob (glob_hash, glob, mimetype, weight);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppShareInfo.java | 69 public BluetoothOppShareInfo(int id, String uri, String hint, String filename, String mimetype, 76 mMimetype = mimetype;
|
BluetoothOppUtility.java | 103 .getColumnIndexOrThrow(BluetoothShare.MIMETYPE)); 157 public static void openReceivedFile(Context context, String fileName, String mimetype, 159 if (fileName == null || mimetype == null) { 160 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null"); 185 if (isRecognizedFileType(context, path, mimetype)) { 187 activityIntent.setDataAndType(path, mimetype); 191 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype); 194 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex); 209 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { 212 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
OpenDownloadReceiver.java | 50 String mimetype = cursor.getString(2); local 62 launchIntent.setDataAndType(path, mimetype);
|
/external/bluetooth/glib/gio/ |
gcontenttype.c | 511 * On unix this is the "application/octet-stream" mimetype, 649 load_comment_for_mime (const char *mimetype) 656 basename = g_strdup_printf ("%s.xml", mimetype); 678 return g_strdup_printf (_("%s type"), mimetype); 889 char *mimetype; local 954 mimetype = g_strdup (sniffed_mimetype); 958 mimetype = NULL; 962 mimetype = g_strdup (sniffed_mimetype); 974 mimetype = g_strdup (name_mimetypes[i]); 981 if (mimetype == NULL 1002 char *mimetype; local 1103 gchar *mimetype; member in struct:__anon1997 [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 83 String mimetype = "audio/mpeg"; local 86 intent.setDataAndType(path, mimetype);
|
/packages/apps/Music/src/com/android/music/ |
QueryBrowserActivity.java | 322 MediaStore.Audio.Media.MIME_TYPE, // mimetype of audio file, or "artist" or "album" 389 String mimetype = cursor.getString(cursor.getColumnIndexOrThrow( local 392 if (mimetype == null) { 393 mimetype = "audio/"; 395 if (mimetype.equals("artist")) { 415 } else if (mimetype.equals("album")) { 433 } else if(mimetype.startsWith("audio/") || 434 mimetype.equals("application/ogg") || 435 mimetype.equals("application/x-ogg")) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadReceiver.java | 133 String mimetype = local 142 activityIntent.setDataAndType(path, mimetype); 147 Log.d(Constants.TAG, "no activity for " + mimetype, ex);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 397 long mimetype = c.getLong(SearchSuggestionQuery.MIMETYPE_ID); local 398 if (mimetype == mMimeTypeIdStructuredName) { 400 } else if (mimetype == mMimeTypeIdOrganization) { 404 } else if (mimetype == mMimeTypeIdEmail) { 408 } else if (mimetype == mMimeTypeIdPhone) {
|
/external/chromium/base/third_party/xdg_mime/ |
xdgmimeglob.c | 573 char *mimetype, *glob; local 589 mimetype = colon; 595 mimetype = line; 598 _xdg_glob_hash_append_glob (glob_hash, glob, mimetype, weight);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
ContentHandlerFactoryTest.java | 162 public ContentHandler createContentHandler(String mimetype) {
|
/external/webkit/WebCore/platform/graphics/gtk/ |
MediaPlayerPrivateGStreamer.cpp | 1108 gchar** mimetype = g_strsplit(name, "/", 2); local 1109 if (g_str_equal(mimetype[0], "audio") 1110 || g_str_equal(mimetype[0], "video") 1111 || (g_str_equal(mimetype[0], "application" [all...] |
/external/chromium/third_party/icu/source/tools/genrb/ |
wrtxml.cpp | 534 static char *printContainer(struct SResource *res, const char *container, const char *restype, const char *mimetype, const char *id, UErrorCode *status) 556 if (mimetype != NULL) { 557 printAttribute("mime-type", mimetype, (int32_t) uprv_strlen(mimetype)); [all...] |
/external/icu4c/tools/genrb/ |
wrtxml.cpp | 534 static char *printContainer(struct SResource *res, const char *container, const char *restype, const char *mimetype, const char *id, UErrorCode *status) 557 if (mimetype != NULL) { 558 printAttribute("mime-type", mimetype, (int32_t) uprv_strlen(mimetype)); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 226 values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 237 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); 254 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 277 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 292 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE); 303 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); 313 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); 322 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 330 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 365 values.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE) 867 String mimetype = c.getString(0); local [all...] |