/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 184 assertThat(mNotificationManager.getActiveNotifications()).hasLength(1); in testEuNotification_gaUxFlagEnabled() 186 mNotificationManager.getActiveNotifications()[0].getNotification(); in testEuNotification_gaUxFlagEnabled() 223 assertThat(mNotificationManager.getActiveNotifications()).hasLength(0); in testEuNotification_gaUxFlagEnabled() 254 assertThat(mNotificationManager.getActiveNotifications()).hasLength(1); in testNonEuNotifications_gaUxEnabled() 256 mNotificationManager.getActiveNotifications()[0].getNotification(); in testNonEuNotifications_gaUxEnabled() 298 assertThat(mNotificationManager.getActiveNotifications()).hasLength(1); in testEuNotifications_gaUxEnabled_nonDismissable() 300 mNotificationManager.getActiveNotifications()[0].getNotification(); in testEuNotifications_gaUxEnabled_nonDismissable() 347 assertThat(mNotificationManager.getActiveNotifications()).hasLength(0); in testEuNotifications_gaUxEnabled_nonDismissable() 383 assertThat(mNotificationManager.getActiveNotifications()).hasLength(1); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 385 mNotificationManager.getActiveNotifications()[0].getNotification(); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | EapFailureNotifierTest.java | 148 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureEapFailureConfigWithOverride() 189 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 216 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailure_showNotificationFalse_notShown() 239 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithNotificationShownWithoutSameSsid() 269 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithNotificationShownWithSameSsid() 294 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithoutMessage() 319 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithUnknownErrorCode() 346 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithCarrierOverrideForDisableParameters() 376 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithNegativeErrorCode() 395 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in testPreTDeviceIgnoreSpecialFailure()
|
D | WifiNotificationManagerTest.java | 105 when(mNotificationManager.getActiveNotifications()) in testUserSwitchNotificationSendCorrect() 136 when(mNotificationManager.getActiveNotifications()).thenReturn( in testApmNotificationNotCancelled()
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
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()
|
D | NotificationThrottler.java | 72 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in throttle() 112 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in getSortedMatchingNotifications()
|
D | NotificationManagerUtils.java | 33 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in cancelAllInGroup()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNotificationManager.java | 114 for (StatusBarNotification notification : getActiveNotifications()) { in cleanAllWifiNotification() 145 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications() method in WifiNotificationManager 149 return mNotificationManager.getActiveNotifications(); in getActiveNotifications()
|
D | EapFailureNotifier.java | 123 StatusBarNotification[] activeNotifications = mNotificationManager.getActiveNotifications(); in onEapFailure()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | ReportDeviceProvisionStateWorkerTest.java | 182 StatusBarNotification[] activeNotifs = shadowNotificationManager.getActiveNotifications(); in doWork_mandatory_doesNotSendNotificationOrScheduleAlarm() 225 StatusBarNotification[] activeNotifs = shadowNotificationManager.getActiveNotifications(); in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification() 255 StatusBarNotification[] activeNotifs = shadowNotificationManager.getActiveNotifications(); in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | VisualVoicemailUpdateTask.java | 129 DialerNotificationManager.getActiveNotifications(context)) { in getExistingNotificationCount() 153 DialerNotificationManager.getActiveNotifications(context)) { in getAndUpdateVoicemailsWithExistingNotification()
|
D | MissedCallNotifier.java | 245 DialerNotificationManager.getActiveNotifications(context)) { in updateMissedCallNotification()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDocumentsService.java | 101 mNotificationManager.getActiveNotifications(); in updateForegroundState()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/notification/ |
D | NotificationHelperService.java | 112 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in sendToggleNotification()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | TestNotificationListener.kt | 248 checkNotNull(getActiveNotifications()) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | AutoGrantPermissionsNotifier.java | 259 for (StatusBarNotification notification : mNotificationManager.getActiveNotifications()) { in isNotificationActive()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmNotifications.kt | 255 val notifications: Array<StatusBarNotification> = nm.getActiveNotifications() in getFirstActiveNotification() 274 val notifications: Array<StatusBarNotification> = nm.getActiveNotifications() in getActiveGroupSummaryNotification()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationListener.java | 251 mActiveNotifications = Stream.of(getActiveNotifications()).collect( in onListenerConnected()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 198 result = getActiveNotifications(keys); in getActiveNotificationsSafely()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 930 verify(mMockedNotificationManager, never()).getActiveNotifications(); in testPlayPendingAlert() 938 mMockedNotificationManager).getActiveNotifications(); in testPlayPendingAlert()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 123 final StatusBarNotification[] notifs = mNotifManager.getActiveNotifications(); in init()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 1107 notificationManager.getActiveNotifications(); in playPendingAlert()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | LocationAccessCheck.java | 756 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in getCurrentlyShownNotificationLocked()
|