Home
last modified time | relevance | path

Searched refs:messageCount (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DMessageNotificationViewHolder.java162 Integer messageCount; in bindBody() local
208 messageCount = getMessageCount(messages, notification.number); in bindBody()
210 senderName, messageCount, extras); in bindBody()
232 int unshownCount = messageCount - 1; in bindBody()
253 CharSequence senderName, int messageCount, Bundle extras) { in getMessageText() argument
277 if (isHeadsUp || messageCount == 1) { in getMessageText()
281 R.plurals.restricted_numbered_message_content, messageCount, messageCount); in getMessageText()
323 Integer messageCount = null; in getMessageCount() local
326 messageCount = messages.size(); in getMessageCount()
328 messageCount = numEvents; in getMessageCount()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DMessageDisplayController.java235 HashMap<CharSequence, Integer> messageCount = new HashMap<>(); in getHelpMessageToDisplay() local
243 messageCount.put(errString, messageCount.getOrDefault(errString, 0) + 1); in getHelpMessageToDisplay()
249 finalHelpMessage = prioritizeHelpMessageByCount(messageCount); in getHelpMessageToDisplay()
255 private HelpMessage prioritizeHelpMessageByCount(HashMap<CharSequence, Integer> messageCount) { in prioritizeHelpMessageByCount() argument
260 messageCount.keySet()) { in prioritizeHelpMessageByCount()
261 if (maxCount < messageCount.get(key)) { in prioritizeHelpMessageByCount()
263 maxCount = messageCount.get(key); in prioritizeHelpMessageByCount()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DLegacyModeSmsHandler.java71 int messageCount = 0; in handle() local
73 messageCount = in handle()
79 sendLegacyVoicemailNotification(context, handle, messageCount); in handle()
84 Context context, PhoneAccountHandle phoneAccountHandle, int messageCount) { in sendLegacyVoicemailNotification() argument
97 intent.putExtra(TelephonyManager.EXTRA_NOTIFICATION_COUNT, messageCount); in sendLegacyVoicemailNotification()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java256 final int messageCount = messages.size(); in sendInternal() local
257 final ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(messageCount); in sendInternal()
258 final ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(messageCount); in sendInternal()
259 for (int i = 0; i < messageCount; i++) { in sendInternal()
261 final int partId = (messageCount <= 1 ? 0 : i + 1); in sendInternal()
262 if (requireDeliveryReport && (i == (messageCount - 1))) { in sendInternal()
284 for (int i = 0; i < messageCount; i++) { in sendInternal()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java64 private int messageCount = -1; field in ImapFolder
142 messageCount = -1; in close()
149 return messageCount; in getMessageCount()
480 messageCount = response.getStringOrEmpty(0).getNumberOrZero(); in handleUntaggedResponse()
723 int messageCount = -1; in doSelect() local
726 messageCount = response.getStringOrEmpty(0).getNumberOrZero(); in doSelect()
740 if (messageCount == -1) { in doSelect()
743 this.messageCount = messageCount; in doSelect()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DRtNetlinkNeighborMessageTest.java136 int messageCount = 0; in testParseRtmGetNeighResponse() local
157 messageCount++; in testParseRtmGetNeighResponse()
160 assertEquals(14, messageCount); in testParseRtmGetNeighResponse()
DConntrackMessageTest.java397 int messageCount = 0; in testParseMalformation() local
401 messageCount++; in testParseMalformation()
403 assertEquals(4, messageCount); in testParseMalformation()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java180 private boolean waitForSms(int messageCount) { in waitForSms() argument
184 Log.i(TAG, "waitForSms -- waiting for: " + messageCount + " parts"); in waitForSms()
185 while (mReceivedMessages.size() < messageCount) { in waitForSms()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java528 final int messageCount = lineInfos.size(); in build() local
534 if (messageCount == 1) { in build()
825 int messageCount = 0; in createConversationInfoList() local
965 messageCount++; in createConversationInfoList()
977 return new ConversationInfoList(messageCount, in createConversationInfoList()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java704 final int messageCount = draftMessageData.getNumMessagesToBeSent(); in updateVisualsOnDraftChanged() local
709 if (messageCount > 1 in updateVisualsOnDraftChanged()
713 messageCount > 1 in updateVisualsOnDraftChanged()
714 ? codePointsRemaining + " / " + messageCount in updateVisualsOnDraftChanged()