/external/webrtc/webrtc/modules/audio_conference_mixer/test/ |
audio_conference_mixer_unittest.cc | 80 // Anonymous participants do not show status by MixabilityStatus. 117 MockMixerParticipant participants[kParticipants]; local 120 participants[i].fake_frame()->id_ = i; 121 participants[i].fake_frame()->sample_rate_hz_ = kSampleRateHz; 122 participants[i].fake_frame()->speech_type_ = AudioFrame::kNormalSpeech; 123 participants[i].fake_frame()->vad_activity_ = AudioFrame::kVadActive; 124 participants[i].fake_frame()->num_channels_ = 1; 127 participants[i].fake_frame()->samples_per_channel_ = kSampleRateHz / 100; 131 participants[i].fake_frame()->data_[80] = i; 133 EXPECT_EQ(0, mixer->SetMixabilityStatus(&participants[i], true)) [all...] |
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/model/ |
Chat.java | 30 private Map<String, Profile> participants; field in class:Chat 53 return participants; 56 public void setParticipants(Map<String, Profile> participants) { 57 this.participants = participants; 63 // Iterates through each participants then generates a comma separated string as the alias. 64 for (Profile profile : participants.values()) { 73 * Sets the participants and adds an alias. The alias is displayed in the chat list. 75 * @param participants chat participants [all...] |
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/model/ |
Chat.java | 30 private Map<String, Profile> participants; field in class:Chat 53 return participants; 56 public void setParticipants(Map<String, Profile> participants) { 57 this.participants = participants; 63 // Iterates through each participants then generates a comma separated string as the alias. 64 for (Profile profile : participants.values()) { 73 * Sets the participants and adds an alias. The alias is displayed in the chat list. 75 * @param participants chat participants [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
GetOrCreateConversationAction.java | 38 * Action used to get or create a conversation for a list of conversation participants. 55 final ArrayList<ParticipantData> participants, final Object data, 59 final GetOrCreateConversationAction action = new GetOrCreateConversationAction(participants, 68 final ArrayList<ParticipantData> participants = new ArrayList<>(); local 72 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient)); 77 return getOrCreateConversation(participants, data, listener); 82 private GetOrCreateConversationAction(final ArrayList<ParticipantData> participants, 85 actionParameters.putParcelableArrayList(KEY_PARTICIPANTS_LIST, participants); 95 // First find the thread id for this list of participants. 96 final ArrayList<ParticipantData> participants local [all...] |
InsertNewMessageAction.java | 240 // First find the thread id for this list of participants. 247 final ArrayList<ParticipantData> participants = new ArrayList<>(); local 249 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, subId)); 251 if (participants.size() == 0) { 252 Assert.fail("InsertNewMessage: Empty participants"); 257 BugleDatabaseOperations.sanitizeConversationParticipants(participants); 259 BugleDatabaseOperations.getRecipientsFromConversationParticipants(participants); 276 false, participants, false, false, null);
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
IImsCallSession.aidl | 117 * Initiates an IMS call with the specified participants and call profile. 122 * @param participants participant list to initiate an IMS conference call 127 void startConference(in String[] participants, in ImsCallProfile profile); 200 * @param participants participant list to be invited to the conference call after extending the call 203 void extendToConference(in String[] participants); 206 * Requests the conference server to invite an additional participants to the conference. 208 * @param participants participant list to be invited to the conference call 212 void inviteParticipants(in String[] participants); 215 * Requests the conference server to remove the specified participants from the conference. 217 * @param participants participant list to be removed from the conference cal [all...] |
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
ImsCallSessionImplBase.java | 164 public void startConference(String[] participants, ImsCallProfile profile) throws 166 ImsCallSessionImplBase.this.startConference(participants, profile); 210 public void extendToConference(String[] participants) { 211 ImsCallSessionImplBase.this.extendToConference(participants); 215 public void inviteParticipants(String[] participants) { 216 ImsCallSessionImplBase.this.inviteParticipants(participants); 220 public void removeParticipants(String[] participants) { 221 ImsCallSessionImplBase.this.removeParticipants(participants); 375 * Initiates an IMS call with the specified participants and call profile. 381 * @param participants participant list to initiate an IMS conference cal [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceProcessor.java | 31 import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext; 32 import org.eclipse.ltk.core.refactoring.participants.ParticipantManager; 33 import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant; 34 import org.eclipse.ltk.core.refactoring.participants.RenameArguments; 35 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor; 36 import org.eclipse.ltk.core.refactoring.participants.SharableParticipants;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
MessageDetailsDialog.java | 54 final ConversationParticipantsData participants, final ParticipantData self) { 59 return getMessageDetails(context, data, participants, self); 68 String messageDetails = getMessageDetails(context, data, participants, self); 75 final ConversationParticipantsData participants, final ParticipantData self) { 78 messageDetails = getSmsMessageDetails(data, participants, self); 81 messageDetails = getMmsMessageDetails(context, data, participants, self); 103 final ConversationParticipantsData participants, final ParticipantData self) { 119 final String rawRecipients = getRecipientParticipantString(participants, 156 final ConversationParticipantsData participants, final ParticipantData self) { 176 final String rawRecipients = getRecipientParticipantString(participants, [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BugleDatabaseOperations.java | 80 // Generate a list of partially formed participants 81 final ArrayList<ParticipantData> participants = new local 86 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, refSubId)); 89 return participants; 93 * Sanitize a given list of conversation participants by de-duping and stripping out self 97 public static void sanitizeConversationParticipants(final List<ParticipantData> participants) { 99 if (participants.size() > 0) { 102 for (int i = participants.size() - 1; i >= 0; i--) { 103 final String recipient = participants.get(i).getNormalizedDestination(); 107 participants.remove(i) 171 final ArrayList<ParticipantData> participants = local 827 final ArrayList<ParticipantData> participants = local 910 final ArrayList<ParticipantData> participants = local 984 final ArrayList<ParticipantData> participants = local [all...] |
SyncManager.java | 423 final ArrayList<ParticipantData> participants = local 430 customization.isArchived(), participants, customization.isMuted(), 437 false/*archived*/, participants, false/*noNotification*/,
|
/external/tensorflow/tensorflow/contrib/nccl/kernels/ |
nccl_manager.cc | 111 // Is NULL for participants that only receive data. 115 // Is NULL for participants that only send data. 144 participants.reserve(num_devices); 153 // All collective participants. 157 std::vector<std::unique_ptr<Participant>> participants; member in struct:tensorflow::NcclManager::Collective 163 // How many participants have been registered so far. The Collective is 164 // eligible for running with <available_participants> == participants.size(). 182 std::sort(collective->participants.begin(), collective->participants.end(), 187 const int num_devices = collective->participants.size() [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
AvatarUriUtil.java | 93 * Creates an avatar uri based on a list of ParticipantData. The list of participants may not 97 public static Uri createAvatarUri(@NonNull final List<ParticipantData> participants) { 98 Assert.notNull(participants); 99 Assert.isTrue(!participants.isEmpty()); 101 if (participants.size() == 1) { 102 return createAvatarUri(participants.get(0)); 105 final int numParticipants = Math.min(participants.size(), MAX_GROUP_PARTICIPANTS); 108 avatarUris.add(createAvatarUri(participants.get(i))); 114 * Joins together a list of valid avatar uri into a group uri.The list of participants may not
|
/packages/apps/Dialer/java/com/android/incallui/ |
ConferenceManagerFragment.java | 76 // Request focus on the list of participants for accessibility purposes. This ensures 77 // that once the list of participants is shown, the first participant is announced. 92 public void update(List<DialerCall> participants, boolean parentCanSeparate) { 99 conferenceParticipantListAdapter.updateParticipants(participants, parentCanSeparate);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
GetOrCreateConversationActionTest.java | 57 // Generate a list of partially formed participants 58 final ArrayList<ParticipantData> participants = new local 63 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient)); 76 GetOrCreateConversationAction.getOrCreateConversation(participants, null, 94 monitor = GetOrCreateConversationAction.getOrCreateConversation(participants, null,
|
ReadWriteDraftMessageActionTest.java | 111 final ArrayList<ParticipantData> participants = local 113 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(participantNumber)); 116 senderBlocked, participants, false, false, null); 187 final ArrayList<ParticipantData> participants = local 189 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(Long.toString(phoneNumber))); 192 senderBlocked, participants, false, false, null);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
ImsConference.java | 57 * conference participants. The conference host connection represents the radio connection to the 61 * actual radio connections to the participants; they act as a virtual representation of the 66 * the participants. 71 * Listener used to respond to changes to conference participants. At the conference level we 138 * @param participants The participant information. 142 List<ConferenceParticipant> participants) { 144 if (c == null || participants == null) { 147 Log.v(this, "onConferenceParticipantsChanged: %d participants", participants.size()); 149 handleConferenceParticipantsUpdate(telephonyConnection, participants); [all...] |
/frameworks/base/telephony/java/android/telephony/ims/ |
ImsCallSession.java | 290 * Called when the invitation request of the participants is delivered to the conference 300 * Called when the invitation request of the participants is failed. 311 * Called when the removal request of the participants is delivered to the conference 321 * Called when the removal request of the participants is failed. 722 * @param participants participant list to initiate an IMS conference call 727 public void start(String[] participants, ImsCallProfile profile) { 733 miSession.startConference(participants, profile); 878 * @param participants list to be invited to the conference call after extending the call 882 public void extendToConference(String[] participants) { 888 miSession.extendToConference(participants); [all...] |
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/ |
ImsCallSessionImplBase.java | 157 * Initiates an IMS call with the specified participants and call profile. 163 * @param participants participant list to initiate an IMS conference call 170 public void startConference(String[] participants, ImsCallProfile profile) { 268 * @param participants participant list to be invited to the conference call after extending the 274 public void extendToConference(String[] participants) { 278 * Requests the conference server to invite an additional participants to the conference. 280 * @param participants participant list to be invited to the conference call 285 public void inviteParticipants(String[] participants) { 289 * Requests the conference server to remove the specified participants from the conference. 291 * @param participants participant list to be removed from the conference cal [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeRenameParticipantTest.java | 25 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
MockDatabase.java | 59 * @param participants of the chat 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { 64 int size = participants.size(); 75 for (Profile profile : participants) { 80 // Create an id for the chat based on the aggregate of the participants' ids
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
MockDatabase.java | 59 * @param participants of the chat 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { 64 int size = participants.size(); 75 for (Profile profile : participants) { 80 // Create an id for the chat based on the aggregate of the participants' ids
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
ContactPickerFragmentTest.java | 189 final List<ParticipantData> participants = local 191 assertEquals(1, participants.size()); 192 assertEquals(cliv.mData.getDestination(), participants.get(0).getSendDestination()); 200 // Click on the add more participants button 201 // TODO: Figure out a way to click on the add more participants button now that
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
ConversationListItemData.java | 480 final List<ParticipantData> participants) { 481 for (final ParticipantData participant : participants) { 524 participants) { 525 if (participants.size() == 1) { 527 return participants.get(0).getDisplayName(true); 531 for (final ParticipantData participant : participants) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
PeopleAndOptionsFragment.java | 58 * Shows a list of participants of a conversation and displays options. 125 final List<ParticipantData> participants) { 127 mPeopleListAdapter.updateParticipants(participants); 128 final ParticipantData otherParticipant = participants.size() == 1 ? 129 participants.get(0) : null;
|