Home
last modified time | relevance | path

Searched refs:CATEGORY_EVENT (Results 1 – 2 of 2) 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()