Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinatorTest.java109 private NotifStabilityManager mNotifStabilityManager; field in VisualStabilityCoordinatorTest
143 mNotifStabilityManager = mNotifStabilityManagerCaptor.getValue(); in setUp()
144 mNotifStabilityManager.setInvalidationListener(mInvalidateListener); in setUp()
158 mNotifStabilityManager.onBeginRun(); in setUp()
160 }).when(mInvalidateListener).onPluggableInvalidated(eq(mNotifStabilityManager), any()); in setUp()
172 assertTrue(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenOff_groupAndSectionChangesAllowed()
173 assertTrue(mNotifStabilityManager.isGroupPruneAllowed(mGroupEntry)); in testScreenOff_groupAndSectionChangesAllowed()
176 assertTrue(mNotifStabilityManager.isSectionChangeAllowed(mEntry)); in testScreenOff_groupAndSectionChangesAllowed()
188 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenTurningOff_groupAndSectionChangesNotAllowed()
189 assertFalse(mNotifStabilityManager.isGroupPruneAllowed(mGroupEntry)); in testScreenTurningOff_groupAndSectionChangesNotAllowed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinator.java142 pipeline.setVisualStabilityManager(mNotifStabilityManager); in attach()
147 private final NotifStabilityManager mNotifStabilityManager = field in VisualStabilityCoordinator
231 mNotifStabilityManager.invalidateList("pipeline run suppression ended"); in updateAllowedStates()
239 mNotifStabilityManager.invalidateList(reason); in updateAllowedStates()
269 mNotifStabilityManager.isSectionChangeAllowed(entry); in temporarilyAllowSectionChanges()
284 mNotifStabilityManager.invalidateList("temporarilyAllowSectionChanges"); in temporarilyAllowSectionChanges()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
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()