Searched refs:notificationKey (Results 1 – 5 of 5) sorted by relevance
47 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument48 int indexOfPrevKey = mNotificationKeys.indexOf(notificationKey); in addOrUpdateNotificationKey()52 if (prevKey.count == notificationKey.count) { in addOrUpdateNotificationKey()57 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()58 prevKey.count = notificationKey.count; in addOrUpdateNotificationKey()61 boolean added = mNotificationKeys.add(notificationKey); in addOrUpdateNotificationKey()63 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()71 public boolean removeNotificationKey(NotificationKeyData notificationKey) { in removeNotificationKey() argument72 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()74 mTotalCount -= notificationKey.count; in removeNotificationKey()
36 public final String notificationKey; field in NotificationKeyData43 public NotificationKeyData(String notificationKey) { in NotificationKeyData() argument44 this(notificationKey, null, 1, new String[]{}); in NotificationKeyData()47 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument49 this.notificationKey = notificationKey; in NotificationKeyData()76 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
325 NotificationKeyData notificationKey); in onNotificationPosted() argument327 NotificationKeyData notificationKey); in onNotificationRemoved() argument
82 NotificationKeyData notificationKey) { in onNotificationPosted() argument88 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()95 NotificationKeyData notificationKey) { in onNotificationRemoved() argument97 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
159 for (String notificationKey : currentNotificationKeys) { in updateUnseenAlertEntries()160 mUnseenNotificationMap.remove(notificationKey); in updateUnseenAlertEntries()