/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManagerLegacyTest.java | 90 mGroupManager.onEntryAdded(summaryEntry); in testIsOnlyChildInGroup() 91 mGroupManager.onEntryAdded(childEntry); in testIsOnlyChildInGroup() 101 mGroupManager.onEntryAdded(summaryEntry); in testIsChildInGroupWithSummary() 102 mGroupManager.onEntryAdded(childEntry); in testIsChildInGroupWithSummary() 113 mGroupManager.onEntryAdded(summaryEntry); in testIsSummaryOfGroupWithChildren() 114 mGroupManager.onEntryAdded(childEntry); in testIsSummaryOfGroupWithChildren() 125 mGroupManager.onEntryAdded(summaryEntry); in testRemoveChildFromGroupWithSummary() 126 mGroupManager.onEntryAdded(childEntry); in testRemoveChildFromGroupWithSummary() 129 mGroupManager.onEntryRemoved(childEntry); in testRemoveChildFromGroupWithSummary() 139 mGroupManager.onEntryAdded(childEntry); in testRemoveSummaryFromGroupWithSummary() [all …]
|
H A D | NotificationGroupAlertTransferHelperTest.java | 141 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChild() 159 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 164 mGroupManager.onEntryAdded(childEntry2); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 183 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 191 mGroupManager.onEntryAdded(childEntry2); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 205 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated() 222 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation() 248 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() 275 mGroupManager.onEntryAdded(childEntry); in testCleanUpPendingAlertInfo() 294 mGroupManager.onEntryAdded(childEntry); in testUpdateGroupChangeDoesNotTransfer() [all …]
|
H A D | HeadsUpManagerPhoneTest.java | 60 @Mock private NotificationGroupManagerLegacy mGroupManager; field in HeadsUpManagerPhoneTest 99 mHeadsUpManager = new TestableHeadsUpManagerPhone(mContext, mGroupManager, mVSManager, in setUp()
|
H A D | NotificationPanelViewControllerTest.java | 169 private NotificationGroupManagerLegacy mGroupManager; field in NotificationPanelViewControllerTest 430 mGroupManager, in setup()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationViewHierarchyManagerTest.java | 82 @Mock private NotificationGroupManagerLegacy mGroupManager; field in NotificationViewHierarchyManagerTest 146 when(mGroupManager.isChildInGroup(entry0)).thenReturn(false); in testNotificationsBecomingBundled() 147 when(mGroupManager.isChildInGroup(entry1)).thenReturn(true); in testNotificationsBecomingBundled() 148 when(mGroupManager.isChildInGroup(entry2)).thenReturn(true); in testNotificationsBecomingBundled() 149 when(mGroupManager.getGroupSummary(entry1)).thenReturn(entry0); in testNotificationsBecomingBundled() 150 when(mGroupManager.getGroupSummary(entry2)).thenReturn(entry0); in testNotificationsBecomingBundled() 175 when(mGroupManager.isChildInGroup(entry0)).thenReturn(false); in testNotificationsBecomingUnbundled() 176 when(mGroupManager.isChildInGroup(entry1)).thenReturn(false); in testNotificationsBecomingUnbundled() 177 when(mGroupManager.isChildInGroup(entry2)).thenReturn(false); in testNotificationsBecomingUnbundled() 204 when(mGroupManager.isChildInGroup(entry0)).thenReturn(false); in testNotificationsBecomingSuppressed() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupAlertTransferHelper.java | 73 private final NotificationGroupManagerLegacy mGroupManager = field in NotificationGroupAlertTransferHelper 236 NotificationGroup group = mGroupManager.getGroupForSummary(summary.getSbn()); in checkForForwardAlertTransfer() 239 } else if (mGroupManager.isSummaryOfSuppressedGroup(summary.getSbn())) { in checkForForwardAlertTransfer() 253 String groupKey = mGroupManager.getGroupKey(entry.getSbn()); 326 String groupKey = mGroupManager.getGroupKey(group.summary.getSbn()); in isPendingNotificationInGroup() 327 return mGroupManager.isGroupChild(entry.getSbn()) in isPendingNotificationInGroup() 350 mGroupAlertEntries.get(mGroupManager.getGroupKey(summary.getSbn())); in handleSuppressedSummaryAlerted() 352 if (!mGroupManager.isSummaryOfSuppressedGroup(summary.getSbn()) in handleSuppressedSummaryAlerted() 378 mGroupManager.getLogicalChildren(summary.getSbn()).iterator().next(); in handleSuppressedSummaryAlerted() 412 mGroupAlertEntries.get(mGroupManager.getGroupKey(summary.getSbn())); in handleOverriddenSummaryAlerted() [all …]
|
H A D | NotificationPanelViewController.java | 426 private NotificationGroupManagerLegacy mGroupManager; field in NotificationPanelViewController 742 mGroupManager = groupManager; in NotificationPanelViewController() 1424 boolean suppressedSummary = mGroupManager != null in computeMaxKeyguardNotifications() 1425 && mGroupManager.isSummaryOfSuppressedGroup(row.getEntry().getSbn()); in computeMaxKeyguardNotifications() 1503 mGroupManager != null && mGroupManager.isSummaryOfSuppressedGroup( in canShowRowOnLockscreen()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | LowPriorityInflationHelper.java | 37 private final NotificationGroupManagerLegacy mGroupManager; field in LowPriorityInflationHelper 46 mGroupManager = groupManager; in LowPriorityInflationHelper() 81 isGroupChild = mGroupManager.isChildInGroup(entry); in shouldUseLowPriorityView()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationViewHierarchyManager.java | 78 protected final NotificationGroupManagerLegacy mGroupManager; field in NotificationViewHierarchyManager 130 mGroupManager = groupManager; in NotificationViewHierarchyManager() 197 boolean isChildInGroup = mGroupManager.isChildInGroup(ent); in updateNotificationViews() 203 NotificationEntry parent = mGroupManager.getGroupSummary(ent); in updateNotificationViews() 213 if (mGroupManager.isLogicalGroupExpanded(ent.getSbn())) { in updateNotificationViews() 465 boolean isChildNotification = mGroupManager.isChildInGroup(entry); in updateRowStatesInternal() 476 boolean suppressedSummary = mGroupManager.isSummaryOfSuppressedGroup( in updateRowStatesInternal() 481 if (mGroupManager.isChildInGroup(entry)) { in updateRowStatesInternal() 482 NotificationEntry summary = mGroupManager.getLogicalGroupSummary(entry); in updateRowStatesInternal()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManager.java | 104 private final NotificationGroupManagerLegacy mGroupManager; field in NotificationEntryManager 161 mGroupManager = groupManager; in NotificationEntryManager() 410 mGroupManager.onEntryAdded(entry); in addActiveNotification() 422 mGroupManager.onEntryAdded(entry); in addActiveNotificationForTest() 686 mGroupManager.onEntryUpdated(entry, oldSbn); in updateNotificationInternal() 849 mGroupManager.onEntryRemoved(removed); in removeVisibleNotification()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManagerTest.java | 130 @Mock private NotificationGroupManagerLegacy mGroupManager; field in NotificationEntryManagerTest 199 mGroupManager, in setUp() 212 mGroupManager, in setUp()
|