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.java107 private TestableNotificationData mNotificationData; field in NotificationDataTest
133 mNotificationData = new TestableNotificationData(); in setUp()
134 mNotificationData.updateRanking(mock(NotificationListenerService.RankingMap.class)); in setUp()
143 mNotificationData.rankingOverrides.put(mRow.getEntry().key, override); in testChannelSetWhenAdded()
144 mNotificationData.add(mRow.getEntry()); in testChannelSetWhenAdded()
150 mNotificationData.add(mRow.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
152 mNotificationData.add(row2.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
156 mNotificationData.add(diffPkg.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
163 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
165 mNotificationData.updateAppOp(op, NotificationTestHelper.UID, in testAllRelevantNotisTaggedWithAppOps()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java89 protected NotificationData mNotificationData; field in NotificationEntryManager
121 mNotificationData = new NotificationData(); in NotificationEntryManager()
152 mNotificationData.setHeadsUpManager(headsUpManager); in setUpWithPresenter()
169 return mNotificationData; in getNotificationData()
192 final int rank = mNotificationData.getRank(key); in obtainVisibility()
193 final int count = mNotificationData.getActiveNotifications().size(); in obtainVisibility()
205 NotificationEntry addedEntry = mNotificationData.get(key); in abortExistingInflation()
234 boolean isNew = mNotificationData.get(entry.key) == null; in onAsyncInflationFinished()
239 mNotificationData.add(entry); in onAsyncInflationFinished()
276 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/
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()
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()
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.java116 @Mock private NotificationData mNotificationData; field in NotificationStackScrollLayoutTest
155 mNotificationData); in setUp() local
311 assertEquals(0, mNotificationData.getActiveNotifications().size()); in testUpdateFooter_noNotifications()
322 when(mNotificationData.getActiveNotifications()).thenReturn(entries); in testUpdateFooter_remoteInput()
339 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()