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

1 2 3 4

  /cts/tests/tests/webkitsecurity/assets/
navigator-plugins-crash.html 12 var mimeTypes = new Array;
13 for (var i = 0; i < navigator.mimeTypes.length; ++i) {
14 mimeTypes.push(navigator.mimeTypes[i]);
26 for (var i = 0; i < mimeTypes.length; ++i) {
27 output += mimeTypes[i].type;
34 document.writeln("Tests access to previously received arrays from navigator.plugins and mimetypes after calling plugins.refresh(). If this text appears and there is no crash, then the test succeeded.");
  /external/webkit/Source/WebKit/qt/tests/qwebplugindatabase/
tst_qwebplugindatabase.cpp 74 QList<MimeType> mimeTypes;
85 mimeTypes.append(mimeType);
89 QCOMPARE(plugin.mimeTypes(), mimeTypes);
181 QList<MimeType> mimeTypes = plugin.mimeTypes();
182 for (int j = 0; j < mimeTypes.count(); ++j) {
183 QString mimeType = mimeTypes.at(j).name;
192 QList<MimeType> mimeTypes = plugin.mimeTypes();
    [all...]
  /external/webkit/Source/WebCore/loader/archive/
ArchiveFactory.cpp 59 DEFINE_STATIC_LOCAL(ArchiveMIMETypesMap, mimeTypes, ());
63 return mimeTypes;
66 mimeTypes.set("application/x-webarchive", archiveFactoryCreate<LegacyWebArchive>);
68 mimeTypes.set("application/x-webarchive-xml", archiveFactoryCreate<WebArchiveAndroid>);
72 return mimeTypes;
88 HashSet<String>& mimeTypes = MIMETypeRegistry::getSupportedNonImageMIMETypes();
93 mimeTypes.add(i->first);
  /libcore/luni/src/test/java/libcore/java/net/
OldFileNameMapTest.java 29 String [] mimeTypes = {"text/plain", "text/plain",
37 files[i], mimeTypes[i], mimeType);
  /external/webkit/Source/WebKit/gtk/webkit/
webkitwebplugin.cpp 68 g_slist_foreach(priv->mimeTypes, (GFunc)freeMIMEType, 0);
69 g_slist_free(priv->mimeTypes);
124 plugin->priv->mimeTypes = 0;
232 if (priv->mimeTypes)
233 return priv->mimeTypes;
248 priv->mimeTypes = g_slist_append(priv->mimeTypes, mimeType);
251 return priv->mimeTypes;
webkitwebpluginprivate.h 42 GSList* 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 616 * @param mimeTypes An array of MIME types this data is available as.
619 public ClipData(CharSequence label, String[] mimeTypes, Item item) {
620 mClipDescription = new ClipDescription(label, mimeTypes);
713 String[] mimeTypes = null;
716 mimeTypes = resolver.getStreamTypes(uri, "*/*");
717 if (mimeTypes == null) {
719 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST };
722 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)];
728 System.arraycopy(mimeTypes, 0, tmp, i, mimeTypes.length)
    [all...]
  /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/webkit/Source/WebKit/mac/Plugins/
WebBasePluginPackage.mm 186 NSDictionary *MIMETypes = nil;
198 MIMETypes = [pList objectForKey:WebPluginMIMETypesKey];
201 MIMETypes = [[self pListForPath:pListPath createFile:YES] objectForKey:WebPluginMIMETypesKey];
204 if (!MIMETypes) {
205 MIMETypes = [self _objectForInfoDictionaryKey:WebPluginMIMETypesKey];
206 if (!MIMETypes)
210 NSEnumerator *keyEnumerator = [MIMETypes keyEnumerator];
216 MIMEDictionary = [MIMETypes objectForKey:MIME];
  /external/webkit/Tools/DumpRenderTree/qt/
testplugin.cpp 48 plugin.mimeTypes.append(mimeType);
55 plugin.mimeTypes.append(mimeType);
  /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]);
  /frameworks/base/media/java/android/media/
MediaScannerConnection.java 185 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) {
187 mMimeTypes = mimeTypes;
223 * @param mimeTypes Optional array of MIME types for each path.
230 public static void scanFile(Context context, String[] paths, String[] mimeTypes,
232 ClientProxy client = new ClientProxy(paths, mimeTypes, callback);
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadList.java 380 private static final String BUNDLE_SAVED_MIMETYPES = "mimetypes";
391 String[] mimeTypes = new String[len];
397 mimeTypes[i] = obj.getMimeType();
402 outState.putStringArray(BUNDLE_SAVED_MIMETYPES, mimeTypes);
412 String[] mimeTypes = savedInstanceState.getStringArray(BUNDLE_SAVED_MIMETYPES);
415 mSelectedIds.put(selectedIds[i], new SelectionObjAttrs(fileNames[i], mimeTypes[i]));
742 ArrayList<String> mimeTypes = new ArrayList<String>();
748 mimeTypes.add(mimeType);
751 intent.setType(findCommonMimeType(mimeTypes));
769 private String findCommonMimeType(ArrayList<String> mimeTypes) {
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
test_results_uploader.py 33 import mimetypes namespace
40 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
  /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
  /external/webkit/Source/WebCore/page/
Navigator.idl 33 readonly attribute DOMMimeTypeArray mimeTypes;
Navigator.h 61 DOMMimeTypeArray* mimeTypes() const;
  /external/webkit/Source/WebKit/qt/Api/
qwebpluginfactory.h 48 QList<MimeType> mimeTypes;
qwebplugindatabase_p.h 50 QList<MimeType> mimeTypes() const;
  /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));
  /external/webkit/Source/WebKit2/Shared/Plugins/Netscape/mac/
NetscapePluginModuleMac.mm 116 RetainPtr<CFDictionaryRef> mimeTypes = getMIMETypesFromPluginBundle(bundle);
117 if (!mimeTypes || CFGetTypeID(mimeTypes.get()) != CFDictionaryGetTypeID())
131 CFIndex numMimeTypes = CFDictionaryGetCount(mimeTypes.get());
134 CFDictionaryGetKeysAndValues(mimeTypes.get(), reinterpret_cast<const void**>(mimeTypesVector.data()), reinterpret_cast<const void**>(mimeTypeInfoVector.data()));
  /external/webkit/Tools/TestResultServer/handlers/
dashboardhandler.py 30 import mimetypes namespace
43 return mimetypes.guess_type(filename)[0] or "application/octet-stream"
  /frameworks/av/drm/libdrmframework/plugins/common/util/src/
MimeTypeUtil.cpp 54 // Known mimetypes by android
79 // List of all mimetypes that should be converted.
  /external/bluetooth/glib/gio/
gcontenttype.c 998 GHashTable *mimetypes)
1012 g_hash_table_replace (mimetypes, mimetype, NULL);
1021 GHashTable *mimetypes)
1039 enumerate_mimetypes_subdir (name, ent->d_name, mimetypes);
1061 GHashTable *mimetypes; local
1067 mimetypes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
1069 enumerate_mimetypes_dir (g_get_user_data_dir (), mimetypes); local
1073 enumerate_mimetypes_dir (dirs[i], mimetypes);
1076 g_hash_table_iter_init (&iter, mimetypes);
1083 g_hash_table_destroy (mimetypes);
    [all...]

Completed in 1757 milliseconds

1 2 3 4