HomeSort by relevance Sort by last modified time
    Searched refs:ParticipantData (Results 1 - 25 of 73) sorted by null

1 2 3

  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
SelfParticipantsData.java 35 * {@link ParticipantData#DEFAULT_SELF_SUB_ID}) subscriptions.
37 private final ArrayMap<String, ParticipantData> mSelfParticipantMap;
40 mSelfParticipantMap = new ArrayMap<String, ParticipantData>();
47 final ParticipantData newParticipant = ParticipantData.getFromCursor(cursor);
57 public List<ParticipantData> getSelfParticipants(final boolean activeOnly) {
58 List<ParticipantData> list = new ArrayList<ParticipantData>();
59 for (final ParticipantData self : mSelfParticipantMap.values()) {
70 ParticipantData getSelfParticipantById(final String selfId)
    [all...]
ConversationParticipantsData.java 36 public class ConversationParticipantsData implements Iterable<ParticipantData> {
38 private final SimpleArrayMap<String, ParticipantData> mConversationParticipantsMap;
42 mConversationParticipantsMap = new SimpleArrayMap<String, ParticipantData>();
50 final ParticipantData newParticipant = ParticipantData.getFromCursor(cursor);
60 ParticipantData getParticipantById(final String participantId) {
64 ArrayList<ParticipantData> getParticipantListExcludingSelf() {
65 final ArrayList<ParticipantData> retList =
66 new ArrayList<ParticipantData>(mConversationParticipantsMap.size());
68 final ParticipantData participant = mConversationParticipantsMap.valueAt(i)
    [all...]
ParticipantData.java 43 public class ParticipantData implements Parcelable {
120 private ParticipantData() {
123 public static ParticipantData getFromCursor(final Cursor cursor) {
124 final ParticipantData pd = new ParticipantData();
146 public static ParticipantData getFromId(final DatabaseWrapper dbWrapper,
156 return ParticipantData.getFromCursor(cursor);
167 public static ParticipantData getFromRecipientEntry(final RecipientEntry recipientEntry) {
168 final ParticipantData pd = new ParticipantData();
    [all...]
PeopleOptionsItemData.java 59 private ParticipantData mOtherParticipant;
73 final Cursor cursor, final ParticipantData otherParticipant, final int settingType) {
152 public ParticipantData getOtherParticipant() {
SubscriptionListData.java 66 final ParticipantData selfParticipantData, final Context context) {
93 public void bind(final List<ParticipantData> subs) {
96 for (final ParticipantData sub : subs) {
SettingsData.java 89 final ParticipantData self) {
140 ParticipantData.ParticipantsQuery.PROJECTION,
142 new String[] { String.valueOf(ParticipantData.OTHER_THAN_SELF_SUB_ID) },
195 final List<ParticipantData> selfs = mSelfParticipantsData.getSelfParticipants(true);
204 for (ParticipantData self : selfs) {
219 ParticipantData.DEFAULT_SELF_SUB_ID));
ContactPickerData.java 79 ParticipantData.ParticipantsQuery.PROJECTION, null, null, null);
184 return (participantCount > MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID)
191 return (participantCount < MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID)
BlockedParticipantsData.java 61 ParticipantData.ParticipantsQuery.PROJECTION,
101 return new ParticipantListItemData(ParticipantData.getFromCursor(cursor));
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
ConversationParticipantsDataTest.java 24 import com.android.messaging.datamodel.data.ParticipantData;
34 final ParticipantData participant2 = data.getParticipantById("2");
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
GetOrCreateConversationAction.java 29 import com.android.messaging.datamodel.data.ParticipantData;
55 final ArrayList<ParticipantData> participants, final Object data,
68 final ArrayList<ParticipantData> participants = new ArrayList<>();
72 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient));
82 private GetOrCreateConversationAction(final ArrayList<ParticipantData> participants,
96 final ArrayList<ParticipantData> participants =
ReceiveMmsMessageAction.java 33 import com.android.messaging.datamodel.data.ParticipantData;
63 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
69 final ParticipantData self = BugleDatabaseOperations.getOrCreateSelf(db, subId);
85 from = ParticipantData.getUnknownSenderDestination();
87 final ParticipantData rawSender = ParticipantData.getFromRawPhoneBySimLocale(
123 final ParticipantData sender = ParticipantData .getFromId(
163 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
ReceiveSmsMessageAction.java 35 import com.android.messaging.datamodel.data.ParticipantData;
64 subId = ParticipantData.DEFAULT_SELF_SUB_ID;
70 address = ParticipantData.getUnknownSenderDestination();
73 final ParticipantData rawSender = ParticipantData.getFromRawPhoneBySimLocale(
127 final ParticipantData self = ParticipantData.getSelfParticipant(subId);
151 final ParticipantData sender = ParticipantData.getFromId(db, participantId);
InsertNewMessageAction.java 35 import com.android.messaging.datamodel.data.ParticipantData;
68 Assert.isFalse(subId == ParticipantData.DEFAULT_SELF_SUB_ID);
94 this(message, ParticipantData.DEFAULT_SELF_SUB_ID);
134 final ParticipantData self = getSelf(db, conversationId, message);
195 private ParticipantData getSelf(
197 ParticipantData self;
202 KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
203 if (requestedSubId != ParticipantData.DEFAULT_SELF_SUB_ID) {
225 final ParticipantData unboundSelf = BugleDatabaseOperations.getExistingParticipant(
227 if (unboundSelf.getSubId() == ParticipantData.DEFAULT_SELF_SUB_I
    [all...]
SyncMessageBatch.java 34 import com.android.messaging.datamodel.data.ParticipantData;
139 sms.mAddress = ParticipantData.getUnknownSenderDestination();
158 final ParticipantData self = ParticipantData.getSelfParticipant(sms.getSubId());
161 final ParticipantData sender = isOutgoing ?
163 ParticipantData.getFromRawPhoneBySimLocale(otherPhoneNumber, sms.getSubId());
252 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId());
255 final ParticipantData sender = isOutgoing ?
256 self : ParticipantData.getFromRawPhoneBySimLocale(senderId, mms.getSubId())
    [all...]
ProcessDownloadedMmsAction.java 40 import com.android.messaging.datamodel.data.ParticipantData;
118 extras.getInt(DownloadMmsAction.EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID));
211 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
341 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
358 final ParticipantData sender = ParticipantData.getFromId(
408 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID);
433 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId());
442 from = ParticipantData.getUnknownSenderDestination()
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
GetOrCreateConversationActionTest.java 37 import com.android.messaging.datamodel.data.ParticipantData;
58 final ArrayList<ParticipantData> participants = new
59 ArrayList<ParticipantData>();
63 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient));
111 final ArrayList<ParticipantData> conversationParticipants =
116 for(final ParticipantData participant : conversationParticipants) {
123 ParticipantData.ParticipantsQuery.PROJECTION, null, null, null);
127 final ParticipantData participant = ParticipantData.getFromCursor(cursor);
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
ParticipantRefreshTest.java 31 import com.android.messaging.datamodel.data.ParticipantData;
32 import com.android.messaging.datamodel.data.ParticipantData.ParticipantsQuery;
147 addParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_RESOLVED,
161 addParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_RESOLVED,
202 addParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_FOUND,
209 verifyParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_FOUND,
217 addParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_FOUND,
277 verifyParticipant("650-123-1233", ParticipantData.PARTICIPANT_CONTACT_ID_NOT_FOUND,
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleDatabaseOperations.java 40 import com.android.messaging.datamodel.data.ParticipantData;
78 static ArrayList<ParticipantData> getConversationParticipantsFromRecipients(
81 final ArrayList<ParticipantData> participants = new
82 ArrayList<ParticipantData>();
86 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, refSubId));
97 public static void sanitizeConversationParticipants(final List<ParticipantData> participants) {
117 for (final ParticipantData p : participants) {
141 final List<ParticipantData> participants) {
146 for (final ParticipantData participant : participants) {
171 final ArrayList<ParticipantData> participants
    [all...]
ParticipantRefresh.java 33 import com.android.messaging.datamodel.data.ParticipantData;
34 import com.android.messaging.datamodel.data.ParticipantData.ParticipantsQuery;
252 String.valueOf(ParticipantData.PARTICIPANT_CONTACT_ID_NOT_RESOLVED) };
269 final ParticipantData participantData =
270 ParticipantData.getFromCursor(cursor);
271 if (refreshParticipant(db, participantData)) {
272 if (participantData.isSelf()) {
275 updateParticipant(db, participantData);
276 final String id = participantData.getId()
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/receiver/
SendStatusReceiver.java 28 import com.android.messaging.datamodel.data.ParticipantData;
69 intent.getIntExtra(EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID));
  /packages/apps/Messaging/src/com/android/messaging/util/
ContactRecipientEntryUtils.java 26 import com.android.messaging.datamodel.data.ParticipantData;
112 public static boolean isSendToDestinationContact(final ParticipantData participant) {
PhoneUtils.java 39 import com.android.messaging.datamodel.data.ParticipantData;
150 * {@value com.android.messaging.datamodel.data.ParticipantData#DEFAULT_SELF_SUB_ID};
263 super(ParticipantData.DEFAULT_SELF_SUB_ID);
321 ParticipantData.DEFAULT_SELF_SUB_ID);
331 Assert.equals(ParticipantData.DEFAULT_SELF_SUB_ID, subId);
332 return ParticipantData.DEFAULT_SELF_SUB_ID;
343 return ParticipantData.DEFAULT_SELF_SUB_ID;
360 return ParticipantData.DEFAULT_SELF_SUB_ID;
366 return ParticipantData.DEFAULT_SELF_SUB_ID;
533 if (subId == ParticipantData.DEFAULT_SELF_SUB_ID)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
PeopleAndOptionsFragment.java 42 import com.android.messaging.datamodel.data.ParticipantData;
125 final List<ParticipantData> participants) {
128 final ParticipantData otherParticipant = participants.size() == 1 ?
189 private ParticipantData mOtherParticipantData;
200 public void setOtherParticipant(final ParticipantData participantData) {
201 if (mOtherParticipantData != participantData) {
202 mOtherParticipantData = participantData;
245 * An adapter that takes a list of ParticipantData and displays them as a list of
248 private class PeopleListAdapter extends ArrayAdapter<ParticipantData> {
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactRecipientAutoCompleteView.java 36 import com.android.messaging.datamodel.data.ParticipantData;
50 * recipients in the form of a ParticipantData list.
244 * Returns a list of ParticipantData from the entered chips in order to create
247 public ArrayList<ParticipantData> getRecipientParticipantDataForConversationCreation() {
250 final ArrayList<ParticipantData> contacts =
251 new ArrayList<ParticipantData>(recips.length);
256 contacts.add(ParticipantData.getFromRecipientEntry(recipient.getEntry()));
ContactRecipientPhotoManager.java 25 import com.android.messaging.datamodel.data.ParticipantData;
66 ParticipantData.getFromRecipientEntry(entry));

Completed in 921 milliseconds

1 2 3