Home
last modified time | relevance | path

Searched refs:mStatusBarNotification1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java98 private StatusBarNotification mStatusBarNotification1; field in NotificationClickHandlerFactoryTest
125 when(mStatusBarNotification1.getNotification()).thenReturn(notification1); in setUp()
127 when(mStatusBarNotification1.getKey()).thenReturn("TEST_KEY_1"); in setUp()
129 when(mStatusBarNotification1.getUser()).thenReturn(mUser1); in setUp()
131 mAlertEntry1 = new AlertEntry(mStatusBarNotification1); in setUp()
219 mStatusBarNotification1.getNotification().flags | Notification.FLAG_AUTO_CANCEL; in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
221 when(mStatusBarNotification1.getUser()).thenReturn(user); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
280 mStatusBarNotification1.getNotification().actions = actions; in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent()
305 mStatusBarNotification1.getNotification().actions = actions; in onClickActionClickHandler_notCarCompatibleMessage_invokesRegisteredListeners()
DPreprocessingManagerTest.java98 private StatusBarNotification mStatusBarNotification1; field in PreprocessingManagerTest
200 when(mStatusBarNotification1.getKey()).thenReturn("KEY_LESS_IMPORTANT_BACKGROUND"); in setup()
216 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in setup()
226 when(mStatusBarNotification1.getNotification()).thenReturn(mBackgroundNotification); in setup()
242 when(mStatusBarNotification1.getPackageName()).thenReturn(PKG); in setup()
473 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in onGroup_groupsNotificationsBySeenUnseen()
1178 mLessImportantBackground = new AlertEntry(mStatusBarNotification1); in initTestData()