/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ClipboardSample.java | 119 String[] mimeTypes = clip != null ? clip.getDescription().filterMimeTypes("*/*") : null; 121 if (mimeTypes != null) { 122 for (int i=0; i<mimeTypes.length; i++) { 123 mMimeTypes.append(mimeTypes[i]);
|
/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 | 57 * @param mimeTypes An array of MIME types this data is available as. 59 public ClipDescription(CharSequence label, String[] mimeTypes) { 60 if (mimeTypes == null) { 61 throw new NullPointerException("mimeTypes is null"); 64 mMimeTypes = mimeTypes;
|
ClipData.java | 323 * @param mimeTypes An array of MIME types this data is available as. 326 public ClipData(CharSequence label, String[] mimeTypes, Item item) { 327 mClipDescription = new ClipDescription(label, mimeTypes); 390 String[] mimeTypes = null; 393 mimeTypes = resolver.getStreamTypes(uri, "*/*"); 394 if (mimeTypes == null) { 396 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST }; 399 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)]; 405 System.arraycopy(mimeTypes, 0, tmp, i, mimeTypes.length) [all...] |
/frameworks/base/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);
|
/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 | 381 private static final String BUNDLE_SAVED_MIMETYPES = "mimetypes"; 392 String[] mimeTypes = new String[len]; 398 mimeTypes[i] = obj.getMimeType(); 403 outState.putStringArray(BUNDLE_SAVED_MIMETYPES, mimeTypes); 413 String[] mimeTypes = savedInstanceState.getStringArray(BUNDLE_SAVED_MIMETYPES); 416 mSelectedIds.put(selectedIds[i], new SelectionObjAttrs(fileNames[i], mimeTypes[i])); 731 ArrayList<String> mimeTypes = new ArrayList<String>(); 736 mimeTypes.add(mimeType); 739 intent.setType(findCommonMimeType(mimeTypes)); 753 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'
|
/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;
|
qwebplugindatabase.cpp | 44 supports (can be accessed with mimeTypes()) and the path of the plugin 117 QList<QWebPluginInfo::MimeType> QWebPluginInfo::mimeTypes() const 146 \sa mimeTypes()
|
/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()));
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsUtils.java | 107 * Returns true if two data with mimetypes which represent values in contact entries are 113 // different mimetypes? don't collapse 123 // mimetypes could have more sophisticated matching is the future, e.g. addresses)
|
/external/webkit/Tools/TestResultServer/handlers/ |
dashboardhandler.py | 30 import mimetypes namespace 43 return mimetypes.guess_type(filename)[0] or "application/octet-stream"
|
/frameworks/base/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...] |