Home
last modified time | relevance | path

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

12

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java114 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_noAction_doesNotCreateButtons() local
130 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible() local
144 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener() local
158 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel() local
173 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muteButtonIsVisible() local
187 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muteButtonHasClickListener() local
202 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muted_muteButtonShowsUnmuteLabel() local
218 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_unmuted_muteButtonShowsMuteLabel() local
233 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_notCarCompatibleMessage_buttonIsVisible() local
246 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_notCarCompatibleMessage_buttonShowsActionTitle() local
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java61 void onStateChange(AlertEntry alertEntry, boolean isHeadsUp); in onStateChange()
131 AlertEntry alertEntry, in maybeShowHeadsUp()
161 public void maybeRemoveHeadsUp(AlertEntry alertEntry) { in maybeRemoveHeadsUp()
205 private void handleHeadsUpNotificationStateChanged(AlertEntry alertEntry, boolean isHeadsUp) { in handleHeadsUpNotificationStateChanged()
223 private boolean isUpdate(AlertEntry alertEntry) { in isUpdate()
236 private boolean canUpdate(AlertEntry alertEntry) { in canUpdate()
247 private HeadsUpEntry addNewHeadsUpEntry(AlertEntry alertEntry) { in addNewHeadsUpEntry()
285 private void showHeadsUp(AlertEntry alertEntry, in showHeadsUp()
383 private void playSound(AlertEntry alertEntry, in playSound()
398 private boolean shouldDismissOnSwipe(AlertEntry alertEntry) { in shouldDismissOnSwipe()
[all …]
DCarNotificationListener.java121 AlertEntry alertEntry = new AlertEntry(sbn); in onNotificationPosted() local
130 AlertEntry alertEntry = mActiveNotifications.get(sbn.getKey()); in onNotificationRemoved() local
203 private void notifyNotificationPosted(AlertEntry alertEntry) { in notifyNotificationPosted()
227 public void onStateChange(AlertEntry alertEntry, boolean isHeadsUp) { in onStateChange()
240 private void postNewNotification(AlertEntry alertEntry) { in postNewNotification()
241 mActiveNotifications.put(alertEntry.getKey(), alertEntry); in postNewNotification() local
245 private void removeNotification(AlertEntry alertEntry) { in removeNotification()
250 private void sendNotificationEventToHandler(AlertEntry alertEntry, int eventType) { in sendNotificationEventToHandler()
262 boolean shouldTrackUnseen(AlertEntry alertEntry) { in shouldTrackUnseen()
DNotificationDataManager.java86 void addNewMessageNotification(AlertEntry alertEntry) { in addNewMessageNotification()
102 void untrackUnseenNotification(AlertEntry alertEntry) { in untrackUnseenNotification()
141 public boolean isMessageNotificationMuted(AlertEntry alertEntry) { in isMessageNotificationMuted()
153 public void toggleMute(AlertEntry alertEntry) { in toggleMute()
DNotificationClickHandlerFactory.java64 void onNotificationClicked(int launchResult, AlertEntry alertEntry); in onNotificationClicked()
103 public View.OnClickListener getClickHandler(AlertEntry alertEntry) { in getClickHandler()
147 public View.OnClickListener getActionClickHandler(AlertEntry alertEntry, int index) { in getActionClickHandler()
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()
DPreprocessingManager.java150 AlertEntry alertEntry, in updateNotifications()
196 boolean shouldFilter(AlertEntry alertEntry, RankingMap rankingMap) { in shouldFilter()
224 private boolean isLessImportantForegroundNotification(AlertEntry alertEntry, in isLessImportantForegroundNotification()
245 private boolean isMediaOrNavigationNotification(AlertEntry alertEntry) { in isMediaOrNavigationNotification()
272 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving()
324 AlertEntry alertEntry = list.get(i); in group() local
DNotificationGroup.java50 public NotificationGroup(AlertEntry alertEntry) { in NotificationGroup()
54 public void addNotification(AlertEntry alertEntry) { in addNotification()
DNotificationViewController.java123 boolean showLessImportantNotifications, int what, AlertEntry alertEntry) { in updateNotifications()
DCarNotificationTypeItem.java162 public void bind(AlertEntry alertEntry, boolean isHeadsUp, in bind()
DCarNotificationItemTouchListener.java447 private void clearNotification(AlertEntry alertEntry) { in clearNotification()
/packages/services/Car/tests/SecondaryHomeApp/src/com/android/car/secondaryhome/launcher/
DNotificationListener.java92 AlertEntry alertEntry = new AlertEntry(sbn); in onNotificationPosted() local
99 AlertEntry alertEntry = mActiveNotifications.get(sbn.getKey()); in onNotificationRemoved() local
131 private void notifyNotificationPosted(AlertEntry alertEntry) { in notifyNotificationPosted()
146 private void postNewNotification(AlertEntry alertEntry) { in postNewNotification()
147 mActiveNotifications.put(alertEntry.getKey(), alertEntry); in postNewNotification() local
151 private void removeNotification(AlertEntry alertEntry) { in removeNotification()
156 private void sendNotificationEventToHandler(AlertEntry alertEntry, int eventType) { in sendNotificationEventToHandler()
DNotificationViewController.java72 private void updateNotifications(int what, AlertEntry alertEntry) { in updateNotifications()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DNotificationUtilsTest.java186 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType() local
200 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox() local
210 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic() local
DCarNotificationListenerTest.java247 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onStateChange_hunNoLongerHun_notifiesHandler() local
266 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local
267 mCarNotificationListener.getNotifications().put(alertEntry.getKey(), alertEntry); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification() local
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCallNotificationViewHolder.java50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
61 private void bindBody(AlertEntry alertEntry) { in bindBody()
DInboxNotificationViewHolder.java50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
61 private void bindBody(AlertEntry alertEntry) { in bindBody()
DNavigationNotificationViewHolder.java50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
61 private void bindBody(AlertEntry alertEntry) { in bindBody()
DBasicNotificationViewHolder.java50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
61 private void bindBody(AlertEntry alertEntry) { in bindBody()
DMessageNotificationViewHolder.java82 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
94 public void bindRestricted(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bindRestricted()
104 private void bindBody(AlertEntry alertEntry, boolean isInGroup, boolean isRestricted, in bindBody()
DProgressNotificationViewHolder.java60 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
71 private void bindBody(AlertEntry alertEntry) { in bindBody()
DCarNotificationActionsView.java109 public void bind(NotificationClickHandlerFactory clickHandlerFactory, AlertEntry alertEntry) { in bind()
190 AlertEntry alertEntry) { in createPlayButton()
205 AlertEntry alertEntry) { in createMuteButton()
DEmergencyNotificationViewHolder.java62 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
DCarNotificationHeaderView.java111 public void bind(AlertEntry alertEntry, boolean isInGroup) { in bind()
DCarNotificationBaseViewHolder.java117 public void bind(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bind()

12