Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java285 groupKey = statusBarNotification.getGroupKey(); in group()
384 if (TextUtils.equals(oldGroup.getGroupKey(), newNotification.getGroupKey())) { in additionalGroup()
403 return TextUtils.equals(notification1.getGroupKey(), notification2.getGroupKey()); in hasSameGroupKey()
529 if (mRanking.containsKey(group.getGroupKey())) { in getRanking()
530 rankingNumber = mRanking.get(group.getGroupKey()); in getRanking()
543 mRanking.putIfAbsent(group.getGroupKey(), rankingNumber); in getRanking()
DNotificationGroup.java56 assertSameGroupKey(statusBarNotification.getGroupKey()); in addNotification()
61 assertSameGroupKey(groupSummaryNotification.getGroupKey()); in setGroupSummaryNotification()
75 public String getGroupKey() { in getGroupKey() method in NotificationGroup
DCarNotificationViewAdapter.java303 if (mExpandedNotifications.contains(notificationGroup.getGroupKey())) { in getItemViewType()
308 } else if (mExpandedNotifications.contains(notificationGroup.getGroupKey())) { in getItemViewType()
312 setExpanded(notificationGroup.getGroupKey(), false); in getItemViewType()
415 ? notificationGroup.getGroupKey().hashCode() in getItemId()
DCarNotificationDiff.java91 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers()
DCarNotificationItemTouchListener.java257 if (mAdapter.isExpanded(mViewHolder.getStatusBarNotification().getGroupKey())) { in onInterceptTouchEvent()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DNotificationGroupTest.java128 mNotificationGroup.setGroupKey(mNOTIFICATION1.getGroupKey()); in setGroupKey_shouldSetGroupKey()
129 assertThat(mNotificationGroup.getGroupKey()).isEqualTo(mNOTIFICATION1.getGroupKey()); in setGroupKey_shouldSetGroupKey()
DCarNotificationViewAdapterTest.java518 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), false); in getItemViewType_shouldReturnGroupCollapsed()
535 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemViewType_shouldReturnGroupExpanded()
729 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemId_shouldReturnHashCode()
733 assertThat(itemId).isEqualTo(notificationGroup.getGroupKey().hashCode()); in getItemId_shouldReturnHashCode()
744 mCarNotificationViewAdapter.setExpanded(notificationGroup.getGroupKey(), true); in getItemId_shouldReturnSingleNotificationHashCode()
DCarNotificationDiffTest.java196 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
212 assertThat(mNotificationGroup1.getGroupKey()).isEqualTo(mNotificationGroup4.getGroupKey()); in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java267 NotificationGroup notificationGroup = mNotificationGroupMap.get(sbn.getGroupKey()); in onNotificationRemoved()
276 mNotificationGroupMap.remove(sbn.getGroupKey()); in onNotificationRemoved()
301 String newGroupKey = sbn.getGroupKey(); in updateGroupKeyIfNecessary()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java193 parentAdapter.setExpanded(group.getGroupKey(), isExpanding); in updateOnClickListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java354 .append(String.valueOf(sbn.getGroupKey())); in generateExtraText()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java354 .append(String.valueOf(sbn.getGroupKey())); in generateExtraText()