Home
last modified time | relevance | path

Searched refs:activeNotifications (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DEapFailureNotifierTest.java118 StatusBarNotification[] activeNotifications = new StatusBarNotification[1]; in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() local
119 activeNotifications[0] = new StatusBarNotification("android", "", 56, "", 0, 0, 0, in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
121 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
143 StatusBarNotification[] activeNotifications = new StatusBarNotification[1]; in onEapFailure_showNotificationFalse_notShown() local
144 activeNotifications[0] = new StatusBarNotification("android", "", 56, "", 0, 0, 0, in onEapFailure_showNotificationFalse_notShown()
146 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailure_showNotificationFalse_notShown()
164 StatusBarNotification[] activeNotifications = new StatusBarNotification[1]; in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid() local
165 activeNotifications[0] = new StatusBarNotification("android", "", 57, "", 0, 0, 0, in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid()
167 when(mWifiNotificationManager.getActiveNotifications()).thenReturn(activeNotifications); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid()
192 StatusBarNotification[] activeNotifications = new StatusBarNotification[1]; in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationThrottler.java72 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in throttle() local
73 if (activeNotifications.length > HIGH_GLOBAL_NOTIFICATION_COUNT in throttle()
78 activeNotifications.length); in throttle()
86 for (StatusBarNotification currentNotification : activeNotifications) { in throttle()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java148 List<StatusBarNotification> activeNotifications = null; in handleWorkerMessage() local
151 activeNotifications = Arrays.stream(getActiveNotifications()) in handleWorkerMessage()
156 activeNotifications = new ArrayList<>(); in handleWorkerMessage()
159 activeNotifications = new ArrayList<>(); in handleWorkerMessage()
162 mUiHandler.obtainMessage(message.what, activeNotifications).sendToTarget(); in handleWorkerMessage()
347 void onNotificationFullRefresh(List<StatusBarNotification> activeNotifications); in onNotificationFullRefresh() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java106 public void onNotificationFullRefresh(List<StatusBarNotification> activeNotifications) { in onNotificationFullRefresh() argument
107 if (activeNotifications == null) return; in onNotificationFullRefresh()
111 for (StatusBarNotification notification : activeNotifications) { in onNotificationFullRefresh()
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsService.java98 final StatusBarNotification[] activeNotifications = in updateForegroundState() local
100 for (final StatusBarNotification notification : activeNotifications) { in updateForegroundState()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DEapFailureNotifier.java78 StatusBarNotification[] activeNotifications = mNotificationManager.getActiveNotifications(); in onEapFailure()
79 for (StatusBarNotification activeNotification : activeNotifications) { in onEapFailure()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java144 Map<String, AlertEntry> activeNotifications) { in maybeShowHeadsUp() argument
160 if (!activeNotifications.containsKey(alertEntry.getKey()) || canUpdate(alertEntry) in maybeShowHeadsUp()