/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 73 final String selfId = getOrCreateSelfId(db); in testWriteDraft() local 78 final MessageData message = MessageData.createDraftSmsMessage(conversationId, selfId, in testWriteDraft() 102 final String selfId = BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, in getOrCreateSelfId() local 106 return selfId; in getOrCreateSelfId() 132 final String selfId = getOrCreateSelfId(db); in testReadDraft() local 137 final MessageData message = MessageData.createDraftSmsMessage(conversationId, selfId, in testReadDraft() 158 assertEquals("Draft self differs", selfId, draft.message.getSelfId()); in testReadDraft() 171 final String selfId = getOrCreateSelfId(db); in testReadDraftForNewConversation() local 175 notConversationId, selfId); in testReadDraftForNewConversation() 196 selfId); in testReadDraftForNewConversation() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessageData.java | 215 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 …]
|
D | SelfParticipantsData.java | 70 ParticipantData getSelfParticipantById(final String selfId) { in getSelfParticipantById() argument 71 return mSelfParticipantMap.get(selfId); in getSelfParticipantById() 77 boolean isDefaultSelf(final String selfId) { in isDefaultSelf() argument 81 final ParticipantData self = getSelfParticipantById(selfId); in isDefaultSelf()
|
D | SubscriptionListData.java | 111 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()
|
D | DraftMessageData.java | 424 public void setSelfId(final String selfId, final boolean notify) { in setSelfId() argument 425 LogUtil.d(LogUtil.BUGLE_TAG, "DraftMessageData: set selfId=" + selfId in setSelfId() 427 mSelfId = selfId; in setSelfId()
|
D | ConversationData.java | 575 public ParticipantData getSelfParticipantById(final String selfId) { in getSelfParticipantById() argument 576 return mSelfParticipantsData.getSelfParticipantById(selfId); in getSelfParticipantById()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncMessageBatch.java | 159 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 …]
|
D | InsertNewMessageAction.java | 206 String selfId = message.getSelfId(); in getSelf() local 207 if (selfId == null) { in getSelf() 214 selfId = conversation.getSelfId(); in getSelf() 226 db, selfId); in getSelf()
|
D | ReceiveMmsMessageAction.java | 110 final String selfId = in executeAction() local 113 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId, in executeAction()
|
D | ReceiveSmsMessageAction.java | 139 final String selfId = in executeAction() local 143 participantId, selfId, text, subject, sent, received, seen, read); in executeAction()
|
D | DownloadMmsAction.java | 122 final String selfId = message.getSelfId(); in queueAction() local 124 .getExistingParticipant(db, selfId); in queueAction()
|
D | ProcessDownloadedMmsAction.java | 434 final String selfId = in processResult() local 470 selfId, MessageData.BUGLE_STATUS_INCOMING_COMPLETE); in processResult()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 230 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() 858 final DatabaseWrapper dbWrapper, final String conversationId, final String selfId) { in updateConversationSelfIdInTransaction() argument 862 if (addConversationSelfIdToContentValues(dbWrapper, selfId, values)) { in updateConversationSelfIdInTransaction()
|
D | NoConfirmationSmsSendService.java | 79 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()
|
D | ParticipantRefresh.java | 697 final String selfId) { in updateConversationSelfId() argument 703 selfId); in updateConversationSelfId() 711 UIIntents.get().broadcastConversationSelfIdChange(db.getContext(), conversationId, selfId); in updateConversationSelfId() local
|
D | BugleNotifications.java | 890 final String selfId = convInfo.mSelfParticipantId; in addWearableVoiceReplyAction() local 900 conversationId, selfId, requiresMms, requestCode); in addWearableVoiceReplyAction()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 596 private void updateConversationSelfId(final String selfId, final boolean notify) { in updateConversationSelfId() argument 597 mBinding.getData().setSelfId(selfId, notify); in updateConversationSelfId() 873 public void updateConversationSelfIdOnExternalChange(final String selfId) { in updateConversationSelfIdOnExternalChange() argument 874 updateConversationSelfId(selfId, true /* notify */); in updateConversationSelfIdOnExternalChange()
|
D | MessageDetailsDialog.java | 313 final boolean addSelf, final String selfId) { in getRecipientParticipantString() argument 321 (!participant.getId().equals(selfId) || !addSelf)) { in getRecipientParticipantString()
|
D | ConversationFragment.java | 190 final String selfId = 193 Assert.notNull(selfId); 195 mComposeMessageView.updateConversationSelfIdOnExternalChange(selfId);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 392 final String conversationId, final String selfId, final boolean requiresMms, in getPendingIntentForSendingMessageToConversation() argument 399 intent.putExtra(UIIntents.UI_INTENT_EXTRA_SELF_ID, selfId); in getPendingIntentForSendingMessageToConversation()
|
D | UIIntents.java | 313 final Context context, final String conversationId, final String selfId, in getPendingIntentForSendingMessageToConversation() argument
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 1747 final String conversationId, final String participantId, final String selfId, in createMmsMessage() argument 1756 participantId, selfId, conversationId, isNotification, bugleStatus, in createMmsMessage() 2395 final String conversationId, final String participantId, final String selfId) { 2403 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId,
|