Searched refs:voicemailCount (Results 1 – 2 of 2) sorted by relevance
212 private void updateMessageWaitingIndicator(int voicemailCount) { in updateMessageWaitingIndicator() argument214 if (voicemailCount < 0) { in updateMessageWaitingIndicator()215 voicemailCount = -1; in updateMessageWaitingIndicator()216 } else if (voicemailCount > 0xff) { in updateMessageWaitingIndicator()219 voicemailCount = 0xff; in updateMessageWaitingIndicator()222 mPhone.setVoiceMessageCount(voicemailCount); in updateMessageWaitingIndicator()
319 int voicemailCount = sms.getNumOfVoicemails(); in handleVoicemailTeleservice() local320 if (DBG) log("Voicemail count=" + voicemailCount); in handleVoicemailTeleservice()323 if (voicemailCount < 0) { in handleVoicemailTeleservice()324 voicemailCount = -1; in handleVoicemailTeleservice()325 } else if (voicemailCount > 99) { in handleVoicemailTeleservice()328 voicemailCount = 99; in handleVoicemailTeleservice()331 mPhone.setVoiceMessageCount(voicemailCount); in handleVoicemailTeleservice()