Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationThrottler.java66 String groupKey = notification.getGroup(); in throttle() local
67 if (TextUtils.isEmpty(groupKey)) { in throttle()
87 if (isNotificationInGroup(currentNotification, groupKey)) { in throttle()
96 groupKey, in throttle()
99 List<StatusBarNotification> notifications = getSortedMatchingNotifications(context, groupKey); in throttle()
109 @NonNull Context context, @NonNull String groupKey) { in getSortedMatchingNotifications() argument
113 if (isNotificationInGroup(notification, groupKey)) { in getSortedMatchingNotifications()
129 @NonNull StatusBarNotification notification, @NonNull String groupKey) { in isNotificationInGroup() argument
135 return TextUtils.equals(groupKey, notification.getNotification().getGroup()); in isNotificationInGroup()
DDialerNotificationManager.java74 String groupKey = findGroupKey(notifications, tag, id); in cancel() local
75 if (!TextUtils.isEmpty(groupKey)) { in cancel()
77 getGroupSummaryAndCount(notifications, groupKey); in cancel()
82 groupKey); in cancel()
119 @NonNull StatusBarNotification[] notifications, @NonNull String groupKey) { in getGroupSummaryAndCount() argument
123 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) { in getGroupSummaryAndCount()
DNotificationManagerUtils.java28 public static void cancelAllInGroup(@NonNull Context context, @NonNull String groupKey) { in cancelAllInGroup() argument
30 Assert.checkArgument(!TextUtils.isEmpty(groupKey)); in cancelAllInGroup()
34 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) { in cancelAllInGroup()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationGroup.java65 void setGroupKey(@NonNull String groupKey) { in setGroupKey() argument
66 mGroupKey = groupKey; in setGroupKey()
224 private void assertSameGroupKey(String groupKey) { in assertSameGroupKey() argument
226 setGroupKey(groupKey); in assertSameGroupKey()
227 } else if (!mGroupKey.equals(groupKey)) { in assertSameGroupKey()
230 "mGroupKey: " + mGroupKey + "; groupKey:" + groupKey); in assertSameGroupKey()
DPreprocessingManager.java280 String groupKey; in group() local
283 groupKey = UUID.randomUUID().toString(); in group()
285 groupKey = statusBarNotification.getGroupKey(); in group()
288 if (!groupedNotifications.containsKey(groupKey)) { in group()
290 groupedNotifications.put(groupKey, notificationGroup); in group()
293 groupedNotifications.get(groupKey) in group()
296 groupedNotifications.get(groupKey).addNotification(statusBarNotification); in group()
DCarNotificationViewAdapter.java425 public void setExpanded(String groupKey, boolean isExpanded) { in setExpanded() argument
426 if (isExpanded(groupKey) == isExpanded) { in setExpanded()
431 mExpandedNotifications.add(groupKey); in setExpanded()
433 mExpandedNotifications.remove(groupKey); in setExpanded()
449 boolean isExpanded(String groupKey) { in isExpanded() argument
450 return mExpandedNotifications.contains(groupKey); in isExpanded()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java846 final String groupKey = "groupkey"; in setWearableGroupOptions() local
848 LogUtil.v(TAG, "Group key (for wearables)=" + groupKey); in setWearableGroupOptions()
851 notifBuilder.setGroup(groupKey).setGroupSummary(true); in setWearableGroupOptions()
858 notifBuilder.setGroup(groupKey).setSortKey(sortKey); in setWearableGroupOptions()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java172 Pair<String, Boolean> groupKey = new Pair<>(group.getName(), in addRequestedPermissions() local
175 GroupState state = mRequestGrantPermissionGroups.get(groupKey); in addRequestedPermissions()
178 mRequestGrantPermissionGroups.put(groupKey, state); in addRequestedPermissions()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java138 String tag, String groupKey) { in generateSbn() argument
141 .setGroup(groupKey) in generateSbn()