Home
last modified time | relevance | path

Searched refs:notificationKey (Results 1 – 25 of 25) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dot/
H A DDotInfo.java49 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument
50 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() argument
74 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()
76 mTotalCount -= notificationKey.count; in removeNotificationKey()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationKeyData.java38 public final String notificationKey; field in NotificationKeyData
44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument
46 this.notificationKey = notificationKey; in NotificationKeyData()
63 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()
82 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
H A DNotificationInfo.java49 public final String notificationKey; field in NotificationInfo
67 notificationKey = statusBarNotification.getKey(); in NotificationInfo()
113 launcher.getPopupDataProvider().cancelNotification(notificationKey); in onClick()
H A DNotificationListener.java306 keys.stream().map(n -> n.notificationKey).toArray(String[]::new)); in getNotificationsForKeys()
344 NotificationKeyData notificationKey); in onNotificationPosted() argument
346 NotificationKeyData notificationKey); in onNotificationRemoved() argument
H A DNotificationMainView.java195 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()
325 mNotificationInfo.notificationKey);
H A DNotificationContainer.java169 if (!notificationKeys.contains(iterator.next().notificationKey)) { in trimNotifications()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationLaunchAnimatorControllerTest.kt37 private val notificationKey: String
57 `when`(headsUpManager.isAlerting(notificationKey)).thenReturn(true)
68 notificationKey, true /* releaseImmediately */, true /* animate */)
79 notificationKey, true /* releaseImmediately */, true /* animate */)
90 notificationKey, true /* releaseImmediately */, false /* animate */)
H A DNotificationEntryManagerTest.java700 public boolean isManaging(String notificationKey) { in isManaging() argument
701 return mManagedNotifs.contains(notificationKey); in isManaging()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DPopupDataProvider.java81 NotificationKeyData notificationKey) { in onNotificationPosted() argument
87 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()
94 NotificationKeyData notificationKey) { in onNotificationRemoved() argument
96 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
186 public void cancelNotification(String notificationKey) { in cancelNotification() argument
191 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationActivityStarter.java319 String notificationKey = entry.getKey(); in handleNotificationClickAfterPanelCollapsed() local
320 mLogger.logHandleClickAfterPanelCollapsed(notificationKey); in handleNotificationClickAfterPanelCollapsed()
340 intent.getIntentSender(), notificationKey)) { in handleNotificationClickAfterPanelCollapsed()
355 && !mRemoteInputManager.isSpinning(notificationKey)) { in handleNotificationClickAfterPanelCollapsed()
361 mLogger.logExpandingBubble(notificationKey); in handleNotificationClickAfterPanelCollapsed()
383 mClickNotifier.onNotificationClick(notificationKey, nv); in handleNotificationClickAfterPanelCollapsed()
387 notificationKey)) { in handleNotificationClickAfterPanelCollapsed()
430 String notificationKey = entry.getKey(); in onDragSuccess() local
432 mClickNotifier.onNotificationClick(notificationKey, nv); in onDragSuccess()
435 notificationKey)) { in onDragSuccess()
H A DStatusBarRemoteInputCallback.java213 String notificationKey) { in startWorkChallengeIfNecessary() argument
225 callBackIntent.putExtra(Intent.EXTRA_INDEX, notificationKey); in startWorkChallengeIfNecessary()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationLaunchAnimatorController.kt50 private val notificationKey = notificationEntry.sbn.key regex
120 if (!headsUpManager.isAlerting(notificationKey)) {
125 headsUpManager.removeNotification(notificationKey, true /* releaseImmediately */, animate)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DLaunchConversationActivity.java101 String notificationKey = in onCreate() local
132 notificationKey); in onCreate()
149 clearNotificationIfPresent(notificationKey, packageName, userHandle); in onCreate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerImpl.java158 final String notificationKey = intent.getStringExtra(Intent.EXTRA_INDEX);
166 if (notificationKey != null) {
168 getEntryManager().getActiveNotificationUnfiltered(notificationKey);
174 notificationKey,
176 mClickNotifier.onNotificationClick(notificationKey, nv);
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
H A DMediaCarouselControllerTest.kt158 MediaPlayerData.addMediaPlayer(it.first, it.second.copy(notificationKey = it.first),
163 assertEquals(expected.get(index).first, key.data.notificationKey)
H A DMediaControlPanelTest.kt328 notificationKey = KEY)
342 isClearable = false, notificationKey = KEY)
356 notificationKey = KEY)
H A DMediaSessionBasedFilterTest.kt76 notificationKey = NOTIF_KEY,
H A DMediaResumeListenerTest.kt149 notificationKey = KEY,
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationDataManager.java168 for (String notificationKey : currentNotificationKeys) { in updateUnseenAlertEntries()
169 mUnseenNotificationMap.remove(notificationKey); in updateUnseenAlertEntries()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaData.kt96 val notificationKey: String? = null,
H A DMediaDataManager.kt526 resumeAction = resumeAction, resumption = true, notificationKey = packageName,
656 notificationKey = key, hasCheckedForResume = hasCheckedForResume,
H A DMediaCarouselController.kt889 .thenByDescending { it.data.notificationKey }
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowController.java100 @NotificationKey String notificationKey, in ExpandableNotificationRowController() argument
124 mNotificationKey = notificationKey; in ExpandableNotificationRowController()
H A DExpandableNotificationRow.java1555 String notificationKey,
1581 mLoggingKey = notificationKey;
/aosp12/frameworks/base/core/java/android/app/people/
H A DPeopleSpaceTile.java382 public Builder setNotificationKey(String notificationKey) { in setNotificationKey() argument
383 mNotificationKey = notificationKey; in setNotificationKey()