Home
last modified time | relevance | path

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

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java257 NotificationInstance[] mExpectedNotifications; field in AlertServiceTest.NotificationTestManager
267 mExpectedNotifications = new NotificationInstance[maxNotifications + 1]; in NotificationTestManager()
268 mActualNotifications = new NotificationWrapper[mExpectedNotifications.length]; in NotificationTestManager()
269 mCancelled = new boolean[mExpectedNotifications.length]; in NotificationTestManager()
273 mExpectedNotifications[notificationId] = new NotificationInstance(alertId, in expectTestNotification()
278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority); in expectTestNotification()
291 if (nullContents(mExpectedNotifications)) { in validateNotificationsAndReset()
297 NotificationInstance expected = mExpectedNotifications[id]; in validateNotificationsAndReset()
338 Arrays.fill(mExpectedNotifications, null); in validateNotificationsAndReset()
375 assertNull("Unexpected cancel for id " + id, mExpectedNotifications[id]); in cancel()
[all …]