Home
last modified time | relevance | path

Searched refs:mNotificationData (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java108 private TestableNotificationData mNotificationData; field in NotificationDataTest
135 mNotificationData = new TestableNotificationData(); in setUp()
136 mNotificationData.updateRanking(mock(NotificationListenerService.RankingMap.class)); in setUp()
145 mNotificationData.rankingOverrides.put(mRow.getEntry().key, override); in testChannelSetWhenAdded()
146 mNotificationData.add(mRow.getEntry()); in testChannelSetWhenAdded()
152 mNotificationData.add(mRow.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
154 mNotificationData.add(row2.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
158 mNotificationData.add(diffPkg.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
165 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
167 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java90 protected NotificationData mNotificationData; field in NotificationEntryManager
122 mNotificationData = new NotificationData(); in NotificationEntryManager()
153 mNotificationData.setHeadsUpManager(headsUpManager); in setUpWithPresenter()
171 return mNotificationData; in getNotificationData()
194 final int rank = mNotificationData.getRank(key); in obtainVisibility()
195 final int count = mNotificationData.getActiveNotifications().size(); in obtainVisibility()
207 NotificationEntry addedEntry = mNotificationData.get(key); in abortExistingInflation()
236 boolean isNew = mNotificationData.get(entry.key) == null; in onAsyncInflationFinished()
241 mNotificationData.add(entry); in onAsyncInflationFinished()
278 final NotificationEntry entry = mNotificationData.get(key); in removeNotificationInternal()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationListControllerTest.java76 private NotificationData mNotificationData = new NotificationData(); field in NotificationListControllerTest
84 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
120 mNotificationData.add(entry); in testAppOps_appOpAddedToForegroundNotif()
155 mNotificationData.add(entry); in testAppOps_addNotificationWithExistingAppOps()
181 mNotificationData.add(entry); in testAdd_addNotificationWithNoExistingAppOps()
199 mNotificationData.add(entry); in testAdd_addNonForegroundNotificationWithExistingAppOps()
DNotificationEntryManagerTest.java151 mNotificationData = data; in setNotificationData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java58 @Mock private NotificationData mNotificationData; field in NotificationListenerTest
78 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
94 when(mNotificationData.get(mSbn.getKey())).thenReturn(new NotificationEntry(mSbn)); in testNotificationUpdateCallsUpdateNotification()
DNotificationLockscreenUserManagerTest.java71 @Mock private NotificationData mNotificationData; field in NotificationLockscreenUserManagerTest
90 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
167 when(mNotificationData.isHighPriority(any())).thenReturn(false); in testShowSilentNotifications_settingSaysShow()
180 when(mNotificationData.isHighPriority(any())).thenReturn(false); in testShowSilentNotifications_settingSaysHide()
DNotificationViewHierarchyManagerTest.java75 @Mock private NotificationData mNotificationData; field in NotificationViewHierarchyManagerTest
107 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
136 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingBundled()
165 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingUnbundled()
194 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingSuppressed()
216 when(mNotificationData.getActiveNotifications()).thenReturn( in testUpdateNotificationViews_appOps()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java74 @Mock private NotificationData mNotificationData; field in NotificationLoggerTest
94 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
131 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged()
153 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java114 @Mock private NotificationData mNotificationData; field in NotificationStackScrollLayoutTest
149 mNotificationData); in setUp() local
295 assertEquals(0, mNotificationData.getActiveNotifications().size()); in testUpdateFooter_noNotifications()
306 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_remoteInput()
323 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_oneClearableNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java120 private NotificationData mNotificationData; field in StatusBarNotificationActivityStarterTest
137 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
162 when(mNotificationData.getActiveNotifications()).thenReturn(mActiveNotifications); in setUp()
DStatusBarTest.java146 @Mock private NotificationData mNotificationData; field in StatusBarTest
275 mHeadsUpManager, mNotificationData); in setup() local
504 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenForHeadsUp()
523 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndClear()
542 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndNoClear()
862 mNotificationData = notificationData; in setUpForTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleControllerTest.java128 private NotificationData mNotificationData; field in BubbleControllerTest
168 when(mNotificationEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
169 when(mNotificationData.getChannel(mRow.getEntry().key)).thenReturn(mRow.getEntry().channel); in setUp()