Home
last modified time | relevance | path

Searched refs:mGroupHelper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java98 private GroupHelper mGroupHelper; field in GroupHelperTest
115 mGroupHelper = new GroupHelper(getContext(), mPackageManager, AUTOGROUP_AT_COUNT, in setUp()
157 assertEquals(BASE_FLAGS, mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_noChildren()
168 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_oneOngoing()
179 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_oneOngoingNoClear()
190 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_oneOngoingBubble()
202 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_multipleOngoing()
213 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_oneAutoCancel()
225 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_allAutoCancel()
238 mGroupHelper.getAutogroupSummaryFlags(children)); in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
[all …]
DNotificationManagerServiceTest.java478 @Mock GroupHelper mGroupHelper; field in NotificationManagerServiceTest
750 mSnoozeHelper, mUsageStats, mPolicyFile, mActivityManager, mGroupHelper, mAm, mAtm, in initNMS()
5314 verify(mGroupHelper, times(1)).onNotificationPosted(any(), anyBoolean()); in testOnlyAutogroupIfNeeded_newNotification_ghUpdate()
5333 verify(mGroupHelper, times(1)).onNotificationPosted(any(), anyBoolean()); in testOnlyAutogroupIfNeeded_groupChanged_ghUpdate()
5353 verify(mGroupHelper, times(1)).onNotificationPosted(any(), anyBoolean()); in testOnlyAutogroupIfNeeded_flagsChanged_ghUpdate()
5373 verify(mGroupHelper, never()).onNotificationPosted(any(), anyBoolean()); in testOnlyAutogroupIfGroupChanged_noValidChange_noGhUpdate()
5395 verify(mGroupHelper, never()).onNotificationPosted(any(), anyBoolean()); in testDontAutogroupIfCritical()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java724 private GroupHelper mGroupHelper; field in NotificationManagerService
2524 mGroupHelper = groupHelper; in init()
8744 boolean willBeAutogrouped = mGroupHelper.onNotificationPosted(n,
8787 mGroupHelper.onNotificationPosted(
8802 mGroupHelper.onNotificationRemoved(n);
9733 mGroupHelper.onNotificationRemoved(r.getSbn());