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

1 2

  /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...]
  /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/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...]
  /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/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/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 31 import android.webkit.MimeTypeMap;
209 resultType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExtension);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 50 import android.webkit.MimeTypeMap;
213 MimeTypeMap map = MimeTypeMap.getSingleton();
  /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(
  /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/Exchange/src/com/android/exchange/adapter/
EmailSyncAdapter.java 31 import android.webkit.MimeTypeMap;
    [all...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 1546 milliseconds

1 2