Searched refs:getNotificationRecordCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 960 assertEquals(1, mService.getNotificationRecordCount()); in testEnqueueNotificationWithTag_PopulatesGetActiveNotifications() 972 assertEquals(0, mService.getNotificationRecordCount()); in testCancelNotificationImmediatelyAfterEnqueue() 987 assertEquals(0, mService.getNotificationRecordCount()); in testCancelNotificationWhilePostedAndEnqueued() 1004 assertEquals(0, mService.getNotificationRecordCount()); in testCancelNotificationsFromListenerImmediatelyAfterEnqueue() 1017 assertEquals(0, mService.getNotificationRecordCount()); in testCancelAllNotificationsImmediatelyAfterEnqueue() 1049 assertEquals(0, mService.getNotificationRecordCount()); in testUserInitiatedClearAll_noLeak() 1070 assertEquals(0, mService.getNotificationRecordCount()); in testCancelAllNotificationsCancelsChildren() 1083 assertEquals(0, mService.getNotificationRecordCount()); in testCancelAllNotificationsMultipleEnqueuedDoesNotCrash() 1111 assertEquals(0, mService.getNotificationRecordCount()); in testCancelGroupSummaryMultipleEnqueuedChildrenDoesNotCrash() 1125 assertEquals(1, mService.getNotificationRecordCount()); in testCancelAllNotifications_IgnoreForegroundService() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 1526 int getNotificationRecordCount() { in getNotificationRecordCount() method in NotificationManagerService
|