Home
last modified time | relevance | path

Searched refs:msgBox (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/data/
DMmsQueryHelper.java94 int msgBox = cursor.getInt(msgBoxIndex); in querySince() local
97 String address = getMmsAddress(msgId, msgBox); in querySince()
98 if (address != null && addEvent(address, date, msgBox)) { in querySince()
114 private String getMmsAddress(String msgId, int msgBox) { in getMmsAddress() argument
129 if ((msgBox == BaseMmsColumns.MESSAGE_BOX_INBOX && type == PduHeaders.FROM) in getMmsAddress()
130 || (msgBox == BaseMmsColumns.MESSAGE_BOX_SENT && type == PduHeaders.TO)) { in getMmsAddress()
143 private boolean addEvent(String phoneNumber, long date, int msgBox) { in addEvent() argument
144 if (!validateEvent(phoneNumber, date, msgBox)) { in addEvent()
147 @Event.EventType int eventType = MSG_BOX_TO_EVENT_TYPE.get(msgBox); in addEvent()
152 private boolean validateEvent(String phoneNumber, long date, int msgBox) { in validateEvent() argument
[all …]
/frameworks/base/telephony/common/com/google/android/mms/util/
DPduCache.java100 HashSet<Uri> msgBox = mMessageBoxes.get(msgBoxId); in put() local
101 if (msgBox == null) { in put()
102 msgBox = new HashSet<Uri>(); in put()
103 mMessageBoxes.put(msgBoxId, msgBox); in put()
116 msgBox.add(finalKey); in put()
224 HashSet<Uri> msgBox = mMessageBoxes.remove(msgBoxId); in purgeByMessageBox() local
225 if (msgBox != null) { in purgeByMessageBox()
226 for (Uri key : msgBox) { in purgeByMessageBox()
262 HashSet<Uri> msgBox = mThreads.get(Long.valueOf(entry.getMessageBox())); in removeFromMessageBoxes() local
263 if (msgBox != null) { in removeFromMessageBoxes()
[all …]
DPduCacheEntry.java30 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { in PduCacheEntry() argument
32 mMessageBox = msgBox; in PduCacheEntry()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java543 int msgBox = 0; in load() local
577 msgBox = c.getInt(PDU_COLUMN_MESSAGE_BOX); in load()
686 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load()
1499 Integer msgBox = MESSAGE_BOX_MAP.get(to); in move() local
1500 if (msgBox == null) { in move()
1509 values.put(Mms.MESSAGE_BOX, msgBox); in move()