/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | CarNotificationListener.java | 142 AlertEntry alertEntry = new AlertEntry(sbn); in onNotificationPosted() local 155 AlertEntry alertEntry = mActiveNotifications.get(sbn.getKey()); in onNotificationRemoved() local 182 private boolean updateOverrideGroupKey(AlertEntry alertEntry) { in updateOverrideGroupKey() 244 private void notifyNotificationPosted(AlertEntry alertEntry) { in notifyNotificationPosted() 271 public void onStateChange(AlertEntry alertEntry, boolean isHeadsUp) { in onStateChange() 285 private void postNewNotification(AlertEntry alertEntry) { in postNewNotification() 286 mActiveNotifications.put(alertEntry.getKey(), alertEntry); in postNewNotification() local 290 private void removeNotification(AlertEntry alertEntry) { in removeNotification() 295 private void sendNotificationEventToHandler(AlertEntry alertEntry, int eventType) { in sendNotificationEventToHandler() 305 private boolean isNotificationHigherThanLowImportance(AlertEntry alertEntry) { in isNotificationHigherThanLowImportance()
|
H A D | CarHeadsUpNotificationManager.java | 151 AlertEntry alertEntry, in maybeShowHeadsUp() 191 public void maybeRemoveHeadsUp(AlertEntry alertEntry) { in maybeRemoveHeadsUp() 265 private boolean isUpdate(AlertEntry alertEntry) { in isUpdate() 278 private boolean canUpdate(AlertEntry alertEntry) { in canUpdate() 327 private void showHeadsUp(AlertEntry alertEntry, in showHeadsUp() 453 private void playSound(AlertEntry alertEntry, in playSound() 491 private boolean hasFullScreenIntent(AlertEntry alertEntry) { in hasFullScreenIntent() 532 private void dismissHun(AlertEntry alertEntry) { in dismissHun() 536 private void removeHun(AlertEntry alertEntry) { in removeHun() 544 private void resetView(AlertEntry alertEntry) { in resetView() [all …]
|
H A D | NotificationDataManager.java | 108 void addNewMessageNotification(AlertEntry alertEntry) { in addNewMessageNotification() 128 void untrackUnseenNotification(AlertEntry alertEntry) { in untrackUnseenNotification() 180 boolean isNotificationSeen(AlertEntry alertEntry) { in isNotificationSeen() 188 public boolean isMessageNotificationMuted(AlertEntry alertEntry) { in isMessageNotificationMuted() 200 public void toggleMute(AlertEntry alertEntry) { in toggleMute()
|
H A D | NotificationClickHandlerFactory.java | 68 void onNotificationClicked(int launchResult, AlertEntry alertEntry); in onNotificationClicked() 98 public View.OnClickListener getClickHandler(AlertEntry alertEntry) { in getClickHandler() 142 public View.OnClickListener getActionClickHandler(AlertEntry alertEntry, int index) { in getActionClickHandler()
|
H A D | NotificationUtils.java | 64 public static boolean isSystemPrivilegedOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemPrivilegedOrPlatformKey() 78 public static boolean isSystemOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemOrPlatformKey() 110 public static CarNotificationTypeItem getNotificationViewType(AlertEntry alertEntry) { in getNotificationViewType() 160 AlertEntry alertEntry, boolean checkForPrivilegedApp) { in isSystemPrivilegedOrPlatformKeyInner()
|
H A D | PreprocessingManager.java | 169 AlertEntry alertEntry, in updateNotifications() 209 boolean shouldFilter(AlertEntry alertEntry, RankingMap rankingMap) { in shouldFilter() 241 private boolean isLessImportantForegroundNotification(AlertEntry alertEntry, in isLessImportantForegroundNotification() 281 private boolean isMediaOrNavigationNotification(AlertEntry alertEntry) { in isMediaOrNavigationNotification() 312 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving() 371 AlertEntry alertEntry = list.get(i); in group() local
|
H A D | NotificationGroup.java | 56 public NotificationGroup(AlertEntry alertEntry) { in NotificationGroup() 81 public void addNotification(AlertEntry alertEntry) { in addNotification() 91 public boolean removeNotification(AlertEntry alertEntry) { in removeNotification()
|
H A D | NotificationViewController.java | 130 boolean showLessImportantNotifications, int what, AlertEntry alertEntry) { in updateNotifications()
|
H A D | CarNotificationTypeItem.java | 162 public void bind(AlertEntry alertEntry, boolean isHeadsUp, in bind()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AlertingNotificationManager.java | 83 AlertEntry alertEntry = mAlertEntries.get(key); in removeNotification() local 107 AlertEntry alertEntry = mAlertEntries.get(key); in updateNotification() local 183 AlertEntry alertEntry = createAlertEntry(); in addAlertEntry() local 185 mAlertEntries.put(entry.getKey(), alertEntry); in addAlertEntry() local 195 protected abstract void onAlertEntryAdded(@NonNull AlertEntry alertEntry); in onAlertEntryAdded() 202 AlertEntry alertEntry = mAlertEntries.get(key); in removeAlertEntry() local 229 protected abstract void onAlertEntryRemoved(@NonNull AlertEntry alertEntry); in onAlertEntryRemoved() 246 AlertEntry alertEntry = mAlertEntries.get(key); in canRemoveImmediately() local 270 AlertEntry alertEntry = mAlertEntries.get(entry.getKey()); in setShouldManageLifetime() local 339 public int compareTo(@NonNull AlertEntry alertEntry) { in compareTo()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | CarNotificationListenerTest.java | 260 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onStateChange_hunNoLongerHun_notifiesHandler() local 270 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onStateChange_overrideGroupKeySet() local 290 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local 291 mCarNotificationListener.getNotifications().put(alertEntry.getKey(), alertEntry); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local
|
H A D | NotificationUtilsTest.java | 218 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox() local 228 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic() local
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | BasicNotificationViewHolder.java | 48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 59 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
H A D | CallNotificationViewHolder.java | 48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 59 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
H A D | InboxNotificationViewHolder.java | 49 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 60 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
H A D | NavigationNotificationViewHolder.java | 48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 59 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
H A D | ProgressNotificationViewHolder.java | 59 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 70 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
H A D | CarNotificationActionsView.java | 180 public void bind(NotificationClickHandlerFactory clickHandlerFactory, AlertEntry alertEntry) { in bind() 277 AlertEntry alertEntry) { in createPlayButton() 293 AlertEntry alertEntry) { in createReplyButton() 310 AlertEntry alertEntry, boolean canReply) { in createMuteButton()
|
H A D | CarNotificationBaseViewHolder.java | 153 public void bind(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bind() 334 void updateDismissButton(AlertEntry alertEntry, boolean isHeadsUp) { in updateDismissButton() 407 View.OnClickListener getDismissHandler(AlertEntry alertEntry) { in getDismissHandler()
|
H A D | MessageNotificationViewHolder.java | 96 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 108 public void bindRestricted(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bindRestricted() 119 private void bindBody(AlertEntry alertEntry, boolean isInGroup, boolean isRestricted, in bindBody()
|
H A D | EmergencyNotificationViewHolder.java | 62 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
|
H A D | CarNotificationHeaderView.java | 109 public void bind(AlertEntry alertEntry, boolean isInGroup) { in bind()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | AlertingNotificationManagerTest.java | 90 protected void onAlertEntryAdded(AlertEntry alertEntry) {} in onAlertEntryAdded() 93 protected void onAlertEntryRemoved(AlertEntry alertEntry) {} in onAlertEntryRemoved()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HeadsUpManager.java | 175 protected void onAlertEntryAdded(AlertEntry alertEntry) { in onAlertEntryAdded() 186 protected void onAlertEntryRemoved(AlertEntry alertEntry) { in onAlertEntryRemoved() 420 public int compareTo(@NonNull AlertEntry alertEntry) { in compareTo()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
H A D | GroupNotificationViewHolderTest.java | 183 AlertEntry alertEntry = new AlertEntry( in getNotificationGroup() local
|