/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManagerTest.java | 52 private NotificationGroupManager mGroupManager; field in NotificationGroupManagerTest 64 mGroupManager = new NotificationGroupManager(mock(StatusBarStateController.class)); in initializeGroupManager() 65 mGroupManager.setHeadsUpManager(mHeadsUpManager); in initializeGroupManager() 73 mGroupManager.onEntryAdded(summaryEntry); in testIsOnlyChildInGroup() 74 mGroupManager.onEntryAdded(childEntry); in testIsOnlyChildInGroup() 76 assertTrue(mGroupManager.isOnlyChildInGroup(childEntry.notification)); in testIsOnlyChildInGroup() 84 mGroupManager.onEntryAdded(summaryEntry); in testIsChildInGroupWithSummary() 85 mGroupManager.onEntryAdded(childEntry); in testIsChildInGroupWithSummary() 86 mGroupManager.onEntryAdded(mGroupTestHelper.createChildNotification()); in testIsChildInGroupWithSummary() 88 assertTrue(mGroupManager.isChildInGroupWithSummary(childEntry.notification)); in testIsChildInGroupWithSummary() [all …]
|
D | NotificationGroupAlertTransferHelperTest.java | 61 private NotificationGroupManager mGroupManager; field in NotificationGroupAlertTransferHelperTest 79 mGroupManager = new NotificationGroupManager(mock(StatusBarStateController.class)); in setup() 80 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setup() 81 mGroupManager.setHeadsUpManager(mHeadsUpManager); in setup() 86 mGroupAlertTransferHelper.bind(mNotificationEntryManager, mGroupManager); in setup() 99 mGroupManager.onEntryAdded(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChild() 100 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChild() 117 mGroupManager.onEntryAdded(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 118 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 123 mGroupManager.onEntryAdded(childEntry2); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() [all …]
|
D | HeadsUpManagerPhoneTest.java | 55 @Mock private NotificationGroupManager mGroupManager; field in HeadsUpManagerPhoneTest 88 mGroupManager, mBar, mVSManager, mStatusBarStateController, mBypassController); in setUp()
|
D | NotificationPanelViewTest.java | 96 private NotificationGroupManager mGroupManager; field in NotificationPanelViewTest 227 NotificationPanelViewTest.this.mGroupManager, in TestableNotificationPanelView()
|
D | StatusBarTest.java | 809 mGroupManager = notificationGroupManager; in TestableStatusBar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManagerTest.java | 82 @Mock private NotificationGroupManager mGroupManager; field in NotificationViewHierarchyManagerTest 102 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp() 111 mHandler, mLockscreenUserManager, mGroupManager, mVisualStabilityManager, in setUp() 144 when(mGroupManager.isChildInGroupWithSummary(entry0.notification)).thenReturn(false); in testNotificationsBecomingBundled() 145 when(mGroupManager.isChildInGroupWithSummary(entry1.notification)).thenReturn(true); in testNotificationsBecomingBundled() 146 when(mGroupManager.isChildInGroupWithSummary(entry2.notification)).thenReturn(true); in testNotificationsBecomingBundled() 147 when(mGroupManager.getGroupSummary(entry1.notification)).thenReturn(entry0); in testNotificationsBecomingBundled() 148 when(mGroupManager.getGroupSummary(entry2.notification)).thenReturn(entry0); in testNotificationsBecomingBundled() 173 when(mGroupManager.isChildInGroupWithSummary(entry0.notification)).thenReturn(false); in testNotificationsBecomingUnbundled() 174 when(mGroupManager.isChildInGroupWithSummary(entry1.notification)).thenReturn(false); in testNotificationsBecomingUnbundled() [all …]
|
D | NotificationTestHelper.java | 72 private final NotificationGroupManager mGroupManager; field in NotificationTestHelper 80 mGroupManager = new NotificationGroupManager(stateController); in NotificationTestHelper() 83 mHeadsUpManager.setUp(null, mGroupManager, null, null); in NotificationTestHelper() 84 mGroupManager.setHeadsUpManager(mHeadsUpManager); in NotificationTestHelper() 295 row.setGroupManager(mGroupManager); in generateRow() 324 mGroupManager.onEntryAdded(entry); in generateRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupAlertTransferHelper.java | 71 private final NotificationGroupManager mGroupManager = field in NotificationGroupAlertTransferHelper 153 GroupAlertEntry groupAlertEntry = mGroupAlertEntries.get(mGroupManager.getGroupKey( 176 if (isAlerting && mGroupManager.isSummaryOfSuppressedGroup(entry.notification)) { in onAlertStateChanged() 187 String groupKey = mGroupManager.getGroupKey(entry.notification); 270 String groupKey = mGroupManager.getGroupKey(group.summary.notification); in isPendingNotificationInGroup() 271 return mGroupManager.isGroupChild(entry.notification) in isPendingNotificationInGroup() 272 && Objects.equals(mGroupManager.getGroupKey(entry.notification), groupKey) in isPendingNotificationInGroup() 289 mGroupAlertEntries.get(mGroupManager.getGroupKey(sbn)); in handleSuppressedSummaryAlerted() 290 if (!mGroupManager.isSummaryOfSuppressedGroup(summary.notification) in handleSuppressedSummaryAlerted() 301 …NotificationEntry child = mGroupManager.getLogicalChildren(summary.notification).iterator().next(); in handleSuppressedSummaryAlerted() [all …]
|
D | StatusBarRemoteInputCallback.java | 70 private final NotificationGroupManager mGroupManager; field in StatusBarRemoteInputCallback 92 mGroupManager = groupManager; in StatusBarRemoteInputCallback() 173 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 | 72 private NotificationGroupManager mGroupManager; field in HeadsUpManagerPhone 139 mGroupManager = groupManager; in setUp() 377 mGroupManager.getGroupSummary(topEntry.notification); in calculateTouchableRegion()
|
D | StatusBar.java | 879 mHeadsUpManager.setUp(mStatusBarWindow, mGroupManager, this, mVisualStabilityManager); in makeStatusBarView() 883 mHeadsUpManager.addListener(mGroupManager); in makeStatusBarView() 887 mGroupManager.setHeadsUpManager(mHeadsUpManager); in makeStatusBarView() 945 mNotificationPanel.initDependencies(this, mGroupManager, mNotificationShelf, in makeStatusBarView() 1081 mRemoteInputManager, mStatusBarRemoteInputCallback, mGroupManager, in setUpPresenter() 1093 mGroupAlertTransferHelper.bind(mEntryManager, mGroupManager); in setUpPresenter() 1111 mGroupManager = Dependency.get(NotificationGroupManager.class); in getDependencies() 2459 if (mGroupManager != null) { in dump() 2460 mGroupManager.dump(fd, pw, args); in dump() 4278 protected NotificationGroupManager mGroupManager;
|
D | NotificationPanelView.java | 336 private NotificationGroupManager mGroupManager; field in NotificationPanelView 877 boolean suppressedSummary = mGroupManager != null in computeMaxKeyguardNotifications() 878 && mGroupManager.isSummaryOfSuppressedGroup(row.getStatusBarNotification()); in computeMaxKeyguardNotifications() 3191 mGroupManager = groupManager; 3461 setGroupManager(mGroupManager); in initDependencies()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 74 protected final NotificationGroupManager mGroupManager; field in NotificationViewHierarchyManager 116 mGroupManager = groupManager; in NotificationViewHierarchyManager() 177 if (mGroupManager.isChildInGroupWithSummary(ent.notification)) { in updateNotificationViews() 178 NotificationEntry summary = mGroupManager.getGroupSummary(ent.notification); in updateNotificationViews() 206 if (mGroupManager.isChildInGroupWithSummary(viewToRemove.getStatusBarNotification())) { in updateNotificationViews() 385 mGroupManager.isChildInGroupWithSummary(entry.notification); in updateRowStatesInternal() 398 boolean suppressedSummary = mGroupManager.isSummaryOfSuppressedGroup( in updateRowStatesInternal() 403 if (mGroupManager.isChildInGroupWithSummary(entry.notification)) { in updateRowStatesInternal() 404 NotificationEntry summary = mGroupManager.getLogicalGroupSummary( in updateRowStatesInternal()
|
D | NotificationListener.java | 57 private final NotificationGroupManager mGroupManager = field in NotificationListener 106 && mGroupManager.isChildInGroupWithSummary(sbn)) { in onNotificationPosted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 61 private final NotificationGroupManager mGroupManager = field in NotificationData 192 mGroupManager.onEntryAdded(entry); in add() 206 mGroupManager.onEntryRemoved(removed); in remove() 219 mGroupManager.onEntryUpdated(entry, oldNotification); in update() 256 if (mGroupManager.isSummaryOfGroup(statusBarNotification)) { in isHighPriority() 258 mGroupManager.getLogicalChildren(statusBarNotification); in isHighPriority() 384 mGroupManager.onEntryUpdated(entry, oldSbn); in updateRankingAndSort()
|
D | NotificationRowBinderImpl.java | 60 private final NotificationGroupManager mGroupManager = field in NotificationRowBinderImpl 157 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 | 216 private NotificationGroupManager mGroupManager; field in ExpandableNotificationRow 265 && mGroupManager.isSummaryOfGroup(mStatusBarNotification)) { 267 final boolean wasExpanded = mGroupManager.isGroupExpanded(mStatusBarNotification); 268 boolean nowExpanded = mGroupManager.toggleGroupExpansion(mStatusBarNotification); 729 mGroupManager = groupManager; 813 return mGroupManager.isOnlyChildInGroup(getStatusBarNotification()); 1443 mGroupManager.getLogicalGroupSummary(getStatusBarNotification()); 2214 final boolean wasExpanded = mGroupManager.isGroupExpanded(mStatusBarNotification); 2215 mGroupManager.setGroupExpanded(mStatusBarNotification, userExpanded); 2361 return mGroupManager.isGroupExpanded(mStatusBarNotification); [all …]
|
D | NotificationContentView.java | 111 private NotificationGroupManager mGroupManager; field in NotificationContentView 743 return mGroupManager.isGroupExpanded(mStatusBarNotification); in isGroupExpanded() 1407 mGroupManager = groupManager;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 114 @Mock private NotificationGroupManager mGroupManager; field in NotificationStackScrollLayoutTest 182 mStackScroller.setGroupManager(mGroupManager); in setUp() 195 doNothing().when(mGroupManager).collapseAllGroups(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 128 @Mock private NotificationGroupManager mGroupManager; field in NotificationEntryManagerTest 217 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 1451 = mGroupManager.getGroupSummary(row.getStatusBarNotification()); 1628 && mGroupManager.getGroupSummary( 2976 && mGroupManager.isChildInGroupWithSummary( 3052 mGroupManager.getGroupSummary(row.getStatusBarNotification()); 4430 mGroupManager.collapseAllGroups(); 4963 this.mGroupManager = groupManager; 4964 mGroupManager.addOnGroupChangeListener(mOnGroupChangeListener);
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 428 mGroupManager = Dependency.get(NotificationGroupManager.class); in getDependencies()
|