Searched refs:notifications (Results 1 – 25 of 113) sorted by relevance
12345
110 List<NotificationGroup> notifications = new ArrayList<>(); in onClickClearAllButton_callsFactoryClearNotificationsWithDismissibleNotifications() local111 notifications.add(dismissible); in onClickClearAllButton_callsFactoryClearNotificationsWithDismissibleNotifications()112 notifications.add(notDismissible); in onClickClearAllButton_callsFactoryClearNotificationsWithDismissibleNotifications()113 mCarNotificationView.setNotifications(notifications); in onClickClearAllButton_callsFactoryClearNotificationsWithDismissibleNotifications()163 List<NotificationGroup> notifications = new ArrayList<>(); in setNotifications_notEmpty_listViewIsVisible() local164 notifications.add(dismissible); in setNotifications_notEmpty_listViewIsVisible()165 notifications.add(notDismissible); in setNotifications_notEmpty_listViewIsVisible()167 mCarNotificationView.setNotifications(notifications); in setNotifications_notEmpty_listViewIsVisible()169 assertThat(mCarNotificationView.findViewById(R.id.notifications).getVisibility()) in setNotifications_notEmpty_listViewIsVisible()177 List<NotificationGroup> notifications = new ArrayList<>(); in setNotifications_notEmpty_emptyNotificationTextViewIsGone() local[all …]
65 final Notification[] notifications = intent.hasExtra(EXTRA_DEVICE_NOTIFICATIONS) ? in onStartCommand() local68 return updateForegroundState(ids, notifications) ? START_STICKY : START_NOT_STICKY; in onStartCommand()78 @Nullable int[] ids, @Nullable Notification[] notifications) { in updateForegroundState() argument83 Preconditions.checkArgument(notifications != null); in updateForegroundState()84 Preconditions.checkArgument(ids.length == notifications.length); in updateForegroundState()91 startForeground(ids[i], notifications[i]); in updateForegroundState()95 mNotificationManager.notify(ids[i], notifications[i]); in updateForegroundState()120 final Notification[] notifications = new Notification[src.length]; in castToNotifications() local122 notifications[i] = (Notification) src[i]; in castToNotifications()124 return notifications; in castToNotifications()
71 val notifications = getNotifications(packageName) in <lambda>() constant72 if (notifications.isNotEmpty()) { in <lambda>()73 notifications.forEach { notification -> in <lambda>()90 val notifications: MutableList<StatusBarNotification> = ArrayList() in <lambda>() constant94 notifications.add(notification) in <lambda>()97 return notifications in <lambda>()113 val notifications: List<StatusBarNotification> = getNotifications(pkg) in <lambda>() constant114 if (notifications.isEmpty()) { in <lambda>()117 for (notification in notifications) { in <lambda>()
55 assertThat(dispatchResponse.notifications).hasSize(1); in validResponseWithTransactionError()56 assertThat(dispatchResponse.notifications.get(0).notificationEventId) in validResponseWithTransactionError()73 assertThat(dispatchResponse.notifications).hasSize(0); in validResponseWithOutboundDataToRemote()93 assertThat(dispatchResponse.notifications).hasSize(0); in validResponseWithOutboundDataToHost()119 assertThat(dispatchResponse.notifications).hasSize(1); in validResponseWithAdfSelectedNotification()120 assertThat(dispatchResponse.notifications.get(0).notificationEventId) in validResponseWithAdfSelectedNotification()123 dispatchResponse.notifications.get(0)).adfOid) in validResponseWithAdfSelectedNotification()144 assertThat(dispatchResponse.notifications).hasSize(1); in validResponseWithSecureSessionEstablishedNotification()147 dispatchResponse.notifications.get(0); in validResponseWithSecureSessionEstablishedNotification()171 assertThat(dispatchResponse.notifications).hasSize(1); in validResponseWithSecureSessionEstablishedNotificationAndValidSessionId()[all …]
32 TreeSet<NotificationHistory.HistoricalNotification> notifications; field in NotificationHistoryPackage39 notifications = new TreeSet<>( in NotificationHistoryPackage()44 if (notifications.isEmpty()) { in getMostRecent()47 return notifications.first().getPostedTimeMs(); in getMostRecent()57 Objects.equals(notifications, that.notifications) && in equals()64 return Objects.hash(pkgName, uid, notifications, label, icon); in hashCode()
72 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancel() local74 String groupKey = findGroupKey(notifications, tag, id); in cancel()77 getGroupSummaryAndCount(notifications, groupKey); in cancel()93 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancelAll() local94 for (StatusBarNotification notification : notifications) { in cancelAll()108 @NonNull StatusBarNotification[] notifications, @NonNull String tag, int id) { in findGroupKey()109 for (StatusBarNotification notification : notifications) { in findGroupKey()119 @NonNull StatusBarNotification[] notifications, @NonNull String groupKey) { in getGroupSummaryAndCount()122 for (StatusBarNotification notification : notifications) { in getGroupSummaryAndCount()
99 List<StatusBarNotification> notifications = getSortedMatchingNotifications(context, groupKey); in throttle() local101 notificationManager.cancel(notifications.get(i).getTag(), notifications.get(i).getId()); in throttle()102 throttledNotificationSet.add(notifications.get(i)); in throttle()110 List<StatusBarNotification> notifications = new ArrayList<>(); in getSortedMatchingNotifications() local114 notifications.add(notification); in getSortedMatchingNotifications()118 notifications, in getSortedMatchingNotifications()125 return notifications; in getSortedMatchingNotifications()
16 package com.android.adservices.ui.notifications;18 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…25 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…26 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…[all …]
16 package com.android.adservices.ui.notifications;18 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…
18 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…25 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…26 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…27 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…[all …]
20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…25 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…26 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…27 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…28 import static com.android.adservices.ui.notifications.ConsentNotificationTrigger.NOTIFICATION_ID;54 import com.android.adservices.ui.notifications.ConsentNotificationActivity;
18 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…25 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…49 import com.android.adservices.ui.notifications.ConsentNotificationActivity;
20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…47 import com.android.adservices.ui.notifications.ConsentNotificationActivity;
19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…45 import com.android.adservices.ui.notifications.ConsentNotificationActivity;
136 public void init(Map<String, AlertEntry> notifications, RankingMap rankingMap) { in init() argument137 mOldNotifications = notifications; in init()140 process(/* showLessImportantNotifications = */ false, notifications, rankingMap); in init()153 Map<String, AlertEntry> notifications, RankingMap rankingMap) { in process() argument157 new ArrayList<>(notifications.values()), in process()222 List<AlertEntry> notifications, in filter() argument226 notifications.removeIf(alertEntry -> shouldFilter(alertEntry, rankingMap)); in filter()233 notifications.removeIf(alertEntry -> Notification.CATEGORY_CALL.equals( in filter()237 notifications.removeIf(alertEntry -> CarHeadsUpNotificationQueue.CATEGORY_HUN_QUEUE_INTERNAL in filter()241 Log.d(TAG, "Filtered notifications: " + notifications); in filter()[all …]
85 mListView = findViewById(R.id.notifications); in onFinishInflate()198 public void setNotifications(List<NotificationGroup> notifications) { in setNotifications() argument199 mNotifications = notifications; in setNotifications()200 mAdapter.setNotifications(notifications, /* setRecyclerViewListHeaderAndFooter= */ true); in setNotifications()334 List<NotificationGroup> notifications = new ArrayList<>(); in getAllDismissibleNotifications() local337 notifications.add(notificationGroup); in getAllDismissibleNotifications()340 return notifications; in getAllDismissibleNotifications()349 private List<View> getNotificationViews(List<NotificationGroup> notifications) { in getNotificationViews() argument351 notifications.forEach(notificationGroup -> { in getNotificationViews()
19 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…20 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…21 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…22 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…23 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…24 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…25 import static com.android.adservices.ui.notifications.ConsentNotificationActivity.NotificationFragm…51 import com.android.adservices.ui.notifications.ConsentNotificationActivity;
78 private Map<Call, NotificationInfo> notifications = new ArrayMap<>(); field in ExternalCallNotifier95 Assert.checkArgument(!notifications.containsKey(call)); in onExternalCallAdded()97 notifications.put(call, info); in onExternalCallAdded()116 Assert.checkArgument(notifications.containsKey(call)); in onExternalCallUpdated()117 postNotification(notifications.get(call)); in onExternalCallUpdated()133 for (NotificationInfo info : notifications.values()) { in pullExternalCall()170 if (notifications.containsKey(info.getCall())) { in showNotifcation()180 if (notifications.containsKey(info.getCall())) { in showNotifcation()189 Assert.checkArgument(notifications.containsKey(call)); in dismissNotification()193 context, NOTIFICATION_TAG, notifications.get(call).getNotificationId()); in dismissNotification()[all …]
18 package com.android.customization.picker.notifications.ui.section24 import com.android.customization.picker.notifications.ui.binder.NotificationSectionBinder25 import com.android.customization.picker.notifications.ui.view.NotificationSectionView26 import com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel
5 A service that helps the user to manage notifications. Only one notification assistant can be7 modify certain aspects about notifications Adjustment before they are posted.11 lower in the shade), If ExtServices fails, framework just shows all notifications.
18 package com.android.customization.model.notifications.domain.interactor22 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor…23 import com.android.systemui.shared.notifications.data.repository.NotificationSettingsRepository24 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor
... google/api/client/googleapis/testing/notifications/ com/google/api/client/googleapis ...
296 List<String> notifications = in testImplSuccessfullyReportsRegisteredEvents() local298 assertThat(notifications) in testImplSuccessfullyReportsRegisteredEvents()417 List<String> notifications = in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException() local419 assertThat(notifications) in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()538 List<String> notifications = in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException() local540 assertThat(notifications) in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()922 List<String> notifications = in testImplFailsWhenThrottled() local924 assertThat(notifications) in testImplFailsWhenThrottled()1220 List<String> notifications = in testImpl_onlyReportsEvent_measurementKillSwitchEnabled() local1222 assertThat(notifications) in testImpl_onlyReportsEvent_measurementKillSwitchEnabled()[all …]
18 package com.android.customization.picker.notifications.ui.viewmodel23 import com.android.systemui.shared.notifications.data.repository.NotificationSettingsRepository24 import com.android.systemui.shared.notifications.domain.interactor.NotificationSettingsInteractor