Home
last modified time | relevance | path

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

123456

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDeleteMessageAction.java39 public static void deleteMessage(final String messageId) { in deleteMessage() argument
40 final DeleteMessageAction action = new DeleteMessageAction(messageId); in deleteMessage()
46 private DeleteMessageAction(final String messageId) { in DeleteMessageAction() argument
48 actionParameters.putString(KEY_MESSAGE_ID, messageId); in DeleteMessageAction()
63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() local
65 if (!TextUtils.isEmpty(messageId)) { in doBackgroundWork()
67 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in doBackgroundWork()
70 int count = BugleDatabaseOperations.deleteMessage(db, messageId); in doBackgroundWork()
73 + messageId); in doBackgroundWork()
76 + messageId); in doBackgroundWork()
[all …]
DDownloadMmsAction.java67 static boolean queueMmsForDownloadInBackground(final String messageId, in queueMmsForDownloadInBackground() argument
72 return action.queueAction(messageId, processingAction); in queueMmsForDownloadInBackground()
113 protected boolean queueAction(final String messageId, final Action processingAction) { in queueAction() argument
114 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction()
118 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction()
144 updateMessageStatus(notificationUri, messageId, conversationId, in queueAction()
154 "DownloadMmsAction: Queued download of MMS message " + messageId); in queueAction()
158 LogUtil.w(TAG, "DownloadMmsAction: Download of MMS message " + messageId in queueAction()
162 updateMessageStatus(notificationUri, messageId, conversationId, in queueAction()
169 messageId, message.getMmsTransactionId(), in queueAction()
[all …]
DSendMessageAction.java57 static boolean queueForSendInBackground(final String messageId, in queueForSendInBackground() argument
60 return action.queueAction(messageId, processingAction); in queueForSendInBackground()
95 private boolean queueAction(final String messageId, final Action processingAction) { in queueAction() argument
96 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction()
100 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction()
156 LogUtil.d(TAG, "SendMessageAction: Queued SMS message " + messageId in queueAction()
168 LogUtil.d(TAG, "SendMessageAction: Queued MMS message " + messageId in queueAction()
194 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() local
202 + messageId + " in conversation " + message.getConversationId()); in doBackgroundWork()
233 updateMessageUri(messageId, updatedMessageUri); in doBackgroundWork()
[all …]
DProcessDownloadedMmsAction.java98 final String messageId = extras.getString(DownloadMmsAction.EXTRA_MESSAGE_ID); in processMessageDownloaded() local
103 Assert.notNull(messageId); in processMessageDownloaded()
112 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloaded()
139 public static void processMessageDownloadFastFailed(final String messageId, in processMessageDownloadFastFailed() argument
144 Assert.notNull(messageId); in processMessageDownloadFastFailed()
152 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloadFastFailed()
166 public static void processDownloadActionFailure(final String messageId, final int status, in processDownloadActionFailure() argument
169 Assert.notNull(messageId); in processDownloadActionFailure()
176 params.putString(KEY_MESSAGE_ID, messageId); in processDownloadActionFailure()
187 public static void sendDeferredRespStatus(final String messageId, final String transactionId, in sendDeferredRespStatus() argument
[all …]
DResendMessageAction.java42 public static void resendMessage(final String messageId) { in resendMessage() argument
43 final ResendMessageAction action = new ResendMessageAction(messageId); in resendMessage()
53 ResendMessageAction(final String messageId) { in ResendMessageAction() argument
55 actionParameters.putString(KEY_MESSAGE_ID, messageId); in ResendMessageAction()
63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local
67 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in executeAction()
77 LogUtil.i(TAG, "ResendMessageAction: Resending message " + messageId in executeAction()
98 String error = "ResendMessageAction: Cannot resend message " + messageId + "; "; in executeAction()
DRedownloadMmsAction.java46 public static void redownloadMessage(final String messageId) { in redownloadMessage() argument
47 final RedownloadMmsAction action = new RedownloadMmsAction(messageId); in redownloadMessage()
55 final Context context, final String messageId) { in getPendingIntentForRedownloadMms() argument
56 final Action action = new RedownloadMmsAction(messageId); in getPendingIntentForRedownloadMms()
67 RedownloadMmsAction(final String messageId) { in RedownloadMmsAction() argument
69 actionParameters.putString(KEY_MESSAGE_ID, messageId); in RedownloadMmsAction()
77 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local
81 MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in executeAction()
DProcessSentMessageAction.java99 public static void processMessageSentFastFailed(final String messageId, in processMessageSentFastFailed() argument
106 params.putString(KEY_MESSAGE_ID, messageId); in processMessageSentFastFailed()
127 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local
186 if (messageId != null) { in executeAction()
190 messageId, updatedMessageUri, status, rawStatus, isSms, this, subId, in executeAction()
201 static void processResult(final String messageId, Uri updatedMessageUri, int status, in processResult() argument
205 MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in processResult()
208 LogUtil.w(TAG, "ProcessSentMessageAction: Sent message " + messageId in processResult()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallDiagnosticServiceAdapter.java34 void displayDiagnosticMessage(String callId, int messageId, CharSequence message); in displayDiagnosticMessage() argument
35 void clearDiagnosticMessage(String callId, int messageId); in clearDiagnosticMessage() argument
55 public void displayDiagnosticMessage(String callId, int messageId, CharSequence message) in displayDiagnosticMessage() argument
62 Log.i(this, "displayDiagnosticMessage; callId=%s, msg=%d/%s", callId, messageId, in displayDiagnosticMessage()
64 mTelecomAdapter.displayDiagnosticMessage(callId, messageId, message); in displayDiagnosticMessage()
75 public void clearDiagnosticMessage(String callId, int messageId) throws RemoteException { in clearDiagnosticMessage() argument
81 Log.i(this, "clearDiagnosticMessage; callId=%s, msg=%d", callId, messageId); in clearDiagnosticMessage()
82 mTelecomAdapter.clearDiagnosticMessage(callId, messageId); in clearDiagnosticMessage()
DCallDiagnosticServiceController.java467 public void displayDiagnosticMessage(String callId, int messageId, CharSequence message) {
468 handleDisplayDiagnosticMessage(callId, messageId, message);
472 public void clearDiagnosticMessage(String callId, int messageId) {
473 handleClearDiagnosticMessage(callId, messageId);
513 private void handleDisplayDiagnosticMessage(@NonNull String callId, int messageId, in handleDisplayDiagnosticMessage() argument
518 callId, messageId, message); in handleDisplayDiagnosticMessage()
522 callId, messageId, message); in handleDisplayDiagnosticMessage()
528 call.displayDiagnosticMessage(messageId, message); in handleDisplayDiagnosticMessage()
537 private void handleClearDiagnosticMessage(@NonNull String callId, int messageId) { in handleClearDiagnosticMessage() argument
541 callId, messageId); in handleClearDiagnosticMessage()
[all …]
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java76 long messageId, in WriteMessageToStream() argument
143 long messageId = Long.valueOf(uri.getLastPathSegment()); in readDataFromPipe() local
145 UpdateMimeMessageFromStream(fIn, accountId, messageId); in readDataFromPipe()
175 FileInputStream input, long accountId, long messageId) throws IOException; in UpdateMimeMessageFromStream() argument
199 long messageId = Long.parseLong(segments.get(2)); in writeDataToPipe() local
214 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe()
268 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument
278 if (messageId == null) { in onMessageChanged()
283 mAuthority, accountId, messageId); in onMessageChanged()
292 + messageId in onMessageChanged()
[all …]
DBluetoothMapIMProvider.java124 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument
133 if (messageId == null) { in onMessageChanged()
138 mAuthority, accountId, messageId); in onMessageChanged()
147 + messageId in onMessageChanged()
219 String messageId = uri.getLastPathSegment(); in delete() local
220 if (messageId == null) { in delete()
232 return deleteMessage(accountId, messageId); in delete()
251 protected abstract int deleteMessage(String accountId, String messageId); in deleteMessage() argument
554 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update() local
555 if (messageId == null) { in update()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DRebootConfirmationDialogFragment.java42 public static void show(Fragment fragment, int messageId, RebootConfirmationDialogHost host) { in show() argument
43 show(fragment, messageId, R.string.reboot_dialog_reboot_later, host); in show()
49 int messageId, in show() argument
55 new RebootConfirmationDialogFragment(messageId, cancelButtonId, host); in show()
61 int messageId, int cancelButtonId, RebootConfirmationDialogHost host) { in RebootConfirmationDialogFragment() argument
62 mMessageId = messageId; in RebootConfirmationDialogFragment()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeader.java83 public final int messageId; field in IkeHeader
119 messageId = msgId; in IkeHeader()
155 messageId = buffer.getInt(); in IkeHeader()
171 messageId); in makeSkfHeaderFromSkHeader()
232 byteBuffer.put(flag).putInt(messageId).putInt(IKE_HEADER_LENGTH + encodedMessageBodyLen); in encodeToByteBuffer()
242 return exchangeStr + " " + reqOrResp + " " + messageId; in getBasicInfoString()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java559 final String conversationId, final String messageId, final long latestTimestamp, in updateConversationMetadataInTransaction() argument
566 values.put(ConversationColumns.LATEST_MESSAGE_ID, messageId); in updateConversationMetadataInTransaction()
578 final MessageData message = readMessage(dbWrapper, messageId); in updateConversationMetadataInTransaction()
600 final String conversationId, final String messageId, final long latestTimestamp, in updateConversationMetadataInTransaction() argument
604 db, conversationId, messageId, latestTimestamp, keepArchived, null, in updateConversationMetadataInTransaction()
789 final String messageId, final ContentValues values) { in updateMessageRowIfExists() argument
792 messageId, values); in updateMessageRowIfExists()
797 final String messageId, final ContentValues values) { in updateMessageRow() argument
799 final boolean exists = updateMessageRowIfExists(dbWrapper, messageId, values); in updateMessageRow()
1010 public static MessageData readMessage(final DatabaseWrapper dbWrapper, final String messageId) { in readMessage() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java236 final int messageId; in onLoadFinished() local
239 messageId = R.string.batch_delete_multiple_accounts_confirmation; in onLoadFinished()
241 messageId = R.string.batch_delete_read_only_contact_confirmation; in onLoadFinished()
244 messageId = R.string.single_delete_confirmation; in onLoadFinished()
247 messageId = R.string.batch_delete_confirmation; in onLoadFinished()
260 showDialog(messageId, positiveButtonId, contactIdArray, namesArray); in onLoadFinished()
271 private void showDialog(int messageId, int positiveButtonId, final long[] contactIds, in showDialog() argument
275 .setMessage(messageId) in showDialog()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java38 private final String messageId; field in SyncMessage
55 + messageId in toString()
69 messageId = getString(wrappedData, OmtpConstants.MESSAGE_UID); in SyncMessage()
106 return messageId; in getId()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricsSplitScreenDialog.java67 int messageId; in onCreateDialog() local
71 messageId = R.string.biometric_settings_add_face_in_split_mode_message; in onCreateDialog()
75 messageId = R.string.biometric_settings_add_fingerprint_in_split_mode_message; in onCreateDialog()
79 .setMessage(messageId) in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfirmLockdownFragment.java86 final int messageId; in onCreateDialog() local
88 messageId = replacing in onCreateDialog()
92 messageId = wasLockdown in onCreateDialog()
99 .setMessage(messageId) in onCreateDialog()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java159 public void notifyTaskProgressText(final Uri uri, final int messageId) { in notifyTaskProgressText() argument
165 listener.onSessionProgressText(uri, messageId); in notifyTaskProgressText()
331 Integer messageId = mFailedSessionMessages.get(uri); in getErrorMessageId() local
332 if (messageId != null) { in getErrorMessageId()
333 return messageId; in getErrorMessageId()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationData.java92 final long messageId = c.getLong(0); in getPositions() local
93 if (idsSet.contains(messageId)) { in getPositions()
651 final String messageId) { in downloadMessage() argument
653 Assert.notNull(messageId); in downloadMessage()
654 RedownloadMmsAction.redownloadMessage(messageId); in downloadMessage()
657 public void resendMessage(final BindingBase<ConversationData> binding, final String messageId) { in resendMessage() argument
659 Assert.notNull(messageId); in resendMessage()
660 ResendMessageAction.resendMessage(messageId); in resendMessage()
663 public void deleteMessage(final BindingBase<ConversationData> binding, final String messageId) { in deleteMessage() argument
665 Assert.notNull(messageId); in deleteMessage()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonMessageEntity.java91 Long messageId, in create() argument
97 .setMessageId(messageId) in create()
114 public abstract Builder setMessageId(@Nullable Long messageId); in setMessageId() argument
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DCallbackUtils.java209 public int messageId; field in CallbackUtils.DiscoveryCb.CallbackData
387 public void onMessageSendSucceeded(int messageId) { in onMessageSendSucceeded() argument
389 callbackData.messageId = messageId; in onMessageSendSucceeded()
394 public void onMessageSendFailed(int messageId) { in onMessageSendFailed() argument
396 callbackData.messageId = messageId; in onMessageSendFailed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/
DDBKAnonMessage.java124 @Nullable Long messageId, in create()
135 .setMessageId(messageId) in create()
151 public abstract Builder setMessageId(@Nullable Long messageId); in setMessageId() argument
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DResponseCallback.java33 public ResponseCallback(long messageId, @NonNull ConnectionInfo connectionInfo) { in ResponseCallback() argument
34 mMessageId = messageId; in ResponseCallback()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java219 long messageId, String attributionTag) {
220 LogUtil.d("sendMessage " + formatCrossStackMessageId(messageId));
268 messageId, mmsStats, getTelephonyManager(subId));
276 + " " + formatCrossStackMessageId(messageId));
303 long messageId, String attributionTag) {
308 ", " + formatCrossStackMessageId(messageId));
370 messageId, mmsStats, getTelephonyManager(subId));
378 + " " + formatCrossStackMessageId(messageId));
445 String messageId, long timestampSecs, boolean seen, boolean read) {
448 return importMms(contentUri, messageId, timestampSecs, seen, read, callingPkg);
[all …]

123456