Home
last modified time | relevance | path

Searched refs:snooze (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java164 mSnoozeHelper.snooze(r, 999999999); in testReadValidSnoozedFromCorrectly_timeDeadline()
187 mSnoozeHelper.snooze(r, 0); in testReadExpiredSnoozedNotification()
212 mSnoozeHelper.snooze(r, 0); in testReadNoneSnoozedNotification()
250 mSnoozeHelper.snooze(r, 0); in testLongTagPersistedNotification()
280 mSnoozeHelper.snooze(r, 1000); in testSnoozeForTime()
293 mSnoozeHelper.snooze(r, 1000);
304 mSnoozeHelper.snooze(r, (String) null);
319 mSnoozeHelper.snooze(r, null);
321 mSnoozeHelper.snooze(r, 9000);
378 mSnoozeHelper.snooze(r, 1000);
[all …]
DNotificationListenerServiceTest.java323 ArrayList<SnoozeCriterion> snooze = new ArrayList<>(); in getSnoozeCriteria() local
325 snooze.add(new SnoozeCriterion(key + i, getExplanation(key), key)); in getSnoozeCriteria()
327 return snooze; in getSnoozeCriteria()
DNotificationManagerServiceTest.java4550 verify(mSnoozeHelper, never()).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_tooManySnoozed_singleNotification()
4571 verify(mSnoozeHelper, never()).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_tooManySnoozed_singleGroupChildNotification()
4595 verify(mSnoozeHelper, never()).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_tooManySnoozed_summaryNotification()
4614 verify(mSnoozeHelper, times(2)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_reSnoozeASingleSnoozedNotification()
4632 verify(mSnoozeHelper, times(2)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_reSnoozeASnoozedNotificationWithGroupKey()
4660 verify(mSnoozeHelper, times(4)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_reSnoozeMultipleNotificationsWithGroupKey()
4679 verify(mSnoozeHelper, times(1)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_snoozeNonGrouped()
4709 verify(mSnoozeHelper, times(3)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_snoozeSummary_withChildren()
4731 verify(mSnoozeHelper, times(1)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_snoozeGroupChild_fellowChildren()
4757 verify(mSnoozeHelper, times(2)).snooze(any(NotificationRecord.class), anyLong()); in testSnoozeRunnable_snoozeGroupChild_onlyChildOfSummary()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.kt177 fun snooze() in addHeadsUpPhoneListener() method
239 override fun snooze() {} in onHeadsUpAnimatingAwayStateChanged() method in com.android.systemui.statusbar.policy.HeadsUpManagerEmptyImpl
DBaseHeadsUpManager.java496 public void snooze() { in snooze() method in BaseHeadsUpManager
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java47 public void snooze(StatusBarNotification sbn, SnoozeOption snoozeOption); in snooze() method
/frameworks/base/services/core/java/com/android/server/notification/
DSnoozeHelper.java202 protected void snooze(NotificationRecord record, long duration) { in snooze() method in SnoozeHelper
205 snooze(record); in snooze()
216 protected void snooze(NotificationRecord record, String contextId) { in snooze() method in SnoozeHelper
225 snooze(record); in snooze()
228 private void snooze(NotificationRecord record) { in snooze() method in SnoozeHelper
DNotificationManagerService.java8296 mSnoozeHelper.snooze(r, mSnoozeCriterionId);
8298 mSnoozeHelper.snooze(r, mDuration);
/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java241 ArrayList<SnoozeCriterion> snooze = new ArrayList<>(); in getSnoozeCriteria() local
243 snooze.add(new SnoozeCriterion(key + i, getExplanation(key), key)); in getSnoozeCriteria()
245 return snooze; in getSnoozeCriteria()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java158 mHeadsUpManager.snooze();
DHeadsUpManagerPhone.java349 public void snooze() { in snooze() method in HeadsUpManagerPhone
350 super.snooze(); in snooze()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerPhoneTest.java179 hmp.snooze(); in testSnooze()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java665 MenuItem snooze = new NotificationMenuItem(context, snoozeDescription, content, in createSnoozeItem() local
667 return snooze; in createSnoozeItem()
DNotificationSnooze.java476 mSnoozeListener.snooze(mSbn, mSelectedOption); in handleCloseControls()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java370 public void snooze(StatusBarNotification sbn, SnoozeOption snoozeOption) { in snooze() method in NotificationSwipeHelper
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java429 mSwipeHelper.snooze(sbn, snoozeOption); in testSnooze()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto4906 // Action: the snooze leave-behind was shown after the user clicked the snooze icon
4910 // Action: user selected a notification snooze duration from the drop down
4922 // Action: user tapped undo on the notification snooze leave-behind
4926 // Action: user togged the visibility of the notification snooze options drop down
6641 // Subtype: The snooze options attached to a notification was changed
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto718 // The list of snooze options for notifications. This is encoded as a key=value list,