Home
last modified time | relevance | path

Searched refs:isAlertRateLimited (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java131 when(mUsageStats.isAlertRateLimited(any())).thenReturn(false); in setUp()
918 when(mUsageStats.isAlertRateLimited(any())).thenReturn(true); in testRepeatedSoundOverLimitMuted()
932 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingSilentNotificationDoesNotAffectRateLimiting()
941 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingGroupSuppressedDoesNotAffectRateLimiting()
950 verify(mUsageStats, times(1)).isAlertRateLimited(any()); in testGroupSuppressionFailureDoesNotAffectRateLimiting()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java120 public synchronized boolean isAlertRateLimited(String packageName) { in isAlertRateLimited() method in NotificationUsageStats
123 return stats.isAlertRateLimited(); in isAlertRateLimited()
597 public boolean isAlertRateLimited() { in isAlertRateLimited() method in NotificationUsageStats.AggregatedStats