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

1 2 3 4

  /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 617 * @param mimeTypes An array of MIME types this data is available as.
620 public ClipData(CharSequence label, String[] mimeTypes, Item item) {
621 mClipDescription = new ClipDescription(label, mimeTypes);
714 String[] mimeTypes = null;
717 mimeTypes = resolver.getStreamTypes(uri, "*/*");
718 if (mimeTypes == null) {
720 mimeTypes = new String[] { realType, ClipDescription.MIMETYPE_TEXT_URILIST };
723 String[] tmp = new String[mimeTypes.length + (realType != null ? 2 : 1)];
729 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 384 private static final String BUNDLE_SAVED_MIMETYPES = "mimetypes";
395 String[] mimeTypes = new String[len];
401 mimeTypes[i] = obj.getMimeType();
406 outState.putStringArray(BUNDLE_SAVED_MIMETYPES, mimeTypes);
416 String[] mimeTypes = savedInstanceState.getStringArray(BUNDLE_SAVED_MIMETYPES);
419 mSelectedIds.put(selectedIds[i], new SelectionObjAttrs(fileNames[i], mimeTypes[i]));
729 ArrayList<String> mimeTypes = new ArrayList<String>();
736 mimeTypes.add(mimeType);
740 intent.setType(findCommonMimeType(mimeTypes));
758 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;
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/ContactsCommon/src/com/android/contacts/common/
MoreContactUtils.java 42 * Returns true if two data with mimetypes which represent values in contact entries are
49 // different mimetypes? don't collapse
59 // 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/av/drm/libdrmframework/plugins/common/util/src/
MimeTypeUtil.cpp 54 // Known mimetypes by android
79 // List of all mimetypes that should be converted.

Completed in 444 milliseconds

1 2 3 4