Home
last modified time | relevance | path

Searched refs:NotificationWrapper (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DNotificationMgr.java19 import com.android.calendar.alerts.AlertService.NotificationWrapper;
22 public abstract void notify(int id, NotificationWrapper notification); in notify()
DAlertService.java124 public static class NotificationWrapper { class in AlertService
129 ArrayList<NotificationWrapper> mNw;
131 public NotificationWrapper(Notification n, int notificationId, long eventId, in NotificationWrapper() method in AlertService.NotificationWrapper
142 public NotificationWrapper(Notification n) { in NotificationWrapper() method in AlertService.NotificationWrapper
146 public void add(NotificationWrapper nw) { in add()
148 mNw = new ArrayList<NotificationWrapper>(); in add()
168 public void notify(int id, NotificationWrapper nw) { in notify()
374 NotificationWrapper notification; in generateAlerts()
871 NotificationWrapper notification = AlertReceiver.makeExpandingNotification(context, in postNotification()
930 private static void addNotificationOptions(NotificationWrapper nw, boolean quietUpdate, in addNotificationOptions()
DAlertReceiver.java48 import com.android.calendar.alerts.AlertService.NotificationWrapper;
259 public static NotificationWrapper makeBasicNotification(Context context, String title, in makeBasicNotification()
265 return new NotificationWrapper(n, notificationId, eventId, startMillis, endMillis, doPopup); in makeBasicNotification()
411 public static NotificationWrapper makeExpandingNotification(Context context, String title, in makeExpandingNotification()
441 return new NotificationWrapper(notification, notificationId, eventId, startMillis, in makeExpandingNotification()
448 public static NotificationWrapper makeDigestNotification(Context context, in makeDigestNotification()
571 NotificationWrapper nw = new NotificationWrapper(n); in makeDigestNotification()
574 nw.add(new NotificationWrapper(null, 0, info.eventId, info.startMillis, in makeDigestNotification()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java36 import com.android.calendar.alerts.AlertService.NotificationWrapper;
258 NotificationWrapper[] mActualNotifications;
268 mActualNotifications = new NotificationWrapper[mExpectedNotifications.length]; in NotificationTestManager()
298 NotificationWrapper actual = mActualNotifications[id]; in validateNotificationsAndReset()
346 NotificationWrapper actual = mActualNotifications[i]; in printActualNotifications()
379 public void notify(int id, NotificationWrapper nw) { in notify()