Searched refs:messageCount (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | MessageNotificationViewHolder.java | 113 Integer messageCount = null; in bindBody() local 125 messageCount = messages.size(); in bindBody() 140 if (messageCount == null) { in bindBody() 141 messageCount = notification.number; in bindBody() 142 if (messageCount == 0) { in bindBody() 143 messageCount = 1; // a notification should at least represent 1 message in bindBody() 152 R.plurals.restricted_message_text, messageCount, messageCount); in bindBody() 182 int unshownCount = messageCount - 1; in bindBody()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 256 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/sms/ |
D | LegacyModeSmsHandler.java | 71 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/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 64 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/NetworkStack/tests/unit/src/android/net/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 139 int messageCount = 0; in testParseRtmGetNeighResponse() local 153 messageCount++; in testParseRtmGetNeighResponse() 156 assertEquals(14, messageCount); in testParseRtmGetNeighResponse()
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 185 private boolean waitForSms(int messageCount) { in waitForSms() argument 189 Log.i(TAG, "waitForSms -- waiting for: " + messageCount + " parts"); in waitForSms() 190 while (mReceivedMessages.size() < messageCount) { in waitForSms()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessageNotificationState.java | 528 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/ |
D | ComposeMessageView.java | 704 final int messageCount = draftMessageData.getNumMessagesToBeSent(); in updateVisualsOnDraftChanged() local 709 if (messageCount > 1 in updateVisualsOnDraftChanged() 713 messageCount > 1 in updateVisualsOnDraftChanged() 714 ? codePointsRemaining + " / " + messageCount in updateVisualsOnDraftChanged()
|