Home
last modified time | relevance | path

Searched refs:isCategory (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DCriticalNotificationExtractor.java75 if (record.isCategory(Notification.CATEGORY_CAR_EMERGENCY)) { in process()
77 } else if (record.isCategory(Notification.CATEGORY_CAR_WARNING)) { in process()
DZenModeFiltering.java252 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()
DNotificationComparator.java186 return record.isCategory(Notification.CATEGORY_CALL) in isCallCategory()
DNotificationRecord.java904 public boolean isCategory(String category) { in isCategory() method in NotificationRecord
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java883 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
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java285 when(r.isCategory(CATEGORY_CALL)).thenReturn(true); in testConversation_noneAllowed_callAllowed()
/frameworks/base/services/
Dart-profile27210 HPLcom/android/server/notification/NotificationRecord;->isCategory(Ljava/lang/String;)Z+]Lcom/andro…