/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationListenerWithPlugins.java | 59 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in NotificationListenerWithPlugins 60 StatusBarNotification[] activeNotifications = super.getActiveNotifications(); in getActiveNotifications() 62 activeNotifications = plugin.getActiveNotifications(activeNotifications); in getActiveNotifications() 143 public StatusBarNotification[] getActiveNotifications() { in getProvider() 144 return NotificationListenerWithPlugins.super.getActiveNotifications(); in getProvider()
|
/aosp12/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
H A D | NotificationHelperTest.java | 54 assertThat(shadowOf(mNotificationManager).getActiveNotifications()).hasLength(1); in showResumeNotification_showsExpectedNotification() 56 shadowOf(mNotificationManager).getActiveNotifications()[0]; in showResumeNotification_showsExpectedNotification() 68 assertThat(shadowOf(mNotificationManager).getActiveNotifications()).hasLength(1); in showPrivacyReminderNotification_showsExpectedNotification() 70 shadowOf(mNotificationManager).getActiveNotifications()[0]; in showPrivacyReminderNotification_showsExpectedNotification()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/notification/ |
H A D | DialerNotificationManager.java | 72 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancel() 93 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancelAll() 101 public static StatusBarNotification[] getActiveNotifications(@NonNull Context context) { in getActiveNotifications() method in DialerNotificationManager 103 return getNotificationManager(context).getActiveNotifications(); in getActiveNotifications()
|
H A D | NotificationThrottler.java | 72 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in throttle() 112 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in getSortedMatchingNotifications()
|
H A D | NotificationManagerUtils.java | 33 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in cancelAllInGroup()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | EapFailureNotifierTest.java | 121 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 146 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailure_showNotificationFalse_notShown() 167 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid() 195 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid() 215 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithUnDefinedErrorCode()
|
H A D | WifiNotificationManagerTest.java | 102 when(mNotificationManager.getActiveNotifications()) in testUserSwitchNotificationSendCorrect()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiNotificationManager.java | 101 for (StatusBarNotification notification : getActiveNotifications()) { in cleanAllWifiNotification() 131 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in WifiNotificationManager 135 return mNotificationManager.getActiveNotifications(); in getActiveNotifications()
|
H A D | EapFailureNotifier.java | 78 StatusBarNotification[] activeNotifications = mNotificationManager.getActiveNotifications(); in onEapFailure()
|
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
H A D | NotificationListenerController.java | 61 default StatusBarNotification[] getActiveNotifications( in getActiveNotifications() method 75 StatusBarNotification[] getActiveNotifications(); in getActiveNotifications() method
|
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/shared/ |
H A D | NotificationHandler.java | 136 for (StatusBarNotification sbn : notificationManager.getActiveNotifications()) { in cancelAllTapToReadNotifications() 146 for (StatusBarNotification sbn : notificationManager.getActiveNotifications()) { in findSBN()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 911 notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded() 926 notifsAfter = mBinderService.getActiveNotifications(PKG); in addGroupWithBubblesAndValidateAdded() 1309 assertEquals(0, mBinderService.getActiveNotifications(PKG).length); in testEnqueuedRestrictedNotifications_noPermission() 1484 mBinderService.getActiveNotifications(PKG); in testCancelNotificationImmediatelyAfterEnqueue() 1507 mBinderService.getActiveNotifications(PKG); in testPostCancelPostNotifiesListeners() 1525 mBinderService.getActiveNotifications(PKG); in testCancelNotificationWhilePostedAndEnqueued() 1543 mBinderService.getActiveNotifications(sbn.getPackageName()); in testCancelNotificationsFromListenerImmediatelyAfterEnqueue() 1557 mBinderService.getActiveNotifications(sbn.getPackageName()); in testCancelAllNotificationsImmediatelyAfterEnqueue() 1693 mBinderService.getActiveNotifications(sbn.getPackageName()); in testCancelAllNotifications_IgnoreForegroundService() 1708 mBinderService.getActiveNotifications(sbn.getPackageName()); in testCancelAllNotifications_IgnoreOtherPackages() [all …]
|
H A D | NotificationListenerServiceTest.java | 90 assertNotNull(service.getActiveNotifications()); in testGetActiveNotifications_notNull() 91 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull() 92 assertNotNull(service.getActiveNotifications(new String[0])); in testGetActiveNotifications_notNull() 93 assertNotNull(service.getActiveNotifications( in testGetActiveNotifications_notNull()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationListener.java | 151 activeNotifications = Arrays.stream(getActiveNotifications()) in handleWorkerMessage() 171 for (StatusBarNotification sbn : getActiveNotifications(keys)) { in handleWorkerMessage() 305 StatusBarNotification[] notifications = getActiveNotifications( in getNotificationsForKeys()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/ |
H A D | BubbleHelper.java | 165 StatusBarNotification[] activeNotifications = mNotificationManager.getActiveNotifications(); in cancelLast() 173 StatusBarNotification[] activeNotifications = mNotificationManager.getActiveNotifications(); in cancelFirst()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | InstallCarrierAppUtils.java | 95 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications() 156 getNotificationManager(context).getActiveNotifications(); in isPackageInstallNotificationActive()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 953 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in NotificationListenerService 954 StatusBarNotification[] activeNotifications = getActiveNotifications(null, TRIM_FULL); in getActiveNotifications() 989 public StatusBarNotification[] getActiveNotifications(int trim) { in getActiveNotifications() method in NotificationListenerService 990 StatusBarNotification[] activeNotifications = getActiveNotifications(null, trim); in getActiveNotifications() 1006 public StatusBarNotification[] getActiveNotifications(String[] keys) { in getActiveNotifications() method in NotificationListenerService 1007 StatusBarNotification[] activeNotifications = getActiveNotifications(keys, TRIM_FULL); in getActiveNotifications() 1025 public StatusBarNotification[] getActiveNotifications(String[] keys, int trim) { in getActiveNotifications() method in NotificationListenerService
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | VisualVoicemailUpdateTask.java | 129 DialerNotificationManager.getActiveNotifications(context)) { in getExistingNotificationCount() 153 DialerNotificationManager.getActiveNotifications(context)) { in getAndUpdateVoicemailsWithExistingNotification()
|
/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | MtpDocumentsService.java | 99 mNotificationManager.getActiveNotifications(); in updateForegroundState()
|
/aosp12/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 102 assertTrue(mNotificationManager.getActiveNotifications().length == MAX_NOTIFCATIONS); in testNotificationsWithShadeStress()
|
/aosp12/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/ |
H A D | PrivacySettingTest.java | 131 assertThat(mNotificationManager.getActiveNotifications().length).isEqualTo(0); in toggleOn_noHUN()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationListener.java | 86 final StatusBarNotification[] notifications = getActiveNotifications(); in onListenerConnected()
|
/aosp12/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | BugreportReceiverTest.java | 556 StatusBarNotification[] activeNotifications = nm.getActiveNotifications(); in cancelExistingNotifications() 567 int total = nm.getActiveNotifications().length; in cancelExistingNotifications() 575 assertEquals("old notifications were not cancelled", 0, nm.getActiveNotifications().length); in cancelExistingNotifications()
|
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/ |
H A D | InCallServiceImplTest.java | 182 notificationManager.getActiveNotifications()[0]; in onRingingCallAdded_showNotification()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | CarNotificationListener.java | 231 mActiveNotifications = Stream.of(getActiveNotifications()).collect( in onListenerConnected()
|