Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java177 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in setup()
178 when(mStatusBarNotification2.getGroupKey()).thenReturn(GROUP_KEY_B); in setup()
179 when(mStatusBarNotification3.getGroupKey()).thenReturn(GROUP_KEY_A); in setup()
180 when(mStatusBarNotification4.getGroupKey()).thenReturn(GROUP_KEY_B); in setup()
181 when(mStatusBarNotification5.getGroupKey()).thenReturn(GROUP_KEY_B); in setup()
182 when(mStatusBarNotification6.getGroupKey()).thenReturn(GROUP_KEY_C); in setup()
183 when(mSummaryStatusBarNotification.getGroupKey()).thenReturn(GROUP_KEY_C); in setup()
365 actualGroupKeys[i] = groupResult.get(i).getGroupKey(); in onGroup_groupsNotificationsByGroupKey()
519 String actualGroupKey = rankResult.get(i).getGroupKey(); in onRank_ranksNotificationGroups()
533 assertThat(groupB.getGroupKey()).isEqualTo(GROUP_KEY_B); in onRank_ranksNotificationsInEachGroup()
[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()
DCarNotificationDiffTest.java197 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
213 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
DCarNotificationViewAdapterTest.java597 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), false); in getItemViewType_shouldReturnGroupCollapsed()
614 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemViewType_shouldReturnGroupExpanded()
885 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemId_shouldReturnHashCode()
889 assertThat(itemId).isEqualTo(notificationGroup.getGroupKey().hashCode()); in getItemId_shouldReturnHashCode()
900 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemId_shouldReturnSingleNotificationHashCode()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationGroup.java55 assertSameGroupKey(alertEntry.getStatusBarNotification().getGroupKey()); in addNotification()
60 assertSameGroupKey(groupSummaryNotification.getStatusBarNotification().getGroupKey()); in setGroupSummaryNotification()
74 public String getGroupKey() { in getGroupKey() method in NotificationGroup
DPreprocessingManager.java330 groupKey = alertEntry.getStatusBarNotification().getGroupKey(); in group()
436 if (TextUtils.equals(oldGroup.getGroupKey(), in additionalGroupAndRank()
437 newNotification.getStatusBarNotification().getGroupKey())) { in additionalGroupAndRank()
476 return TextUtils.equals(notification1.getStatusBarNotification().getGroupKey(), in hasSameGroupKey()
477 notification2.getStatusBarNotification().getGroupKey()); in hasSameGroupKey()
DCarNotificationViewAdapter.java186 if (mExpandedNotifications.contains(notificationGroup.getGroupKey())) { in getItemViewTypeImpl()
191 } else if (mExpandedNotifications.contains(notificationGroup.getGroupKey())) { in getItemViewTypeImpl()
195 setExpanded(notificationGroup.getGroupKey(), false); in getItemViewTypeImpl()
307 ? notificationGroup.getGroupKey().hashCode() in getItemId()
DCarNotificationDiff.java98 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
DCarNotificationItemTouchListener.java241 mViewHolder.getAlertEntry().getStatusBarNotification().getGroupKey())) { in onInterceptTouchEvent()
DCarNotificationView.java273 long id = notificationGroup.isGroup() ? notificationGroup.getGroupKey().hashCode() : in getNotificationViews()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java129 NotificationGroup notificationGroup = mNotificationGroupMap.get(sbn.getGroupKey()); in handleWorkerMessage()
139 mNotificationGroupMap.remove(sbn.getGroupKey()); in handleWorkerMessage()
270 String newGroupKey = sbn.getGroupKey(); in updateGroupKeyIfNecessary()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java209 parentAdapter.setExpanded(group.getGroupKey(), isExpanding); in updateOnClickListener()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java540 .append(String.valueOf(sbn.getGroupKey())); in generateExtraText()