/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationListenerWithPlugins.java | 57 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()
|
D | StatusBarNotificationActivityStarter.java | 330 mEntryManager.getNotificationData().getActiveNotifications().size(); in handleNotificationClickAfterPanelCollapsed()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | NotificationListenerController.java | 40 default StatusBarNotification[] getActiveNotifications( in getActiveNotifications() method 54 StatusBarNotification[] getActiveNotifications(); in getActiveNotifications() method
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 571 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 …]
|
D | NotificationListenerServiceTest.java | 88 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/ |
D | NotificationViewHierarchyManagerTest.java | 140 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/ |
D | NotificationStackScrollLayoutTest.java | 302 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/ |
D | InstallCarrierAppUtils.java | 94 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications() 155 getNotificationManager(context).getActiveNotifications(); in isPackageInstallNotificationActive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationLoggerTest.java | 131 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/ |
D | NotificationListenerService.java | 832 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/ |
D | MtpDocumentsService.java | 99 mNotificationManager.getActiveNotifications(); in updateForegroundState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | SmartReplyController.java | 76 final int count = mEntryManager.getNotificationData().getActiveNotifications().size(); in smartActionClicked()
|
D | NotificationListener.java | 76 final StatusBarNotification[] notifications = getActiveNotifications(); in onListenerConnected()
|
D | NotificationViewHierarchyManager.java | 144 .getActiveNotifications(); in updateNotificationViews()
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
D | NotificationStressTest.java | 102 assertTrue(mNotificationManager.getActiveNotifications().length == MAX_NOTIFCATIONS); in testNotificationsWithShadeStress()
|
/frameworks/base/non-updatable-api/ |
D | system-removed.txt | 177 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); 178 …method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[]…
|
/frameworks/base/api/ |
D | system-removed.txt | 177 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/ |
D | NotificationEntryManager.java | 198 final int count = mNotificationData.getActiveNotifications().size(); in obtainVisibility() 475 entries.addAll(mNotificationData.getActiveNotifications()); in updateNotificationRanking()
|
D | InstantAppNotifier.java | 102 for (StatusBarNotification notification : noMan.getActiveNotifications()) { in start()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 502 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenForHeadsUp() 521 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndClear() 540 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndNoClear()
|
D | StatusBarNotificationActivityStarterTest.java | 160 when(mNotificationData.getActiveNotifications()).thenReturn(mActiveNotifications); in setUp()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 643 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/ |
D | INotificationManager.aidl | 116 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 163 public ArrayList<NotificationEntry> getActiveNotifications() { in getActiveNotifications() method in NotificationData
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationLogger.java | 125 .getNotificationData().getActiveNotifications();
|