/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | GroupHelperTest.java | 168 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_addingNoGroupSBN() 193 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateNotification() 201 notifications.get(0).getNotification().flags &= ~Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateNotification() 222 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateNotificationAfterChanges() 230 notifications.get(0).getNotification().flags &= ~Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateNotificationAfterChanges() 234 notifications.get(0).getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateNotificationAfterChanges() 255 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_RemoveNotification() 290 notifications.get(0).getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_UpdateToNoneOngoingNotification() 309 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutoGroupCount_AddOneOngoingNotification()
|
H A D | NotificationComparatorTest.java | 202 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp()
|
H A D | NotificationManagerServiceTest.java | 1672 summary.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutobundledSummary_notificationRemoved() 1853 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag() 1856 sbn.getNotification().flags = Notification.FLAG_ONGOING_EVENT; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag() 2008 Notification.FLAG_ONGOING_EVENT, true, notif.getUserId(), 0, null); in testCancelAllNotifications_CancelsNoClearFlagOnGoing() 2043 sbn.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAppInitiatedCancelAllNotifications_CancelsOnGoingFlag() 2058 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllNotifications_CancelsOnGoingFlag() 2072 notif.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testUserInitiatedCancelAllOnClearAll_OnGoingFlag() 2091 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllCancelNotificationsFromListener_OnGoingFlag() 2114 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testCancelAllCancelNotificationsFromListener_OnGoingFlagWithParameter() 2138 child2.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testUserInitiatedCancelAllWithGroup_OnGoingFlag()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ |
H A D | NewUserDisclaimerActivityTest.java | 20 import static android.app.Notification.FLAG_ONGOING_EVENT; 159 .that(notification.flags & FLAG_ONGOING_EVENT).isEqualTo(FLAG_ONGOING_EVENT); in assertNotificationContents()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 270 return (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0; in isOngoing() 279 return ((notification.flags & Notification.FLAG_ONGOING_EVENT) == 0) in isClearable()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationInfo.java | 93 dismissable = (notification.flags & Notification.FLAG_ONGOING_EVENT) == 0; in NotificationInfo()
|
H A D | NotificationListener.java | 325 if ((notification.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in notificationIsValidForUI()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | NotificationGroupTest.java | 183 mNotification1.getNotification().flags | Notification.FLAG_ONGOING_EVENT; in isDismissible_containsOngoingNotification_returnsFalse()
|
H A D | CarNotificationViewTest.java | 276 notification.getNotification().flags | Notification.FLAG_ONGOING_EVENT; in getNotificationGroup()
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
H A D | NetworkNotificationManagerTest.java | 20 import static android.app.Notification.FLAG_ONGOING_EVENT; 289 ongoing, (noteCaptor.getValue().flags & FLAG_ONGOING_EVENT) != 0); in assertNotification()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | CarNotificationBaseViewHolder.java | 331 & (Notification.FLAG_FOREGROUND_SERVICE | Notification.FLAG_ONGOING_EVENT)) == 0; in isDismissible()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ForegroundServiceControllerTest.java | 438 n.flags = Notification.FLAG_ONGOING_EVENT; in makeMockDisclosure()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntry.java | 781 boolean ongoing = ((mSbn.getNotification().flags & Notification.FLAG_ONGOING_EVENT) != 0); in isDismissable()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationUsageStats.java | 436 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in countApiUse()
|
H A D | NotificationManagerService.java | 25 import static android.app.Notification.FLAG_ONGOING_EVENT; 843 summary.getSbn().getNotification().flags |= FLAG_ONGOING_EVENT; in updateAutobundledSummaryFlags() 845 summary.getSbn().getNotification().flags &= ~FLAG_ONGOING_EVENT; in updateAutobundledSummaryFlags() 1141 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE, 4366 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE, 6987 notification.flags |= FLAG_ONGOING_EVENT 8828 int flagsToCheck = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
|
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 417 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 612 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in Notification 703 @IntDef(flag = true, prefix = { "FLAG_" }, value = {FLAG_SHOW_LIGHTS, FLAG_ONGOING_EVENT, 4575 setFlag(FLAG_ONGOING_EVENT, ongoing); in setOngoing()
|
/aosp12/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 3883 notification.flags |= Notification.FLAG_ONGOING_EVENT; in installHandleTooManyDeletesNotification()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 5737 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
|
/aosp12/frameworks/opt/setupwizard/tools/docs/ |
H A D | android-22.txt | 4610 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
|