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.java94 private StatusBarNotification mStatusBarNotification1; field in NotificationClickHandlerFactoryTest
119 when(mStatusBarNotification1.getNotification()).thenReturn(notification1); in setUp()
121 when(mStatusBarNotification1.getKey()).thenReturn("TEST_KEY_1"); in setUp()
123 when(mStatusBarNotification1.getUser()).thenReturn(mUser1); in setUp()
125 mAlertEntry1 = new AlertEntry(mStatusBarNotification1); in setUp()
191 mStatusBarNotification1.getNotification().flags | Notification.FLAG_AUTO_CANCEL; in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
193 when(mStatusBarNotification1.getUser()).thenReturn(user); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
253 mStatusBarNotification1.getNotification().actions = actions; in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent()
278 mStatusBarNotification1.getNotification().actions = actions; in onClickActionClickHandler_notCarCompatibleMessage_invokesRegisteredListeners()
DPreprocessingManagerTest.java91 private StatusBarNotification mStatusBarNotification1; field in PreprocessingManagerTest
169 when(mStatusBarNotification1.getKey()).thenReturn("KEY_LESS_IMPORTANT_BACKGROUND"); in setup()
177 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in setup()
185 when(mStatusBarNotification1.getNotification()).thenReturn(mBackgroundNotification); in setup()
193 when(mStatusBarNotification1.getPackageName()).thenReturn(PKG); in setup()
717 mLessImportantBackground = new AlertEntry(mStatusBarNotification1); in initTestData()