Home
last modified time | relevance | path

Searched refs:BASE_FLAGS (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java30 import static com.android.server.notification.GroupHelper.BASE_FLAGS;
157 assertEquals(BASE_FLAGS, mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_noChildren()
167 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoing()
178 assertEquals(FLAG_NO_CLEAR | FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoingNoClear()
189 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoingBubble()
201 assertEquals(FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_multipleOngoing()
212 assertEquals(BASE_FLAGS, in testGetAutogroupSummaryFlags_oneAutoCancel()
224 assertEquals(FLAG_AUTO_CANCEL | BASE_FLAGS, in testGetAutogroupSummaryFlags_allAutoCancel()
237 assertEquals(FLAG_AUTO_CANCEL| FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
297 anyInt(), eq(pkg), anyString(), eq(getNotificationAttributes(BASE_FLAGS))); in testAddSummary_alwaysAutogroup()
[all …]
DNotificationManagerServiceTest.java2497 new NotificationAttributes(GroupHelper.BASE_FLAGS | FLAG_ONGOING_EVENT, in testAutobundledSummary_notificationAdded()
2516 new NotificationAttributes(GroupHelper.BASE_FLAGS, in testAutobundledSummary_notificationRemoved()
12703 nr1.getKey(), GroupHelper.BASE_FLAGS | FLAG_ONGOING_EVENT, mock(Icon.class), 0,
12733 nr1.getKey(), GroupHelper.BASE_FLAGS, mock(Icon.class), 0, VISIBILITY_PRIVATE));
12746 nr0_all.getKey(), GroupHelper.BASE_FLAGS, mock(Icon.class), 0, VISIBILITY_PRIVATE));
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java59 protected static final int BASE_FLAGS = field in GroupHelper
104 return BASE_FLAGS | (allChildrenHasFlag ? ALL_CHILDREN_FLAG : 0) | anyChildFlagSet; in getAutogroupSummaryFlags()
DNotificationManagerService.java10316 if (notificationMatchesUserId(r, userId, (r.getFlags() & GroupHelper.BASE_FLAGS) != 0)