Searched refs:isAlertRateLimited (Results 1 – 2 of 2) sorted by relevance
131 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()
120 public synchronized boolean isAlertRateLimited(String packageName) { in isAlertRateLimited() method in NotificationUsageStats123 return stats.isAlertRateLimited(); in isAlertRateLimited()597 public boolean isAlertRateLimited() { in isAlertRateLimited() method in NotificationUsageStats.AggregatedStats