Home
last modified time | relevance | path

Searched refs:groupKey (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java119 String groupKey = getGroupKey(sbn); in onEntryRemovedInternal() local
120 final NotificationGroup group = mGroupMap.get(groupKey); in onEntryRemovedInternal()
136 mGroupMap.remove(groupKey); in onEntryRemovedInternal()
138 listener.onGroupRemoved(group, groupKey); in onEntryRemovedInternal()
150 String groupKey = getGroupKey(sbn); in onEntryAdded() local
151 NotificationGroup group = mGroupMap.get(groupKey); in onEntryAdded()
154 mGroupMap.put(groupKey, group); in onEntryAdded()
156 listener.onGroupCreated(group, groupKey); in onEntryAdded()
229 private int getNumberOfIsolatedChildren(String groupKey) { in getNumberOfIsolatedChildren() argument
232 if (sbn.getGroupKey().equals(groupKey) && isIsolated(sbn)) { in getNumberOfIsolatedChildren()
[all …]
DNotificationGroupAlertTransferHelper.java132 public void onGroupCreated(NotificationGroup group, String groupKey) {
133 mGroupAlertEntries.put(groupKey, new GroupAlertEntry(group));
137 public void onGroupRemoved(NotificationGroup group, String groupKey) {
138 mGroupAlertEntries.remove(groupKey);
187 String groupKey = mGroupManager.getGroupKey(entry.notification);
188 GroupAlertEntry groupAlertEntry = mGroupAlertEntries.get(groupKey);
270 String groupKey = mGroupManager.getGroupKey(group.summary.notification); in isPendingNotificationInGroup() local
272 && Objects.equals(mGroupManager.getGroupKey(entry.notification), groupKey) in isPendingNotificationInGroup()
DNotificationIconContainer.java305 String groupKey = iconView.getNotification().getGroupKey(); in isReplacingIcon() local
306 ArrayList<StatusBarIcon> statusBarIcons = mReplacingIcons.get(groupKey); in isReplacingIcon()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java52 private String groupKey; field in StatusBarNotification
87 this.groupKey = groupKey(); in StatusBarNotification()
110 this.groupKey = groupKey(); in StatusBarNotification()
133 this.groupKey = groupKey(); in StatusBarNotification()
144 private String groupKey() { in groupKey() method in StatusBarNotification
350 return groupKey; in getGroupKey()
370 groupKey = groupKey(); in setOverrideGroupKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java273 final String groupKey = group.summary != null in BubbleController()
276 if (!suppressed && groupKey != null in BubbleController()
277 && mBubbleData.isSummarySuppressed(groupKey)) { in BubbleController()
278 mBubbleData.removeSuppressedSummary(groupKey); in BubbleController()
458 String groupKey = entry != null ? entry.notification.getGroupKey() : null; in isBubbleNotificationSuppressedFromShade() local
459 boolean isSuppressedSummary = mBubbleData.isSummarySuppressed(groupKey); in isBubbleNotificationSuppressedFromShade()
460 boolean isSummary = key.equals(mBubbleData.getSummaryKey(groupKey)); in isBubbleNotificationSuppressedFromShade()
541 String groupKey = entry != null ? entry.notification.getGroupKey() : null;
542 ArrayList<Bubble> bubbleChildren = mBubbleData.getBubblesInGroup(groupKey);
545 boolean isSuppressedSummary = (mBubbleData.isSummarySuppressed(groupKey)
[all …]
DBubbleData.java255 void addSummaryToSuppress(String groupKey, String notifKey) { in addSummaryToSuppress() argument
256 mSuppressedGroupKeys.put(groupKey, notifKey); in addSummaryToSuppress()
265 String getSummaryKey(String groupKey) { in getSummaryKey() argument
266 return mSuppressedGroupKeys.get(groupKey); in getSummaryKey()
272 void removeSuppressedSummary(String groupKey) { in removeSuppressedSummary() argument
273 mSuppressedGroupKeys.remove(groupKey); in removeSuppressedSummary()
279 boolean isSummarySuppressed(String groupKey) { in isSummarySuppressed() argument
280 return mSuppressedGroupKeys.containsKey(groupKey); in isSummarySuppressed()
287 ArrayList<Bubble> getBubblesInGroup(@Nullable String groupKey) { in getBubblesInGroup() argument
289 if (groupKey == null) { in getBubblesInGroup()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java210 @Nullable String groupKey) in createRow() argument
212 Notification notif = createNotification(isGroupSummary, groupKey); in createRow()
232 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() argument
233 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification()
245 @Nullable String groupKey, @Nullable BubbleMetadata bubbleMetadata) { in createNotification() argument
260 if (!TextUtils.isEmpty(groupKey)) { in createNotification()
261 notificationBuilder.setGroup(groupKey); in createNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java112 final String groupKey = record.getGroupKey(); in sort() local
113 NotificationRecord existingProxy = mProxyByGroupTmp.get(groupKey); in sort()
115 mProxyByGroupTmp.put(groupKey, record); in sort()
DSnoozeHelper.java267 protected void repostGroupSummary(String pkg, int userId, String groupKey) { in repostGroupSummary() argument
282 && groupKey.equals(potentialGroupSummary.getGroupKey())) { in repostGroupSummary()
DNotificationManagerService.java6774 String groupKey = r.getGroupKey();
6775 NotificationRecord groupSummary = mSummaryByGroupKey.get(groupKey);
6777 mSummaryByGroupKey.remove(groupKey);
7190 String groupKey, int userId) {
7192 records.addAll(findGroupNotificationByListLocked(mNotificationList, pkg, groupKey, userId));
7194 findGroupNotificationByListLocked(mEnqueuedNotifications, pkg, groupKey, userId));
7201 ArrayList<NotificationRecord> list, String pkg, String groupKey, int userId) {
7206 if (notificationMatchesUserId(r, userId) && r.getGroupKey().equals(groupKey)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java65 UserHandle user, String groupKey) { in getSbn() argument
69 if (groupKey != null) { in getSbn()
70 nb.setGroup(groupKey); in getSbn()
DBuzzBeepBlinkTest.java261 private NotificationRecord getBeepyNotificationRecord(String groupKey, int groupAlertBehavior) { in getBeepyNotificationRecord() argument
263 groupKey, groupAlertBehavior, false); in getBeepyNotificationRecord()
266 private NotificationRecord getLightsNotificationRecord(String groupKey, in getLightsNotificationRecord() argument
269 true, groupKey, groupAlertBehavior, false); in getLightsNotificationRecord()
274 boolean defaultSound, boolean defaultLights, String groupKey, int groupAlertBehavior, in getNotificationRecord() argument
316 builder.setGroup(groupKey); in getNotificationRecord()
DSnoozeHelperTest.java376 UserHandle user, String groupKey, boolean groupSummary) {
382 .setGroup(groupKey)
DNotificationManagerServiceTest.java446 String groupKey, boolean isSummary) { in generateNotificationRecord() argument
447 return generateNotificationRecord(channel, id, groupKey, isSummary, false /* isBubble */); in generateNotificationRecord()
451 String groupKey, boolean isSummary, boolean isBubble) { in generateNotificationRecord() argument
455 .setGroup(groupKey) in generateNotificationRecord()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java712 final Key groupKey = new Key(null, key.uid, key.set, key.tag); in dumpCheckin() local
713 NetworkStatsHistory groupHistory = grouped.get(groupKey); in dumpCheckin()
716 grouped.put(groupKey, groupHistory); in dumpCheckin()
/frameworks/base/core/java/android/app/
DNotification.java4324 public Builder setGroup(String groupKey) { in setGroup() argument
4325 mN.mGroupKey = groupKey; in setGroup()
/frameworks/base/config/
Dboot-image-profile.txt13347 HSPLandroid/service/notification/StatusBarNotification;->groupKey()Ljava/lang/String;
Dhiddenapi-greylist-max-o.txt63771 Landroid/service/notification/StatusBarNotification;->groupKey()Ljava/lang/String;
63772 Landroid/service/notification/StatusBarNotification;->groupKey:Ljava/lang/String;