/external/chromium-trace/catapult/third_party/Paste/paste/ |
wsgiwrappers.py | 307 def __init__(self, content=b'', mimetype=None, code=200): 317 if not mimetype: 318 mimetype = defaults.get('content_type', 'text/html') 321 mimetype = '%s; charset=%s' % (mimetype, charset) 323 self.headers['Content-Type'] = mimetype
|
httpheaders.py | 769 # common mimetype constants 854 (result, mimetype) = self._compose(**kwargs) 860 mimetype = CONTENT_TYPE(collection) 861 if filename and (not mimetype or CONTENT_TYPE.UNKNOWN == mimetype): 862 mimetype, _ = mimetypes.guess_type(filename) 863 if mimetype and CONTENT_TYPE.UNKNOWN != mimetype: 864 CONTENT_TYPE.update(collection, mimetype) 866 return mimetype [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/ |
PreloaderBundleGenerator.java | 129 String mimetype = URLConnection.guessContentTypeFromName(asset.file.name()); local 130 buffer.append(mimetype == null ? "application/unknown" : mimetype);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 364 final String mimeType = entryValues.getAsString(Data.MIMETYPE); 365 if (mimeType == null) continue; 367 final DataKind kind = sources.getKindOrFallback(accountType, mimeType, 371 final ViewEntry entry = ViewEntry.fromValues(context, mimeType, kind, 378 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 400 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 419 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 424 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 437 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType) & [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 284 Data.MIMETYPE + " IN ('" 299 Data.MIMETYPE, 314 public static final int MIMETYPE = 6; 452 String mimetype = mDataCursor.getString(DataQuery.MIMETYPE); local 453 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 460 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 467 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) { 472 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
EditorUiUtils.java | 71 // Maps DataKind.mimeType to editor view layouts. 74 // Generally there should be a layout mapped to each existing DataKind mimetype but lots of 103 * Fetches a layout for a given mimetype. 105 * @param mimetype The mime type (e.g. StructuredName.CONTENT_ITEM_TYPE) 108 public static int getLayoutResourceId(String mimetype) { 109 final Integer id = mimetypeLayoutMap.get(mimetype); 181 * Return an icon that represents {@param mimeType}. 183 public static Drawable getMimeTypeDrawable(Context context, String mimeType) { 184 switch (mimeType) {
|
/external/google-breakpad/src/testing/gtest/scripts/ |
upload.py | 715 mimetype = mimetypes.guess_type(filename)[0] 716 if not mimetype: 718 return mimetype.startswith("image/") [all...] |
/external/google-breakpad/src/testing/scripts/ |
upload.py | 715 mimetype = mimetypes.guess_type(filename)[0] 716 if not mimetype: 718 return mimetype.startswith("image/") [all...] |
/external/chromium-trace/catapult/firefighter/base/ |
bigquery.py | 67 media_buffer, mimetype='application/octet-stream')
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsHelper.java | 123 return context.getString(R.string.mimetype);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 170 Data.MIMETYPE, 252 public static final int MIMETYPE = 49; 440 final String mimetype = (String) keys.next(); local 443 final JSONObject obj = items.optJSONObject(mimetype); 445 final JSONArray array = items.getJSONArray(mimetype); 448 processOneRecord(rawContact, item, mimetype); 451 processOneRecord(rawContact, obj, mimetype); 461 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) 464 itemValues.put(Data.MIMETYPE, mimetype); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
upload-diffs.py | [all...] |
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
DefaultServlet.java | 977 String mimetype=(content.getContentType()==null?null:content.getContentType().toString()); local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 49 MimetypesColumns.MIMETYPE, 57 MimetypesColumns.MIMETYPE, 64 public static final int MIMETYPE = 1; 71 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE }; 75 int MIMETYPE = 2; 87 AbstractContactAggregator aggregator, String mimetype) { 91 mMimetype = mimetype;
|
SearchIndexManager.java | 60 MimetypesColumns.MIMETYPE, 66 public static final int MIMETYPE = 1; 376 String mimetype = cursor.getString(ContactIndexQuery.MIMETYPE); local 377 DataRowHandler dataRowHandler = mContactsProvider.getDataRowHandler(mimetype);
|
/external/autotest/frontend/tko/ |
csv_encoder.py | 18 response = django.http.HttpResponse(mimetype='text/csv')
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_wsgiwrappers.py | 101 response = WSGIResponse(mimetype='text/html; charset=UTF-8')
|
/external/icu/icu4c/source/tools/genrb/ |
wrtxml.cpp | 547 static char *printContainer(SResource *res, const char *container, const char *restype, const char *mimetype, const char *id, UErrorCode *status) 569 if (mimetype != NULL) { 570 printAttribute("mime-type", mimetype, (int32_t) uprv_strlen(mimetype)); [all...] |
/prebuilts/devtools/tools/lib/ |
chimpchat.jar | |
/prebuilts/gradle-plugin/com/android/tools/chimpchat/24.4.0-beta6/ |
chimpchat-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/chimpchat/24.5.0/ |
chimpchat-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/chimpchat/25.0.0-alpha1/ |
chimpchat-25.0.0-alpha1.jar | |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ref/ |
ref.css | 157 .mimetype { font-family: avantgarde, sans-serif; }
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
DetailsDialog.java | 312 return context.getString(R.string.mimetype);
|
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/ |
discovery.py | 708 mimetype=media_mime_type) 732 headers['content-type'] = media_upload.mimetype() 747 msg = MIMENonMultipart(*media_upload.mimetype().split('/')) [all...] |