/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManagerTest.java | 51 private NotificationGroupManager mGroupManager; field in NotificationGroupManagerTest 66 mGroupManager = new NotificationGroupManager(); in initializeGroupManager() 67 mGroupManager.setHeadsUpManager(mHeadsUpManager); in initializeGroupManager() 75 mGroupManager.onEntryAdded(summaryEntry); in testIsOnlyChildInGroup() 76 mGroupManager.onEntryAdded(childEntry); in testIsOnlyChildInGroup() 78 assertTrue(mGroupManager.isOnlyChildInGroup(childEntry.notification)); in testIsOnlyChildInGroup() 86 mGroupManager.onEntryAdded(summaryEntry); in testIsChildInGroupWithSummary() 87 mGroupManager.onEntryAdded(childEntry); in testIsChildInGroupWithSummary() 88 mGroupManager.onEntryAdded(mGroupTestHelper.createChildNotification()); in testIsChildInGroupWithSummary() 90 assertTrue(mGroupManager.isChildInGroupWithSummary(childEntry.notification)); in testIsChildInGroupWithSummary() [all …]
|
D | NotificationGroupAlertTransferHelperTest.java | 60 private NotificationGroupManager mGroupManager; field in NotificationGroupAlertTransferHelperTest 81 mGroupManager = new NotificationGroupManager(); in setup() 82 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setup() 83 mGroupManager.setHeadsUpManager(mHeadsUpManager); in setup() 88 mGroupAlertTransferHelper.bind(mNotificationEntryManager, mGroupManager); in setup() 102 mGroupManager.onEntryAdded(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChild() 103 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChild() 120 mGroupManager.onEntryAdded(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 121 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 126 mGroupManager.onEntryAdded(childEntry2); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() [all …]
|
D | HeadsUpManagerPhoneTest.java | 54 @Mock private NotificationGroupManager mGroupManager; field in HeadsUpManagerPhoneTest 81 mGroupManager, mBar, mVSManager); in setUp()
|
D | NotificationPanelViewTest.java | 91 private NotificationGroupManager mGroupManager; field in NotificationPanelViewTest 194 NotificationPanelViewTest.this.mGroupManager, in TestableNotificationPanelView()
|
D | StatusBarTest.java | 811 mGroupManager = notificationGroupManager; in TestableStatusBar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManagerTest.java | 81 @Mock private NotificationGroupManager mGroupManager; field in NotificationViewHierarchyManagerTest 101 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp() 110 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp() 140 when(mGroupManager.isChildInGroupWithSummary(entry0.notification)).thenReturn(false); in testNotificationsBecomingBundled() 141 when(mGroupManager.isChildInGroupWithSummary(entry1.notification)).thenReturn(true); in testNotificationsBecomingBundled() 142 when(mGroupManager.isChildInGroupWithSummary(entry2.notification)).thenReturn(true); in testNotificationsBecomingBundled() 143 when(mGroupManager.getGroupSummary(entry1.notification)).thenReturn(entry0); in testNotificationsBecomingBundled() 144 when(mGroupManager.getGroupSummary(entry2.notification)).thenReturn(entry0); in testNotificationsBecomingBundled() 169 when(mGroupManager.isChildInGroupWithSummary(entry0.notification)).thenReturn(false); in testNotificationsBecomingUnbundled() 170 when(mGroupManager.isChildInGroupWithSummary(entry1.notification)).thenReturn(false); in testNotificationsBecomingUnbundled() [all …]
|
D | NotificationTestHelper.java | 69 private final NotificationGroupManager mGroupManager = new NotificationGroupManager(); field in NotificationTestHelper 76 mHeadsUpManager = new HeadsUpManagerPhone(mContext, null, mGroupManager, null, null); in NotificationTestHelper() 77 mGroupManager.setHeadsUpManager(mHeadsUpManager); in NotificationTestHelper() 288 row.setGroupManager(mGroupManager); in generateRow() 317 mGroupManager.onEntryAdded(entry); in generateRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupAlertTransferHelper.java | 75 private final NotificationGroupManager mGroupManager = field in NotificationGroupAlertTransferHelper 158 GroupAlertEntry groupAlertEntry = mGroupAlertEntries.get(mGroupManager.getGroupKey( 186 if (isAlerting && mGroupManager.isSummaryOfSuppressedGroup(entry.notification)) { in onAlertStateChanged() 197 String groupKey = mGroupManager.getGroupKey(entry.notification); 281 String groupKey = mGroupManager.getGroupKey(group.summary.notification); in isPendingNotificationInGroup() 282 return mGroupManager.isGroupChild(entry.notification) in isPendingNotificationInGroup() 283 && Objects.equals(mGroupManager.getGroupKey(entry.notification), groupKey) in isPendingNotificationInGroup() 300 mGroupAlertEntries.get(mGroupManager.getGroupKey(sbn)); in handleSuppressedSummaryAlerted() 301 if (!mGroupManager.isSummaryOfSuppressedGroup(summary.notification) in handleSuppressedSummaryAlerted() 312 …NotificationEntry child = mGroupManager.getLogicalChildren(summary.notification).iterator().next(); in handleSuppressedSummaryAlerted() [all …]
|
D | StatusBarRemoteInputCallback.java | 69 private final NotificationGroupManager mGroupManager; field in StatusBarRemoteInputCallback 91 mGroupManager = groupManager; in StatusBarRemoteInputCallback() 168 mGroupManager.toggleGroupExpansion(row.getStatusBarNotification()); in onMakeExpandedVisibleForRemoteInput()
|
D | StatusBarNotificationActivityStarter.java | 82 private final NotificationGroupManager mGroupManager; field in StatusBarNotificationActivityStarter 155 mGroupManager = groupManager; in StatusBarNotificationActivityStarter() 246 if (shouldAutoCancel(sbn) && mGroupManager.isOnlyChildInGroup(sbn)) { in handleNotificationClickAfterKeyguardDismissed() 248 mGroupManager.getLogicalGroupSummary(sbn).notification; in handleNotificationClickAfterKeyguardDismissed()
|
D | HeadsUpManagerPhone.java | 63 private final NotificationGroupManager mGroupManager; field in HeadsUpManagerPhone 115 mGroupManager = groupManager; in HeadsUpManagerPhone() 315 mGroupManager.getGroupSummary(topEntry.notification); in calculateTouchableRegion()
|
D | StatusBar.java | 615 mGroupManager = Dependency.get(NotificationGroupManager.class); in start() 857 mHeadsUpManager = new HeadsUpManagerPhone(context, mStatusBarWindow, mGroupManager, this, in makeStatusBarView() 862 mHeadsUpManager.addListener(mGroupManager); in makeStatusBarView() 866 mAmbientPulseManager.addListener(mGroupManager); in makeStatusBarView() 869 mGroupManager.setHeadsUpManager(mHeadsUpManager); in makeStatusBarView() 924 mNotificationPanel.initDependencies(this, mGroupManager, mNotificationShelf, in makeStatusBarView() 1077 mRemoteInputManager, mStatusBarRemoteInputCallback, mGroupManager, in setUpPresenter() 1089 mGroupAlertTransferHelper.bind(mEntryManager, mGroupManager); in setUpPresenter() 2369 if (mGroupManager != null) { in dump() 2370 mGroupManager.dump(fd, pw, args); in dump() [all …]
|
D | NotificationPanelView.java | 272 private NotificationGroupManager mGroupManager; field in NotificationPanelView 732 boolean suppressedSummary = mGroupManager != null in computeMaxKeyguardNotifications() 733 && mGroupManager.isSummaryOfSuppressedGroup(row.getStatusBarNotification()); in computeMaxKeyguardNotifications() 2843 mGroupManager = groupManager; 3117 setGroupManager(mGroupManager); in initDependencies()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 73 protected final NotificationGroupManager mGroupManager; field in NotificationViewHierarchyManager 112 mGroupManager = groupManager; in NotificationViewHierarchyManager() 173 if (mGroupManager.isChildInGroupWithSummary(ent.notification)) { in updateNotificationViews() 174 NotificationEntry summary = mGroupManager.getGroupSummary(ent.notification); in updateNotificationViews() 202 if (mGroupManager.isChildInGroupWithSummary(viewToRemove.getStatusBarNotification())) { in updateNotificationViews() 381 mGroupManager.isChildInGroupWithSummary(entry.notification); in updateRowStatesInternal() 395 boolean suppressedSummary = mGroupManager.isSummaryOfSuppressedGroup( in updateRowStatesInternal() 400 if (mGroupManager.isChildInGroupWithSummary(entry.notification)) { in updateRowStatesInternal() 401 NotificationEntry summary = mGroupManager.getLogicalGroupSummary( in updateRowStatesInternal()
|
D | NotificationListener.java | 53 private final NotificationGroupManager mGroupManager = field in NotificationListener 101 && mGroupManager.isChildInGroupWithSummary(sbn)) { in onNotificationPosted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 62 private final NotificationGroupManager mGroupManager = field in NotificationData 195 mGroupManager.onEntryAdded(entry); in add() 209 mGroupManager.onEntryRemoved(removed); in remove() 222 mGroupManager.onEntryUpdated(entry, oldNotification); in update() 259 if (mGroupManager.isSummaryOfGroup(statusBarNotification)) { in isHighPriority() 261 mGroupManager.getLogicalChildren(statusBarNotification); in isHighPriority() 387 mGroupManager.onEntryUpdated(entry, oldSbn); in updateRankingAndSort()
|
D | NotificationRowBinderImpl.java | 59 private final NotificationGroupManager mGroupManager = field in NotificationRowBinderImpl 147 row.setGroupManager(mGroupManager); in bindRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 44 private final NotificationGroupManager mGroupManager = Dependency.get( field in NotificationFilter 118 && mGroupManager.isChildInGroupWithSummary(sbn)) { in shouldFilterOut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 231 private NotificationGroupManager mGroupManager; field in ExpandableNotificationRow 280 && mGroupManager.isSummaryOfGroup(mStatusBarNotification)) { 282 final boolean wasExpanded = mGroupManager.isGroupExpanded(mStatusBarNotification); 283 boolean nowExpanded = mGroupManager.toggleGroupExpansion(mStatusBarNotification); 746 mGroupManager = groupManager; 830 return mGroupManager.isOnlyChildInGroup(getStatusBarNotification()); 1458 mGroupManager.getLogicalGroupSummary(getStatusBarNotification()); 2236 final boolean wasExpanded = mGroupManager.isGroupExpanded(mStatusBarNotification); 2237 mGroupManager.setGroupExpanded(mStatusBarNotification, userExpanded); 2385 return mGroupManager.isGroupExpanded(mStatusBarNotification); [all …]
|
D | NotificationContentView.java | 116 private NotificationGroupManager mGroupManager; field in NotificationContentView 810 return mGroupManager.isGroupExpanded(mStatusBarNotification); in isGroupExpanded() 1501 mGroupManager = groupManager;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 113 @Mock private NotificationGroupManager mGroupManager; field in NotificationStackScrollLayoutTest 179 mStackScroller.setGroupManager(mGroupManager); in setUp() 192 doNothing().when(mGroupManager).collapseAllGroups(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 126 @Mock private NotificationGroupManager mGroupManager; field in NotificationEntryManagerTest 215 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 240 private NotificationGroupManager mGroupManager; field in NotificationStackScrollLayout 1410 = mGroupManager.getGroupSummary(row.getStatusBarNotification()); 1587 && mGroupManager.getGroupSummary( 2934 && mGroupManager.isChildInGroupWithSummary( 3010 mGroupManager.getGroupSummary(row.getStatusBarNotification()); 4385 mGroupManager.collapseAllGroups(); 4970 this.mGroupManager = groupManager; 4971 mGroupManager.addOnGroupChangeListener(mOnGroupChangeListener);
|