Searched refs:voicemails (Results 1 – 2 of 2) sorted by relevance
103 List<Voicemail> voicemails = new ArrayList<Voicemail>(); in getLocalVoicemails() local113 voicemails.add(voicemail); in getLocalVoicemails()115 return voicemails; in getLocalVoicemails()127 public int deleteFromDatabase(List<Voicemail> voicemails) { in deleteFromDatabase() argument128 int count = voicemails.size(); in deleteFromDatabase()138 sb.append(voicemails.get(i).getId()); in deleteFromDatabase()162 public int markReadInDatabase(List<Voicemail> voicemails) { in markReadInDatabase() argument163 int count = voicemails.size(); in markReadInDatabase()165 markReadInDatabase(voicemails.get(i)); in markReadInDatabase()
146 public boolean markMessagesAsRead(List<Voicemail> voicemails) { in markMessagesAsRead() argument147 return setFlags(voicemails, Flag.SEEN); in markMessagesAsRead()151 public boolean markMessagesAsDeleted(List<Voicemail> voicemails) { in markMessagesAsDeleted() argument152 return setFlags(voicemails, Flag.DELETED); in markMessagesAsDeleted()166 private boolean setFlags(List<Voicemail> voicemails, String... flags) { in setFlags() argument167 if (voicemails.size() == 0) { in setFlags()173 mFolder.setFlags(convertToImapMessages(voicemails), flags, true); in setFlags()571 private Message[] convertToImapMessages(List<Voicemail> voicemails) { in convertToImapMessages() argument572 Message[] messages = new Message[voicemails.size()]; in convertToImapMessages()573 for (int i = 0; i < voicemails.size(); ++i) { in convertToImapMessages()[all …]