Searched refs:shouldSilence (Results 1 – 5 of 5) sorted by relevance
58 public Builder setShouldSilence(boolean shouldSilence) { in setShouldSilence() argument59 mShouldSilence = shouldSilence; in setShouldSilence()94 .setShouldSilence(result.shouldSilence) in from()112 public boolean shouldSilence; field in CallFilteringResult122 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification, int in CallFilteringResult() argument127 this.shouldSilence = shouldSilence; in CallFilteringResult()183 .setShouldSilence(shouldSilence || other.shouldSilence) in combine()208 .setShouldSilence(shouldSilence || other.shouldSilence) in getCombinedCallFilteringResult()229 if (shouldSilence != that.shouldSilence) return false; in equals()246 result = 31 * result + (shouldSilence ? 1 : 0); in hashCode()[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()
774 } else if (result.shouldSilence) { in onCallFilteringComplete()