Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationAdjustmentExtractorTest.java66 assertFalse(r.getGroupKey().contains(GroupHelper.AUTOGROUP_KEY)); in testExtractsAdjustment()
72 assertTrue(r.getGroupKey().contains(GroupHelper.AUTOGROUP_KEY)); in testExtractsAdjustment()
103 assertFalse(r.getGroupKey().contains(GroupHelper.AUTOGROUP_KEY)); in testExtractsAdjustments()
109 assertTrue(r.getGroupKey().contains(GroupHelper.AUTOGROUP_KEY)); in testExtractsAdjustments()
H A DNotificationRecordExtractorDataTest.java49 r.getGroupKey(), in testHasDiffs_noDiffs()
77 r.getGroupKey(), in testHasDiffs_proposedImportanceChange()
111 r.getGroupKey(), in testHasDiffs_autoBundled()
146 r.getGroupKey(), in testHasDiffs_sensitiveContentChange()
H A DSnoozeHelperTest.java664 mSnoozeHelper.repostGroupSummary("pkg", UserHandle.USER_SYSTEM, r.getGroupKey());
694 mSnoozeHelper.repostGroupSummary("pkg", UserHandle.USER_SYSTEM, r.getGroupKey());
H A DNotificationManagerServiceTest.java3040 mService.findGroupNotificationsLocked(PKG, group1.getGroupKey(), in testFindGroupNotificationsLocked()
3044 assertTrue(record.getGroupKey().equals(group1.getGroupKey())); in testFindGroupNotificationsLocked()
4275 anyString(), anyInt(), eq(child.getGroupKey())); in testPostGroupChild_unsnoozeParent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleEntry.java75 public String getGroupKey() { in getGroupKey() method in BubbleEntry
76 return mSbn.getGroupKey(); in getGroupKey()
H A DBubbleController.java1488 final String groupKey = entry.getStatusBarNotification().getGroupKey(); in onEntryRemoved()
1571 if (bubble.getGroupKey() != null && groupKey.equals(bubble.getGroupKey())) { in getBubblesInGroup()
1883 String groupKey = entry.getStatusBarNotification().getGroupKey(); in isSummaryOfBubbles()
1916 mBubbleData.addSummaryToSuppress(summary.getStatusBarNotification().getGroupKey(), in handleSummaryDismissalInterception()
H A DBubble.java279 mGroupKey = entry.getGroupKey(); in Bubble()
321 public String getGroupKey() { in getGroupKey() method in Bubble
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecordExtractorData.java87 || !Objects.equals(mGroupKey, r.getGroupKey()) in hasDiffForRankingLocked()
110 || !Objects.equals(mGroupKey, r.getGroupKey()) in hasDiffForLoggingLocked()
H A DRankingHelper.java117 final String groupKey = record.getGroupKey(); in sort()
127 NotificationRecord groupProxy = mProxyByGroupTmp.get(record.getGroupKey()); in sort()
H A DNotificationRecord.java458 proto.write(NotificationRecordProto.GROUP_KEY, getGroupKey()); in dump()
491 pw.println(prefix + "groupKey=" + getGroupKey()); in dump()
1118 public String getGroupKey() { in getGroupKey() method in NotificationRecord
1119 return getSbn().getGroupKey(); in getGroupKey()
H A DSnoozeHelper.java341 && groupKey.equals(potentialGroupSummary.getGroupKey())) { in repostGroupSummary()
H A DNotificationManagerService.java2150 mSummaryByGroupKey.put(r.getGroupKey(), r); in addNotification()
7535 r.getSbn().getGroupKey(), r.getSbn().getUserId());
7546 if (mSummaryByGroupKey.containsKey(r.getSbn().getGroupKey())) {
7851 mSnoozeHelper.repostGroupSummary(pkg, r.getUserId(), n.getGroupKey());
8014 getGroupInstanceId(r.getSbn().getGroupKey()));
8255 String group = sbn.getGroupKey();
8259 String oldGroup = old != null ? old.getSbn().getGroupKey() : null;
9014 r.getGroupKey(),
9050 getGroupInstanceId(r.getSbn().getGroupKey()));
9392 String groupKey = r.getGroupKey();
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollection.java419 if (shouldAutoDismissChildren(otherEntry, entry.getSbn().getGroupKey())) { in locallyDismissNotifications()
456 mLogger.logNotifGroupPosted(batch.get(0).getSbn().getGroupKey(), batch.size()); in onNotificationGroupPosted()
596 .filter(it -> Objects.equals(it.getSbn().getGroupKey(), groupKey)) in getGroupSummary()
612 String groupKey = entry.getSbn().getGroupKey(); in isOnlyChildInGroup()
617 .filter(it -> Objects.equals(it.getSbn().getGroupKey(), groupKey)) in isOnlyChildInGroup()
779 if (otherEntry.getSbn().getGroupKey().equals(entry.getSbn().getGroupKey()) in cancelLocalDismissal()
875 return entry.getSbn().getGroupKey().equals(dismissedGroupKey)
1098 String group = entry.getSbn().getGroupKey(); in fetchSummaryToDismiss()
H A DShadeListBuilder.java584 final String topLevelKey = entry.getSbn().getGroupKey(); in groupNotifs()
899 final String groupKey = tle.getRepresentativeEntry().getSbn().getGroupKey(); in addGroupsWithChildrenLostToPromotion()
917 out.add(sbn.getGroupKey()); in addGroupsWithChildrenLostToFiltering()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DBubblesTest.java1047 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1050 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1074 groupSummary.getEntry().getSbn().getGroupKey())); in testAppRemovesSummary_removesAllBubbleChildren()
1104 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
1107 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
1112 groupSummary.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
1115 groupSummary.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
2142 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
2144 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
2153 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationNotSuppressedFromShade()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DActivityTileTest.java235 assertThat(tile.getGroupKey()).isNull(); in getGroupKey_empty_returnsNull()
243 assertThat(tile.getGroupKey()).isEqualTo("test_key"); in getGroupKey_notEmpty_returnsValue()
H A DProviderTileTest.java216 assertThat(tile.getGroupKey()).isNull(); in getGroupKey_empty_returnsNull()
224 assertThat(tile.getGroupKey()).isEqualTo("test_key"); in getGroupKey_notEmpty_returnsValue()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
H A DGroupCoalescer.java184 final EventBatch batch = mBatches.get(sbn.getGroupKey()); in maybeEmitBatch()
208 final EventBatch batch = getOrBuildBatch(sbn.getGroupKey()); in handleNotificationPosted()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DBubbleCoordinator.java90 entry.getKey(), entry.getSbn().getGroupKey());
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollectionTest.java196 final String groupKey = entryBuilder.build().getSbn().getGroupKey(); in testGetGroupSummary()
528 assertNotNull(entry3.getSbn().getGroupKey()); in testRankingUpdateIsProperlyIssuedToEveryone()
1688 container, container.getSbn().getGroupKey())); in testCanDismissOtherNotificationChildren()
1701 container, container.getSbn().getGroupKey())); in testCannotDismissOngoingNotificationChildren()
1714 container, container.getSbn().getGroupKey())); in testCannotDismissNoClearNotifications()
1730 container, container.getSbn().getGroupKey())); in testCannotDismissPriorityConversations()
1744 container, container.getSbn().getGroupKey())); in testCanDismissFgsNotificationChildren()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DNotificationHelper.java248 entry.getKey(), entry.getSbn().getGroupKey()); in shouldFilterOut()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLegacyNotificationIconAreaControllerImpl.java413 String removedGroupKey = removedIcon.getNotification().getGroupKey(); in updateIconsForLayout()
417 && candidate.getNotification().getGroupKey().equals(removedGroupKey)) { in updateIconsForLayout()
H A DNotificationIconContainer.java349 String groupKey = iconView.getNotification().getGroupKey(); in isReplacingIcon()
/aosp14/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DTile.java423 public String getGroupKey() { in getGroupKey() method in Tile
/aosp14/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java415 public String getGroupKey() { in getGroupKey() method in StatusBarNotification

12