/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 216 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in setup() 217 when(mStatusBarNotification2.getGroupKey()).thenReturn(GROUP_KEY_B); in setup() 218 when(mStatusBarNotification3.getGroupKey()).thenReturn(GROUP_KEY_A); in setup() 219 when(mStatusBarNotification4.getGroupKey()).thenReturn(GROUP_KEY_B); in setup() 220 when(mStatusBarNotification5.getGroupKey()).thenReturn(GROUP_KEY_B); in setup() 221 when(mStatusBarNotification6.getGroupKey()).thenReturn(GROUP_KEY_C); in setup() 222 when(mSummaryAStatusBarNotification.getGroupKey()).thenReturn(GROUP_KEY_A); in setup() 223 when(mSummaryBStatusBarNotification.getGroupKey()).thenReturn(GROUP_KEY_B); in setup() 224 when(mSummaryCStatusBarNotification.getGroupKey()).thenReturn(GROUP_KEY_C); in setup() 425 actualGroupKeys[i] = groupResult.get(i).getGroupKey(); in onGroup_groupsNotificationsByGroupKey() [all …]
|
D | NotificationGroupTest.java | 127 mNotificationGroup.setGroupKey(mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey() 128 assertThat(mNotificationGroup.getGroupKey()).isEqualTo( in setGroupKey_shouldSetGroupKey() 129 mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
|
D | CarNotificationViewAdapterTest.java | 829 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), in getItemId_shouldReturnHashCode() 834 assertThat(itemId).isEqualTo(notificationGroup.getGroupKey().hashCode()); in getItemId_shouldReturnHashCode() 848 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), in getItemId_showRecentAndOldHeaders_shouldReturnHashCode() 853 assertThat(itemId).isEqualTo((notificationGroup.getGroupKey() + notificationGroup.isSeen()) in getItemId_showRecentAndOldHeaders_shouldReturnHashCode() 866 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), in getItemId_showRecentAndOldHeaders_shouldReturnSingleNotificationHashCode() 883 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), in getItemId_shouldReturnSingleNotificationHashCode() 904 groupSummaryNotification.getStatusBarNotification().getGroupKey()); in shouldRemoveGroupSummary_returnTrue_oneGroupWithSameGroupKeyIsPresent() 925 groupSummaryNotification.getStatusBarNotification().getGroupKey()); in shouldRemoveGroupSummary_returnFalse_multipleGroupsWithSameGroupKeyArePresent()
|
D | CarNotificationDiffTest.java | 207 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse() 223 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationGroup.java | 63 setGroupKey(group.getGroupKey()); in NotificationGroup() 84 assertSameGroupKey(alertEntry.getStatusBarNotification().getGroupKey()); in addNotification() 109 assertSameGroupKey(groupSummaryNotification.getStatusBarNotification().getGroupKey()); in setGroupSummaryNotification() 123 public String getGroupKey() { in getGroupKey() method in NotificationGroup 338 getSingleNotification().getStatusBarNotification().getGroupKey(); in updateGroupKeyOrThrowError()
|
D | PreprocessingManager.java | 385 groupKey = alertEntry.getStatusBarNotification().getGroupKey(); in group() 610 if (!TextUtils.equals(oldGroup.getGroupKey(), in additionalGroupAndRank() 611 newNotification.getStatusBarNotification().getGroupKey())) { in additionalGroupAndRank() 662 newNotification.getStatusBarNotification().getGroupKey()); in additionalGroupAndRank() 699 alertEntry.getStatusBarNotification().getGroupKey(), groupKey)) { in findGroupSummaryNotification() 733 return TextUtils.equals(notification1.getStatusBarNotification().getGroupKey(), in hasSameGroupKey() 734 notification2.getStatusBarNotification().getGroupKey()); in hasSameGroupKey()
|
D | CarNotificationViewAdapter.java | 185 isExpanded(notificationGroup.getGroupKey(), in onBindViewHolderImpl() 227 new ExpandedNotification(notificationGroup.getGroupKey(), in getItemViewTypeImpl() 372 ? notificationGroup.getGroupKey() in getItemId() 442 if ((mGroupKeyToCountMap.computeIfPresent(notificationGroup.getGroupKey(), in setNotifications() 444 mGroupKeyToCountMap.put(notificationGroup.getGroupKey(), 1); in setNotifications()
|
D | CarNotificationDiff.java | 106 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
|
D | CarNotificationItemTouchListener.java | 132 notificationGroup.getGroupKey())) { in CarNotificationItemTouchListener() 296 if (!mAdapter.isExpanded(group.getGroupKey(), group.isSeen())) { in isInteractingWithExpandedGroupNotificationList()
|
D | CarNotificationView.java | 352 long id = notificationGroup.isGroup() ? notificationGroup.getGroupKey().hashCode() : in getNotificationViews()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 132 NotificationGroup notificationGroup = mNotificationGroupMap.get(sbn.getGroupKey()); in handleWorkerMessage() 137 mNotificationGroupMap.remove(sbn.getGroupKey()); in handleWorkerMessage() 261 String newGroupKey = sbn.getGroupKey(); in updateGroupKeyIfNecessary()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 549 Preference group = screen.findPreference(tile.getGroupKey()); in refreshDashboardTiles() 560 && mDashboardTilePrefKeys.containsKey(tile.getGroupKey())) { in refreshDashboardTiles() 561 Preference group = screen.findPreference(tile.getGroupKey()); in refreshDashboardTiles()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolderTest.java | 167 .setExpanded(group.getGroupKey(), group.isSeen(), /* isExpanded= */ false); in bind_22notifications_expanded5ThenCollapse_setExpandedFalse()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolder.java | 337 mParentAdapter.setExpanded(mNotificationGroup.getGroupKey(), in updateOnClickListener()
|
/packages/apps/Settings/src/com/android/settings/notification/history/ |
D | NotificationStation.java | 540 .append(String.valueOf(sbn.getGroupKey())); in generateExtraText()
|