Searched refs:isAlertRateLimited (Results 1 – 3 of 3) sorted by relevance
107 public synchronized boolean isAlertRateLimited(String packageName) { in isAlertRateLimited() method in NotificationUsageStats109 return stats.isAlertRateLimited(); in isAlertRateLimited()617 public boolean isAlertRateLimited() { in isAlertRateLimited() method in NotificationUsageStats.AggregatedStats
609 if (mUsageStats.isAlertRateLimited(pkg)) { in shouldMuteNotificationLocked()
206 when(mUsageStats.isAlertRateLimited(any())).thenReturn(false); in setUp()1391 when(mUsageStats.isAlertRateLimited(any())).thenReturn(true); in testRepeatedSoundOverLimitMuted()1406 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingSilentNotificationDoesNotAffectRateLimiting()1415 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingGroupSuppressedDoesNotAffectRateLimiting()1424 verify(mUsageStats, times(1)).isAlertRateLimited(any()); in testGroupSuppressionFailureDoesNotAffectRateLimiting()