Home
last modified time | relevance | path

Searched refs:messageId (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/Email/src/com/android/email/service/
DEmailServiceStub.java134 final long messageId = attachment.mMessageKey; in loadAttachment() local
139 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment()
147 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, in loadAttachment()
153 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.IN_PROGRESS, 0); in loadAttachment()
166 new String[] {Long.toString(messageId)}, null, 0, -1L); in loadAttachment()
181 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment()
219 new MessageRetrievalListenerBridge(messageId, attachmentId, cb)); in loadAttachment()
232 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 0); in loadAttachment()
261 public MessageRetrievalListenerBridge(final long messageId, final long attachmentId, in MessageRetrievalListenerBridge() argument
263 mMessageId = messageId; in MessageRetrievalListenerBridge()
[all …]
DImapService.java1036 long messageId, boolean manualSync) in processUploadMessage() argument
1039 EmailContent.Message.restoreMessageWithId(context, messageId); in processUploadMessage()
1043 LogUtils.d(Logging.LOG_TAG, "Upsync failed for null message, id=" + messageId); in processUploadMessage()
1046 LogUtils.d(Logging.LOG_TAG, "Upsync skipped for mailbox=drafts, id=" + messageId); in processUploadMessage()
1049 LogUtils.d(Logging.LOG_TAG, "Upsync skipped for mailbox=outbox, id=" + messageId); in processUploadMessage()
1052 LogUtils.d(Logging.LOG_TAG, "Upsync skipped for mailbox=trash, id=" + messageId); in processUploadMessage()
1055 LogUtils.d(Logging.LOG_TAG, "Upsync skipped; mailbox changed, id=" + messageId); in processUploadMessage()
1057 LogUtils.d(Logging.LOG_TAG, "Upsync triggered for message id=" + messageId); in processUploadMessage()
1064 EmailContent.Message.UPDATED_CONTENT_URI, messageId); in processUploadMessage()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java77 abstract protected void WriteMessageToStream(long accountId, long messageId, in WriteMessageToStream() argument
146 long messageId = Long.valueOf(uri.getLastPathSegment()); in readDataFromPipe() local
148 UpdateMimeMessageFromStream(fIn, accountId, messageId); in readDataFromPipe()
176 long messageId) throws IOException; in UpdateMimeMessageFromStream() argument
196 long messageId = Long.parseLong(segments.get(2)); in writeDataToPipe() local
210 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe()
260 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument
270 if(messageId == null) in onMessageChanged()
274 … newUri = BluetoothMapContract.buildMessageUriWithId(mAuthority,accountId, messageId); in onMessageChanged()
277 …if(D) Log.d(TAG,"onMessageChanged() accountId = " + accountId + " messageId = " + messageId + " UR… in onMessageChanged()
[all …]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
DSendCdmaCmasMessages.java64 public static void testSendCmasPresAlert(Activity activity, int messageId) { in testSendCmasPresAlert() argument
66 SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, messageId, "en", in testSendCmasPresAlert()
76 public static void testSendCmasExtremeAlert(Activity activity, int messageId) { in testSendCmasExtremeAlert() argument
78 SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, messageId, "en", in testSendCmasExtremeAlert()
88 public static void testSendCmasSevereAlert(Activity activity, int messageId) { in testSendCmasSevereAlert() argument
90 SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, messageId, "en", in testSendCmasSevereAlert()
100 public static void testSendCmasAmberAlert(Activity activity, int messageId) { in testSendCmasAmberAlert() argument
102 SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY, messageId, "en", in testSendCmasAmberAlert()
112 public static void testSendCmasMonthlyTest(Activity activity, int messageId) { in testSendCmasMonthlyTest() argument
114 SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE, messageId, "en", in testSendCmasMonthlyTest()
[all …]
DSendTestBroadcastActivity.java60 int messageId = 0; in getMessageId() local
62 messageId = Integer.parseInt(messageIdField.getText().toString()); in getMessageId()
66 int newMessageId = (messageId + 1) % 65536; in getMessageId()
71 return messageId; in getMessageId()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java539 public static Body restoreBodyWithMessageId(Context context, long messageId) { in restoreBodyWithMessageId() argument
542 new String[] {Long.toString(messageId)}, null); in restoreBodyWithMessageId()
550 public static long lookupBodyIdWithMessageId(Context context, long messageId) { in lookupBodyIdWithMessageId() argument
553 new String[] {Long.toString(messageId)}, null, ID_PROJECTION_COLUMN, -1L); in lookupBodyIdWithMessageId()
561 public static void updateBodyWithMessageId(Context context, long messageId, in updateBodyWithMessageId() argument
564 long bodyId = lookupBodyIdWithMessageId(context, messageId); in updateBodyWithMessageId()
565 values.put(BodyColumns.MESSAGE_KEY, messageId); in updateBodyWithMessageId()
575 public static long restoreBodySourceKey(Context context, long messageId) { in restoreBodySourceKey() argument
578 BodyColumns.MESSAGE_KEY + "=?", new String[] {Long.toString(messageId)}, null, in restoreBodySourceKey()
582 public static Uri getBodyTextUriForMessageWithId(long messageId) { in getBodyTextUriForMessageWithId() argument
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java77 int messageId = Integer.decode(channelRange.trim()); in setChannelRange() local
79 if (DBG) log("enabling emergency message ID " + messageId); in setChannelRange()
80 manager.enableCellBroadcast(messageId); in setChannelRange()
82 if (DBG) log("disabling emergency message ID " + messageId); in setChannelRange()
83 manager.disableCellBroadcast(messageId); in setChannelRange()
121 int messageId = message.getServiceCategory(); in isEmergencyAlertMessage() local
127 if (messageId >= startId && messageId <= endId) { in isEmergencyAlertMessage()
132 if (emergencyMessageId == messageId) { in isEmergencyAlertMessage()
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java607 for (long messageId: deleteList) { in deleteMessageOrphans()
608 bindArray[0] = Long.toString(messageId); in deleteMessageOrphans()
758 final long messageId = Long.valueOf(id); in delete() local
760 writeBodyFiles(context, messageId, emptyValues); in delete()
773 final long messageId = orphans.getLong(0); in delete() local
775 writeBodyFiles(context, messageId, emptyValues); in delete()
904 final long messageId = values.getAsLong(BodyColumns.MESSAGE_KEY); in insert() local
905 writeBodyFiles(getContext(), messageId, values); in insert() local
1679 private void addToMessageMove(final SQLiteDatabase db, final String messageId, in addToMessageMove() argument
1682 messageId, messageId, messageId, messageId, dstFolderKey, messageId, dstFolderKey)); in addToMessageMove()
[all …]
DEmailMessageCursor.java68 final long messageId = cursor.getLong(cursor.getColumnIndex(BaseColumns._ID)); in EmailMessageCursor() local
71 final Uri htmlUri = Body.getBodyHtmlUriForMessageWithId(messageId); in EmailMessageCursor()
83 LogUtils.v(LogUtils.TAG, e, "Did not find html body for message %d", messageId); in EmailMessageCursor()
87 final Uri textUri = Body.getBodyTextUriForMessageWithId(messageId); in EmailMessageCursor()
98 LogUtils.v(LogUtils.TAG, e, "Did not find text body for message %d", messageId); in EmailMessageCursor()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java211 public static Body setupBody(long messageId, String textContent, String htmlContent, in setupBody() argument
214 body.mMessageKey = messageId; in setupBody()
217 body.mSourceKey = messageId + 0x1000; in setupBody()
235 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() argument
242 att.mMessageKey = messageId; in setupAttachment()
249 att.mAccountKey = messageId + 0x1000; in setupAttachment()
265 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() argument
267 return setupAttachment(messageId, fileName, length, 0, saveIt, context); in setupAttachment()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java282 int messageId = 0; in updateContent() local
291 messageId = R.string.bluetooth_empty_list_user_restricted; in updateContent()
347 messageId = R.string.bluetooth_turning_off; in updateContent()
351 messageId = R.string.bluetooth_empty_list_bluetooth_off; in updateContent()
353 messageId = R.string.bluetooth_empty_list_user_restricted; in updateContent()
358 messageId = R.string.bluetooth_turning_on; in updateContent()
365 mEmptyView.setText(messageId); in updateContent()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMms.java132 private String messageId = null; field in BluetoothMapbMessageMms
259 public void setMessageId(String messageId) { in setMessageId() argument
260 this.messageId = messageId; in setMessageId()
263 return messageId; in getMessageId()
384 if(messageId != null) in encodeHeaders()
385 sb.append("Message-Id: ").append(messageId).append("\r\n"); in encodeHeaders()
518 messageId = headerValue; in parseMmsHeaders()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java300 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId) { in deleteAllAttachmentFiles() argument
301 Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, messageId); in deleteAllAttachmentFiles()
326 long messageId) { in deleteAllCachedAttachmentFiles() argument
327 final Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, messageId); in deleteAllCachedAttachmentFiles()
360 long messageId = c.getLong(Message.ID_PROJECTION_COLUMN); in deleteAllMailboxAttachmentFiles() local
361 deleteAllAttachmentFiles(context, accountId, messageId); in deleteAllMailboxAttachmentFiles()
DIntentUtilities.java84 public static void setMessageId(Uri.Builder b, long messageId) { in setMessageId() argument
85 if (messageId != -1) { in setMessageId()
86 b.appendQueryParameter(MESSAGE_ID_PARAM, Long.toString(messageId)); in setMessageId()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java370 public void setMessageId(String messageId) throws MessagingException { in setMessageId() argument
371 setHeader("Message-ID", messageId); in setMessageId()
382 String messageId = getFirstHeader("Message-ID"); in getMessageId() local
383 if (messageId == null && !mInhibitLocalMessageId) { in getMessageId()
384 messageId = generateMessageId(); in getMessageId()
385 setMessageId(messageId); in getMessageId()
387 return messageId; in getMessageId()
/packages/apps/Settings/src/com/android/settings/
DEncryptionInterstitial.java148 final int messageId; in onCreateDialog() local
152 messageId = R.string.encrypt_talkback_dialog_message_pattern; in onCreateDialog()
157 messageId = R.string.encrypt_talkback_dialog_message_pin; in onCreateDialog()
161 messageId = R.string.encrypt_talkback_dialog_message_password; in onCreateDialog()
180 .setMessage(getString(messageId, exampleAccessibility)) in onCreateDialog()
/packages/apps/Mms/src/com/android/mms/transaction/
DMmsMessageSender.java97 long messageId = ContentUris.parseId(mMessageUri); in sendMessage() local
109 values.put(PendingMessages.MSG_ID, messageId); in sendMessage()
123 SendingProgressTokenManager.put(messageId, token); in sendMessage()
151 public static void sendReadRec(Context context, String to, String messageId, int status) { in sendReadRec() argument
158 messageId.getBytes(), in sendReadRec()
DPushReceiver.java179 String messageId; in findThreadId() local
182 messageId = new String(((DeliveryInd) pdu).getMessageId()); in findThreadId()
184 messageId = new String(((ReadOrigInd) pdu).getMessageId()); in findThreadId()
190 sb.append(DatabaseUtils.sqlEscapeString(messageId)); in findThreadId()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java434 public static Uri getAttachmentsListUri(Uri emlFileUri, String messageId) { in getAttachmentsListUri() argument
438 .appendPath(messageId) in getAttachmentsListUri()
446 public static Uri getAttachmentByCidUri(Uri emlFileUri, String messageId) { in getAttachmentByCidUri() argument
450 .appendPath(messageId) in getAttachmentByCidUri()
458 public static Uri getAttachmentUri(Uri emlFileUri, String messageId, String partId) { in getAttachmentUri() argument
462 .appendPath(messageId) in getAttachmentUri()
DMessage.java473 final String messageId = mimeMessage.getMessageId(); in Message() local
478 emlFileUri, messageId, Integer.toString(partId++), false /* inline */)); in Message()
487 mAttachments.add(new Attachment(context, viewablePart, emlFileUri, messageId, cid, in Message()
495 EmlAttachmentProvider.getAttachmentsListUri(emlFileUri, messageId) : null; in Message()
497 attachmentByCidUri = EmlAttachmentProvider.getAttachmentByCidUri(emlFileUri, messageId); in Message()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java561 int messageId = mUidToMsgNumMap.get(message.getUid()); in fetchBody() local
564 response = executeSimpleCommand(String.format(Locale.US, "RETR %d", messageId)); in fetchBody()
569 String.format(Locale.US, "TOP %d %d", messageId, lines)); in fetchBody()
573 String.format(Locale.US, "RETR %d", messageId)); in fetchBody()
575 LogUtils.w(Logging.LOG_TAG, "Can't read message " + messageId); in fetchBody()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogFragment.java436 final int messageId; in updateEmptyMessage() local
439 messageId = R.string.recentMissed_empty; in updateEmptyMessage()
442 messageId = R.string.recentVoicemails_empty; in updateEmptyMessage()
445 messageId = R.string.recentCalls_empty; in updateEmptyMessage()
452 getListView().getEmptyView(), R.drawable.empty_call_log, messageId, getResources()); in updateEmptyMessage() local
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java246 private static Map<String, Object> createMessageDetailsMap(int accountId, int messageId, in createMessageDetailsMap() argument
249 final String messageUri = getMockMessageUri(accountId, messageId); in createMessageDetailsMap()
251 messageMap.put(BaseColumns._ID, Long.valueOf(messageId)); in createMessageDetailsMap()
400 private static String getMockMessageUri(int accountId, int messageId) { in getMockMessageUri() argument
401 return getMockAccountUri(accountId) + "/message/" + messageId; in getMockMessageUri()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java213 String messageId, long timestampSecs, boolean seen, boolean read) {
216 return importMms(contentUri, messageId, timestampSecs, seen, read, callingPkg);
429 private Uri importMms(Uri contentUri, String messageId, long timestampSecs, in importMms() argument
471 if (!TextUtils.isEmpty(messageId)) { in importMms()
472 values.put(Telephony.Mms.MESSAGE_ID, messageId); in importMms()
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
DDialogSmsDisplayTests.java84 byte[] encodeCellBroadcast(int serialNumber, int messageId, int dcs, String message) { in encodeCellBroadcast() argument
88 pdu[2] = (byte) ((messageId >> 8) & 0xff); in encodeCellBroadcast()
89 pdu[3] = (byte) (messageId & 0xff); in encodeCellBroadcast()

123