Home
last modified time | relevance | path

Searched refs:addNotification (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationGroupTest.java87 mNotificationGroup.addNotification(mNotification1); in addNotification_shouldAdd()
88 mNotificationGroup.addNotification(mNotification1); in addNotification_shouldAdd()
98 mNotificationGroup.addNotification(mNotification1); in addNotification_shouldThrowError()
100 () -> mNotificationGroup.addNotification(mNotification2)); in addNotification_shouldThrowError()
118 mNotificationGroup.addNotification(mNotification1); in setGroupSummaryNotification_shouldReturnTrue()
119 mNotificationGroup.addNotification(mNotification1); in setGroupSummaryNotification_shouldReturnTrue()
134 mNotificationGroup.addNotification(mNotification1); in getChildNotifications_shouldReturnListOfAddedNotifications()
135 mNotificationGroup.addNotification(mNotification1); in getChildNotifications_shouldReturnListOfAddedNotifications()
152 mNotificationGroup.addNotification(mNotification1); in generateChildTitles_shouldReturnListOfStringWithChildTiles()
153 mNotificationGroup.addNotification(mNotification1); in generateChildTitles_shouldReturnListOfStringWithChildTiles()
[all …]
DCarNotificationDiffTest.java107 mNotificationGroup1.addNotification(mNotification1); in setupBaseActivityAndLayout()
108 mNotificationGroup2.addNotification(mNotification2); in setupBaseActivityAndLayout()
109 mNotificationGroup2.addNotification(mNotification2); in setupBaseActivityAndLayout()
110 mNotificationGroup3.addNotification(mNotification3); in setupBaseActivityAndLayout()
184 notificationGroup.addNotification(mNotification1); in sameGroupUniqueIdentifiers_differentIsSeen_shouldReturnFalse()
204 mNotificationGroup4.addNotification(mNotification4); in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
221 mNotificationGroup4.addNotification(mNotification4); in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
330 oldNotificationGroup.addNotification(oldStatusBarNotification); in areBundleEqual_sameSize_shouldReturnTrue()
333 newNotificationGroup.addNotification(newStatusBarNotification); in areBundleEqual_sameSize_shouldReturnTrue()
374 oldNotificationGroup.addNotification(oldAlertEntry); in areBundleEqual_diffSize_shouldReturnFalse()
[all …]
DCarNotificationViewAdapterTest.java133 mNotificationGroup1.addNotification(mNotification1); in setupBaseActivityAndLayout()
137 mNotificationGroup2.addNotification(mNotification1); in setupBaseActivityAndLayout()
335 notificationGroup.addNotification(mNotification1); in onBindViewHolder_group_shouldNotThrowError()
520 notificationGroup.addNotification(mNotification1); in onBindViewHolder_group_shouldNotHideDismissButton()
552 notificationGroup.addNotification(mNotification1); in getItemViewType_shouldReturnGroup()
553 notificationGroup.addNotification(mNotification1); in getItemViewType_shouldReturnGroup()
568 notificationGroup.addNotification( in getItemViewType_shouldReturnCarEmergency()
584 notificationGroup.addNotification( in getItemViewType_shouldReturnCarWarning()
600 notificationGroup.addNotification( in getItemViewType_shouldReturnCarInformation()
616 notificationGroup.addNotification( in getItemViewType_shouldReturnCarInformationInGroup()
[all …]
DNotificationDataManagerTest.java153 notificationGroup.addNotification(mMessageNotification); in updateUnseenNotificationGroups_addHighImportanceNotification_updatesUnseenCount()
170 notificationGroup.addNotification(mMessageNotification); in updateUnseenNotificationGroups_addLowImportanceNotification_unseenCountZero()
187 notificationGroup.addNotification(mMessageNotification); in setVisibleNotificationsAsSeen_notificationIsSeen()
203 notificationGroup.addNotification(mMessageNotification); in isNotificationSeen_notificationIsSeen_returnTrue()
218 notificationGroup1.addNotification(mMessageNotification); in isNotificationSeen_notificationIsNotSeen_returnFalse()
220 notificationGroup2.addNotification(mNonMessageNotification); in isNotificationSeen_notificationIsNotSeen_returnFalse()
236 notificationGroup.addNotification(mMessageNotification); in isNotificationSeen_notificationNotPresentInUnseenMap_returnTrue()
249 notificationGroup.addNotification(mMessageNotification); in setVisibleNotificationsAsSeen_notificationIsSeen_decrementsUnseenCount()
268 notificationGroup.addNotification(mMessageNotification); in setVisibleNotificationsAsSeen_notificationIsSeen_notificationIsVisibleToUser()
284 notificationGroup.addNotification(mMessageNotification); in clearAll_clearsAllUnseenData()
DNotificationClickHandlerFactoryTest.java522 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsSummary()
523 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsSummary()
524 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsSummary()
552 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
553 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
554 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
581 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithoutSummary_clearsAllChildren()
582 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithoutSummary_clearsAllChildren()
583 notificationGroup.addNotification(mAlertEntry2); in onClearNotifications_groupNotificationWithoutSummary_clearsAllChildren()
DCarNotificationViewTest.java264 dismissible.addNotification(notDismissible.getSingleNotification()); in removeNotification_notificationRemoved_partOfGroupRemoved()
322 notificationGroup.addNotification(notification); in getNotificationGroup()
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java401 groupedNotifications.get(groupKey).addNotification(alertEntry); in group()
454 seenNotificationGroup.addNotification(alertEntry); in group()
456 unseenNotificationGroup.addNotification(alertEntry); in group()
479 newGroup.addNotification(notification); in group()
502 newGroup.addNotification(notification); in group()
638 group.addNotification(newNotification); in additionalGroupAndRank()
651 oldGroup.addNotification(newNotification); in additionalGroupAndRank()
675 newGroup.addNotification(alertEntry); in additionalGroupAndRank()
687 newGroup.addNotification(newNotification); in additionalGroupAndRank()
DNotificationGroup.java59 addNotification(alertEntry); in NotificationGroup()
68 addNotification(alertEntry); in NotificationGroup()
83 public void addNotification(AlertEntry alertEntry) { in addNotification() method in NotificationGroup
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java47 addNotification(context, fromAddress, messageBody); in onReceive()
51 private void addNotification(Context context, String fromAddress, String message) { in addNotification() method in SmsMessageReceiver
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java277 newGroup.addNotification(mNotificationGroup.getChildNotifications().get(0)); in collapseGroup()
281 newGroup.addNotification(mNotificationGroup.getGroupSummaryNotification()); in collapseGroup()
397 notificationGroup.addNotification(notification); in addNextPageOfNotificationsToList()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DGroupNotificationViewHolderTest.java207 group.addNotification(alertEntry); in getNotificationGroup()