Home
last modified time | relevance | path

Searched refs:shouldSilence (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallFilteringResult.java58 public Builder setShouldSilence(boolean shouldSilence) { in setShouldSilence() argument
59 mShouldSilence = shouldSilence; in setShouldSilence()
94 .setShouldSilence(result.shouldSilence) in from()
112 public boolean shouldSilence; field in CallFilteringResult
122 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification, int in CallFilteringResult() argument
127 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 …]
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationCategorizerTest.java75 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 …]
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationCategorizer.java60 public boolean shouldSilence(NotificationEntry entry) { in shouldSilence() method in NotificationCategorizer
61 return shouldSilence(getCategory(entry)); in shouldSilence()
65 boolean shouldSilence(int category) { in shouldSilence() method in NotificationCategorizer
DAssistant.java265 if (mNotificationCategorizer.shouldSilence(entry)) { in createEnqueuedNotificationAdjustment()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java774 } else if (result.shouldSilence) { in onCallFilteringComplete()