Searched refs:FLAG_ONGOING_EVENT (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java230 * {@link Notification#FLAG_ONGOING_EVENT}.
233 return (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0;
237 * either {@link Notification#FLAG_ONGOING_EVENT} or
241 return ((notification.flags & Notification.FLAG_ONGOING_EVENT) == 0)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationComparatorTest.java172 .setFlag(Notification.FLAG_ONGOING_EVENT
H A DNotificationManagerServiceTest.java948 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE;
951 sbn.getNotification().flags = Notification.FLAG_ONGOING_EVENT;
1077 Notification.FLAG_ONGOING_EVENT, true, notif.getUserId(), 0, null);
1112 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
1126 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
1140 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
1159 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
1182 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
1206 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT;
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatBuilder.java76 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0)
H A DNotificationCompat.java133 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in class:NotificationCompat
1088 setFlag(Notification.FLAG_ONGOING_EVENT, ongoing);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DForegroundServiceControllerTest.java480 n.flags = Notification.FLAG_ONGOING_EVENT;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java421 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java436 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) {
H A DNotificationManagerService.java761 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE,
2695 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE,
3969 // NoMan adds flags FLAG_NO_CLEAR and FLAG_ONGOING_EVENT when it sees
4463 notification.flags |= Notification.FLAG_ONGOING_EVENT
5851 if ((flags & (Notification.FLAG_ONGOING_EVENT | Notification.FLAG_NO_CLEAR))
/frameworks/base/core/java/android/app/
H A DNotification.java532 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in class:Notification
3879 * @see Notification#FLAG_ONGOING_EVENT
3883 setFlag(FLAG_ONGOING_EVENT, ongoing);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java3903 notification.flags |= Notification.FLAG_ONGOING_EVENT;

Completed in 760 milliseconds