/external/nanohttpd/core/src/main/resources/META-INF/nanohttpd/ |
mimetypes.properties | 1 #mime types for nanohttpd, use a file like this for user defined mimetypes
|
default-mimetypes.properties | 1 #default mime types for nanohttpd, use META-INF/mimetypes.properties for user defined mimetypes
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_mimetypes.py | 1 import mimetypes namespace 9 mimetypes.knownfiles = [] 10 mimetypes.inited = False 11 mimetypes._default_mime_types() 16 self.db = mimetypes.MimeTypes() 72 self.original_types_map = mimetypes.types_map.copy() 73 mimetypes.types_map.clear() 74 mimetypes.init() 75 self.db = mimetypes.MimeTypes( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_mimetypes.py | 1 import mimetypes namespace 9 mimetypes.knownfiles = [] 10 mimetypes.inited = False 11 mimetypes._default_mime_types() 16 self.db = mimetypes.MimeTypes() 72 self.original_types_map = mimetypes.types_map.copy() 73 mimetypes.types_map.clear() 74 mimetypes.init() 75 self.db = mimetypes.MimeTypes( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 1 import mimetypes namespace 9 mimetypes.knownfiles = [] 10 mimetypes.inited = False 11 mimetypes._default_mime_types() 16 self.db = mimetypes.MimeTypes() 72 self.original_types_map = mimetypes.types_map.copy() 73 mimetypes.types_map.clear() 74 mimetypes.init() 75 self.db = mimetypes.MimeTypes( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 1 import mimetypes namespace 9 mimetypes.knownfiles = [] 10 mimetypes.inited = False 11 mimetypes._default_mime_types() 16 self.db = mimetypes.MimeTypes() 72 self.original_types_map = mimetypes.types_map.copy() 73 mimetypes.types_map.clear() 74 mimetypes.init() 75 self.db = mimetypes.MimeTypes( [all...] |
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 22 CREATE TABLE mimetypes (_id INTEGER PRIMARY KEY AUTOINCREMENT,mimetype TEXT NOT NULL); table 23 INSERT INTO "mimetypes" VALUES(1,'vnd.android.cursor.item/email_v2'); 24 INSERT INTO "mimetypes" VALUES(2,'vnd.android.cursor.item/im'); 25 INSERT INTO "mimetypes" VALUES(3,'vnd.android.cursor.item/nickname'); 26 INSERT INTO "mimetypes" VALUES(4,'vnd.android.cursor.item/organization'); 27 INSERT INTO "mimetypes" VALUES(5,'vnd.android.cursor.item/phone_v2'); 28 INSERT INTO "mimetypes" VALUES(6,'vnd.android.cursor.item/sip_address'); 29 INSERT INTO "mimetypes" VALUES(7,'vnd.android.cursor.item/name'); 30 INSERT INTO "mimetypes" VALUES(8,'vnd.android.cursor.item/postal-address_v2'); 31 INSERT INTO "mimetypes" VALUES(9,'vnd.android.cursor.item/identity') [all...] |
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
static.py | 1 import mimetypes namespace 12 mimetypes._winreg = None # do not load mimetypes from windows registry 13 mimetypes.add_type('text/javascript', '.js') # stdlib default is application/x-javascript 14 mimetypes.add_type('image/x-icon', '.ico') # not among defaults 22 Adds a mime type based on `mimetypes.guess_type()`. 27 content_type, content_encoding = mimetypes.guess_type(filename)
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
GalleryBoundCursorLoader.java | 45 private static String createSelection(final String[] mimeTypes, Integer[] mediaTypes) { 46 return Media.MIME_TYPE + " IN ('" + Joiner.on("','").join(mimeTypes) + "') AND "
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
DocumentClipper.java | 130 final String[] mimeTypes = getMimeTypes(resolver, docs); 137 clipData = new ClipData(label, mimeTypes, new ClipData.Item(doc.derivedUri)); 147 final HashSet<String> mimeTypes = new HashSet<>(); 153 mimeTypes.add(resolver.getType(uri)); 156 mimeTypes.addAll(Arrays.asList(streamTypes)); 160 return mimeTypes.toArray(new String[0]);
|
/frameworks/av/include/drm/ |
DrmSupportInfo.h | 117 * Returns the number of mimetypes supported. 119 * @return Number of mimetypes supported 131 * Adds the mimetype to the list of supported mimetypes
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/ |
message.py | 25 import os, mimetypes, time namespace 36 mime_type = mimetypes.guess_type(t[1])[0]
|
sonofmmm.py | 26 import mimetypes namespace 43 self.output_ext = mimetypes.guess_extension(self.output_mimetype)
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
MimeTest.java | 48 Assert.assertNull(NanoHTTPD.mimeTypes().get("notExistent")); 59 NanoHTTPD.mimeTypes().put("flv", "video/manualOverwrite");
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ClipboardSample.java | 131 String[] mimeTypes = clip != null ? clip.getDescription().filterMimeTypes("*/*") : null; 132 if (mimeTypes != null) { 134 for (int i=0; i<mimeTypes.length; i++) { 138 mMimeTypes.append(mimeTypes[i]);
|
/prebuilts/go/darwin-x86/src/mime/ |
type.go | 16 mimeTypes map[string]string // ".Z" => "application/x-compress" 31 mimeTypes = mixExt 107 if v := mimeTypes[ext]; v != "" { 178 mimeTypes[extension] = mimeType
|
type_plan9.go | 24 "/sys/lib/mimetypes",
|
/prebuilts/go/linux-x86/src/mime/ |
type.go | 16 mimeTypes map[string]string // ".Z" => "application/x-compress" 31 mimeTypes = mixExt 107 if v := mimeTypes[ext]; v != "" { 178 mimeTypes[extension] = mimeType
|
type_plan9.go | 24 "/sys/lib/mimetypes",
|
/prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-http/8.1.14.v20131031/ |
jetty-http-8.1.14.v20131031-sources.jar | |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
RootInfo.java | 91 public String mimeTypes; 112 mimeTypes = null; 132 mimeTypes = DurableUtils.readNullableString(in); 151 DurableUtils.writeNullableString(out, mimeTypes); 188 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); 194 derivedMimeTypes = (mimeTypes != null) ? mimeTypes.split("\n") : null;
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
GzipHandler.java | 53 * <li>The content-type is in the comma separated list of mimeTypes set in the <code>mimeTypes</code> initParameter or if no mimeTypes are defined the 96 * @param mimeTypes 99 public void setMimeTypes(Set<String> mimeTypes) 101 _mimeTypes = mimeTypes; 108 * @param mimeTypes 111 public void setMimeTypes(String mimeTypes) 113 if (mimeTypes != null) 116 StringTokenizer tok = new StringTokenizer(mimeTypes,",",false) [all...] |
/frameworks/base/core/java/android/content/ |
ClipDescription.java | 99 * @param mimeTypes An array of MIME types this data is available as. 101 public ClipDescription(CharSequence label, String[] mimeTypes) { 102 if (mimeTypes == null) { 103 throw new NullPointerException("mimeTypes is null"); 106 mMimeTypes = mimeTypes;
|
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 188 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { 190 mMimeTypes = mimeTypes; 226 * @param mimeTypes Optional array of MIME types for each path. 233 public static void scanFile(Context context, String[] paths, String[] mimeTypes, 235 ClientProxy client = new ClientProxy(paths, mimeTypes, callback);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 171 const String8 FwdLockEngine::MimeTypes[] = { 179 for (size_t i = 0, n = sizeof(MimeTypes)/sizeof(MimeTypes[0]); i < n; ++i) { 180 info->addMimeType(MimeTypes[i]); 193 for (size_t i = 0, n = sizeof(MimeTypes)/sizeof(MimeTypes[0]); i < n; ++i) { 194 if (tmp == MimeTypes[i]) { 217 // fill all Forward Lock mimetypes and extensions
|