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()
186 return record.isCategory(Notification.CATEGORY_CALL) in isCallCategory()
904 public boolean isCategory(String category) { in isCategory() method in NotificationRecord
883 return isCategory(CATEGORY_CALL, n) in isNotificationBlockedByPolicy()884 || isCategory(CATEGORY_MESSAGE, n) in isNotificationBlockedByPolicy()885 || isCategory(CATEGORY_ALARM, n) in isNotificationBlockedByPolicy()886 || isCategory(CATEGORY_EVENT, n) in isNotificationBlockedByPolicy()887 || isCategory(CATEGORY_REMINDER, n); in isNotificationBlockedByPolicy()890 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()
27210 HPLcom/android/server/notification/NotificationRecord;->isCategory(Ljava/lang/String;)Z+]Lcom/andro…