Home
last modified time | relevance | path

Searched refs:msgId (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasOutboxService.java241 private void sendCallback(long msgId, String subject, int status) { in sendCallback() argument
243 ExchangeService.callback().sendMessageStatus(msgId, subject, status, 0); in sendCallback()
273 private static OriginalMessageInfo getOriginalMessageInfo(Context context, long msgId) { in getOriginalMessageInfo() argument
283 new String[] {Long.toString(msgId)}); in getOriginalMessageInfo()
309 private void sendFailed(long msgId, int result) { in sendFailed() argument
312 Message.update(mContext, Message.CONTENT_URI, msgId, cv); in sendFailed()
313 sendCallback(msgId, null, result); in sendFailed()
325 int sendMessage(File cacheDir, long msgId) throws IOException, MessagingException { in sendMessage() argument
331 sendCallback(msgId, null, EmailServiceStatus.IN_PROGRESS); in sendMessage()
336 Message msg = Message.restoreMessageWithId(mContext, msgId); in sendMessage()
[all …]
/packages/apps/Phone/src/com/android/phone/
DTimeConsumingPreferenceActivity.java83 int msgId; in onCreateDialog() local
88 msgId = R.string.response_error; in onCreateDialog()
92 msgId = R.string.radio_off_error; in onCreateDialog()
97 msgId = R.string.fdn_check_failure; in onCreateDialog()
102 msgId = R.string.exception_error; in onCreateDialog()
109 builder.setMessage(getText(msgId)); in onCreateDialog()
DFdnSetting.java331 int msgId; in displayPinChangeDialog() local
334 msgId = R.string.oldPin2Label; in displayPinChangeDialog()
338 msgId = R.string.newPin2Label; in displayPinChangeDialog()
342 msgId = R.string.confirmPin2Label; in displayPinChangeDialog()
346 msgId = R.string.label_puk2_code; in displayPinChangeDialog()
352 mButtonChangePin2.setDialogMessage(getText(msgId) + "\n" + getText(strId)); in displayPinChangeDialog()
354 mButtonChangePin2.setDialogMessage(msgId); in displayPinChangeDialog()
DCallFeaturesSetting.java1285 private void handleVMOrFwdSetError(int msgId) { in handleVMOrFwdSetError() argument
1287 mVMOrFwdSetError = msgId; in handleVMOrFwdSetError()
1293 showVMDialog(msgId); in handleVMOrFwdSetError()
1357 int msgId; in onCreateDialog() local
1361 msgId = R.string.vm_changed; in onCreateDialog()
1369 msgId = R.string.no_change; in onCreateDialog()
1375 msgId = R.string.vm_change_failed; in onCreateDialog()
1380 msgId = R.string.fw_change_failed; in onCreateDialog()
1385 msgId = R.string.fw_get_in_vm_failed; in onCreateDialog()
1390 msgId = R.string.exception_error; in onCreateDialog()
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DViewHelper.java33 void showError(int msgId) { in showError() argument
35 v.setText(msgId); in showError()
DCertFile.java194 private void toastError(int msgId) { in toastError() argument
195 Toast.makeText(this, msgId, Toast.LENGTH_LONG).show(); in toastError()
DCertInstaller.java423 private void toastErrorAndFinish(int msgId) { in toastErrorAndFinish() argument
424 Toast.makeText(this, msgId, Toast.LENGTH_SHORT).show(); in toastErrorAndFinish()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java105 long msgId = ContentUris.parseId(uri); in scheduleRetry() local
109 uriBuilder.appendQueryParameter("message", String.valueOf(msgId)); in scheduleRetry()
133 int respStatus = getResponseStatus(msgId); in scheduleRetry()
160 respStatus = getRetrieveStatus(msgId); in scheduleRetry()
231 Log.v(TAG, "Cannot found correct pending status for: " + msgId); in scheduleRetry()
DSmsReceiverService.java251 int msgId = c.getInt(SEND_COLUMN_ID); in sendFirstQueuedMessage() local
252 Uri msgUri = ContentUris.withAppendedId(Sms.CONTENT_URI, msgId); in sendFirstQueuedMessage()
DMessagingNotification.java569 long msgId = cursor.getLong(COLUMN_MMS_ID); in addMmsNotificationInfos() local
571 Long.toString(msgId)).build(); in addMmsNotificationInfos()
/packages/apps/Mms/src/com/android/mms/ui/
DDeliveryReportActivity.java137 long msgId = 0L; in getMessageId() local
140 msgId = icicle.getLong("message_id"); in getMessageId()
143 if (msgId == 0L) { in getMessageId()
144 msgId = intent.getLongExtra("message_id", 0L); in getMessageId()
147 return msgId; in getMessageId()
DComposeMessageActivity.java536 private MessageItem getMessageItem(String type, long msgId, in getMessageItem() argument
538 return mMsgListAdapter.getCachedMessageItem(type, msgId, in getMessageItem()
658 long msgId = cursor.getLong(COLUMN_ID); in onClick() local
659 deletingLastItem = msgId == mMessageItem.mMsgId; in onClick()
1043 long msgId = cursor.getLong(COLUMN_ID);
1047 MessageItem msgItem = mMsgListAdapter.getCachedMessageItem(type, msgId, cursor);
1050 + ", msgId = " + msgId);
1076 if (msgItem.isDownloaded() && (msgItem.isSms() || isForwardable(msgId))) {
1386 private boolean haveSomethingToCopyToSDCard(long msgId) { in haveSomethingToCopyToSDCard() argument
1390 ContentUris.withAppendedId(Mms.CONTENT_URI, msgId)); in haveSomethingToCopyToSDCard()
[all …]
DEditSlideDurationActivity.java160 private void notifyUser(int msgId) { in notifyUser() argument
163 Toast.makeText(this, msgId, Toast.LENGTH_SHORT).show(); in notifyUser()
DMessageListAdapter.java159 long msgId = cursor.getLong(mColumnsMap.mColumnMsgId); in bindView() local
161 MessageItem msgItem = getCachedMessageItem(type, msgId, cursor); in bindView()
231 public MessageItem getCachedMessageItem(String type, long msgId, Cursor c) { in getCachedMessageItem() argument
232 MessageItem item = mMessageItemCache.get(getKey(type, msgId)); in getCachedMessageItem()
/packages/apps/Mms/src/com/android/mms/util/
DAddressUtils.java43 String msgId = uri.getLastPathSegment(); in getFrom() local
46 builder.appendPath(msgId).appendPath("addr"); in getFrom()
DRecycler.java342 String msgId = uri.getLastPathSegment(); in deleteOldMessagesInSameThreadAsMessage() local
347 "thread_id in (select thread_id from pdu where _id=" + msgId + in deleteOldMessagesInSameThreadAsMessage()
/packages/apps/Mms/tests/src/com/android/mms/ui/
DComposeMessageActivityTests.java143 long msgId = cursor.getLong(mColumnsMap.mColumnMsgId); in getMessageItem() local
145 MessageItem msgItem = mMsgListAdapter.getCachedMessageItem(type, msgId, cursor); in getMessageItem()
DSmsTest.java256 long msgId = cursor.getLong(COLUMN_ID); in sendAndReceiveMessage() local
258 mActivity.mMsgListAdapter.getCachedMessageItem(type, msgId, cursor); in sendAndReceiveMessage()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java688 String msgId = null; in update() local
697 msgId = uri.getLastPathSegment(); in update()
736 if (msgId != null) { in update()
737 extraSelection = Mms._ID + "=" + msgId; in update()
DMmsSmsProvider.java426 String msgId = uri.getQueryParameter("message"); in query() local
432 if (!TextUtils.isEmpty(msgId)) { in query()
433 extraSelection += " AND " + PendingMessages.MSG_ID + "=" + msgId; in query()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java279 public static void showErrorAndFinish(final Activity activity, int msgId) { in showErrorAndFinish() argument
290 .setMessage(msgId) in showErrorAndFinish()
/packages/apps/Camera/src/com/android/camera/
DUtil.java327 public static void showErrorAndFinish(final Activity activity, int msgId) { in showErrorAndFinish() argument
340 .setMessage(msgId) in showErrorAndFinish()
/packages/apps/Mms/src/com/android/mms/data/
DWorkingMessage.java1488 long msgId = ContentUris.parseId(mmsUri); in markMmsMessageWithError() local
1491 values, PendingMessages.MSG_ID + "=" + msgId, null); in markMmsMessageWithError()