/packages/apps/Browser/src/com/android/browser/ |
BrowserDownloadListener.java | 33 * @param mimetype The mimetype of the content reported by the server 38 String contentDisposition, String mimetype, String referer, 48 * @param mimetype The mimetype of the content reported by the server 53 String contentDisposition, String mimetype, long contentLength) { 55 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
|
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...] |
/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);
|
logger.h | 93 void logSPY_NP_Shutdown(char * mimetype);
|
/frameworks/base/core/java/android/webkit/ |
DownloadListener.java | 27 * @param mimetype The mimetype of the content reported by the server 31 String contentDisposition, String mimetype, long contentLength);
|
/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/telephony/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);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PepperPluginManager.java | 38 private static final String MIMETYPE = "mimetype"; 49 // Find the mimetype of the plugin. Flash is handled in getFlashPath. 50 String mimetype = metaData.getString(MIMETYPE); local 51 if (mimetype == null || mimetype.isEmpty()) { 56 // (eg. path<#name><#description><#version>;mimetype) 78 plugin.append(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...] |
/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/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);
|
/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 | 86 String mimetype = MediaFormat.MIMETYPE_AUDIO_MPEG; local 89 intent.setDataAndType(path, mimetype);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_importer.py | 237 mimetype = mimetypes.guess_type(fullpath) 238 if not 'html' in str(mimetype[0]) and not 'application/xhtml+xml' in str(mimetype[0]) and not 'application/xml' in str(mimetype[0]): 371 mimetype = mimetypes.guess_type(orig_filepath) 372 if 'html' in str(mimetype[0]) or 'xml' in str(mimetype[0]) or 'css' in str(mimetype[0]):
|
/external/chromium_org/mojo/services/html_viewer/ |
blink_platform_impl.cc | 184 std::string mimetype, charset, data; local 185 if (net::DataURL::Parse(url, &mimetype, &charset, &data) 186 && net::IsSupportedMimeType(mimetype)) { 187 mimetype_out = blink::WebString::fromUTF8(mimetype);
|
/packages/apps/Mms/src/com/android/mms/drm/ |
DrmUtils.java | 37 public static String getConvertExtension(String mimetype) { 41 public static boolean isDrmType(String mimeType) { 46 if (drmManagerClient.canHandle("", mimeType)) {
|