Home
last modified time | relevance | path

Searched refs:participants (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java81 final ArrayList<ParticipantData> participants = new in getConversationParticipantsFromRecipients() local
86 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, refSubId)); in getConversationParticipantsFromRecipients()
89 return participants; in getConversationParticipantsFromRecipients()
97 public static void sanitizeConversationParticipants(final List<ParticipantData> participants) { in sanitizeConversationParticipants() argument
99 if (participants.size() > 0) { in sanitizeConversationParticipants()
102 for (int i = participants.size() - 1; i >= 0; i--) { in sanitizeConversationParticipants()
103 final String recipient = participants.get(i).getNormalizedDestination(); in sanitizeConversationParticipants()
107 participants.remove(i); in sanitizeConversationParticipants()
110 if (participants.size() > 1) { in sanitizeConversationParticipants()
117 for (final ParticipantData p : participants) { in sanitizeConversationParticipants()
[all …]
DSyncManager.java432 final ArrayList<ParticipantData> participants = in getOrCreateConversation() local
439 customization.isArchived(), participants, customization.isMuted(), in getOrCreateConversation()
446 false/*archived*/, participants, false/*noNotification*/, in getOrCreateConversation()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationAction.java55 final ArrayList<ParticipantData> participants, final Object data, in getOrCreateConversation() argument
59 final GetOrCreateConversationAction action = new GetOrCreateConversationAction(participants, in getOrCreateConversation()
68 final ArrayList<ParticipantData> participants = new ArrayList<>(); in getOrCreateConversation() local
72 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient)); in getOrCreateConversation()
77 return getOrCreateConversation(participants, data, listener); in getOrCreateConversation()
82 private GetOrCreateConversationAction(final ArrayList<ParticipantData> participants, in GetOrCreateConversationAction() argument
85 actionParameters.putParcelableArrayList(KEY_PARTICIPANTS_LIST, participants); in GetOrCreateConversationAction()
96 final ArrayList<ParticipantData> participants = in executeAction() local
98 BugleDatabaseOperations.sanitizeConversationParticipants(participants); in executeAction()
100 BugleDatabaseOperations.getRecipientsFromConversationParticipants(participants); in executeAction()
[all …]
DInsertNewMessageAction.java248 final ArrayList<ParticipantData> participants = new ArrayList<>(); in createMessage() local
250 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, subId)); in createMessage()
252 if (participants.size() == 0) { in createMessage()
258 BugleDatabaseOperations.sanitizeConversationParticipants(participants); in createMessage()
260 BugleDatabaseOperations.getRecipientsFromConversationParticipants(participants); in createMessage()
277 false, participants, false, false, null); in createMessage()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java54 final ConversationParticipantsData participants, final ParticipantData self) { in show() argument
59 return getMessageDetails(context, data, participants, self); in show()
68 String messageDetails = getMessageDetails(context, data, participants, self); in show()
75 final ConversationParticipantsData participants, final ParticipantData self) { in getMessageDetails() argument
78 messageDetails = getSmsMessageDetails(data, participants, self); in getMessageDetails()
81 messageDetails = getMmsMessageDetails(context, data, participants, self); in getMessageDetails()
103 final ConversationParticipantsData participants, final ParticipantData self) { in getSmsMessageDetails() argument
119 final String rawRecipients = getRecipientParticipantString(participants, in getSmsMessageDetails()
156 final ConversationParticipantsData participants, final ParticipantData self) { in getMmsMessageDetails() argument
176 final String rawRecipients = getRecipientParticipantString(participants, in getMmsMessageDetails()
[all …]
DConversationFragment.java1105 final ConversationParticipantsData participants = conversationData.getParticipants(); in ensureKnownRecipients() local
1106 for (final ParticipantData participant : participants) { in ensureKnownRecipients()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java310 List<ConferenceParticipant> participants) {
312 if (c == null || participants == null) {
316 participants.size());
318 handleConferenceParticipantsUpdate(telephonyConnection, participants);
655 public void onAddConferenceParticipants(List<Uri> participants) { in onAddConferenceParticipants() argument
659 mConferenceHost.performAddConferenceParticipants(participants); in onAddConferenceParticipants()
915 TelephonyConnection parent, List<ConferenceParticipant> participants) { in handleConferenceParticipantsUpdate() argument
917 if (participants == null) { in handleConferenceParticipantsUpdate()
926 Log.i(this, "handleConferenceParticipantsUpdate: size=%d", participants.size()); in handleConferenceParticipantsUpdate()
936 ArrayList<ConferenceParticipant> newParticipants = new ArrayList<>(participants.size()); in handleConferenceParticipantsUpdate()
[all …]
DTelephonyConnection.java235 … List<ConferenceParticipant> participants = (List<ConferenceParticipant>) msg.obj;
236 updateConferenceParticipants(participants);
467 List<ConferenceParticipant> participants) {} in onConferenceParticipantsChanged() argument
565 public void onConferenceParticipantsChanged(List<ConferenceParticipant> participants) {
566 mHandler.obtainMessage(MSG_SET_CONFERENCE_PARTICIPANTS, participants).sendToTarget();
876 public void onAddConferenceParticipants(List<Uri> participants) { in onAddConferenceParticipants() argument
877 performAddConferenceParticipants(participants); in onAddConferenceParticipants()
1183 private String[] getAddConferenceParticipants(List<Uri> participants) { in getAddConferenceParticipants() argument
1184 String[] addConfParticipants = new String[participants.size()]; in getAddConferenceParticipants()
1186 for (Uri participant : participants) { in getAddConferenceParticipants()
[all …]
DCdmaConference.java77 public void onAddConferenceParticipants(List<Uri> participants) { in onAddConferenceParticipants() argument
DTelephonyConference.java107 public void onAddConferenceParticipants(List<Uri> participants) { in onAddConferenceParticipants() argument
DTelephonyConnectionService.java663 private String[] getParticipantsToDial(List<Uri> participants) { in getParticipantsToDial() argument
664 String[] participantsToDial = new String[participants.size()]; in getParticipantsToDial()
666 for (Uri participant : participants) { in getParticipantsToDial()
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java97 public static Uri createAvatarUri(@NonNull final List<ParticipantData> participants) { in createAvatarUri() argument
98 Assert.notNull(participants); in createAvatarUri()
99 Assert.isTrue(!participants.isEmpty()); in createAvatarUri()
101 if (participants.size() == 1) { in createAvatarUri()
102 return createAvatarUri(participants.get(0)); in createAvatarUri()
105 final int numParticipants = Math.min(participants.size(), MAX_GROUP_PARTICIPANTS); in createAvatarUri()
108 avatarUris.add(createAvatarUri(participants.get(i))); in createAvatarUri()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationListItemData.java480 final List<ParticipantData> participants) { in hasAnyEnterpriseContact() argument
481 for (final ParticipantData participant : participants) { in hasAnyEnterpriseContact()
524 participants) { in generateConversationName()
525 if (participants.size() == 1) { in generateConversationName()
527 return participants.get(0).getDisplayName(true); in generateConversationName()
531 for (final ParticipantData participant : participants) { in generateConversationName()
DPeopleAndOptionsData.java46 List<ParticipantData> participants); in onParticipantsListLoaded() argument
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationActionTest.java58 final ArrayList<ParticipantData> participants = new in testGetOrCreateConversation() local
63 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient)); in testGetOrCreateConversation()
73 GetOrCreateConversationAction.getOrCreateConversation(participants, null, in testGetOrCreateConversation()
92 monitor = GetOrCreateConversationAction.getOrCreateConversation(participants, null, in testGetOrCreateConversation()
DReadWriteDraftMessageActionTest.java110 final ArrayList<ParticipantData> participants = in getOrCreateConversation() local
112 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(participantNumber)); in getOrCreateConversation()
115 senderBlocked, participants, false, false, null); in getOrCreateConversation()
186 final ArrayList<ParticipantData> participants = in testReadDraftForNewConversation() local
188 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(Long.toString(phoneNumber))); in testReadDraftForNewConversation()
191 senderBlocked, participants, false, false, null); in testReadDraftForNewConversation()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java125 final List<ParticipantData> participants) { in onParticipantsListLoaded() argument
127 mPeopleListAdapter.updateParticipants(participants); in onParticipantsListLoaded()
128 final ParticipantData otherParticipant = participants.size() == 1 ? in onParticipantsListLoaded()
129 participants.get(0) : null; in onParticipantsListLoaded()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java191 final List<ParticipantData> participants = in testPickInitialContact() local
193 assertEquals(1, participants.size()); in testPickInitialContact()
194 assertEquals(cliv.mData.getDestination(), participants.get(0).getSendDestination()); in testPickInitialContact()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java435 final ArrayList<ParticipantData> participants = in maybeGetOrCreateConversation() local
437 if (ContactPickerData.isTooManyParticipants(participants.size())) { in maybeGetOrCreateConversation()
439 } else if (participants.size() > 0 && mMonitor == null) { in maybeGetOrCreateConversation()
440 mMonitor = GetOrCreateConversationAction.getOrCreateConversation(participants, in maybeGetOrCreateConversation()
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerFragment.java92 public void update(List<DialerCall> participants, boolean parentCanSeparate) { in update() argument
99 conferenceParticipantListAdapter.updateParticipants(participants, parentCanSeparate); in update()
DConferenceManagerPresenter.java135 void update(List<DialerCall> participants, boolean parentCanSeparate); in update() argument
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java525 public void addConferenceParticipants(String callId, List<Uri> participants) { in addConferenceParticipants() argument
533 call.addConferenceParticipants(participants); in addConferenceParticipants()
DCall.java658 List<Uri> participants, in Call() argument
679 mParticipants = participants; in Call()
2691 public void addConferenceParticipants(List<Uri> participants) { in addConferenceParticipants() argument
2696 mConnectionService.addConferenceParticipants(this, participants); in addConferenceParticipants()
DCallsManager.java1416 private CompletableFuture<Call> startOutgoingCall(List<Uri> participants, in startOutgoingCall() argument
1421 Uri handle = isConference ? Uri.parse("tel:conf-factory") : participants.get(0); in startOutgoingCall()
1437 isConference ? participants : null, in startOutgoingCall()
1752 public void startConference(List<Uri> participants, Bundle clientExtras, String callingPackage, in startConference() argument
1761 CompletableFuture<Call> callFuture = startOutgoingCall(participants, phoneAccountHandle, in startConference()
DTelecomServiceImpl.java1341 public void startConference(List<Uri> participants, Bundle extras,
1349 mCallsManager.startConference(participants, extras, callingPackage,

12