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.java155 rank(group(optimizeForDriving( in process()
183 AlertEntry notification = optimizeForDriving(alertEntry); in updateNotifications()
303 private List<AlertEntry> optimizeForDriving(List<AlertEntry> notifications) { in optimizeForDriving() method in PreprocessingManager
304 notifications.forEach(notification -> notification = optimizeForDriving(notification)); in optimizeForDriving()
318 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving() method in PreprocessingManager
DCarHeadsUpNotificationManager.java181 mPreprocessingManager.optimizeForDriving(alertEntry), in CarHeadsUpNotificationManager()
265 showHeadsUp(mPreprocessingManager.optimizeForDriving(alertEntry), in maybeShowHeadsUp()
270 showHeadsUp(mPreprocessingManager.optimizeForDriving(alertEntry), in maybeShowHeadsUp()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java360 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mNavigation); in onOptimizeForDriving_alertEntryHasNonMessageNotification_trimsNotificationTexts()
398 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mImportantForeground); in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts()