Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinatorTest.java93 private NotifStabilityManager mNotifStabilityManager; field in VisualStabilityCoordinatorTest
125 mNotifStabilityManager = mNotifStabilityManagerCaptor.getValue(); in setUp()
140 mNotifStabilityManager.onBeginRun(); in setUp()
154 assertTrue(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenOff_groupAndSectionChangesAllowed()
170 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenTurningOff_groupAndSectionChangesNotAllowed()
186 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenTurningOn_groupAndSectionChangesNotAllowed()
202 assertTrue(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPanelNotExpanded_groupAndSectionChangesAllowed()
274 assertFalse(mNotifStabilityManager.isSectionChangeAllowed( in testOverrideReorderingSuppression_onlySectionChangesAllowed()
438 assertFalse(mNotifStabilityManager.isPipelineRunAllowed()); in testNotLaunchingActivityAnymore_invalidationCalled()
452 assertFalse(mNotifStabilityManager.isPipelineRunAllowed()); in testNotCollapsingPanelAnymore_invalidationCalled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinator.java123 pipeline.setVisualStabilityManager(mNotifStabilityManager); in attach()
128 private final NotifStabilityManager mNotifStabilityManager = field in VisualStabilityCoordinator
205 mNotifStabilityManager.invalidateList("pipeline run suppression ended"); in updateAllowedStates()
213 mNotifStabilityManager.invalidateList(reason); in updateAllowedStates()
243 mNotifStabilityManager.isSectionChangeAllowed(entry); in temporarilyAllowSectionChanges()
258 mNotifStabilityManager.invalidateList("temporarilyAllowSectionChanges"); in temporarilyAllowSectionChanges()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DShadeListBuilder.java123 private NotifStabilityManager mNotifStabilityManager; field in ShadeListBuilder
279 if (mNotifStabilityManager != null) { in setNotifStabilityManager()
283 + mNotifStabilityManager.getName() + " and " in setNotifStabilityManager()
287 mNotifStabilityManager = notifStabilityManager; in setNotifStabilityManager()
288 mNotifStabilityManager.setInvalidationListener(this::onReorderingAllowedInvalidated); in setNotifStabilityManager()
293 if (mNotifStabilityManager == null) { in getStabilityManager()
296 return mNotifStabilityManager; in getStabilityManager()
407 if (!mNotifStabilityManager.isPipelineRunAllowed()) { in buildList()
479 /* enforcedVisualStability */ !mNotifStabilityManager.isEveryChangeAllowed()); in buildList()