Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java114 String groupKey = getGroupKey(sbn); in onEntryRemovedInternal() local
115 final NotificationGroup group = mGroupMap.get(groupKey); in onEntryRemovedInternal()
131 mGroupMap.remove(groupKey); in onEntryRemovedInternal()
133 listener.onGroupRemoved(group, groupKey); in onEntryRemovedInternal()
145 String groupKey = getGroupKey(sbn); in onEntryAdded() local
146 NotificationGroup group = mGroupMap.get(groupKey); in onEntryAdded()
149 mGroupMap.put(groupKey, group); in onEntryAdded()
151 listener.onGroupCreated(group, groupKey); in onEntryAdded()
214 private int getNumberOfIsolatedChildren(String groupKey) { in getNumberOfIsolatedChildren() argument
217 if (sbn.getGroupKey().equals(groupKey) && isIsolated(sbn)) { in getNumberOfIsolatedChildren()
[all …]
DNotificationGroupAlertTransferHelper.java136 public void onGroupCreated(NotificationGroup group, String groupKey) {
137 mGroupAlertEntries.put(groupKey, new GroupAlertEntry(group));
141 public void onGroupRemoved(NotificationGroup group, String groupKey) {
142 mGroupAlertEntries.remove(groupKey);
197 String groupKey = mGroupManager.getGroupKey(entry.notification);
198 GroupAlertEntry groupAlertEntry = mGroupAlertEntries.get(groupKey);
281 String groupKey = mGroupManager.getGroupKey(group.summary.notification); in isPendingNotificationInGroup() local
283 && Objects.equals(mGroupManager.getGroupKey(entry.notification), groupKey) in isPendingNotificationInGroup()
DNotificationIconContainer.java304 String groupKey = iconView.getNotification().getGroupKey(); in isReplacingIcon() local
305 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/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java203 @Nullable String groupKey) in createRow() argument
205 Notification notif = createNotification(isGroupSummary, groupKey); in createRow()
225 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() argument
226 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification()
238 @Nullable String groupKey, @Nullable BubbleMetadata bubbleMetadata) { in createNotification() argument
253 if (!TextUtils.isEmpty(groupKey)) { in createNotification()
254 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.java270 protected void repostGroupSummary(String pkg, int userId, String groupKey) { in repostGroupSummary() argument
285 && groupKey.equals(potentialGroupSummary.getGroupKey())) { in repostGroupSummary()
DNotificationManagerService.java6514 String groupKey = r.getGroupKey();
6515 NotificationRecord groupSummary = mSummaryByGroupKey.get(groupKey);
6517 mSummaryByGroupKey.remove(groupKey);
6930 String groupKey, int userId) {
6932 records.addAll(findGroupNotificationByListLocked(mNotificationList, pkg, groupKey, userId));
6934 findGroupNotificationByListLocked(mEnqueuedNotifications, pkg, groupKey, userId));
6941 ArrayList<NotificationRecord> list, String pkg, String groupKey, int userId) {
6946 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.java356 UserHandle user, String groupKey, boolean groupSummary) {
362 .setGroup(groupKey)
DNotificationManagerServiceTest.java443 String groupKey, boolean isSummary) { in generateNotificationRecord() argument
447 .setGroup(groupKey) in generateNotificationRecord()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java736 final Key groupKey = new Key(null, key.uid, key.set, key.tag); in dumpCheckin() local
737 NetworkStatsHistory groupHistory = grouped.get(groupKey); in dumpCheckin()
740 grouped.put(groupKey, groupHistory); in dumpCheckin()
/frameworks/base/core/java/android/app/
DNotification.java4321 public Builder setGroup(String groupKey) { in setGroup() argument
4322 mN.mGroupKey = groupKey; in setGroup()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...