HomeSort by relevance Sort by last modified time
    Searched full:mimetypemap (Results 1 - 24 of 24) sorted by null

  /external/webkit/Source/WebCore/platform/win/
MIMETypeRegistryWin.cpp 74 static HashMap<String, String> mimetypeMap;
75 if (mimetypeMap.isEmpty()) {
77 mimetypeMap.add("txt", "text/plain");
78 mimetypeMap.add("pdf", "application/pdf");
79 mimetypeMap.add("ps", "application/postscript");
80 mimetypeMap.add("html", "text/html");
81 mimetypeMap.add("htm", "text/html");
82 mimetypeMap.add("xml", "text/xml");
83 mimetypeMap.add("xsl", "text/xsl");
84 mimetypeMap.add("js", "application/x-javascript")
    [all...]
  /external/webkit/Source/WebCore/platform/wince/
MIMETypeRegistryWinCE.cpp 58 static HashMap<String, String> mimetypeMap;
62 if (mimetypeMap.isEmpty()) {
64 mimetypeMap.add("txt", "text/plain");
65 mimetypeMap.add("pdf", "application/pdf");
66 mimetypeMap.add("ps", "application/postscript");
67 mimetypeMap.add("html", "text/html");
68 mimetypeMap.add("htm", "text/html");
69 mimetypeMap.add("xml", "text/xml");
70 mimetypeMap.add("xsl", "text/xsl");
71 mimetypeMap.add("js", "application/x-javascript")
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
MimeTypeMapTest.java 26 import android.webkit.MimeTypeMap;
28 @TestTargetClass(android.webkit.MimeTypeMap.class)
31 private MimeTypeMap mMimeTypeMap;
37 mMimeTypeMap = MimeTypeMap.getSingleton();
49 assertEquals("html", MimeTypeMap.getFileExtensionFromUrl("http://localhost/index.html"));
50 assertEquals("html", MimeTypeMap.getFileExtensionFromUrl("http://host/x.html?x=y"));
51 assertEquals("", MimeTypeMap.getFileExtensionFromUrl("http://www.example.com/"));
52 assertEquals("", MimeTypeMap.getFileExtensionFromUrl("https://example.com/foo"));
53 assertEquals("", MimeTypeMap.getFileExtensionFromUrl(null));
54 assertEquals("", MimeTypeMap.getFileExtensionFromUrl(""))
    [all...]
WebSettingsTest.java 28 import android.webkit.MimeTypeMap;
249 final String ext = MimeTypeMap.getFileExtensionFromUrl(url);
665 String ext = MimeTypeMap.getFileExtensionFromUrl(url);
    [all...]
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 31 public class MimeTypeMap {
32 private static final MimeTypeMap sMimeTypeMap = new MimeTypeMap();
34 private MimeTypeMap() {
162 * Get the singleton instance of MimeTypeMap.
165 public static MimeTypeMap getSingleton() {
URLUtil.java 344 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
365 String typeFromExt = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
368 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
LoadListener.java 352 mMimeType = MimeTypeMap.getSingleton().remapGenericMimeType(
    [all...]
BrowserFrame.java     [all...]
  /packages/apps/Mms/src/com/android/mms/model/
VideoModel.java 38 import android.webkit.MimeTypeMap;
77 MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
78 String extension = MimeTypeMap.getFileExtensionFromUrl(mSrc);
87 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension);
  /packages/apps/Browser/src/com/android/browser/
FetchUrlMimeType.java 30 import android.webkit.MimeTypeMap;
111 MimeTypeMap.getSingleton().getMimeTypeFromExtension(
112 MimeTypeMap.getFileExtensionFromUrl(mUri));
Controller.java 72 import android.webkit.MimeTypeMap;
    [all...]
  /external/webkit/Source/WebKit/android/jni/
MIMETypeRegistry.cpp 46 jclass mimeClass = env->FindClass("android/webkit/MimeTypeMap");
47 LOG_ASSERT(mimeClass, "Could not find class MimeTypeMap");
  /external/chromium/webkit/glue/
site_isolation_metrics.cc 29 typedef base::hash_map<std::string, int> MimeTypeMap;
58 static MimeTypeMap* GetMimeTypeMap() {
59 static MimeTypeMap mime_type_map_;
142 MimeTypeMap mime_type_map = *GetMimeTypeMap();
148 MimeTypeMap::iterator mime_type_iter = mime_type_map.find(mime_type);
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 37 import android.webkit.MimeTypeMap;
94 MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
95 String extension = MimeTypeMap.getFileExtensionFromUrl(mPath);
104 mContentType = mimeTypeMap.getMimeTypeFromExtension(extension);
ComposeMessageActivity.java 112 import android.webkit.MimeTypeMap;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
UriImage.java 33 import android.webkit.MimeTypeMap;
68 MimeTypeMap.getFileExtensionFromUrl(uri.toString());
69 String type = MimeTypeMap.getSingleton()
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 50 import android.webkit.MimeTypeMap;
213 MimeTypeMap map = MimeTypeMap.getSingleton();
  /cts/tests/src/android/webkit/cts/
CtsTestServer.java 45 import android.webkit.MimeTypeMap;
128 private MimeTypeMap mMap;
175 mMap = MimeTypeMap.getSingleton();
489 mMap.getMimeTypeFromExtension(MimeTypeMap.getFileExtensionFromUrl(path));
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 31 import android.webkit.MimeTypeMap;
209 resultType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExtension);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
Helpers.java 29 import android.webkit.MimeTypeMap;
259 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
300 String typeFromExt = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
  /packages/apps/Exchange/src/com/android/exchange/adapter/
EmailSyncAdapter.java 31 import android.webkit.MimeTypeMap;
    [all...]
  /libcore/luni/src/main/java/libcore/net/
MimeUtils.java 29 * Used to implement java.net.URLConnection and android.webkit.MimeTypeMap.
  /dalvik/hit/samples/
android.hprof     [all...]
  /frameworks/base/docs/html/
sitemap.txt     [all...]

Completed in 584 milliseconds