Searched refs:isCategory (Results 1 – 4 of 4) sorted by relevance
119 when(mEntry.isCategory(Notification.CATEGORY_ALARM)).thenReturn(true); in testAlarmCategory()124 when(mEntry.isCategory(Notification.CATEGORY_ALARM)).thenReturn(false); in testAlarmCategory()134 when(mEntry.isCategory(Notification.CATEGORY_CALL)).thenReturn(true); in testCallCategory()139 when(mEntry.isCategory(Notification.CATEGORY_CALL)).thenReturn(false); in testCallCategory()149 when(mEntry.isCategory(Notification.CATEGORY_REMINDER)).thenReturn(true); in testReminderCategory()154 when(mEntry.isCategory(Notification.CATEGORY_REMINDER)).thenReturn(false); in testReminderCategory()164 when(mEntry.isCategory(Notification.CATEGORY_EVENT)).thenReturn(true); in testEventCategory()169 when(mEntry.isCategory(Notification.CATEGORY_EVENT)).thenReturn(false); in testEventCategory()
218 assertTrue(entry.isCategory(Notification.CATEGORY_EMAIL)); in testIsCategory()219 assertFalse(entry.isCategory(Notification.CATEGORY_MESSAGE)); in testIsCategory()
76 if (entry.isCategory(Notification.CATEGORY_REMINDER)) { in getCategory()79 if (entry.isCategory(Notification.CATEGORY_EVENT)) { in getCategory()82 if (entry.isCategory(Notification.CATEGORY_ALARM) in getCategory()87 if (entry.isCategory(Notification.CATEGORY_CALL)) { in getCategory()
230 public boolean isCategory(String category) { in isCategory() method in NotificationEntry282 return isCategory(CATEGORY_MESSAGE) in isMessaging()