Searched refs:notificationKey (Results 1 – 8 of 8) sorted by relevance
49 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument50 int indexOfPrevKey = mNotificationKeys.indexOf(notificationKey); in addOrUpdateNotificationKey()54 if (prevKey.count == notificationKey.count) { in addOrUpdateNotificationKey()59 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()60 prevKey.count = notificationKey.count; in addOrUpdateNotificationKey()63 boolean added = mNotificationKeys.add(notificationKey); in addOrUpdateNotificationKey()65 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()73 public boolean removeNotificationKey(NotificationKeyData notificationKey) { in removeNotificationKey() argument74 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()76 mTotalCount -= notificationKey.count; in removeNotificationKey()
38 public final String notificationKey; field in NotificationKeyData44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument46 this.notificationKey = notificationKey; in NotificationKeyData()63 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()82 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
52 public final String notificationKey; field in NotificationInfo70 notificationKey = statusBarNotification.getKey(); in NotificationInfo()118 popupDataProvider.cancelNotification(notificationKey); in onClick()
323 keys.stream().map(n -> n.notificationKey).toArray(String[]::new))); in getNotificationsForKeys()360 NotificationKeyData notificationKey); in onNotificationPosted() argument362 NotificationKeyData notificationKey); in onNotificationRemoved() argument
196 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()329 popupDataProvider.cancelNotification(mNotificationInfo.notificationKey);
169 if (!notificationKeys.contains(iterator.next().notificationKey)) { in trimNotifications()
81 NotificationKeyData notificationKey) { in onNotificationPosted() argument87 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()94 NotificationKeyData notificationKey) { in onNotificationRemoved() argument96 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()186 public void cancelNotification(String notificationKey) { in cancelNotification() argument191 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
158 for (String notificationKey : currentNotificationKeys) { in updateUnseenAlertEntries()159 mUnseenNotificationMap.remove(notificationKey); in updateUnseenAlertEntries()