/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 118 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 …]
|
D | DownloadInfo.java | 78 info.mMimeType = getString(Downloads.Impl.COLUMN_MIME_TYPE); in updateFromDatabase() 212 public String mMimeType; field in DownloadInfo 522 pw.printPair("mMimeType", mMimeType); in dump()
|
D | DownloadScanner.java | 104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType); in requestScan()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 56 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()
|
D | QuickContactListFragment.java | 46 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/ |
D | SharePopup.java | 58 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/ |
D | AttachmentProviderTests.java | 285 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()
|
D | ProviderTestUtils.java | 254 att.mMimeType = "mimeType " + fileName; in setupAttachment() 443 assertEquals(caller + " mMimeType", expect.mMimeType, actual.mMimeType); in assertAttachmentEqual()
|
/packages/apps/Browser/src/com/android/browser/ |
D | DataUri.java | 33 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/ |
D | DownloadItem.java | 40 private String mMimeType; field in DownloadItem 75 mMimeType = mimeType; in setData() 136 mFileName, mMimeType); in setChecked() 154 return mMimeType; in getMimeType()
|
D | DownloadList.java | 97 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/ |
D | BaseImage.java | 49 protected String mMimeType; field in BaseImage 67 mMimeType = mimeType; in BaseImage() 133 return mMimeType; in getMimeType()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallWidgetReceiver.java | 77 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/ |
D | EmailContent.java | 1133 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/ |
D | CalendarUtilitiesTests.java | 325 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/ |
D | CalendarUtilitiesTests.java | 315 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/ |
D | LegacyConversions.java | 216 localAttachment.mMimeType = part.getMimeType(); in addOneAttachment() 245 if (stringNotEqual(dbAttachment.mMimeType, localAttachment.mMimeType)) continue; in addOneAttachment()
|
D | AttachmentInfo.java | 85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | VideoEditorProject.java | 86 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/ |
D | SmtpSenderUnitTests.java | 195 attachment.mMimeType = "image/jpg"; in setupSimpleAttachment() 210 mockTransport.expect("Content-Type: " + attachment.mMimeType + ";"); in expectSimpleAttachment()
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 251 att.mMimeType = "text/calendar"; in testWriteToAlternativePart() 295 att.mMimeType = "text/html"; in testWriteToMixedPart()
|
/packages/apps/Email/src/com/android/email/service/ |
D | AttachmentDownloadService.java | 991 if (att.mMimeType != null) { in dump() 992 pw.print(att.mMimeType); in dump()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | AttachmentUtilities.java | 413 attachment.mMimeType, absolutePath, size, in saveAttachment()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 285 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 1609 attachment.mMimeType = AttachmentUtilities.inferMimeTypeForUri(this, uri); in loadAttachmentInfo() 1677 final String mimeType = attachment.mMimeType; in addAttachmentFromSendIntent()
|