/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 55 if (D) Log.d(TAG, "No mimeType or stream attached to handover request"); 59 String mimeType = intent.getType(); 61 if (mimeType != null && uris != null) { 62 BluetoothOppManager.getInstance(context).saveSendingFileInfo(mimeType, 65 if (D) Log.d(TAG, "No mimeType or stream attached to handover request");
|
Constants.java | 296 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { 298 if (mimeTypeMatches(mimeType, matchType)) { 305 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { 308 return p.matcher(mimeType).matches();
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
FileRetriever.java | 106 String mimeType = mimeTypeMap.getMimeTypeFromExtension(extension); 107 return (mimeType != null && mimeType.startsWith("video/"));
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverTransfer.java | 155 public void finishTransfer(boolean success, Uri uri, String mimeType) { 161 if (DBG) Log.d(TAG, "Transfer success, uri " + uri + " mimeType " + mimeType); 163 if (mimeType == null) { 164 mimeType = BluetoothOppHandover.getMimeTypeForUri(mContext, uri); 166 if (mimeType != null) { 168 mBtMimeTypes.add(mimeType); 170 if (DBG) Log.d(TAG, "Could not get mimeType for file."); 318 String mimeType = mBtMimeTypes.get(i); 330 mMimeTypes.put(dstFile.getAbsolutePath(), mimeType); [all...] |
/external/webkit/Source/WebCore/loader/ |
DocumentWriter.h | 67 const String& mimeType() const { return m_mimeType; }
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebPluginDatabase.h | 48 - (WebBasePluginPackage *)pluginForMIMEType:(NSString *)mimeType; 51 - (BOOL)isMIMETypeRegistered:(NSString *)MIMEType;
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebpluginfactory.h | 37 struct QWEBKIT_EXPORT MimeType { 41 bool operator==(const MimeType& other) const; 42 inline bool operator!=(const MimeType& other) const { return !operator==(other); } 48 QList<MimeType> mimeTypes; 57 virtual QObject *create(const QString& mimeType,
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebDownloadClient.h | 50 bool shouldDecodeSourceDataOfMIMEType(WebContext*, DownloadProxy*, const String& mimeType);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
WebArchiveDumpSupportMac.mm | 45 CFURLResponseRef CFURLResponseCreate(CFAllocatorRef alloc, CFURLRef URL, CFStringRef mimeType, SInt64 expectedContentLength, CFStringRef textEncodingName, CFURLCacheStoragePolicy recommendedPolicy); 48 void CFURLResponseSetMIMEType(CFURLResponseRef response, CFStringRef mimeType); 60 return CFURLResponseCreate(kCFAllocatorDefault, (CFURLRef)[response URL], (CFStringRef)[response MIMEType], [response expectedContentLength], (CFStringRef)[response textEncodingName], kCFURLCacheStorageAllowed);
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerClientImpl.h | 101 * Check whether the given mimetype or path can be handled 105 * @param[in] mimetype Mimetype of the content needs to be handled 109 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 159 * using specified path or mimetype. At least one parameter should be non null 164 * @param[in] mimeType Mime type of the content or null. 168 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 248 * @param[in] mimeType Description/MIME type of the input data packet 251 int openConvertSession(int uniqueId, const String8& mimeType); 328 * @param[in] mimeType Mime type of the protected conten [all...] |
/frameworks/av/media/libstagefright/include/ |
AACExtractor.h | 56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
AMRExtractor.h | 57 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
DRMExtractor.h | 56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
FLACExtractor.h | 59 bool SniffFLAC(const sp<DataSource> &source, String8 *mimeType,
|
MP3Extractor.h | 56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
OggExtractor.h | 58 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
WAVExtractor.h | 64 const sp<DataSource> &source, String8 *mimeType, float *confidence,
|
/frameworks/base/core/java/android/content/ |
ClipDescription.java | 123 * @param mimeType The desired MIME type. May be a pattern. 127 public boolean hasMimeType(String mimeType) { 129 if (compareMimeTypes(mMimeTypes[i], mimeType)) { 140 * @param mimeType The desired MIME type. May be a pattern. 144 public String[] filterMimeTypes(String mimeType) { 147 if (compareMimeTypes(mMimeTypes[i], mimeType)) {
|
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 157 * @param mimeType an optional mimeType for the file. 158 * If mimeType is null, then the mimeType will be inferred from the file extension. 160 public void scanFile(String path, String mimeType) { 169 mService.requestScanFile(path, mimeType, mListener); 207 String mimeType = mMimeTypes != null ? mMimeTypes[mNextPath] : null; 208 mConnection.scanFile(mPaths[mNextPath], mimeType); 216 * <var>path</var> and <var>mimeType</var> when the connection is 224 * If mimeType is null, then the mimeType will be inferred from the file extension [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
Part.java | 45 public boolean isMimeType(String mimeType) throws MessagingException;
|
/external/webkit/Source/WebCore/platform/network/ |
DataURL.cpp | 62 String mimeType = extractMIMETypeFromMediaType(mediaType); 66 response.setMimeType(mimeType);
|
/external/webkit/Source/WebCore/platform/network/chromium/ |
ResourceResponse.h | 50 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 51 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
/external/webkit/Source/WebCore/plugins/mac/ |
PluginPackageMac.cpp | 47 void PluginPackage::determineQuirks(const String& mimeType) 49 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) { 59 if (mimeType == "application/x-shockwave-flash") { 173 String mimeType = (CFStringRef)keys[i]; 174 mimeType = mimeType.lower(); 195 m_mimeToExtensions.set(mimeType, mimeExtensions); 198 m_mimeToDescriptions.set(mimeType, description);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePluginStream.h | 58 uint32_t lastModifiedTime, const String& mimeType, const String& headers); 72 uint32_t lastModifiedTime, const String& mimeType, const String& headers);
|
/frameworks/av/drm/common/ |
DrmInfo.cpp | 21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : 24 mMimeType(mimeType) {
|