/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ |
lighttpd.conf | 13 # mimetype mapping 14 mimetype.assign = ( 35 mimetype.use-xattr = "enable" 74 mimetype.assign = ( 80 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) 86 mimetype.assign = ( ".manifest" => "text/plain" )
|
/frameworks/base/core/java/android/webkit/ |
BrowserDownloadListener.java | 32 * @param mimetype The mimetype of the content reported by the server 37 String contentDisposition, String mimetype, String referer, 47 * @param mimetype The mimetype of the content reported by the server 52 String contentDisposition, String mimetype, long contentLength) { 54 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
|
DownloadListener.java | 27 * @param mimetype The mimetype of the content reported by the server 31 String contentDisposition, String mimetype, long contentLength);
|
/external/chromium_org/third_party/npapi/npspy/include/ |
plugload.h | 42 XP_HLIB LoadRealPlugin(char * mimetype);
|
epmanager.h | 60 char mimetype[80]; member in struct:PluginEntryPointList 76 void createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SHUTDOWN shutdownproc, XP_HLIB hLib); 78 NPPluginFuncs * findEntryPointsForPlugin(char * mimetype);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForCustomMimetype.java | 25 ContactsDatabaseHelper dbHelper, ContactAggregator aggregator, String mimetype) { 26 super(context, dbHelper, aggregator, mimetype);
|
DataRowHandlerForCommonDataKind.java | 37 ContactAggregator aggregator, String mimetype, String typeColumn, String labelColumn) { 38 super(context, dbHelper, aggregator, mimetype);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 81 * @param mimetype The mimetype of the data with which the type is associated. 86 public static int getTypePrecedence(String mimetype, int type) { 87 int[] typePrecedence = getTypePrecedenceList(mimetype); 101 private static int[] getTypePrecedenceList(String mimetype) { 102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { 108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 73 * @param mimetype The mimetype of the data with which the type is associated. 78 public static int getTypePrecedence(String mimetype, int type) { 79 int[] typePrecedence = getTypePrecedenceList(mimetype); 93 private static int[] getTypePrecedenceList(String mimetype) { 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
DownloadDrmHelper.java | 39 * @param mimetype Media Type to check 42 public static boolean isDrmMimeType(Context context, String mimetype) { 47 if (drmClient != null && mimetype != null && mimetype.length() > 0) { 48 result = drmClient.canHandle("", mimetype); 63 * @param mimetype Media type of the content 66 public static boolean isDrmConvertNeeded(String mimetype) { 67 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadDrmHelper.java | 38 * @param mimetype Media type of the content 41 public static boolean isDrmConvertNeeded(String mimetype) { 42 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
FileContentProvider.java | 44 // If the mimetype is not appended to the uri, then return an empty string 45 String mimetype = uri.getQuery(); local 46 return mimetype == null ? "" : mimetype;
|
/external/chromium_org/third_party/npapi/npspy/common/ |
plugload.cpp | 82 XP_HLIB LoadRealPlugin(char * mimetype) 84 if(!mimetype || !strlen(mimetype)) 149 if(!VerQueryValue(verbuf, "\\StringFileInfo\\040904E4\\MIMEType", (void **)&mimetypes, &len) 169 if(0 == _stricmp(mimetype, type))
|
epmanager.cpp | 59 mimetype[0] = '\0'; 91 void NPPEntryPointManager::createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SHUTDOWN shutdownproc, XP_HLIB hLib) 98 strcpy(eps->mimetype, mimetype); 151 NPPluginFuncs * NPPEntryPointManager::findEntryPointsForPlugin(char * mimetype) 155 if(0 == _stricmp(eps->mimetype, mimetype)) 182 logger->logSPY_NP_Shutdown(eps->mimetype); 199 logger->logSPY_NP_Shutdown(eps->mimetype); 214 if(0 == _stricmp(eps->mimetype, pluginType) [all...] |
/external/chromium/webkit/glue/ |
mimetype_unittest.cc | 26 void CheckMimeType(const char* mimetype, const std::string& expected) { 28 GURL url(test_server_.GetURL(path + mimetype));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppShareInfo.java | 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, 78 mMimetype = mimetype;
|
BluetoothOppUtility.java | 108 .getColumnIndexOrThrow(BluetoothShare.MIMETYPE)); 167 public static void openReceivedFile(Context context, String fileName, String mimetype, 169 if (fileName == null || mimetype == null) { 170 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null"); 195 if (isRecognizedFileType(context, path, mimetype)) { 197 activityIntent.setDataAndTypeAndNormalize(path, mimetype); 201 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype); 204 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex); 219 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { 222 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
DownloadHandler.java | 54 * @param mimetype The mimetype of the content reported by the server 59 String userAgent, String contentDisposition, String mimetype, 69 intent.setDataAndType(Uri.parse(url), mimetype); local 87 Log.d(LOGTAG, "activity not found for " + mimetype 98 mimetype, referer, privateBrowsing); 138 * @param mimetype The mimetype of the content reported by the server 144 String mimetype, String referer, boolean privateBrowsing) { 147 contentDisposition, mimetype); [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorUiUtils.java | 35 // Maps DataKind.mimeType to editor view layouts. 38 // Generally there should be a layout mapped to each existing DataKind mimetype but lots of 67 * Fetches a layout for a given mimetype. 69 * @param mimetype The mime type (e.g. StructuredName.CONTENT_ITEM_TYPE) 72 public static int getLayoutResourceId(String mimetype) { 73 final Integer id = mimetypeLayoutMap.get(mimetype);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_request.h | 50 const std::string& mimetype,
|
cloud_print_request.cc | 52 const std::string& mimetype, 56 request->fetcher_->SetUploadData(mimetype, content);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PepperPluginManager.java | 40 private static final String MIMETYPE = "mimetype"; 51 // Find the mimetype of the plugin. Flash is handled in getFlashPath. 52 String mimetype = metaData.getString(MIMETYPE); local 53 if (mimetype == null || mimetype.isEmpty()) { 58 // (eg. path<#name><#description><#version>;mimetype) 80 plugin.append(mimetype);
|
/packages/providers/MediaProvider/tools/genfiles/ |
genfiles.sh | 54 while read format mediatype mimetype data; 121 echo ignored: $format '|' $mediatype '|' $mimetype '|' $data
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 88 String mimetype = "audio/mpeg"; local 91 intent.setDataAndType(path, mimetype);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
content_provider.py | 26 sense). Content-type is determined from Python's mimetype library which 57 mimetype = mimetypes.guess_type(path)[0] 58 if mimetype is None: 60 mimetype = 'text/plain' 61 elif mimetype == 'text/html': 65 elif (mimetype.startswith('text/') or 66 mimetype in ('application/javascript', 'application/json')): 70 return ContentAndType(content, mimetype)
|