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.java118 public String mMimeType; field in DownloadThread.State
145 mMimeType = Intent.normalizeMimeType(info.mMimeType); in State()
389 if (DownloadDrmHelper.isDrmConvertNeeded(state.mMimeType)) { in transferData()
393 out = new DrmOutputStream(drmClient, file, state.mMimeType); in transferData()
618 || DownloadDrmHelper.isDrmConvertNeeded(state.mMimeType); in cannotResume()
666 state.mMimeType, in processResponseHeaders()
686 if (state.mMimeType != null) { in updateDatabaseFromHeaders()
687 values.put(Downloads.Impl.COLUMN_MIME_TYPE, state.mMimeType); in updateDatabaseFromHeaders()
701 if (state.mMimeType == null) { in readResponseHeaders()
702 state.mMimeType = Intent.normalizeMimeType(conn.getContentType()); in readResponseHeaders()
[all …]
DDownloadInfo.java78 info.mMimeType = getString(Downloads.Impl.COLUMN_MIME_TYPE); in updateFromDatabase()
212 public String mMimeType; field in DownloadInfo
522 pw.printPair("mMimeType", mMimeType); in dump()
DDownloadScanner.java104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType); in requestScan()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java56 private final String mMimeType; field in DataAction
76 mMimeType = item.getMimeType(); in DataAction()
248 return mMimeType; in getMimeType()
310 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
313 if (!TextUtils.equals(mMimeType, that.mMimeType) in shouldCollapseWith()
DQuickContactListFragment.java46 private String mMimeType; field in QuickContactListFragment
50 this.mMimeType = mimeType; in QuickContactListFragment()
66 return mMimeType; in getMimeType()
/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.java285 newAttachment2.mMimeType = "image/jpg"; in testGetType()
290 newAttachment3.mMimeType = "text/plain"; in testGetType()
295 newAttachment4.mMimeType = "application/octet-stream"; in testGetType()
300 newAttachment5.mMimeType = "application/octet-stream"; in testGetType()
305 newAttachment6.mMimeType = ""; in testGetType()
387 newAttachment2.mMimeType = "image/png"; in testOpenFile()
446 newAttachment2.mMimeType = "image/png"; in testOpenThumbnail()
DProviderTestUtils.java254 att.mMimeType = "mimeType " + fileName; in setupAttachment()
443 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/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadItem.java40 private String mMimeType; field in DownloadItem
75 mMimeType = mimeType; in setData()
136 mFileName, mMimeType); in setChecked()
154 return mMimeType; in getMimeType()
DDownloadList.java97 private String mMimeType; field in DownloadList.SelectionObjAttrs
100 mMimeType = mimeType; in SelectionObjAttrs()
106 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/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1133 public String mMimeType; field in EmailContent.Attachment
1284 mMimeType = cursor.getString(CONTENT_MIME_TYPE_COLUMN); in restore()
1304 values.put(AttachmentColumns.MIME_TYPE, mMimeType); in toContentValues()
1331 dest.writeString(mMimeType); in writeToParcel()
1356 mMimeType = in.readString(); in Attachment()
1393 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java325 assertEquals("text/calendar; method=REPLY", att.mMimeType); in testCreateMessageForEntity_Reply()
367 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite_AllDay()
429 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite()
495 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Recurring()
577 assertEquals("text/calendar; method=CANCEL", att.mMimeType); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java315 assertEquals("text/calendar; method=REPLY", att.mMimeType); in testCreateMessageForEntity_Reply()
357 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite_AllDay()
419 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Invite()
485 assertEquals("text/calendar; method=REQUEST", att.mMimeType); in testCreateMessageForEntity_Recurring()
567 assertEquals("text/calendar; method=CANCEL", att.mMimeType); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java216 localAttachment.mMimeType = part.getMimeType(); in addOneAttachment()
245 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue; in addOneAttachment()
DAttachmentInfo.java85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java86 private final String mMimeType; field in VideoEditorProject.Download
100 mMimeType = mimeType; in Download()
116 return mMimeType; in getMimeType()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java195 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment()
210 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java251 att.mMimeType = "text/calendar"; in testWriteToAlternativePart()
295 att.mMimeType = "text/html"; in testWriteToMixedPart()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java991 if (att.mMimeType != null) { in dump()
992 pw.print(att.mMimeType); in dump()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java413 attachment.mMimeType, absolutePath, size, in saveAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java285 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
/packages/apps/Email/src/com/android/email/activity/
DMessageCompose.java1609 attachment.mMimeType = AttachmentUtilities.inferMimeTypeForUri(this, uri); in loadAttachmentInfo()
1677 final String mimeType = attachment.mMimeType; in addAttachmentFromSendIntent()

12