Home
last modified time | relevance | path

Searched defs:alertEntry (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DCarNotificationListener.java142 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 DCarHeadsUpNotificationManager.java151 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 DNotificationDataManager.java108 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 DNotificationClickHandlerFactory.java68 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 DNotificationUtils.java64 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 DPreprocessingManager.java169 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 DNotificationGroup.java56 public NotificationGroup(AlertEntry alertEntry) { in NotificationGroup()
81 public void addNotification(AlertEntry alertEntry) { in addNotification()
91 public boolean removeNotification(AlertEntry alertEntry) { in removeNotification()
H A DNotificationViewController.java130 boolean showLessImportantNotifications, int what, AlertEntry alertEntry) { in updateNotifications()
H A DCarNotificationTypeItem.java162 public void bind(AlertEntry alertEntry, boolean isHeadsUp, in bind()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAlertingNotificationManager.java83 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 DCarNotificationListenerTest.java260 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 DNotificationUtilsTest.java218 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 DBasicNotificationViewHolder.java48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
59 private void bindBody(AlertEntry alertEntry) { in bindBody()
H A DCallNotificationViewHolder.java48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
59 private void bindBody(AlertEntry alertEntry) { in bindBody()
H A DInboxNotificationViewHolder.java49 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
60 private void bindBody(AlertEntry alertEntry) { in bindBody()
H A DNavigationNotificationViewHolder.java48 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
59 private void bindBody(AlertEntry alertEntry) { in bindBody()
H A DProgressNotificationViewHolder.java59 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
70 private void bindBody(AlertEntry alertEntry) { in bindBody()
H A DCarNotificationActionsView.java180 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 DCarNotificationBaseViewHolder.java153 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 DMessageNotificationViewHolder.java96 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 DEmergencyNotificationViewHolder.java62 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
H A DCarNotificationHeaderView.java109 public void bind(AlertEntry alertEntry, boolean isInGroup) { in bind()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DAlertingNotificationManagerTest.java90 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 DHeadsUpManager.java175 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 DGroupNotificationViewHolderTest.java183 AlertEntry alertEntry = new AlertEntry( in getNotificationGroup() local

12