Home
last modified time | relevance | path

Searched refs:getActiveNotifications (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java57 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in NotificationListenerWithPlugins
58 StatusBarNotification[] activeNotifications = super.getActiveNotifications(); in getActiveNotifications()
60 activeNotifications = plugin.getActiveNotifications(activeNotifications); in getActiveNotifications()
127 public StatusBarNotification[] getActiveNotifications() { in getProvider()
128 return NotificationListenerWithPlugins.super.getActiveNotifications(); in getProvider()
DStatusBarNotificationActivityStarter.java330 mEntryManager.getNotificationData().getActiveNotifications().size(); in handleNotificationClickAfterPanelCollapsed()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java40 default StatusBarNotification[] getActiveNotifications( in getActiveNotifications() method
54 StatusBarNotification[] getActiveNotifications(); in getActiveNotifications() method
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java571 StatusBarNotification[] notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded()
582 notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded()
595 notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded()
738 assertEquals(0, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testBlockedNotifications_blockedChannel()
756 assertEquals(1, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
787 assertEquals(1, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
808 assertEquals(0, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
838 assertEquals(0, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testEnqueuedBlockedNotifications_blockedApp()
852 assertEquals(0, mBinderService.getActiveNotifications(sbn.getPackageName()).length); in testEnqueuedBlockedNotifications_blockedAppForegroundService()
875 assertEquals(categories.size(), mBinderService.getActiveNotifications(PKG).length); in testEnqueuedRestrictedNotifications_asSystem()
[all …]
DNotificationListenerServiceTest.java88 assertNotNull(service.getActiveNotifications()); in testGetActiveNotifications_notNull()
89 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull()
90 assertNotNull(service.getActiveNotifications(new String[0])); in testGetActiveNotifications_notNull()
91 assertNotNull(service.getActiveNotifications( in testGetActiveNotifications_notNull()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java140 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingBundled()
169 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingUnbundled()
198 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingSuppressed()
220 when(mNotificationData.getActiveNotifications()).thenReturn( in testUpdateNotificationViews_appOps()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java302 assertEquals(0, mNotificationData.getActiveNotifications().size()); in testUpdateFooter_noNotifications()
313 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_remoteInput()
330 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_oneClearableNotification()
346 when(mEntryManager.getNotificationData().getActiveNotifications()).thenReturn(entries); in testUpdateFooter_oneNonClearableNotification()
347 assertTrue(mEntryManager.getNotificationData().getActiveNotifications().size() != 0); in testUpdateFooter_oneNonClearableNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java94 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications()
155 getNotificationManager(context).getActiveNotifications(); in isPackageInstallNotificationActive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java131 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged()
153 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java832 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in NotificationListenerService
833 StatusBarNotification[] activeNotifications = getActiveNotifications(null, TRIM_FULL); in getActiveNotifications()
868 public StatusBarNotification[] getActiveNotifications(int trim) { in getActiveNotifications() method in NotificationListenerService
869 StatusBarNotification[] activeNotifications = getActiveNotifications(null, trim); in getActiveNotifications()
885 public StatusBarNotification[] getActiveNotifications(String[] keys) { in getActiveNotifications() method in NotificationListenerService
886 StatusBarNotification[] activeNotifications = getActiveNotifications(keys, TRIM_FULL); in getActiveNotifications()
904 public StatusBarNotification[] getActiveNotifications(String[] keys, int trim) { in getActiveNotifications() method in NotificationListenerService
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java99 mNotificationManager.getActiveNotifications(); in updateForegroundState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSmartReplyController.java76 final int count = mEntryManager.getNotificationData().getActiveNotifications().size(); in smartActionClicked()
DNotificationListener.java76 final StatusBarNotification[] notifications = getActiveNotifications(); in onListenerConnected()
DNotificationViewHierarchyManager.java144 .getActiveNotifications(); in updateNotificationViews()
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java102 assertTrue(mNotificationManager.getActiveNotifications().length == MAX_NOTIFCATIONS); in testNotificationsWithShadeStress()
/frameworks/base/non-updatable-api/
Dsystem-removed.txt177 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
178 …method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[]…
/frameworks/base/api/
Dsystem-removed.txt177 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
178 …method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[]…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java198 final int count = mNotificationData.getActiveNotifications().size(); in obtainVisibility()
475 entries.addAll(mNotificationData.getActiveNotifications()); in updateNotificationRanking()
DInstantAppNotifier.java102 for (StatusBarNotification notification : noMan.getActiveNotifications()) { in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java502 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenForHeadsUp()
521 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndClear()
540 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndNoClear()
DStatusBarNotificationActivityStarterTest.java160 when(mNotificationData.getActiveNotifications()).thenReturn(mActiveNotifications); in setUp()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java643 StatusBarNotification[] activeNotifications = nm.getActiveNotifications(); in cancelExistingNotifications()
654 int total = nm.getActiveNotifications().length; in cancelExistingNotifications()
662 assertEquals("old notifications were not cancelled", 0, nm.getActiveNotifications().length); in cancelExistingNotifications()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl116 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java163 public ArrayList<NotificationEntry> getActiveNotifications() { in getActiveNotifications() method in NotificationData
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java125 .getNotificationData().getActiveNotifications();

12