Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDismissibilityCoordinatorTest.kt109 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNotifWhenPhoneIsLocked()
126 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNotifWhenPhoneIsUnLocked()
143 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNondismissNotifWhenPhoneIsUnLocked()
162 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testMultipleEntries()
167 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testMultipleEntries()
216 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingEntryInGroupWhenPhoneIsLocked()
236 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingEntryInGroupWhenPhoneIsUnLocked()
266 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingEntryInGroupWithoutSummaryWhenPhoneIsLocked()
281 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingEntryInGroupWithoutSummaryWhenPhoneIsUnLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateNotificationControllerTest.java144 assertEquals(Notification.FLAG_ONGOING_EVENT, in test_activeNotification()
145 notification.flags & Notification.FLAG_ONGOING_EVENT); in test_activeNotification()
174 assertEquals(Notification.FLAG_ONGOING_EVENT, in test_powerSaveNotification()
175 notification.flags & Notification.FLAG_ONGOING_EVENT); in test_powerSaveNotification()
188 assertEquals(0, notification.flags & Notification.FLAG_ONGOING_EVENT); in test_powerSaveNotification()
210 assertEquals(Notification.FLAG_ONGOING_EVENT, in test_thermalNotification()
211 notification.flags & Notification.FLAG_ONGOING_EVENT); in test_thermalNotification()
224 assertEquals(0, notification.flags & Notification.FLAG_ONGOING_EVENT); in test_thermalNotification()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java24 import static android.app.Notification.FLAG_ONGOING_EVENT;
164 children.put("b", getNotificationAttributes(FLAG_ONGOING_EVENT)); in testGetAutogroupSummaryFlags_oneOngoing()
167 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoing()
175 children.put("b", getNotificationAttributes(FLAG_ONGOING_EVENT | FLAG_NO_CLEAR)); in testGetAutogroupSummaryFlags_oneOngoingNoClear()
178 assertEquals(FLAG_NO_CLEAR | FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoingNoClear()
186 children.put("b", getNotificationAttributes(FLAG_ONGOING_EVENT | FLAG_BUBBLE)); in testGetAutogroupSummaryFlags_oneOngoingBubble()
189 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoingBubble()
197 children.put("b", getNotificationAttributes(FLAG_ONGOING_EVENT)); in testGetAutogroupSummaryFlags_multipleOngoing()
199 children.put("d", getNotificationAttributes(FLAG_ONGOING_EVENT)); in testGetAutogroupSummaryFlags_multipleOngoing()
201 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_multipleOngoing()
[all …]
DNotificationComparatorTest.java226 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp()
DNotificationManagerServiceTest.java39 import static android.app.Notification.FLAG_ONGOING_EVENT;
2497 new NotificationAttributes(GroupHelper.BASE_FLAGS | FLAG_ONGOING_EVENT, in testAutobundledSummary_notificationAdded()
2509 summary.getNotification().flags |= Notification.FLAG_ONGOING_EVENT; in testAutobundledSummary_notificationRemoved()
2673 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
2676 sbn.getNotification().flags = Notification.FLAG_ONGOING_EVENT; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
2841 child2.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearChild()
2861 parent.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearParent()
2947 child2.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelAllNotifications_fromApp_canCancelOngoingNoClearChild()
2969 parent.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelAllNotifications_fromApp_canCancelOngoingNoClearParent()
2993 parent.getNotification().flags |= FLAG_ONGOING_EVENT; in testCancelNotificationsFromListener_clearAll_GroupWithOngoingParent()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/notifications/
DDisplayNotificationManagerTest.java19 import static android.app.Notification.FLAG_ONGOING_EVENT;
188 assertThat(notification.flags & FLAG_ONGOING_EVENT).isEqualTo(0); in assertExpectedNotification()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java299 return (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0; in isOngoing()
318 return ((notification.flags & Notification.FLAG_ONGOING_EVENT) == 0) in isClearable()
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java24 import static android.app.Notification.FLAG_ONGOING_EVENT;
64 private static final int ANY_CHILDREN_FLAGS = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
DNotificationUsageStats.java450 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in countApiUse()
DNotificationManagerService.java45 import static android.app.Notification.FLAG_ONGOING_EVENT;
1252 /*includeCurrentProfiles*/ true, FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);
5015 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR
5026 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);
5144 int mustNotHaveFlags = FLAG_ONGOING_EVENT;
7633 if (((notification.flags & FLAG_ONGOING_EVENT) > 0)
/frameworks/proto_logging/stats/atoms/wearservices/
Dwearservices_atoms.proto93 // Whether this notification has set FLAG_ONGOING_EVENT. Which means there may
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java21 import static android.app.Notification.FLAG_ONGOING_EVENT;
970 .setFlag(mContext, FLAG_ONGOING_EVENT, true)); in testDismissingSummaryDoesNotDismissOngoingChildren()
1696 .setFlag(mContext, FLAG_ONGOING_EVENT, true) in testCannotDismissOngoingNotificationChildren()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java417 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java877 && !hasFlag(entry, Notification.FLAG_ONGOING_EVENT)
/frameworks/base/core/java/android/app/
DNotification.java638 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in Notification
773 FLAG_ONGOING_EVENT,
3920 if ((flags & FLAG_ONGOING_EVENT) != 0) { in flagsToString()
3922 flags &= ~FLAG_ONGOING_EVENT; in flagsToString()
5217 setFlag(FLAG_ONGOING_EVENT, ongoing); in setOngoing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java2022 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testCreateBubbleFromOngoingNotification()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java4084 notification.flags |= Notification.FLAG_ONGOING_EVENT; in installHandleTooManyDeletesNotification()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4610 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt6492 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2