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.java26 public boolean shouldSilence; field in CallFilteringResult
37 this.shouldSilence = false; in CallFilteringResult()
47 this.shouldSilence = false; in CallFilteringResult()
56 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification) { in CallFilteringResult() argument
59 this.shouldSilence = shouldSilence; in CallFilteringResult()
65 shouldSilence, boolean shouldAddToCallLog, boolean shouldShowNotification, int in CallFilteringResult() argument
69 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 …]
/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.java671 } else if (result.shouldSilence) { in onCallFilteringComplete()