Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DNotificationGroupManagerLegacy.java110 NotificationGroup group = mGroupMap.get(getGroupKey(entry.getSbn())); in isGroupExpanded()
121 NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); in isLogicalGroupExpanded()
130 NotificationGroup group = mGroupMap.get(getGroupKey(entry.getSbn())); in setGroupExpanded()
156 updateSuppression(mGroupMap.get(oldSbn.getGroupKey())); in onEntryRemoved()
169 onEntryRemovedInternal(removed, sbn.getGroupKey(), sbn.isGroup(), in onEntryRemovedInternal()
175 String groupKey = getGroupKey(removed.getKey(), notifGroupKey); in onEntryRemovedInternal()
220 String groupKey = getGroupKey(sbn); in onEntryAddedInternal()
301 entry.getKey(), entry.getSbn().getGroupKey())) { in updateSuppression()
457 return getNumberOfIsolatedChildren(group.summary.getSbn().getGroupKey()) != 0; in hasIsolatedChildren()
463 if (sbn.getGroupKey().equals(groupKey) && isIsolated(sbn.getKey())) { in getNumberOfIsolatedChildren()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
DSnoozeHelperTest.java568 mSnoozeHelper.repostGroupSummary("pkg", UserHandle.USER_SYSTEM, r.getGroupKey());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java192 GroupAlertEntry groupAlertEntry = mGroupAlertEntries.get(mGroupManager.getGroupKey( in onGroupChanged()
253 String groupKey = mGroupManager.getGroupKey(entry.getSbn());
326 String groupKey = mGroupManager.getGroupKey(group.summary.getSbn()); in isPendingNotificationInGroup()
328 && Objects.equals(mGroupManager.getGroupKey(entry.getSbn()), groupKey) in isPendingNotificationInGroup()
350 mGroupAlertEntries.get(mGroupManager.getGroupKey(summary.getSbn())); in handleSuppressedSummaryAlerted()
412 mGroupAlertEntries.get(mGroupManager.getGroupKey(summary.getSbn())); in handleOverriddenSummaryAlerted()
659 if (mEntry.getSbn().getGroupKey() != mOriginalNotification.getGroupKey()) { in isStillValid()
DNotificationIconAreaController.java448 String removedGroupKey = removedIcon.getNotification().getGroupKey(); in updateIconsForLayout()
452 && candidate.getNotification().getGroupKey().equals(removedGroupKey)) { in updateIconsForLayout()
DNotificationIconContainer.java317 String groupKey = iconView.getNotification().getGroupKey(); in isReplacingIcon()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleEntry.java75 public String getGroupKey() { in getGroupKey() method in BubbleEntry
76 return mSbn.getGroupKey(); in getGroupKey()
DBubbleController.java983 final String groupKey = entry.getStatusBarNotification().getGroupKey(); in onEntryRemoved()
1042 if (bubble.getGroupKey() != null && groupKey.equals(bubble.getGroupKey())) { in getBubblesInGroup()
1147 final String groupKey = entry.getStatusBarNotification().getGroupKey();
1226 String groupKey = entry.getStatusBarNotification().getGroupKey(); in isSummaryOfBubbles()
1260 mBubbleData.addSummaryToSuppress(summary.getStatusBarNotification().getGroupKey(), in handleSummaryDismissalInterception()
DBubble.java198 mGroupKey = entry.getGroupKey(); in Bubble()
223 public String getGroupKey() { in getGroupKey() method in Bubble
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DNewNotifPipelineBubblesTest.java838 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
841 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
842 assertTrue(mBubbleData.isSummarySuppressed(groupSummary.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
865 groupSummary.getEntry().getSbn().getGroupKey())); in testAppRemovesSummary_removesAllBubbleChildren()
895 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
898 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
903 groupSummary.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
906 groupSummary.getEntry().getSbn().getGroupKey())); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
948 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
950 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
[all …]
DBubblesTest.java1026 groupSummary.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1029 groupSummary.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1030 assertTrue(mBubbleData.isSummarySuppressed(groupSummary.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1053 groupSummary.getEntry().getSbn().getGroupKey())); in testAppRemovesSummary_removesAllBubbleChildren()
1084 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissal_marksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
1087 groupedBubble.getEntry().getSbn().getGroupKey())); in testSummaryDismissal_marksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
1266 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
1268 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationSuppressedFromShade()
1277 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationNotSuppressedFromShade()
1279 entry.getKey(), entry.getGroupKey())); in assertBubbleNotificationNotSuppressedFromShade()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java114 final String groupKey = record.getGroupKey(); in sort()
124 NotificationRecord groupProxy = mProxyByGroupTmp.get(record.getGroupKey()); in sort()
DNotificationRecord.java441 proto.write(NotificationRecordProto.GROUP_KEY, getGroupKey()); in dump()
472 pw.println(prefix + "groupKey=" + getGroupKey()); in dump()
1023 public String getGroupKey() { in getGroupKey() method in NotificationRecord
1024 return getSbn().getGroupKey(); in getGroupKey()
DNotificationManagerService.java2090 mSummaryByGroupKey.put(r.getGroupKey(), r); in addNotification()
6747 r.getSbn().getGroupKey(), r.getSbn().getUserId());
6758 if (mSummaryByGroupKey.containsKey(r.getSbn().getGroupKey())) {
6975 mSnoozeHelper.repostGroupSummary(pkg, r.getUserId(), n.getGroupKey());
7149 buzzBeepBlinkLoggingCode, getGroupInstanceId(r.getSbn().getGroupKey()));
7344 String group = sbn.getGroupKey();
7348 String oldGroup = old != null ? old.getSbn().getGroupKey() : null;
8068 groupKeyBefore.add(r.getGroupKey());
8087 || !Objects.equals(groupKeyBefore.get(i), r.getGroupKey())
8430 String groupKey = r.getGroupKey();
[all …]
DSnoozeHelper.java416 && groupKey.equals(potentialGroupSummary.getGroupKey())) { in repostGroupSummary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java341 if (shouldAutoDismissChildren(otherEntry, entry.getSbn().getGroupKey())) { in locallyDismissNotifications()
372 mLogger.logNotifGroupPosted(batch.get(0).getSbn().getGroupKey(), batch.size()); in onNotificationGroupPosted()
594 if (otherEntry.getSbn().getGroupKey().equals(entry.getSbn().getGroupKey()) in cancelLocalDismissal()
699 return entry.getSbn().getGroupKey().equals(dismissedGroupKey)
DShadeListBuilder.java463 final String topLevelKey = entry.getSbn().getGroupKey(); in groupNotifs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java176 final EventBatch batch = mBatches.get(sbn.getGroupKey()); in maybeEmitBatch()
200 final EventBatch batch = getOrBuildBatch(sbn.getGroupKey()); in handleNotificationPosted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DBubbleCoordinator.java93 entry.getKey(), entry.getSbn().getGroupKey());
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java248 entry.getKey(), entry.getSbn().getGroupKey()); in shouldFilterOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java465 ? group.summary.getSbn().getGroupKey() in setupNEM()
490 final String groupKey = entry.getSbn().getGroupKey(); in setupNEM()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java378 public String getGroupKey() { in getGroupKey() method in StatusBarNotification
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java329 ent.getKey(), ent.getSbn().getGroupKey()); in shouldSuppressActiveNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelperTest.java297 doReturn("other_group").when(newSbn).getGroupKey(); in testUpdateGroupChangeDoesNotTransfer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java348 assertNotNull(entry3.getSbn().getGroupKey()); in testRankingUpdateIsProperlyIssuedToEveryone()

12