Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java72 final String selfId = getOrCreateSelfId(db); in testWriteDraft() local
77 final MessageData message = MessageData.createDraftSmsMessage(conversationId, selfId, in testWriteDraft()
101 final String selfId = BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, in getOrCreateSelfId() local
105 return selfId; in getOrCreateSelfId()
131 final String selfId = getOrCreateSelfId(db); in testReadDraft() local
136 final MessageData message = MessageData.createDraftSmsMessage(conversationId, selfId, in testReadDraft()
157 assertEquals("Draft self differs", selfId, draft.message.getSelfId()); in testReadDraft()
170 final String selfId = getOrCreateSelfId(db); in testReadDraftForNewConversation() local
174 notConversationId, selfId); in testReadDraftForNewConversation()
195 selfId); in testReadDraftForNewConversation()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java222 final String selfId = ParticipantData.getParticipantId(db, subId); in getHavePendingMessages() local
223 if (selfId == null) { in getHavePendingMessages()
229 final String toSendMessageId = findNextMessageToSend(db, now, selfId); in getHavePendingMessages()
233 final String toDownloadMessageId = findNextMessageToDownload(db, now, selfId); in getHavePendingMessages()
258 final String selfId = ParticipantData.getParticipantId(db, subId); in queueActions() local
259 if (selfId == null) { in queueActions()
268 final String toSendMessageId = findNextMessageToSend(db, now, selfId); in queueActions()
269 final String toDownloadMessageId = findNextMessageToDownload(db, now, selfId); in queueActions()
320 final String selfId) { in findNextMessageToSend() argument
335 selfId} in findNextMessageToSend()
[all …]
DSyncMessageBatch.java159 final String selfId = in storeSms() local
164 final String participantId = (isOutgoing ? selfId : in storeSms()
172 selfId, in storeSms()
186 conversationId, selfId, participantId); in storeSms()
253 final String selfId = in storeMms() local
257 final String participantId = (isOutgoing ? selfId : in storeMms()
269 selfId, bugleStatus); in storeMms()
276 conversationId, selfId, participantId); in storeMms()
292 String selfId, String senderId) { in rethrowSQLiteConstraintExceptionWithDetails() argument
319 BugleDatabaseOperations.getExistingParticipant(db, selfId); in rethrowSQLiteConstraintExceptionWithDetails()
[all …]
DInsertNewMessageAction.java207 String selfId = message.getSelfId(); in getSelf() local
208 if (selfId == null) { in getSelf()
215 selfId = conversation.getSelfId(); in getSelf()
227 db, selfId); in getSelf()
DReceiveMmsMessageAction.java110 final String selfId = in executeAction() local
113 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId, in executeAction()
DReceiveSmsMessageAction.java140 final String selfId = in executeAction() local
144 participantId, selfId, text, subject, sent, received, seen, read); in executeAction()
DDownloadMmsAction.java124 final String selfId = message.getSelfId(); in queueAction() local
126 .getExistingParticipant(db, selfId); in queueAction()
DProcessDownloadedMmsAction.java445 final String selfId = in processResult() local
481 selfId, MessageData.BUGLE_STATUS_INCOMING_COMPLETE); in processResult()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java215 final String selfId, final MessageData content) { in createDraftMessage() argument
220 message.mParticipantId = selfId; in createDraftMessage()
235 message.mSelfId = selfId; in createDraftMessage()
243 final String selfId, final String messageText) { in createDraftSmsMessage() argument
248 message.mParticipantId = selfId; in createDraftSmsMessage()
249 message.mSelfId = selfId; in createDraftSmsMessage()
259 final String selfId, final String messageText, final String subjectText) { in createDraftMmsMessage() argument
264 message.mParticipantId = selfId; in createDraftMmsMessage()
265 message.mSelfId = selfId; in createDraftMmsMessage()
278 final String participantId, final String selfId, final String messageText, in createReceivedSmsMessage() argument
[all …]
DSelfParticipantsData.java81 ParticipantData getSelfParticipantById(final String selfId) { in getSelfParticipantById() argument
82 return mSelfParticipantMap.get(selfId); in getSelfParticipantById()
88 boolean isDefaultSelf(final String selfId) { in isDefaultSelf() argument
92 final ParticipantData self = getSelfParticipantById(selfId); in isDefaultSelf()
DSubscriptionListData.java111 public SubscriptionListEntry getActiveSubscriptionEntryBySelfId(final String selfId, in getActiveSubscriptionEntryBySelfId() argument
113 if (mDefaultEntry != null && TextUtils.equals(mDefaultEntry.selfParticipantId, selfId)) { in getActiveSubscriptionEntryBySelfId()
118 if (TextUtils.equals(entry.selfParticipantId, selfId)) { in getActiveSubscriptionEntryBySelfId()
DDraftMessageData.java436 public void setSelfId(final String selfId, final boolean notify) { in setSelfId() argument
437 LogUtil.d(LogUtil.BUGLE_TAG, "DraftMessageData: set selfId=" + selfId in setSelfId()
439 mSelfId = selfId; in setSelfId()
DConversationData.java575 public ParticipantData getSelfParticipantById(final String selfId) { in getSelfParticipantById() argument
576 return mSelfParticipantsData.getSelfParticipantById(selfId); in getSelfParticipantById()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DNoConfirmationSmsSendService.java79 final String selfId = intent.getStringExtra(EXTRA_SELF_ID); in onHandleIntent() local
118 messageData = MessageData.createDraftMmsMessage(conversationId, selfId, message, in onHandleIntent()
125 messageData = MessageData.createDraftSmsMessage(conversationId, selfId, in onHandleIntent()
DBugleDatabaseOperations.java230 final String selfId = in getOrCreateConversation() local
234 db, threadId, conversationName, selfId, participants, archived, in getOrCreateConversation()
366 final long threadId, final String conversationName, final String selfId, in createConversationInTransaction() argument
386 values.put(ConversationColumns.CURRENT_SELF_ID, selfId); in createConversationInTransaction()
693 final String selfId, final ContentValues values) { in addConversationSelfIdToContentValues() argument
701 new String[] { selfId, String.valueOf(ParticipantData.INVALID_SLOT_ID) }, in addConversationSelfIdToContentValues()
705 values.put(ConversationColumns.CURRENT_SELF_ID, selfId); in addConversationSelfIdToContentValues()
863 final DatabaseWrapper dbWrapper, final String conversationId, final String selfId) { in updateConversationSelfIdInTransaction() argument
867 if (addConversationSelfIdToContentValues(dbWrapper, selfId, values)) { in updateConversationSelfIdInTransaction()
DParticipantRefresh.java697 final String selfId) { in updateConversationSelfId() argument
703 selfId); in updateConversationSelfId()
711 UIIntents.get().broadcastConversationSelfIdChange(db.getContext(), conversationId, selfId); in updateConversationSelfId() local
DBugleNotifications.java890 final String selfId = convInfo.mSelfParticipantId; in addWearableVoiceReplyAction() local
900 conversationId, selfId, requiresMms, requestCode); in addWearableVoiceReplyAction()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java603 private void updateConversationSelfId(final String selfId, final boolean notify) { in updateConversationSelfId() argument
604 mBinding.getData().setSelfId(selfId, notify); in updateConversationSelfId()
930 public void updateConversationSelfIdOnExternalChange(final String selfId) { in updateConversationSelfIdOnExternalChange() argument
931 updateConversationSelfId(selfId, true /* notify */); in updateConversationSelfIdOnExternalChange()
DMessageDetailsDialog.java313 final boolean addSelf, final String selfId) { in getRecipientParticipantString() argument
321 (!participant.getId().equals(selfId) || !addSelf)) { in getRecipientParticipantString()
DConversationFragment.java191 final String selfId =
194 Assert.notNull(selfId);
197 mComposeMessageView.updateConversationSelfIdOnExternalChange(selfId);
/packages/apps/Messaging/src/com/android/messaging/ui/
DUIIntentsImpl.java405 final String conversationId, final String selfId, final boolean requiresMms, in getPendingIntentForSendingMessageToConversation() argument
412 intent.putExtra(UIIntents.UI_INTENT_EXTRA_SELF_ID, selfId); in getPendingIntentForSendingMessageToConversation()
DUIIntents.java324 final Context context, final String conversationId, final String selfId, in getPendingIntentForSendingMessageToConversation() argument
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1711 final String conversationId, final String participantId, final String selfId, in createMmsMessage() argument
1720 participantId, selfId, conversationId, isNotification, bugleStatus, in createMmsMessage()
2325 final String conversationId, final String participantId, final String selfId) {
2333 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId,