Searched refs:mNotificationInfos (Results 1 – 4 of 4) sorted by relevance
126 assertThat(mMessengerDelegate.mNotificationInfos).isEmpty(); in testOnDeviceDisconnected_connectedDevice_withMessages()136 assertThat(mMessengerDelegate.mNotificationInfos).hasSize(1); in testOnDeviceDisconnected_notConnectedDevice_withMessagesFromConnectedDevice()147 assertThat(mMessengerDelegate.mNotificationInfos).hasSize(1); in testOnDeviceDisconnected_connectedDevice_retainsMessagesFromConnectedDevice()165 assertThat(mMessengerDelegate.mNotificationInfos.containsKey(mSenderKey)).isTrue(); in testOnMessageReceived_newMessage()172 MessengerDelegate.NotificationInfo info = mMessengerDelegate.mNotificationInfos.get( in testOnMessageReceived_duplicateMessage()181 MessengerDelegate.NotificationInfo info = mMessengerDelegate.mNotificationInfos.get( in testClearNotification_keepsNotificationData()194 MessengerDelegate.NotificationInfo info = mMessengerDelegate.mNotificationInfos.get( in testHandleMarkAsRead()208 MessengerDelegate.NotificationInfo info = mMessengerDelegate.mNotificationInfos.get( in testMessageReadOnPhone()225 assertThat(mMessengerDelegate.mNotificationInfos).isEmpty(); in testNotificationsNotShownForExistingMessages()
64 final Map<SenderKey, NotificationInfo> mNotificationInfos = new HashMap<>(); field in MessengerDelegate186 NotificationInfo notificationInfo = mNotificationInfos.get(senderKey); in sendMessage()226 NotificationInfo info = mNotificationInfos.get(senderKey); in excludeFromNotification()251 mNotificationInfos.forEach((senderKey, notificationInfo) -> { in clearNotifications()267 mNotificationInfos.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications()282 if (!mNotificationInfos.containsKey(senderKey)) { in updateNotification()283 mNotificationInfos.put(senderKey, new NotificationInfo(mapMessage.getSenderName(), in updateNotification()286 NotificationInfo notificationInfo = mNotificationInfos.get(senderKey); in updateNotification()464 if (mNotificationInfos.get(senderKey).mSenderContactUri == null) { in shouldAddReplyAction()
137 ConversationNotificationInfo info = mNotificationInfos.get(convoKey); in excludeFromNotification()179 if (mNotificationInfos.containsKey(convoKey)) { in initializeNewConversation()191 mNotificationInfos.put(convoKey, convoInfo); in initializeNewConversation()206 if (!mNotificationInfos.containsKey(convoKey)) { in initializeNewMessage()217 ConversationNotificationInfo convoInfo = mNotificationInfos.get(convoKey); in initializeNewMessage()234 String appDisplayName = mNotificationInfos.get(convoKey).getAppDisplayName(); in createNewMessage()
86 protected final Map<ConversationKey, ConversationNotificationInfo> mNotificationInfos = field in BaseNotificationDelegate143 mNotificationInfos.entrySet().removeIf(entry -> predicate.test(entry.getKey())); in cleanupMessagesAndNotifications()155 mNotificationInfos.forEach((conversationKey, notificationInfo) -> { in clearNotifications()171 ConversationNotificationInfo notificationInfo = mNotificationInfos.get(convoKey); in addMessageToNotificationInfo()330 ConversationNotificationInfo info = mNotificationInfos.get(conversationKey); in getSenderKeyFromConversation()