/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 107 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/ |
D | NotificationEntryManager.java | 89 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/ |
D | NotificationListControllerTest.java | 76 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()
|
D | NotificationEntryManagerTest.java | 151 mNotificationData = data; in setNotificationData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 71 @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()
|
D | NotificationListenerTest.java | 58 @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()
|
D | NotificationViewHierarchyManagerTest.java | 75 @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/ |
D | NotificationLoggerTest.java | 74 @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/ |
D | NotificationStackScrollLayoutTest.java | 116 @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/ |
D | StatusBarNotificationActivityStarterTest.java | 120 private NotificationData mNotificationData; field in StatusBarNotificationActivityStarterTest 137 when(mEntryManager.getNotificationData()).thenReturn(mNotificationData); in setUp() 162 when(mNotificationData.getActiveNotifications()).thenReturn(mActiveNotifications); in setUp()
|
D | StatusBarTest.java | 146 @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/ |
D | BubbleControllerTest.java | 128 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()
|