Searched refs:canSnooze (Results 1 – 4 of 4) sorted by relevance
316 assertTrue("cannot snooze record " + i, mSnoozeHelper.canSnooze(1));324 assertFalse(mSnoozeHelper.canSnooze(1));365 assertThat(mSnoozeHelper.canSnooze(1)).isFalse();
4542 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_tooManySnoozed_singleNotification()4543 when(mSnoozeHelper.canSnooze(1)).thenReturn(false); in testSnoozeRunnable_tooManySnoozed_singleNotification()4563 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_tooManySnoozed_singleGroupChildNotification()4564 when(mSnoozeHelper.canSnooze(2)).thenReturn(false); in testSnoozeRunnable_tooManySnoozed_singleGroupChildNotification()4587 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_tooManySnoozed_summaryNotification()4588 when(mSnoozeHelper.canSnooze(3)).thenReturn(false); in testSnoozeRunnable_tooManySnoozed_summaryNotification()4605 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_reSnoozeASingleSnoozedNotification()4623 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_reSnoozeASnoozedNotificationWithGroupKey()4646 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_reSnoozeMultipleNotificationsWithGroupKey()4671 when(mSnoozeHelper.canSnooze(anyInt())).thenReturn(true); in testSnoozeRunnable_snoozeNonGrouped()[all …]
119 protected boolean canSnooze(int numberToSnooze) { in canSnooze() method in SnoozeHelper
8268 if (mSnoozeHelper.canSnooze(recordsToSnooze.size())) {