HomeSort by relevance Sort by last modified time
    Searched refs:mimetype (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
lighttpd.conf 13 # mimetype mapping
14 mimetype.assign = (
36 mimetype.use-xattr = "enable"
75 mimetype.assign = (
81 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" )
87 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);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForCustomMimetype.java 25 ContactsDatabaseHelper dbHelper, ContactAggregator aggregator, String mimetype) {
26 super(context, dbHelper, aggregator, mimetype);
DataRowHandlerForCommonDataKind.java 37 ContactAggregator aggregator, String mimetype, String typeColumn, String labelColumn) {
38 super(context, dbHelper, aggregator, mimetype);
  /packages/apps/Contacts/src/com/android/contacts/
TypePrecedence.java 78 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
80 * @param mimetype The mimetype of the data with which the type is associated.
85 public static int getTypePrecedence(String mimetype, int type) {
86 int[] typePrecedence = getTypePrecedenceList(mimetype);
100 private static int[] getTypePrecedenceList(String mimetype) {
101 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) {
103 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) {
105 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) {
107 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE))
    [all...]
SplitAggregateView.java 60 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID,
65 int MIMETYPE = 0;
174 String mimetype = cursor.getString(SplitQuery.MIMETYPE); local
175 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) {
177 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
179 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) {
181 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
TypePrecedence.java 71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
73 * @param mimetype The mimetype of the data with which the type is associated.
78 public static int getTypePrecedence(String mimetype, int type) {
79 int[] typePrecedence = getTypePrecedenceList(mimetype);
93 private static int[] getTypePrecedenceList(String mimetype) {
94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) {
96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) {
98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) {
100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE))
    [all...]
  /frameworks/base/core/java/com/google/android/mms/util/
DownloadDrmHelper.java 39 * @param mimetype Media Type to check
42 public static boolean isDrmMimeType(Context context, String mimetype) {
47 if (drmClient != null && mimetype != null && mimetype.length() > 0) {
48 result = drmClient.canHandle("", mimetype);
63 * @param mimetype Media type of the content
66 public static boolean isDrmConvertNeeded(String mimetype) {
67 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadDrmHelper.java 38 * @param mimetype Media Type to check
41 public static boolean isDrmMimeType(Context context, String mimetype) {
46 if (drmClient != null && mimetype != null && mimetype.length() > 0) {
47 result = drmClient.canHandle("", mimetype);
62 * @param mimetype Media type of the content
65 public static boolean isDrmConvertNeeded(String mimetype) {
66 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
DownloadReceiver.java 145 String mimetype = local
154 mimetype = DownloadDrmHelper.getOriginalMimeType(context, filename, mimetype);
155 activityIntent.setDataAndType(path, mimetype);
160 Log.d(Constants.TAG, "no activity for " + mimetype, ex);
  /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);
  /external/chromium/webkit/glue/
mimetype_unittest.cc 26 void CheckMimeType(const char* mimetype, const std::string& expected) {
28 GURL url(test_server_.GetURL(path + mimetype));
  /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));
162 public static void openReceivedFile(Context context, String fileName, String mimetype,
164 if (fileName == null || mimetype == null) {
165 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null");
190 if (isRecognizedFileType(context, path, mimetype)) {
192 activityIntent.setDataAndType(path, mimetype);
196 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype);
199 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex);
214 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) {
217 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
DownloadHandler.java 55 * @param mimetype The mimetype of the content reported by the server
59 String userAgent, String contentDisposition, String mimetype,
69 intent.setDataAndType(Uri.parse(url), mimetype); local
88 Log.d(LOGTAG, "activity not found for " + mimetype
99 mimetype, privateBrowsing);
139 * @param mimetype The mimetype of the content reported by the server
144 String mimetype, boolean privateBrowsing) {
147 contentDisposition, mimetype);
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaFrameworkTest.java 88 String mimetype = "audio/mpeg"; local
91 intent.setDataAndType(path, mimetype);
  /packages/apps/Mms/src/com/android/mms/drm/
DrmUtils.java 41 public static String getConvertExtension(String mimetype) {
45 public static boolean isDrmType(String mimeType) {
50 if (drmManagerClient.canHandle("", 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:__anon2328
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 120 String mimetype = "audio/mpeg"; local
123 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/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 66 Data.MIMETYPE, // 2
262 "(" + Data.MIMETYPE + "=? OR " + Data.MIMETYPE + "=? OR " + Data.MIMETYPE +
274 String mimetype = memberDataCursor.getString(MIMETYPE_COLUMN_INDEX); local
275 if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) {
279 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype) ||
280 Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactEntryAdapter.java 48 public String mimetype; field in class:ContactEntryAdapter.Entry
60 p.writeString(mimetype);
74 mimetype = p.readString();
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 261 Data.MIMETYPE + " IN ('"
276 Data.MIMETYPE,
291 public static final int MIMETYPE = 6;
401 String mimetype = mDataCursor.getString(DataQuery.MIMETYPE); local
402 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
409 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) {
416 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
421 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 48 * provided cursor, assuming the given mimeType.
51 String mimeType, Cursor cursor) {
52 // Try finding the type and label for this mimetype
56 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)
57 || Constants.MIME_SMS_ADDRESS.equals(mimeType)) {
58 // Reset to phone mimetype so we generate a label for SMS case
59 mimeType = Phone.CONTENT_ITEM_TYPE;
62 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) {
65 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) {
68 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) {
    [all...]

Completed in 861 milliseconds

1 2 3