Home
last modified time | relevance | path

Searched refs:CATEGORY_EVENT (Results 1 – 4 of 4) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationCategorizer.java43 protected static final int CATEGORY_EVENT = 1; field in NotificationCategorizer
54 CATEGORY_SYSTEM_LOW, CATEGORY_EVENT, CATEGORY_REMINDER, CATEGORY_SYSTEM,
66 return category < CATEGORY_EVENT; in shouldSilence()
79 if (entry.isCategory(Notification.CATEGORY_EVENT)) { in getCategory()
80 return CATEGORY_EVENT; in getCategory()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationCategorizerTest.java164 when(mEntry.isCategory(Notification.CATEGORY_EVENT)).thenReturn(true); in testEventCategory()
166 assertEquals(NotificationCategorizer.CATEGORY_EVENT, nc.getCategory(mEntry)); in testEventCategory()
167 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_EVENT)); in testEventCategory()
169 when(mEntry.isCategory(Notification.CATEGORY_EVENT)).thenReturn(false); in testEventCategory()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt131 .setCategory(NotificationCompat.CATEGORY_EVENT) in showLowPriorityNotification()
193 .setCategory(NotificationCompat.CATEGORY_EVENT) in showHighPriorityNotification()
320 .setCategory(NotificationCompat.CATEGORY_EVENT) in updateUpcomingAlarmGroupNotification()
371 .setCategory(NotificationCompat.CATEGORY_EVENT) in updateMissedAlarmGroupNotification()
398 .setCategory(NotificationCompat.CATEGORY_EVENT) in showSnoozeNotification()
456 .setCategory(NotificationCompat.CATEGORY_EVENT) in showMissedNotification()
DAlarmNotifications.java109 .setCategory(NotificationCompat.CATEGORY_EVENT) in showUpcomingNotification()
228 .setCategory(NotificationCompat.CATEGORY_EVENT) in updateUpcomingAlarmGroupNotification()
262 .setCategory(NotificationCompat.CATEGORY_EVENT) in updateMissedAlarmGroupNotification()
285 .setCategory(NotificationCompat.CATEGORY_EVENT) in showSnoozeNotification()
330 .setCategory(NotificationCompat.CATEGORY_EVENT) in showMissedNotification()