Home
last modified time | relevance | path

Searched refs:voicemails (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DVoicemailsQueryHelper.java103 List<Voicemail> voicemails = new ArrayList<Voicemail>(); in getLocalVoicemails() local
113 voicemails.add(voicemail); in getLocalVoicemails()
115 return voicemails; in getLocalVoicemails()
127 public int deleteFromDatabase(List<Voicemail> voicemails) { in deleteFromDatabase() argument
128 int count = voicemails.size(); in deleteFromDatabase()
138 sb.append(voicemails.get(i).getId()); in deleteFromDatabase()
162 public int markReadInDatabase(List<Voicemail> voicemails) { in markReadInDatabase() argument
163 int count = voicemails.size(); in markReadInDatabase()
165 markReadInDatabase(voicemails.get(i)); in markReadInDatabase()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java146 public boolean markMessagesAsRead(List<Voicemail> voicemails) { in markMessagesAsRead() argument
147 return setFlags(voicemails, Flag.SEEN); in markMessagesAsRead()
151 public boolean markMessagesAsDeleted(List<Voicemail> voicemails) { in markMessagesAsDeleted() argument
152 return setFlags(voicemails, Flag.DELETED); in markMessagesAsDeleted()
166 private boolean setFlags(List<Voicemail> voicemails, String... flags) { in setFlags() argument
167 if (voicemails.size() == 0) { in setFlags()
173 mFolder.setFlags(convertToImapMessages(voicemails), flags, true); in setFlags()
571 private Message[] convertToImapMessages(List<Voicemail> voicemails) { in convertToImapMessages() argument
572 Message[] messages = new Message[voicemails.size()]; in convertToImapMessages()
573 for (int i = 0; i < voicemails.size(); ++i) { in convertToImapMessages()
[all …]