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.java42 protected static final int CATEGORY_EVENT = 1; field in NotificationCategorizer
53 CATEGORY_SYSTEM_LOW, CATEGORY_EVENT, CATEGORY_REMINDER, CATEGORY_SYSTEM,
65 return category < CATEGORY_EVENT; in shouldSilence()
78 if (entry.isCategory(Notification.CATEGORY_EVENT)) { in getCategory()
79 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()