Searched refs:isAlertRateLimited (Results 1 – 4 of 4) sorted by relevance
137 when(mUsageStats.isAlertRateLimited(any())).thenReturn(false); in setUp()1051 when(mUsageStats.isAlertRateLimited(any())).thenReturn(true); in testRepeatedSoundOverLimitMuted()1066 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingSilentNotificationDoesNotAffectRateLimiting()1075 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingGroupSuppressedDoesNotAffectRateLimiting()1084 verify(mUsageStats, times(1)).isAlertRateLimited(any()); in testGroupSuppressionFailureDoesNotAffectRateLimiting()
121 public synchronized boolean isAlertRateLimited(String packageName) { in isAlertRateLimited() method in NotificationUsageStats124 return stats.isAlertRateLimited(); in isAlertRateLimited()609 public boolean isAlertRateLimited() { in isAlertRateLimited() method in NotificationUsageStats.AggregatedStats
6105 if (mUsageStats.isAlertRateLimited(pkg)) {
9701 HSPLcom/android/server/notification/NotificationUsageStats$AggregatedStats;->isAlertRateLimited()Z9747 HSPLcom/android/server/notification/NotificationUsageStats;->isAlertRateLimited(Ljava/lang/String;)Z