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()
217 assertTrue(entry.isCategory(Notification.CATEGORY_EMAIL)); in testIsCategory()218 assertFalse(entry.isCategory(Notification.CATEGORY_MESSAGE)); in testIsCategory()
75 if (entry.isCategory(Notification.CATEGORY_REMINDER)) { in getCategory()78 if (entry.isCategory(Notification.CATEGORY_EVENT)) { in getCategory()81 if (entry.isCategory(Notification.CATEGORY_ALARM) in getCategory()86 if (entry.isCategory(Notification.CATEGORY_CALL)) { in getCategory()
221 public boolean isCategory(String category) { in isCategory() method in NotificationEntry273 return isCategory(CATEGORY_MESSAGE) in isMessaging()