Searched refs:mStatusBarNotification (Results 1 – 6 of 6) sorted by relevance
66 private StatusBarNotification mStatusBarNotification; field in CarNotificationListenerTest84 when(mStatusBarNotification.getKey()).thenReturn(TEST_KEY); in setup()85 when(mStatusBarNotification.getOverrideGroupKey()).thenReturn(TEST_OVERRIDE_GROUP_KEY); in setup()92 when(mStatusBarNotification.getUser()).thenReturn(userHandle); in onNotificationPosted_isHun_notForCurrentUser_ignoresTheEvent()95 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_notForCurrentUser_ignoresTheEvent()104 when(mStatusBarNotification.getUser()).thenReturn(userHandle); in onNotificationPosted_isNotHun_notForCurrentUser_ignoresTheEvent()107 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isNotHun_notForCurrentUser_ignoresTheEvent()116 when(mStatusBarNotification.getUser()).thenReturn(userHandle); in onNotificationPosted_isHun_isForCurrentUser_addsAlertEntryToDataManager()119 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_isForCurrentUser_addsAlertEntryToDataManager()127 when(mStatusBarNotification.getUser()).thenReturn(userHandle); in onNotificationPosted_isHun_isForCurrentUser_doesNotAddItToActiveNotifications()[all …]
52 private StatusBarNotification mStatusBarNotification; field in NotificationUtilsTest58 when(mStatusBarNotification.getKey()).thenReturn("TEST_KEY"); in setup()59 mAlertEntry = new AlertEntry(mStatusBarNotification); in setup()185 when(mStatusBarNotification.getNotification()).thenReturn(notification); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()186 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()199 when(mStatusBarNotification.getNotification()).thenReturn(notification); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox()200 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox()209 when(mStatusBarNotification.getNotification()).thenReturn(notification); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic()210 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic()
87 StatusBarNotification mStatusBarNotification; field in CarHeadsUpNotificationManagerTest122 mAlertEntrySpy = Mockito.spy(new AlertEntry(mStatusBarNotification)); in setupBaseActivityAndLayout()
70 private StatusBarNotification mStatusBarNotification; field in CarNotificationActionsViewTest84 when(mStatusBarNotification.getKey()).thenReturn(TEST_KEY); in setup()114 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_noAction_doesNotCreateButtons()130 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible()144 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener()158 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel()173 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muteButtonIsVisible()187 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muteButtonHasClickListener()202 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_muted_muteButtonShowsUnmuteLabel()218 AlertEntry alertEntry = new AlertEntry(mStatusBarNotification); in onBind_actionExists_isCarCompatibleMessage_unmuted_muteButtonShowsMuteLabel()[all …]
31 private StatusBarNotification mStatusBarNotification; field in AlertEntry35 mStatusBarNotification = statusBarNotification; in AlertEntry()68 return mStatusBarNotification; in getStatusBarNotification()93 return mStatusBarNotification.getNotification(); in getNotification()
238 private final StatusBarNotification mStatusBarNotification; field in FallbackAssistant.ActionRequestInfo243 mStatusBarNotification = statusBarNotification; in ActionRequestInfo()249 return mStatusBarNotification; in getStatusBarNotification()