/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/template/ |
D | CarNotificationActionsViewTest.java | 114 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/ |
D | CarHeadsUpNotificationManager.java | 61 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 …]
|
D | CarNotificationListener.java | 121 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()
|
D | NotificationDataManager.java | 86 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()
|
D | NotificationClickHandlerFactory.java | 64 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()
|
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()
|
D | PreprocessingManager.java | 150 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
|
D | NotificationGroup.java | 50 public NotificationGroup(AlertEntry alertEntry) { in NotificationGroup() 54 public void addNotification(AlertEntry alertEntry) { in addNotification()
|
D | NotificationViewController.java | 123 boolean showLessImportantNotifications, int what, AlertEntry alertEntry) { in updateNotifications()
|
D | CarNotificationTypeItem.java | 162 public void bind(AlertEntry alertEntry, boolean isHeadsUp, in bind()
|
D | CarNotificationItemTouchListener.java | 447 private void clearNotification(AlertEntry alertEntry) { in clearNotification()
|
/packages/services/Car/tests/SecondaryHomeApp/src/com/android/car/secondaryhome/launcher/ |
D | NotificationListener.java | 92 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()
|
D | NotificationViewController.java | 72 private void updateNotifications(int what, AlertEntry alertEntry) { in updateNotifications()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | NotificationUtilsTest.java | 186 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
|
D | CarNotificationListenerTest.java | 247 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/ |
D | CallNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | InboxNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | NavigationNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | BasicNotificationViewHolder.java | 50 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 61 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | MessageNotificationViewHolder.java | 82 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()
|
D | ProgressNotificationViewHolder.java | 60 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind() 71 private void bindBody(AlertEntry alertEntry) { in bindBody()
|
D | CarNotificationActionsView.java | 109 public void bind(NotificationClickHandlerFactory clickHandlerFactory, AlertEntry alertEntry) { in bind() 190 AlertEntry alertEntry) { in createPlayButton() 205 AlertEntry alertEntry) { in createMuteButton()
|
D | EmergencyNotificationViewHolder.java | 62 public void bind(AlertEntry alertEntry, boolean isInGroup, in bind()
|
D | CarNotificationHeaderView.java | 111 public void bind(AlertEntry alertEntry, boolean isInGroup) { in bind()
|
D | CarNotificationBaseViewHolder.java | 117 public void bind(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp) { in bind()
|