Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DPreprocessingManager.java153 rank(group(optimizeForDriving( in process()
181 AlertEntry notification = optimizeForDriving(alertEntry); in updateNotifications()
297 private List<AlertEntry> optimizeForDriving(List<AlertEntry> notifications) { in optimizeForDriving() method in PreprocessingManager
298 notifications.forEach(notification -> notification = optimizeForDriving(notification)); in optimizeForDriving()
312 AlertEntry optimizeForDriving(AlertEntry alertEntry) { in optimizeForDriving() method in PreprocessingManager
H A DCarHeadsUpNotificationManager.java181 showHeadsUp(mPreprocessingManager.optimizeForDriving(alertEntry), in maybeShowHeadsUp()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DPreprocessingManagerTest.java357 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mNavigation); in onOptimizeForDriving_alertEntryHasNonMessageNotification_trimsNotificationTexts()
395 AlertEntry optimized = mPreprocessingManager.optimizeForDriving(mImportantForeground); in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts()