Home
last modified time | relevance | path

Searched refs:mHighPriorityProvider (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java58 private HighPriorityProvider mHighPriorityProvider; field in HighPriorityProviderTest
63 mHighPriorityProvider = new HighPriorityProvider( in setup()
79 assertTrue(mHighPriorityProvider.isHighPriority(entry)); in highImportance()
96 assertTrue(mHighPriorityProvider.isHighPriority(entry)); in peopleNotification()
97 assertFalse(mHighPriorityProvider.isExplicitlyHighPriority(entry)); in peopleNotification()
114 assertTrue(mHighPriorityProvider.isHighPriorityConversation(entry)); in highImportanceConversation()
131 assertFalse(mHighPriorityProvider.isHighPriorityConversation(entry)); in lowImportanceConversation()
150 assertTrue(mHighPriorityProvider.isHighPriorityConversation(groupEntry)); in highImportanceConversationWhenAnyOfChildIsHighPriority()
167 assertTrue(mHighPriorityProvider.isHighPriority(entry)); in messagingStyle()
168 assertFalse(mHighPriorityProvider.isExplicitlyHighPriority(entry)); in messagingStyle()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinatorTest.java74 @Mock private HighPriorityProvider mHighPriorityProvider; field in RankingCoordinatorTest
100 mHighPriorityProvider, in setup()
211 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(true); in testIncludeInSectionAlerting()
221 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testIncludeInSectionSilent()
231 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testMinSection()
238 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testSilentSection()
245 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testClearableSilentSection()
254 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testClearableMinimizedSection()
264 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testNotClearableSilentSection()
275 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(false); in testNotClearableMinimizedSection()
DPreparationCoordinatorTest.java117 HighPriorityProvider mHighPriorityProvider; field in PreparationCoordinatorTest
132 mSectionStyleProvider = new SectionStyleProvider(mHighPriorityProvider); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinator.java51 private final HighPriorityProvider mHighPriorityProvider; field in RankingCoordinator
66 mHighPriorityProvider = highPriorityProvider; in RankingCoordinator()
96 return mHighPriorityProvider.isHighPriority(entry);
114 return !mHighPriorityProvider.isHighPriority(entry)
143 return !mHighPriorityProvider.isHighPriority(entry)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProviderTest.java98 @Mock private HighPriorityProvider mHighPriorityProvider; field in KeyguardNotificationVisibilityProviderTest
120 mHighPriorityProvider, in setup()
268 when(mHighPriorityProvider.isExplicitlyHighPriority(any())).thenReturn(false); in hideSilentNotificationsPerUserSettingWithHighPriorityParent()
281 when(mHighPriorityProvider.isExplicitlyHighPriority(any())).thenReturn(false); in keyguardShowing_hideSilentNotifications_perUserSetting()
303 when(mHighPriorityProvider.isExplicitlyHighPriority(any())).thenReturn(false); in keyguardShowing_hideSilentNotifications_perUserSetting_withHighPriorityParent()
320 when(mHighPriorityProvider.isExplicitlyHighPriority(any())).thenReturn(false); in hideSilentOnLockscreenSetting()
339 when(mHighPriorityProvider.isExplicitlyHighPriority(mEntry)).thenReturn(false); in showSilentOnLockscreenSetting()
356 when(mHighPriorityProvider.isExplicitlyHighPriority(any())).thenReturn(false); in defaultSilentOnLockscreenSettingIsHide()
496 when(mHighPriorityProvider.isExplicitlyHighPriority(mEntry)).thenReturn(false); in doesNotExceedThresholdToShow()
515 when(mHighPriorityProvider.isHighPriority(mEntry)).thenReturn(true); in highPriorityCharacteristicsIgnored()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java143 @Mock private HighPriorityProvider mHighPriorityProvider; field in NotificationGutsManagerTest
192 mHighPriorityProvider, in setUp()
466 when(mHighPriorityProvider.isHighPriority(entry)).thenReturn(true); in testInitializeNotificationInfoView_highPriority()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java96 private final HighPriorityProvider mHighPriorityProvider; field in NotificationGutsManager
167 mHighPriorityProvider = highPriorityProvider; in NotificationGutsManager()
417 mHighPriorityProvider.isHighPriority(row.getEntry()), in initializeNotificationInfo()