Searched refs:FLAG_ONGOING_EVENT (Results 1 – 20 of 20) sorted by relevance
109 .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()
144 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()
24 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 …]
226 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp()
39 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 …]
19 import static android.app.Notification.FLAG_ONGOING_EVENT;188 assertThat(notification.flags & FLAG_ONGOING_EVENT).isEqualTo(0); in assertExpectedNotification()
299 return (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0; in isOngoing()318 return ((notification.flags & Notification.FLAG_ONGOING_EVENT) == 0) in isClearable()
24 import static android.app.Notification.FLAG_ONGOING_EVENT;64 private static final int ANY_CHILDREN_FLAGS = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
450 if ((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) { in countApiUse()
45 import static android.app.Notification.FLAG_ONGOING_EVENT;1252 /*includeCurrentProfiles*/ true, FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);5015 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR5026 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);5144 int mustNotHaveFlags = FLAG_ONGOING_EVENT;7633 if (((notification.flags & FLAG_ONGOING_EVENT) > 0)
93 // Whether this notification has set FLAG_ONGOING_EVENT. Which means there may
21 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()
417 .setFlag(Notification.FLAG_ONGOING_EVENT, true)
877 && !hasFlag(entry, Notification.FLAG_ONGOING_EVENT)
638 public static final int FLAG_ONGOING_EVENT = 0x00000002; field in Notification773 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()
2022 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testCreateBubbleFromOngoingNotification()
4084 notification.flags |= Notification.FLAG_ONGOING_EVENT; in installHandleTooManyDeletesNotification()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
4610 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2
6492 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2