/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | LaunchConversationActivityTest.java | 96 private BubblesManager mBubblesManager; field in LaunchConversationActivityTest 120 Optional.of(mBubblesManager), in setUp() 206 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(Bubble.class)); in testEntryClearsNotificationAndDoesNotOpenBubble() 207 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(NotificationEntry.class)); in testEntryClearsNotificationAndDoesNotOpenBubble() 216 when(mBubblesManager.getBubbleWithShortcutId(any())).thenReturn(null); in testBubbleEntryOpensBubbleAndDoesNotClearNotification() 231 verify(mBubblesManager, times(1)).getBubbleWithShortcutId(any()); in testBubbleEntryOpensBubbleAndDoesNotClearNotification() 232 verify(mBubblesManager, times(1)).expandStackAndSelectBubble(eq(mNotifEntryCanBubble)); in testBubbleEntryOpensBubbleAndDoesNotClearNotification() 252 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(Bubble.class)); in testQuietModeOpensQuietModeDialog() 253 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(NotificationEntry.class)); in testQuietModeOpensQuietModeDialog() 260 when(mBubblesManager.getBubbleWithShortcutId(any())).thenReturn(bubble); in testBubbleWithNoNotifOpensBubble() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationConversationInfoTest.java | 140 private BubblesManager mBubblesManager; field in NotificationConversationInfoTest 257 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsShortcutIcon() 282 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsTextApplicationName() 335 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsTextGroupName() 361 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_GroupNameHiddenIfNoGroup() 386 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_noDelegate() 422 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_delegate() 451 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsOnClickListenerForSettings() 478 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SettingsButtonInvisibleWhenNoClickListener() 506 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SettingsButtonInvisibleWhenDeviceUnprovisioned() [all …]
|
H A D | NotificationGutsManagerTest.java | 132 @Mock private BubblesManager mBubblesManager; field in NotificationGutsManagerTest 156 Optional.of(mBubblesManager), new UiEventLoggerFake(), mOnUserInteractionCallback, in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | BubblesTest.java | 230 private BubblesManager mBubblesManager; field in BubblesTest 416 mBubblesManager = new BubblesManager( in setUp() 435 mBubblesManager.addNotifCallback(mNotifCallback); in setUp() 446 mBubbleEntry = mBubblesManager.notifToBubbleEntry(mRow); in setUp() 447 mBubbleEntry2 = mBubblesManager.notifToBubbleEntry(mRow2); in setUp() 451 mBubbleEntryUser11 = mBubblesManager.notifToBubbleEntry( in setUp() 453 mBubbleEntry2User11 = mBubblesManager.notifToBubbleEntry( in setUp() 1003 mBubblesManager.handleDismissalInterception(mRow); in testNotifyShadeSuppressionChange_notificationDismiss() 1860 BubbleEntry bubble = mBubblesManager.notifToBubbleEntry(notif); in testCreateBubbleFromOngoingNotification() 1873 BubbleEntry bubble = mBubblesManager.notifToBubbleEntry(notif); in testCreateBubbleFromNoDismissNotification() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationActivityStarterTest.java | 144 private BubblesManager mBubblesManager; field in StatusBarNotificationActivityStarterTest 242 Optional.of(mBubblesManager), in setUp() 336 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() 370 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 398 verify(mBubblesManager).expandStackAndSelectBubble(mBubbleNotificationRow.getEntry()); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
|