Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java652 final ArrayList<NotificationRecord> mNotificationList = new ArrayList<>(); field in NotificationManagerService
2299 int count = mNotificationList.size() + mNotificationsByKey.size() in getNotificationRecordCount()
2302 for (NotificationRecord posted : mNotificationList) { in getNotificationRecordCount()
2319 mNotificationList.clear(); in clearNotifications()
2328 mNotificationList.add(r); in addNotification()
3802 maybeNotifySystemUiListenerLifetimeExtendedListLocked(mNotificationList,
4694 final int N = mNotificationList.size();
4696 final StatusBarNotification sbn = mNotificationList.get(i).getSbn();
4727 = new ArrayMap<>(mNotificationList.size() + mEnqueuedNotifications.size());
4728 final int N = mNotificationList.size();
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java3704 assertThat(mService.mNotificationList).hasSize(2); in onOpChanged_permissionRevoked_cancelsAllNotificationsFromPackage()
3714 assertThat(mService.mNotificationList).hasSize(1); in onOpChanged_permissionRevoked_cancelsAllNotificationsFromPackage()
3715 assertThat(mService.mNotificationList.get(0).getSbn().getPackageName()).isEqualTo("other"); in onOpChanged_permissionRevoked_cancelsAllNotificationsFromPackage()
3739 assertThat(mService.mNotificationList).hasSize(2); in onOpChanged_permissionStillGranted_notificationsAreNotAffected()
3749 assertThat(mService.mNotificationList).hasSize(2); in onOpChanged_permissionStillGranted_notificationsAreNotAffected()
3769 assertThat(mService.mNotificationList).hasSize(1); in setNotificationsEnabledForPackage_disabling_clearsNotifications()
3786 assertThat(mService.mNotificationList).hasSize(0); in setNotificationsEnabledForPackage_disabling_clearsNotifications()
14245 assertThat(mService.mNotificationList).hasSize(1);
14246 assertThat(mService.mNotificationList.get(0).getNotification().when)
14263 assertThat(mService.mNotificationList).hasSize(1);
[all …]