HomeSort by relevance Sort by last modified time
    Searched refs:groupKey (Results 1 - 25 of 32) sorted by null

1 2

  /packages/apps/Dialer/java/com/android/dialer/notification/
NotificationThrottler.java 55 String groupKey = notification.getGroup();
56 if (TextUtils.isEmpty(groupKey)) {
76 if (isNotificationInGroup(currentNotification, groupKey)) {
84 "groupKey: %s is over limit, count: %d, limit: %d",
85 groupKey,
88 List<StatusBarNotification> notifications = getSortedMatchingNotifications(context, groupKey);
96 @NonNull Context context, @NonNull String groupKey) {
100 if (isNotificationInGroup(notification, groupKey)) {
116 @NonNull StatusBarNotification notification, @NonNull String groupKey) {
122 return TextUtils.equals(groupKey, notification.getNotification().getGroup())
    [all...]
NotificationManagerUtils.java 28 public static void cancelAllInGroup(@NonNull Context context, @NonNull String groupKey) {
30 Assert.checkArgument(!TextUtils.isEmpty(groupKey));
34 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) {
DialerNotificationManager.java 69 String groupKey = findGroupKey(notifications, tag, id);
70 if (!TextUtils.isEmpty(groupKey)) {
72 getGroupSummaryAndCount(notifications, groupKey);
77 groupKey);
104 @NonNull StatusBarNotification[] notifications, @NonNull String groupKey) {
108 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) {
  /frameworks/base/core/java/android/service/notification/
StatusBarNotification.java 37 private String groupKey;
67 this.groupKey = groupKey();
90 this.groupKey = groupKey();
113 this.groupKey = groupKey();
124 private String groupKey() {
317 return groupKey;
336 groupKey = groupKey()
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationGroupManager.java 96 String groupKey = getGroupKey(sbn);
97 final NotificationGroup group = mGroupMap.get(groupKey);
113 mGroupMap.remove(groupKey);
124 String groupKey = getGroupKey(sbn);
125 NotificationGroup group = mGroupMap.get(groupKey);
128 mGroupMap.put(groupKey, group);
160 String groupKey = getGroupKey(shadeEntry.notification);
161 NotificationGroup group = mGroupMap.get(groupKey);
236 String groupKey = getGroupKey(group.summary.notification);
242 if (!Objects.equals(getGroupKey(entry.notification), groupKey)) {
    [all...]
NotificationIconContainer.java 303 String groupKey = iconView.getNotification().getGroupKey();
304 ArrayList<StatusBarIcon> statusBarIcons = mReplacingIcons.get(groupKey);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
NotificationTestHelper.java 65 return createRow(pkg, uid, false /* isGroupSummary */, null /* groupKey */);
90 private ExpandableNotificationRow createGroupSummary(String groupkey) throws Exception {
91 return createRow(PKG, UID, true /* isGroupSummary */, groupkey);
94 private ExpandableNotificationRow createGroupChild(String groupkey) throws Exception {
95 return createRow(PKG, UID, false /* isGroupSummary */, groupkey);
104 * @param groupKey the group key for the notification group used across notifications
106 * groupKey is non-null
113 @Nullable String groupKey)
131 if (!TextUtils.isEmpty(groupKey)) {
132 notificationBuilder.setGroup(groupKey);
    [all...]
  /platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
NotificationHelper.java 136 * @param groupKey the group key of group notification
140 public void sendBundlingNotifications(List<Integer> lists, String groupKey,
148 .setGroup(groupKey)
158 .setGroup(groupKey)
165 .setSubText(groupKey)
167 .setGroup(groupKey)
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationHelper.java 169 public void sendBundlingNotifications(List<Integer> lists, String groupKey) throws Exception {
173 .setGroup(groupKey)
180 .setGroup(groupKey)
186 .setSubText(groupKey)
188 .setGroup(groupKey)
  /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
GroupHelperTest.java 63 UserHandle user, String groupKey) {
67 if (groupKey != null) {
68 nb.setGroup(groupKey);
BuzzBeepBlinkTest.java 242 private NotificationRecord getBeepyNotificationRecord(String groupKey, int groupAlertBehavior) {
244 groupKey, groupAlertBehavior, false);
249 boolean defaultSound, boolean defaultLights, String groupKey, int groupAlertBehavior,
291 builder.setGroup(groupKey);
    [all...]
SnoozeHelperTest.java 297 UserHandle user, String groupKey, boolean groupSummary) {
303 .setGroup(groupKey)
NotificationManagerServiceTest.java 320 String groupKey, boolean isSummary) {
324 .setGroup(groupKey)
    [all...]
  /cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/
LegacyNotificationManagerTest.java 231 private void sendNotification(final int id, String groupKey, final int icon) throws Exception {
246 .setGroup(groupKey)
  /frameworks/base/services/core/java/com/android/server/notification/
SnoozeHelper.java 270 protected void repostGroupSummary(String pkg, int userId, String groupKey) {
285 && groupKey.equals(potentialGroupSummary.getGroupKey())) {
RankingHelper.java 475 final String groupKey = record.getGroupKey();
476 NotificationRecord existingProxy = mProxyByGroupTmp.get(groupKey);
478 mProxyByGroupTmp.put(groupKey, record);
    [all...]
NotificationManagerService.java     [all...]
  /frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
AssistantTest.java 124 String tag, String groupKey) {
127 .setGroup(groupKey)
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleNotifications.java     [all...]
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsCollection.java 736 final Key groupKey = new Key(null, key.uid, key.set, key.tag);
737 NetworkStatsHistory groupHistory = grouped.get(groupKey);
740 grouped.put(groupKey, groupHistory);
  /cts/tests/app/src/android/app/cts/
NotificationManagerTest.java     [all...]
  /frameworks/support/compat/src/main/java/androidx/core/app/
NotificationCompat.java     [all...]
  /frameworks/base/core/java/android/app/
Notification.java     [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar 
  /prebuilts/sdk/21/
android.jar 

Completed in 766 milliseconds

1 2