HomeSort by relevance Sort by last modified time
    Searched full:mimetypes (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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...]
  /external/chromium_org/tools/gyp/tools/Xcode/Specifications/
gyp.pbfilespec 22 MIMETypes = ("text/gyp");
  /libcore/luni/src/test/java/libcore/java/net/
OldFileNameMapTest.java 29 String [] mimeTypes = {"text/plain", "text/plain",
37 files[i], mimeTypes[i], mimeType);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
RootInfo.java 55 public String mimeTypes;
76 mimeTypes = null;
96 mimeTypes = DurableUtils.readNullableString(in);
115 DurableUtils.writeNullableString(out, mimeTypes);
152 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES);
158 derivedMimeTypes = (mimeTypes != null) ? mimeTypes.split("\n") : null;
  /external/chromium_org/third_party/npapi/npspy/common/
plugload.cpp 146 char *mimetypes = NULL; local
149 if(!VerQueryValue(verbuf, "\\StringFileInfo\\040904E4\\MIMEType", (void **)&mimetypes, &len)
150 || !mimetypes || !len)
156 // browse through a string of mimetypes
157 mimetypes[len] = '\0';
158 char * type = mimetypes;
  /frameworks/base/core/java/android/content/
ClipDescription.java 69 * @param mimeTypes An array of MIME types this data is available as.
71 public ClipDescription(CharSequence label, String[] mimeTypes) {
72 if (mimeTypes == null) {
73 throw new NullPointerException("mimeTypes is null");
76 mMimeTypes = mimeTypes;
ClipData.java 617 * @param mimeTypes An array of MIME types this data is available as.
620 public ClipData(CharSequence label, String[] mimeTypes, Item item) {
621 mClipDescription = new ClipDescription(label, mimeTypes);
714 String[] mimeTypes = null;
717 mimeTypes = resolver.getStreamTypes(uri, "*/*");
718 if (mimeTypes == null) {
720 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST };
723 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)];
729 System.arraycopy(mimeTypes, 0, tmp, i, mimeTypes.length)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
render_servlet.py 7 import mimetypes namespace
68 mimetype = mimetypes.guess_type(path)[0] or 'text/plain'
74 mimetype = mimetypes.guess_type(path)[0] or 'text/plain'
  /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
  /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]);
  /external/chromium_org/third_party/WebKit/Source/core/page/
Navigator.idl 28 readonly attribute MimeTypeArray mimeTypes;
Navigator.h 49 DOMMimeTypeArray* mimeTypes() const;
  /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);
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadList.java 395 private static final String BUNDLE_SAVED_MIMETYPES = "mimetypes";
406 String[] mimeTypes = new String[len];
412 mimeTypes[i] = obj.getMimeType();
417 outState.putStringArray(BUNDLE_SAVED_MIMETYPES, mimeTypes);
427 String[] mimeTypes = savedInstanceState.getStringArray(BUNDLE_SAVED_MIMETYPES);
430 mSelectedIds.put(selectedIds[i], new SelectionObjAttrs(fileNames[i], mimeTypes[i]));
739 ArrayList<String> mimeTypes = new ArrayList<String>();
746 mimeTypes.add(mimeType);
750 intent.setType(findCommonMimeType(mimeTypes));
768 private String findCommonMimeType(ArrayList<String> mimeTypes) {
    [all...]
  /external/chromium_org/chrome/test/pyautolib/
plugins_info.py 52 u'mimeTypes': [ { u'description': u'Shockwave Flash',
63 u'mimeTypes': [ { u'description': u'Google voice and video chat',
  /external/chromium_org/content/test/plugin/
npapi_test.cc 111 // The layout test LayoutTests/fast/js/navigator-mimeTypes-length.html
112 // asserts that the number of mimetypes handled by plugins should be
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp 169 const String8 FwdLockEngine::MimeTypes[] = {
177 for (size_t i = 0, n = sizeof(MimeTypes)/sizeof(MimeTypes[0]); i < n; ++i) {
178 info->addMimeType(MimeTypes[i]);
191 for (size_t i = 0, n = sizeof(MimeTypes)/sizeof(MimeTypes[0]); i < n; ++i) {
192 if (tmp == MimeTypes[i]) {
215 // fill all Forward Lock mimetypes and extensions
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
RootsCacheTest.java 31 private static RootInfo buildForMimeTypes(String... mimeTypes) {
33 root.derivedMimeTypes = mimeTypes;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
SimpleHTTPServer.py 20 import mimetypes namespace
203 if not mimetypes.inited:
204 mimetypes.init() # try to read system mime.types
205 extensions_map = mimetypes.types_map.copy()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
SimpleHTTPServer.py 20 import mimetypes namespace
203 if not mimetypes.inited:
204 mimetypes.init() # try to read system mime.types
205 extensions_map = mimetypes.types_map.copy()
  /cts/tests/tests/content/src/android/content/cts/
ClipboardManagerTest.java 170 String... mimeTypes) {
172 assertEquals(mimeTypes.length, description.getMimeTypeCount());
175 assertEquals(mimeTypes[i], description.getMimeType(i));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
MoreContactUtils.java 42 * Returns true if two data with mimetypes which represent values in contact entries are
49 // different mimetypes? don't collapse
59 // mimetypes could have more sophisticated matching is the future, e.g. addresses)
  /external/chromium_org/chrome/browser/resources/
plugins.js 61 * mimeTypes: [
76 * mimeTypes: [
88 * mimeTypes: [
100 * mimeTypes: [
  /external/chromium_org/chrome/common/extensions/api/
file_system.idl 17 // Mime-types to accept, e.g. "image/jpeg" or "audio/*". One of mimeTypes or
19 DOMString[]? mimeTypes;

Completed in 414 milliseconds

1 2 3 4 5