Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DGroupHelperTest.java168 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 DNotificationComparatorTest.java202 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp()
H A DNotificationManagerServiceTest.java1672 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 DNewUserDisclaimerActivityTest.java20 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 DStatusBarNotification.java270 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 DNotificationInfo.java93 dismissable = (notification.flags & Notification.FLAG_ONGOING_EVENT) == 0; in NotificationInfo()
H A DNotificationListener.java325 if ((notification.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in notificationIsValidForUI()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DNotificationGroupTest.java183 mNotification1.getNotification().flags | Notification.FLAG_ONGOING_EVENT; in isDismissible_containsOngoingNotification_returnsFalse()
H A DCarNotificationViewTest.java276 notification.getNotification().flags | Notification.FLAG_ONGOING_EVENT; in getNotificationGroup()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DNetworkNotificationManagerTest.java20 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 DCarNotificationBaseViewHolder.java331 & (Notification.FLAG_FOREGROUND_SERVICE | Notification.FLAG_ONGOING_EVENT)) == 0; in isDismissible()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DForegroundServiceControllerTest.java438 n.flags = Notification.FLAG_ONGOING_EVENT; in makeMockDisclosure()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntry.java781 boolean ongoing = ((mSbn.getNotification().flags & Notification.FLAG_ONGOING_EVENT) != 0); in isDismissable()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java436 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in countApiUse()
H A DNotificationManagerService.java25 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 DNotificationTestList.java417 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
/aosp12/frameworks/base/core/java/android/app/
H A DNotification.java612 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 DSyncManager.java3883 notification.flags |= Notification.FLAG_ONGOING_EVENT; in installHandleTooManyDeletesNotification()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt5737 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt4610 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2