/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | SyncManager.java | 431 final List<String> recipients = getThreadRecipients(threadId); in getOrCreateConversation() local 433 BugleDatabaseOperations.getConversationParticipantsFromRecipients(recipients, in getOrCreateConversation() 466 List<String> recipients = mThreadToRecipients.get(threadId); in getThreadRecipients() local 467 if (recipients == null) { in getThreadRecipients() 468 recipients = MmsUtils.getRecipientsByThread(threadId); in getThreadRecipients() 469 if (recipients != null && recipients.size() > 0) { in getThreadRecipients() 470 mThreadToRecipients.put(threadId, recipients); in getThreadRecipients() 474 if (recipients == null || recipients.isEmpty()) { in getThreadRecipients() 480 recipients = Lists.newArrayList(); in getThreadRecipients() 481 recipients.add(ParticipantData.getUnknownSenderDestination()); in getThreadRecipients() [all …]
|
D | BugleDatabaseOperations.java | 79 final List<String> recipients, final int refSubId) { in getConversationParticipantsFromRecipients() argument 84 if (recipients != null) { in getConversationParticipantsFromRecipients() 85 for (final String recipient : recipients) { in getConversationParticipantsFromRecipients() 101 final HashSet<String> recipients = new HashSet<String>(); in sanitizeConversationParticipants() local 104 if (!recipients.contains(recipient)) { in sanitizeConversationParticipants() 105 recipients.add(recipient); in sanitizeConversationParticipants() 144 final ArrayList<String> recipients = new ArrayList<String>(); in getRecipientsFromConversationParticipants() local 147 recipients.add(participant.getSendDestination()); in getRecipientsFromConversationParticipants() 149 return recipients; in getRecipientsFromConversationParticipants() 170 final List<String> recipients = MmsUtils.getRecipientsByThread(threadId); in getOrCreateConversationFromThreadId() local [all …]
|
D | NoConfirmationSmsSendService.java | 87 final String recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); in onHandleIntent() local 89 if (TextUtils.isEmpty(recipients) && TextUtils.isEmpty(conversationId)) { in onHandleIntent() 110 InsertNewMessageAction.insertNewMessage(subId, recipients, message, subject); in onHandleIntent()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | InsertNewMessageAction.java | 76 public static void insertNewMessage(final int subId, final String recipients, in insertNewMessage() argument 79 subId, recipients, messageText, subject); in insertNewMessage() 104 private InsertNewMessageAction(final int subId, final String recipients, in InsertNewMessageAction() argument 107 if (TextUtils.isEmpty(recipients) || TextUtils.isEmpty(messageText)) { in InsertNewMessageAction() 111 actionParameters.putString(KEY_RECIPIENTS, recipients); in InsertNewMessageAction() 146 final ArrayList<String> recipients = in executeAction() local 148 if (recipients.size() < 1) { in executeAction() 160 if (recipients.size() > 1) { in executeAction() 165 laterTimestamp, recipients); in executeAction() 170 for (final String recipient : recipients) { in executeAction() [all …]
|
D | GetOrCreateConversationAction.java | 67 final String[] recipients, final Object data, final LaunchConversationData listener) { in getOrCreateConversation() argument 69 for (String recipient : recipients) { in getOrCreateConversation() 99 final ArrayList<String> recipients = in executeAction() local 103 recipients); in executeAction() 107 LogUtil.sanitizePII(recipients.toString())); in executeAction()
|
D | SendMessageAction.java | 124 final ArrayList<String> recipients = in queueAction() local 130 actionParameters.putStringArrayList(KEY_RECIPIENTS, recipients); in queueAction() 139 if (recipients.size() == 1) { in queueAction() 140 final String recipient = recipients.get(0); in queueAction() 209 final ArrayList<String> recipients = in doBackgroundWork() local 219 updatedMessageUri = MmsUtils.insertSendingMmsMessage(context, recipients, in doBackgroundWork()
|
D | SyncMessagesAction.java | 603 final List<String> recipients = cache.getThreadRecipients(mms.mThreadId); in getMmsSender() local 604 Assert.notNull(recipients); in getMmsSender() 605 Assert.isTrue(recipients.size() > 0); in getMmsSender() 607 if (recipients.size() == 1 in getMmsSender() 608 && recipients.get(0).equals(ParticipantData.getUnknownSenderDestination())) { in getMmsSender() 613 return MmsUtils.getMmsSender(recipients, mms.mUri); in getMmsSender()
|
D | ReceiveMmsMessageAction.java | 81 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in executeAction() local 82 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in executeAction()
|
D | ProcessSentMessageAction.java | 258 final ArrayList<String> recipients = in processResult() local 260 for (final String recipient : recipients) { in processResult()
|
D | ProcessDownloadedMmsAction.java | 448 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in processResult() local 449 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in processResult()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | GetOrCreateConversationActionTest.java | 53 final ArrayList<String> recipients = new ArrayList<String>(); in testGetOrCreateConversation() local 54 recipients.add("5551234567"); in testGetOrCreateConversation() 55 recipients.add("5551234568"); in testGetOrCreateConversation() 62 for (final String recipient : recipients) { in testGetOrCreateConversation() 67 final long threadId = MmsUtils.getOrCreateThreadId(mContext, recipients); in testGetOrCreateConversation() 112 assertEquals("Participant count mismatch", recipients.size(), in testGetOrCreateConversation() 115 assertTrue(recipients.contains(participant.getSendDestination())); in testGetOrCreateConversation() 129 assertTrue(recipients.contains(participant.getSendDestination())); in testGetOrCreateConversation() 134 assertEquals("Cursor count mismatch", recipients.size(), cursor.getCount() - countSelf); in testGetOrCreateConversation()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | LaunchConversationActivity.java | 64 String[] recipients = null; in onCreate() local 68 recipients = commaSeparatedRecipients.split(","); in onCreate() 72 if (recipients == null && (haveAddress || haveEmail)) { in onCreate() 74 recipients = new String[] { intent.getStringExtra(ADDRESS) }; in onCreate() 76 recipients = new String[] { intent.getStringExtra(Intent.EXTRA_EMAIL) }; in onCreate() 90 if (recipients != null) { in onCreate() 92 mBinding.getData().getOrCreateConversation(mBinding, recipients); in onCreate()
|
D | MessageDetailsDialog.java | 296 final List<String> recipients = MmsUtils.getRecipientsByThread(threadId); in appendDebugInfo() local 297 if (recipients != null) { in appendDebugInfo() 300 details.append(recipients.toString()); in appendDebugInfo() 303 final String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in appendDebugInfo() 314 final StringBuilder recipients = new StringBuilder(); in getRecipientParticipantString() local 330 if (recipients.length() > 0) { in getRecipientParticipantString() 331 recipients.append(RECIPIENT_SEPARATOR); in getRecipientParticipantString() 333 recipients.append(phoneNumber); in getRecipientParticipantString() 336 return recipients.toString(); in getRecipientParticipantString()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSmsUtils.java | 165 final Set<String> recipients = new HashSet<String>(); in getOrCreateThreadId() local 167 recipients.add(recipient); in getOrCreateThreadId() 168 return getOrCreateThreadId(context, recipients); in getOrCreateThreadId() 182 final Context context, final Set<String> recipients) { in getOrCreateThreadId() argument 185 for (String recipient : recipients) { in getOrCreateThreadId() 212 + LogUtil.sanitizePII(recipients.toString())); in getOrCreateThreadId()
|
D | MmsUtils.java | 819 final Set<String> recipients = new HashSet<String>(); in getOrCreateSmsThreadId() local 820 recipients.add(dest); in getOrCreateSmsThreadId() 822 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateSmsThreadId() 835 final Set<String> recipients = new HashSet<String>(dests); in getOrCreateThreadId() local 837 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateThreadId() 1659 public static String getMmsSender(final List<String> recipients, final String mmsUri) { in getMmsSender() argument 1663 if (recipients != null && recipients.size() == 1) { in getMmsSender() 1664 return recipients.get(0); in getMmsSender() 2297 public static Uri insertSendingMmsMessage(final Context context, final List<String> recipients, 2301 context, subId, recipients.toArray(new String[recipients.size()]), content, [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 746 final List<String> recipients = getRecipientsByThread(threadId); 747 if (recipients == null || recipients.isEmpty()) { 751 writeRecipientsToWriter(jsonWriter.name(RECIPIENTS), recipients); 779 private static void writeRecipientsToWriter(JsonWriter jsonWriter, List<String> recipients) 782 if (recipients != null) { 783 for (String s : recipients) { 837 Set<String> recipients = new ArraySet<String>(); 840 recipients.add(jsonReader.nextString()); 843 return recipients; 1286 private long getOrCreateThreadId(Set<String> recipients) { [all …]
|
D | MmsSmsProvider.java | 406 List<String> recipients = uri.getQueryParameters("recipient"); in query() local 408 cursor = getThreadId(recipients); in query() 697 private synchronized Cursor getThreadId(List<String> recipients) { in getThreadId() argument 698 Set<Long> addressIds = getAddressIds(recipients); in getThreadId() 734 insertThread(recipientIds, recipients.size()); in getThreadId()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelephonyThreadsCompat.java | 81 Set<String> recipients = new HashSet<String>(); in getOrCreateThreadIdInternal() local 83 recipients.add(recipient); in getOrCreateThreadIdInternal() 84 return getOrCreateThreadIdInternal(context, recipients); in getOrCreateThreadIdInternal() 97 private static long getOrCreateThreadIdInternal(Context context, Set<String> recipients) { in getOrCreateThreadIdInternal() argument 100 for (String recipient : recipients) { in getOrCreateThreadIdInternal()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 1145 final HashSet<String> recipients = new HashSet<String>(); in updateHeaders() local 1164 recipients.add(v.getString()); in updateHeaders() 1170 if (!recipients.isEmpty()) { in updateHeaders() 1171 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in updateHeaders() 1402 final HashSet<String> recipients = new HashSet<String>(); in persist() local 1414 loadRecipients(PduHeaders.FROM, recipients, addressMap); in persist() 1423 checkAndLoadToCcRecipients(recipients, addressMap, subPhoneNumber); in persist() 1426 loadRecipients(PduHeaders.TO, recipients, addressMap); in persist() 1430 if (!recipients.isEmpty()) { in persist() 1433 threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in persist() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MceStateMachine.java | 812 ArrayList<VCardEntry> recipients = message.getRecipients(); in processInboundMessage() local 813 if (recipients != null && !recipients.isEmpty()) { in processInboundMessage() 815 getRecipientsUri(recipients)); in processInboundMessage() 838 private String[] getRecipientsUri(ArrayList<VCardEntry> recipients) { in getRecipientsUri() argument 841 for (VCardEntry recipient : recipients) { in getRecipientsUri()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 894 public int getOrCreateThreadId(final String[] recipients) { in getOrCreateThreadId() argument 895 if (recipients == null || recipients.length == 0) { in getOrCreateThreadId() 900 for (String rec : recipients) { in getOrCreateThreadId() 968 List<String> recipients = uri.getQueryParameters("recipient"); in query() local 971 getOrCreateThreadId(recipients.toArray(new String[recipients.size()])); in query()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | LaunchConversationData.java | 53 final String[] recipients) { in getOrCreateConversation() argument 58 mMonitor = GetOrCreateConversationAction.getOrCreateConversation(recipients, in getOrCreateConversation()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 230 private void sendMessage(Uri[] recipients, String message) { in sendMessage() argument 253 if (recipients == null) { in sendMessage() 269 recipients, message, mSentIntent, mDeliveredIntent); in sendMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 2297 Set<String> recipients = new HashSet<String>(); in unDeleteMessageMms() local 2298 recipients.addAll(Arrays.asList(address)); in unDeleteMessageMms() 2299 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageMms() 2372 Set<String> recipients = new HashSet<String>(); in unDeleteMessageSms() local 2373 recipients.addAll(Arrays.asList(address)); in unDeleteMessageSms() 2374 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageSms() 2951 Set<String> recipients = new HashSet<String>(); in pushMmsToFolder() local 2952 recipients.addAll(Arrays.asList(toAddress)); in pushMmsToFolder() 2953 values.put(Mms.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, recipients)); in pushMmsToFolder()
|
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/ |
D | third_party_licenses | 111 (a) You must give any other recipients of the Work or 293 (a) You must give any other recipients of the Work or 499 (a) You must give any other recipients of the Work or 705 (a) You must give any other recipients of the Work or 911 (a) You must give any other recipients of the Work or 1117 (a) You must give any other recipients of the Work or 1335 (a) You must give any other recipients of the Work or 1529 (a) You must give any other recipients of the Work or 1723 (a) You must give any other recipients of the Work or 1917 (a) You must give any other recipients of the Work or [all …]
|