Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java216 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 …]
DNotificationGroupTest.java127 mNotificationGroup.setGroupKey(mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
128 assertThat(mNotificationGroup.getGroupKey()).isEqualTo( in setGroupKey_shouldSetGroupKey()
129 mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
DCarNotificationViewAdapterTest.java829 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()
DCarNotificationDiffTest.java207 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/
DNotificationGroup.java63 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()
DPreprocessingManager.java385 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()
DCarNotificationViewAdapter.java185 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()
DCarNotificationDiff.java106 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
DCarNotificationItemTouchListener.java132 notificationGroup.getGroupKey())) { in CarNotificationItemTouchListener()
296 if (!mAdapter.isExpanded(group.getGroupKey(), group.isSeen())) { in isInteractingWithExpandedGroupNotificationList()
DCarNotificationView.java352 long id = notificationGroup.isGroup() ? notificationGroup.getGroupKey().hashCode() : in getNotificationViews()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java132 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/
DDashboardFragment.java549 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/
DGroupNotificationViewHolderTest.java167 .setExpanded(group.getGroupKey(), group.isSeen(), /* isExpanded= */ false); in bind_22notifications_expanded5ThenCollapse_setExpandedFalse()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java337 mParentAdapter.setExpanded(mNotificationGroup.getGroupKey(), in updateOnClickListener()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java540 .append(String.valueOf(sbn.getGroupKey())); in generateExtraText()