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.java109 private TestableNotificationData mNotificationData; field in NotificationDataTest
136 mNotificationData = new TestableNotificationData(); in setUp()
137 mNotificationData.updateRanking(mock(NotificationListenerService.RankingMap.class)); in setUp()
146 mNotificationData.rankingOverrides.put(mRow.getEntry().key, override); in testChannelSetWhenAdded()
147 mNotificationData.add(mRow.getEntry()); in testChannelSetWhenAdded()
153 mNotificationData.add(mRow.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
155 mNotificationData.add(row2.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
159 mNotificationData.add(diffPkg.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
166 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
168 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java93 protected NotificationData mNotificationData; field in NotificationEntryManager
126 mNotificationData = new NotificationData(); in NotificationEntryManager()
157 mNotificationData.setHeadsUpManager(headsUpManager); in setUpWithPresenter()
174 return mNotificationData; in getNotificationData()
197 final int rank = mNotificationData.getRank(key); in obtainVisibility()
198 final int count = mNotificationData.getActiveNotifications().size(); in obtainVisibility()
210 NotificationEntry addedEntry = mNotificationData.get(key); in abortExistingInflation()
239 boolean isNew = mNotificationData.get(entry.key) == null; in onAsyncInflationFinished()
244 mNotificationData.add(entry); in onAsyncInflationFinished()
281 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.java153 mNotificationData = data; in setNotificationData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
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.java76 @Mock private NotificationData mNotificationData; field in NotificationViewHierarchyManagerTest
108 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
140 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingBundled()
169 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingUnbundled()
198 when(mNotificationData.getActiveNotifications()).thenReturn( in testNotificationsBecomingSuppressed()
220 when(mNotificationData.getActiveNotifications()).thenReturn( in testUpdateNotificationViews_appOps()
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()
/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.java117 @Mock private NotificationData mNotificationData; field in NotificationStackScrollLayoutTest
157 mNotificationData); in setUp() local
302 assertEquals(0, mNotificationData.getActiveNotifications().size()); in testUpdateFooter_noNotifications()
313 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_remoteInput()
330 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()
160 when(mNotificationData.getActiveNotifications()).thenReturn(mActiveNotifications); in setUp()
DStatusBarTest.java147 @Mock private NotificationData mNotificationData; field in StatusBarTest
280 mHeadsUpManager, mNotificationData); in setup() local
502 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenForHeadsUp()
521 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndClear()
540 when(mNotificationData.getActiveNotifications()).thenReturn(mNotificationList); in testPanelOpenAndNoClear()
865 mNotificationData = notificationData; in setUpForTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleControllerTest.java137 private NotificationData mNotificationData; field in BubbleControllerTest
167 when(mNotificationEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp()
168 when(mNotificationData.get(mRow.getEntry().key)).thenReturn(mRow.getEntry()); in setUp()
169 when(mNotificationData.getChannel(mRow.getEntry().key)).thenReturn(mRow.getEntry().channel); in setUp()