Home
last modified time | relevance | path

Searched refs:mMimeType (Results 1 – 25 of 30) sorted by relevance

12

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java125 public String mMimeType; field in DownloadThread.DownloadInfoDelta
138 mMimeType = info.mMimeType; in DownloadInfoDelta()
152 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType); in buildContentValues()
299 || DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in run()
473 if (DownloadDrmHelper.isDrmConvertNeeded(mInfoDelta.mMimeType)) { in transferData()
475 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
739 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
747 if (mInfoDelta.mMimeType == null) { in parseOkHeaders()
748 mInfoDelta.mMimeType = Intent.normalizeMimeType(conn.getContentType()); in parseOkHeaders()
DDownloadInfo.java79 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase()
214 public String mMimeType; field in DownloadInfo
538 pw.printPair("mMimeType", mMimeType); in dump()
DDownloadScanner.java104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType); in requestScan()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSuppressNotificationReceiver.java45 private String mMimeType; field in SuppressNotificationReceiver
63 mMimeType = account.mimeType; in activate()
65 filter.addDataType(mMimeType); in activate()
67 LogUtils.wtf(LOG_TAG, "Malformed mimetype: %s", mMimeType); in activate()
94 mMimeType = null; in deactivate()
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType); in notificationsDisabledForAccount()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java58 private final String mMimeType; field in DataAction
81 mMimeType = item.getMimeType(); in DataAction()
261 return mMimeType; in getMimeType()
328 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
331 if (!TextUtils.equals(mMimeType, that.mMimeType) in shouldCollapseWith()
DExpandingEntryCardView.java927 private final String mMimeType; field in ExpandingEntryCardView.EntryContextMenuInfo
935 mMimeType = mimeType; in EntryContextMenuInfo()
949 return mMimeType; in getMimeType()
/packages/apps/Camera2/src/com/android/camera/data/
DLocalMediaData.java62 protected final String mMimeType; field in LocalMediaData
90 mMimeType = mimeType; in LocalMediaData()
206 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView() local
274 return mMimeType; in getMimeType()
442 return "Photo:" + ",data=" + mPath + ",mimeType=" + mMimeType in toString()
581 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, mOrientation) in loadUri()
752 return "Video:" + ",data=" + mPath + ",mimeType=" + mMimeType in toString()
824 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView() local
828 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView() local
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java58 private String mMimeType; field in SharePopup
112 mMimeType = mContext.getContentResolver().getType(mUri); in SharePopup()
136 if (mMimeType.startsWith("video/")) { in SharePopup()
182 if (mMimeType.startsWith("video/")) { in setOrientation()
240 new Intent(Intent.ACTION_SEND).setType(mMimeType), 0); in createShareMenu()
277 intent.setType(mMimeType); in onItemClick()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java273 newAttachment2.mMimeType = "image/jpg"; in testGetType()
278 newAttachment3.mMimeType = "text/plain"; in testGetType()
283 newAttachment4.mMimeType = "application/octet-stream"; in testGetType()
288 newAttachment5.mMimeType = "application/octet-stream"; in testGetType()
293 newAttachment6.mMimeType = ""; in testGetType()
374 newAttachment2.mMimeType = "image/png"; in testOpenFile()
432 newAttachment2.mMimeType = "image/png"; in testOpenThumbnail()
DProviderTestUtils.java243 att.mMimeType = "mimeType " + fileName; in setupAttachment()
436 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType); in assertAttachmentEqual()
/packages/apps/Browser/src/com/android/browser/
DDataUri.java33 private String mMimeType; field in DataUri
53 mMimeType = contentType.substring(0, semiIndex); in DataUri()
55 mMimeType = contentType; in DataUri()
68 return mMimeType; in getMimeType()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImage.java49 protected String mMimeType; field in BaseImage
67 mMimeType = mimeType; in BaseImage()
133 return mMimeType; in getMimeType()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallWidgetReceiver.java77 private String mMimeType; field in InstallWidgetReceiver.WidgetListAdapter
88 mMimeType = mimeType; in WidgetListAdapter()
189 final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType, in onClick()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java229 localAttachment.mMimeType = AttachmentUtilities.inferMimeType(name, part.getMimeType()); in mimePartToAttachment()
284 !TextUtils.equals(dbAttachment.mMimeType, localAttachment.mMimeType) || in addOneAttachment()
443 final String mimeType = att.mMimeType; in makeMessage()
DAttachmentInfo.java92 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java337 assertEquals("text/calendar; method=REPLY", att.mMimeType); in testCreateMessageForEntity_Reply()
379 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite_AllDay()
441 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite()
507 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Recurring()
589 assertEquals("text/calendar; method=CANCEL", att.mMimeType); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1356 public String mMimeType; field in EmailContent.Attachment
1546 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); in restore()
1567 values.put(AttachmentColumns.MIME_TYPE, mMimeType); in toContentValues()
1595 dest.writeString(mMimeType); in writeToParcel()
1621 mMimeType = in.readString(); in Attachment()
1659 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java197 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment()
212 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java152 att.mMimeType = "text/calendar"; in testWriteToAlternativePart()
196 att.mMimeType = "text/html"; in testWriteToMixedPart()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java432 final String mimeType = TextUtils.isEmpty(attachment.mMimeType) ? in saveAttachment()
434 attachment.mMimeType; in saveAttachment()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java1351 if (att.mMimeType != null) { in dump()
1352 pw.print(att.mMimeType); in dump()
/packages/apps/Email/provider_src/com/android/email/provider/
DUtilities.java161 att.mMimeType = "text/plain"; in copyOneMessageToProvider()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java259 assertEquals(att.mMimeType, "text/plain"); in testAttachmentRoundTrip()
DLegacyConversionsTests.java292 assertEquals(tag, expected.getMimeType(), actual.mMimeType); in checkAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java217 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()

12