/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 | 160 * @param mimeType an optional mimeType for the file. 161 * If mimeType is null, then the mimeType will be inferred from the file extension. 163 public void scanFile(String path, String mimeType) { 172 mService.requestScanFile(path, mimeType, mListener); 210 String mimeType = mMimeTypes != null ? mMimeTypes[mNextPath] : null; 211 mConnection.scanFile(mPaths[mNextPath], mimeType); 219 * <var>path</var> and <var>mimeType</var> when the connection is 227 * If mimeType is null, then the mimeType will be inferred from the file extension [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
SaveFragment.java | 52 public static void show(FragmentManager fm, String mimeType, String displayName) { 54 args.putString(EXTRA_MIME_TYPE, mimeType); 121 final String mimeType = getArguments().getString(EXTRA_MIME_TYPE); 123 activity.onSaveRequested(mimeType, displayName);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
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/UnifiedEmail/src/com/android/emailcommon/mail/ |
Part.java | 45 public boolean isMimeType(String mimeType) throws MessagingException;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DownloadController.java | 30 * @param mimetype The mimetype of downloaded file. 36 void onDownloadCompleted(Context context, String url, String mimetype, String path, 70 String userAgent, String contentDisposition, String mimetype, 76 mimetype, cookie, referer, contentLength); 85 * @param mimeType Mime of the downloaded item. 88 public void onDownloadStarted(ContentViewCore view, String filename, String mimeType) { 92 downloadDelagate.onDownloadStarted(filename, mimeType); 101 public void onDownloadCompleted(Context context, String url, String mimetype, 104 sDownloadNotificationService.onDownloadCompleted(context, url, mimetype, path [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DOMSyntaxHighlighter.js | 34 WebInspector.DOMSyntaxHighlighter = function(mimeType, stripExtraWhitespace) 36 this._tokenizer = WebInspector.SourceTokenizer.Registry.getInstance().getTokenizer(mimeType);
|
RequestPreviewView.js | 98 if (this.request.type === WebInspector.resourceTypes.XHR && this.request.mimeType === "text/html") { 104 if (this.request.type === WebInspector.resourceTypes.Script && this.request.mimeType === "application/json") {
|
NetworkManager.js | 169 networkRequest.mimeType = response.mimeType; 191 WebInspector.UIString("Resource interpreted as %s but transferred with MIME type %s: \"%s\".", networkRequest.type.title(), networkRequest.mimeType, networkRequest.url), 224 if (!networkRequest.mimeType) 227 if (networkRequest.mimeType in WebInspector.NetworkManager._MIMETypes) 228 return networkRequest.type.name() in WebInspector.NetworkManager._MIMETypes[networkRequest.mimeType]; 252 return !response.status && !response.mimeType && (!response.headers || !Object.keys(response.headers).length); 317 eventData.mimeType = response.mimeType;
|
TextEditorHighlighter.js | 49 get mimeType() 55 * @param {string} mimeType 57 set mimeType(mimeType) 59 var tokenizer = WebInspector.SourceTokenizer.Registry.getInstance().getTokenizer(mimeType); 62 this._mimeType = mimeType;
|
/frameworks/av/drm/common/ |
DrmInfo.cpp | 21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : 24 mMimeType(mimeType) {
|
DrmInfoRequest.cpp | 24 DrmInfoRequest::DrmInfoRequest(int infoType, const String8& mimeType) : 25 mInfoType(infoType), mMimeType(mimeType) {
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 101 bool DrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { 103 return mDrmManager->canHandle(uniqueId, path, mimeType); 129 int uniqueId, const String8& path, const String8& mimeType) { 131 return mDrmManager->getDrmObjectType(uniqueId, path, mimeType); 175 int DrmManagerService::openConvertSession(int uniqueId, const String8& mimeType) { 177 return mDrmManager->openConvertSession(uniqueId, mimeType); 218 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 221 return mDrmManager->openDecryptSession(uniqueId, buf, mimeType);
|
/frameworks/av/include/media/stagefright/ |
DataSource.h | 74 bool sniff(String8 *mimeType, float *confidence, sp<AMessage> *meta); 80 const sp<DataSource> &source, String8 *mimeType,
|
/frameworks/base/core/java/android/webkit/ |
CacheManager.java | 65 String mimeType; 150 return mimeType;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoObject.java | 47 String mimeType, long dateTaken, String title) { 49 mimeType, dateTaken, title);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalMediaItem.java | 38 public String mimeType; 102 return mimeType;
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
MimeRecord.java | 42 private MimeRecord(String mimeType, byte[] content) { 43 mType = Preconditions.checkNotNull(mimeType);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactModifier.java | 92 final int visibleCount = state.getMimeEntriesCount(kind.mimeType, true); 114 RawContactDelta state, AccountType accountType, String mimeType) { 115 final DataKind kind = accountType.getKindForMimetype(mimeType); 116 final boolean hasChild = state.getMimeEntriesCount(mimeType, true) > 0; 121 return state.getMimeEntries(mimeType).get(0); 125 if (kind.mimeType.equals(Photo.CONTENT_ITEM_TYPE)) { 213 final List<ValuesDelta> mimeEntries = state.getMimeEntries(kind.mimeType); 369 after.put(Data.MIMETYPE, kind.mimeType); 430 final String mimeType = kind.mimeType [all...] |
/external/chromium_org/components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/ |
PersonalAutofillPopulator.java | 49 public abstract String mimeType(); 63 public String mimeType() { 79 public String mimeType() { 107 public String mimeType() { 129 public String mimeType() { 143 ContactsContract.Contacts.Data.MIMETYPE + " = ?", 144 new String[]{query.mimeType()},
|
/frameworks/av/media/libstagefright/ |
AMRExtractor.cpp | 120 String8 mimeType; 122 if (!SniffAMR(mDataSource, &mimeType, &confidence, NULL)) { 126 mIsWide = (mimeType == MEDIA_MIMETYPE_AUDIO_AMR_WB); 330 const sp<DataSource> &source, String8 *mimeType, float *confidence, 339 *mimeType = MEDIA_MIMETYPE_AUDIO_AMR_NB; 344 *mimeType = MEDIA_MIMETYPE_AUDIO_AMR_WB;
|
/frameworks/av/media/libstagefright/timedtext/ |
TimedTextDriver.cpp | 201 size_t trackIndex, const char *uri, const char *mimeType) { 211 return createOutOfBandTextSource(trackIndex, mimeType, dataSource); 215 size_t trackIndex, int fd, off64_t offset, off64_t length, const char *mimeType) { 223 return createOutOfBandTextSource(trackIndex, mimeType, dataSource); 228 const char *mimeType, 236 if (strcasecmp(mimeType, MEDIA_MIMETYPE_TEXT_SUBRIP) == 0) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 93 * Lookup map of {@link #mKinds} on {@link DataKind#mimeType}. 329 public DataKind getKindForMimetype(String mimeType) { 330 return this.mMimeKinds.get(mimeType); 337 if (kind.mimeType == null) { 340 if (mMimeKinds.get(kind.mimeType) != null) { 342 "mime type '" + kind.mimeType + "' is already registered"); 347 this.mMimeKinds.put(kind.mimeType, kind);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/archive/ |
MHTMLArchive.cpp | 123 PassRefPtr<SharedBuffer> MHTMLArchive::generateMHTMLData(const Vector<SerializedResource>& resources, EncodingPolicy encodingPolicy, const String& title, const String& mimeType) 142 stringBuilder.append(mimeType); 160 stringBuilder.append(resource.mimeType); 165 else if (MIMETypeRegistry::isSupportedJavaScriptMIMEType(resource.mimeType) || MIMETypeRegistry::isSupportedNonImageMIMEType(resource.mimeType))
|
MHTMLParser.cpp | 120 const String& mimeType = resource->mimeType(); 121 if (!MIMETypeRegistry::isSupportedNonImageMIMEType(mimeType) || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType) || mimeType == "text/css") {
|