Home
last modified time | relevance | path

Searched refs:CATEGORY_ALARM (Results 1 – 6 of 6) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationCategorizer.java47 protected static final int CATEGORY_ALARM = 5; field in NotificationCategorizer
55 CATEGORY_PEOPLE, CATEGORY_ALARM, CATEGORY_HIGH
82 if (entry.isCategory(Notification.CATEGORY_ALARM) in getCategory()
84 return CATEGORY_ALARM; in getCategory()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationCategorizerTest.java119 when(mEntry.isCategory(Notification.CATEGORY_ALARM)).thenReturn(true); in testAlarmCategory()
121 assertEquals(NotificationCategorizer.CATEGORY_ALARM, nc.getCategory(mEntry)); in testAlarmCategory()
122 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_ALARM)); in testAlarmCategory()
124 when(mEntry.isCategory(Notification.CATEGORY_ALARM)).thenReturn(false); in testAlarmCategory()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.kt164 .setCategory(NotificationCompat.CATEGORY_ALARM) in build()
365 .setCategory(NotificationCompat.CATEGORY_ALARM) in buildMissed()
DTimerNotificationBuilder.java165 .setCategory(NotificationCompat.CATEGORY_ALARM) in build()
364 .setCategory(NotificationCompat.CATEGORY_ALARM) in buildMissed()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java376 .setCategory(NotificationCompat.CATEGORY_ALARM) in showAlarmNotification()
DAlarmNotifications.kt509 .setCategory(NotificationCompat.CATEGORY_ALARM) in showAlarmNotification()