Searched refs:shouldSilence (Results 1 – 5 of 5) sorted by relevance
26 public boolean shouldSilence; field in CallFilteringResult37 this.shouldSilence = false; in CallFilteringResult()47 this.shouldSilence = false; in CallFilteringResult()56 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification) { in CallFilteringResult() argument59 this.shouldSilence = shouldSilence; in CallFilteringResult()65 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification, int in CallFilteringResult() argument69 this.shouldSilence = shouldSilence; in CallFilteringResult()115 shouldSilence || other.shouldSilence, in combine()137 shouldSilence|| other.shouldSilence, in getCombinedCallFilteringResult()155 if (shouldSilence != that.shouldSilence) return false; in equals()[all …]
75 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_PEOPLE)); in testPeopleCategory()86 assertTrue(nc.shouldSilence(NotificationCategorizer.CATEGORY_MIN)); in testMin()96 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_HIGH)); in testHigh()107 assertTrue(nc.shouldSilence(NotificationCategorizer.CATEGORY_ONGOING)); in testOngoingCategory()111 assertTrue(nc.shouldSilence(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE)); in testOngoingCategory()122 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_ALARM)); in testAlarmCategory()126 assertTrue(nc.shouldSilence(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE)); in testAlarmCategory()137 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_CALL)); in testCallCategory()141 assertTrue(nc.shouldSilence(NotificationCategorizer.CATEGORY_EVERYTHING_ELSE)); in testCallCategory()152 assertFalse(nc.shouldSilence(NotificationCategorizer.CATEGORY_REMINDER)); in testReminderCategory()[all …]
60 public boolean shouldSilence(NotificationEntry entry) { in shouldSilence() method in NotificationCategorizer61 return shouldSilence(getCategory(entry)); in shouldSilence()65 boolean shouldSilence(int category) { in shouldSilence() method in NotificationCategorizer
265 if (mNotificationCategorizer.shouldSilence(entry)) { in createEnqueuedNotificationAdjustment()
671 } else if (result.shouldSilence) { in onCallFilteringComplete()