Searched refs:isCategory (Results 1 – 7 of 7) sorted by relevance
75 if (record.isCategory(Notification.CATEGORY_CAR_EMERGENCY)) { in process()77 } else if (record.isCategory(Notification.CATEGORY_CAR_WARNING)) { in process()
252 return record.isCategory(Notification.CATEGORY_ALARM) in isAlarm()257 return record.isCategory(Notification.CATEGORY_EVENT); in isEvent()261 return record.isCategory(Notification.CATEGORY_REMINDER); in isReminder()266 || record.isCategory(Notification.CATEGORY_CALL)); in isCall()
185 return record.isCategory(Notification.CATEGORY_CALL) in isCall()
887 public boolean isCategory(String category) { in isCategory() method in NotificationRecord
893 return isCategory(CATEGORY_CALL, n) in isNotificationBlockedByPolicy()894 || isCategory(CATEGORY_MESSAGE, n) in isNotificationBlockedByPolicy()895 || isCategory(CATEGORY_ALARM, n) in isNotificationBlockedByPolicy()896 || isCategory(CATEGORY_EVENT, n) in isNotificationBlockedByPolicy()897 || isCategory(CATEGORY_REMINDER, n); in isNotificationBlockedByPolicy()900 private static boolean isCategory(String category, Notification n) { in isCategory() method in NotificationEntry
285 when(r.isCategory(CATEGORY_CALL)).thenReturn(true); in testConversation_noneAllowed_callAllowed()
21930 HPLcom/android/server/notification/NotificationRecord;->isCategory(Ljava/lang/String;)Z