Home
last modified time | relevance | path

Searched refs:FLAG_ONGOING_EVENT (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java253 return (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0; in isOngoing()
262 return ((notification.flags & Notification.FLAG_ONGOING_EVENT) == 0) in isClearable()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java188 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp()
DNotificationManagerServiceTest.java1025 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelImmediatelyAfterEnqueueNotifiesListeners_ForegroundServiceFlag()
1274 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
1277 sbn.getNotification().flags = Notification.FLAG_ONGOING_EVENT; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
1403 Notification.FLAG_ONGOING_EVENT, true, notif.getUserId(), 0, null); in testCancelAllNotifications_CancelsNoClearFlagOnGoing()
1438 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAppInitiatedCancelAllNotifications_CancelsOnGoingFlag()
1452 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllNotifications_CancelsOnGoingFlag()
1466 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testUserInitiatedCancelAllOnClearAll_OnGoingFlag()
1485 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllCancelNotificationsFromListener_OnGoingFlag()
1508 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllCancelNotificationsFromListener_OnGoingFlagWithParameter()
1532 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testUserInitiatedCancelAllWithGroup_OnGoingFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java382 n.flags = Notification.FLAG_ONGOING_EVENT; in makeMockDisclosure()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java421 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java448 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in countApiUse()
DNotificationManagerService.java25 import static android.app.Notification.FLAG_ONGOING_EVENT;
875 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE,
3278 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE | FLAG_BUBBLE,
5630 notification.flags |= FLAG_ONGOING_EVENT
7092 int flagsToCheck = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
/frameworks/base/core/java/android/app/
DNotification.java546 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in Notification
632 @IntDef({FLAG_SHOW_LIGHTS, FLAG_ONGOING_EVENT, FLAG_INSISTENT, FLAG_ONLY_ALERT_ONCE,
4152 setFlag(FLAG_ONGOING_EVENT, ongoing); in setOngoing()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3838 notification.flags |= Notification.FLAG_ONGOING_EVENT; in installHandleTooManyDeletesNotification()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4610 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt5363 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt5363 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2