Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java83 private StatusBarNotification mStatusBarNotification1; field in NotificationClickHandlerFactoryTest
106 when(mStatusBarNotification1.getNotification()).thenReturn(notification1); in setUp()
108 when(mStatusBarNotification1.getKey()).thenReturn("TEST_KEY_1"); in setUp()
110 when(mStatusBarNotification1.getUser()).thenReturn(mUser1); in setUp()
112 mAlertEntry1 = new AlertEntry(mStatusBarNotification1); in setUp()
166 mStatusBarNotification1.getNotification().flags | Notification.FLAG_AUTO_CANCEL; in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
168 when(mStatusBarNotification1.getUser()).thenReturn(user); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
191 ShadowCarAssistUtils.addMessageNotification(mStatusBarNotification1.getKey()); in onClickActionClickHandler_isReplyAction_sendsPendingIntent()
202 mStatusBarNotification1.getNotification().actions = actions; in onClickActionClickHandler_isReplyAction_sendsPendingIntent()
216 ShadowCarAssistUtils.addMessageNotification(mStatusBarNotification1.getKey()); in onClickActionClickHandler_isReplyAction_doesNotInvokeRegisteredClickListeners()
[all …]
DPreprocessingManagerTest.java93 private StatusBarNotification mStatusBarNotification1; field in PreprocessingManagerTest
153 when(mStatusBarNotification1.getKey()).thenReturn("KEY_LESS_IMPORTANT_BACKGROUND"); in setup()
161 when(mStatusBarNotification1.getGroupKey()).thenReturn(GROUP_KEY_A); in setup()
169 when(mStatusBarNotification1.getNotification()).thenReturn(mBackgroundNotification); in setup()
662 mLessImportantBackground = new AlertEntry(mStatusBarNotification1); in initTestData()