OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MimeTypeMap
(Results
1 - 25
of
709
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/webkit/src/android/webkit/cts/
MimeTypeMapTest.java
21
import android.webkit.
MimeTypeMap
;
25
private
MimeTypeMap
mMimeTypeMap;
31
mMimeTypeMap =
MimeTypeMap
.getSingleton();
35
assertEquals("html",
MimeTypeMap
.getFileExtensionFromUrl("http://localhost/index.html"));
36
assertEquals("html",
MimeTypeMap
.getFileExtensionFromUrl("http://host/x.html?x=y"));
37
assertEquals("",
MimeTypeMap
.getFileExtensionFromUrl("http://www.example.com/"));
38
assertEquals("",
MimeTypeMap
.getFileExtensionFromUrl("https://example.com/foo"));
39
assertEquals("",
MimeTypeMap
.getFileExtensionFromUrl(null));
40
assertEquals("",
MimeTypeMap
.getFileExtensionFromUrl(""));
41
assertEquals("",
MimeTypeMap
.getFileExtensionFromUrl("http://abc/&%$.()*"))
[
all
...]
/frameworks/base/core/java/android/webkit/
MimeTypeMap.java
30
public class
MimeTypeMap
{
31
private static final
MimeTypeMap
sMimeTypeMap = new
MimeTypeMap
();
33
private
MimeTypeMap
() {
161
* Get the singleton instance of
MimeTypeMap
.
164
public static
MimeTypeMap
getSingleton() {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
UriSource.java
21
import android.webkit.
MimeTypeMap
;
55
MimeTypeMap
.getFileExtensionFromUrl(uri.toString());
56
String type =
MimeTypeMap
.getSingleton()
/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
31
import android.webkit.
MimeTypeMap
;
121
MimeTypeMap
.getSingleton().getMimeTypeFromExtension(
122
MimeTypeMap
.getFileExtensionFromUrl(mUri));
/packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothOppHandover.java
16
import android.webkit.
MimeTypeMap
;
74
String extension =
MimeTypeMap
.getFileExtensionFromUrl(uri.getPath()).toLowerCase();
76
return
MimeTypeMap
.getSingleton().getMimeTypeFromExtension(extension);
/packages/apps/Mms/src/com/android/mms/model/
VideoModel.java
41
import android.webkit.
MimeTypeMap
;
76
MimeTypeMap
mimeTypeMap
=
MimeTypeMap
.getSingleton();
77
String extension =
MimeTypeMap
.getFileExtensionFromUrl(mSrc);
86
mContentType =
mimeTypeMap
.getMimeTypeFromExtension(extension);
/cts/tests/tests/webkitsecurity/generate/
WebViewBaseTest
31
import android.webkit.
MimeTypeMap
;
/cts/tests/tests/webkitsecurity/src/android/webkitsecurity/cts/
WebkitAbortCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAbsolutePositionForeignObjectChildCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAdoptNodeCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAfterDoesntCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAfterWithFirstLetterFloatCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnchorLinkedAnonymousBlockCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnimatedBackgroundImageCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnimationOnInlineCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnonymousBeforeChildParentCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnonymousBlockCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnonymousBlockMergeCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnonymousRenderBlockInContinuationCausesCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAnonymousSplitBlockCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitApplyStyleTextDecorationCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitApplyblockelementVisiblepositionforindexCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitArcCrashTest.java
31
import android.webkit.
MimeTypeMap
;
WebkitAreaIslinkFocusNullPtrCrashTest.java
31
import android.webkit.
MimeTypeMap
;
Completed in 293 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>