Home
last modified time | relevance | path

Searched refs:optimizeForDriving (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java132 rank(group(optimizeForDriving( in process()
160 AlertEntry notification = optimizeForDriving(alertEntry); in updateNotifications()
255 private List<AlertEntry> optimizeForDriving(List<AlertEntry> notifications) { in optimizeForDriving() method in PreprocessingManager
256 notifications.forEach(notification -> notification = optimizeForDriving(notification)); in optimizeForDriving()
270 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving() method in PreprocessingManager
DCarHeadsUpNotificationManager.java162 showHeadsUp(mPreprocessingManager.optimizeForDriving(alertEntry), in maybeShowHeadsUp()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java303 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mNavigation); in onOptimizeForDriving_alertEntryHasNonMessageNotification_trimsNotificationTexts()
341 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mImportantForeground); in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts()