/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
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 …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 142 private BubblesManager mBubblesManager; field in NotificationConversationInfoTest 258 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsShortcutIcon() 283 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsTextApplicationName() 336 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsTextGroupName() 362 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_GroupNameHiddenIfNoGroup() 387 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_noDelegate() 423 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_delegate() 452 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SetsOnClickListenerForSettings() 479 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SettingsButtonInvisibleWhenNoClickListener() 507 mTestHandler, null, Optional.of(mBubblesManager), in testBindNotification_SettingsButtonInvisibleWhenDeviceUnprovisioned() [all …]
|
D | NotificationGutsManagerTest.java | 151 @Mock private BubblesManager mBubblesManager; field in NotificationGutsManagerTest 201 Optional.of(mBubblesManager), in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarterTest.java | 149 private BubblesManager mBubblesManager; field in StatusBarNotificationActivityStarterTest 248 Optional.of(mBubblesManager), in setUp() 344 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() 378 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() 406 verify(mBubblesManager).expandStackAndSelectBubble(mBubbleNotificationRow.getEntry()); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() 435 verify(mBubblesManager).onUserChangedBubble(entry, false); in testOnNotificationBubbleIconClicked_unbubble_keyGuardShowing() 457 verify(mBubblesManager).onUserChangedBubble(entry, true); in testOnNotificationBubbleIconClicked_bubble_keyGuardShowing()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | BubblesTest.java | 267 private BubblesManager mBubblesManager; field in BubblesTest 515 mBubblesManager = new BubblesManager( in setUp() 536 mBubblesManager.addNotifCallback(mNotifCallback); in setUp() 547 mBubbleEntry = mBubblesManager.notifToBubbleEntry(mRow); in setUp() 548 mBubbleEntry2 = mBubblesManager.notifToBubbleEntry(mRow2); in setUp() 552 mBubbleEntryUser11 = mBubblesManager.notifToBubbleEntry( in setUp() 554 mBubbleEntry2User11 = mBubblesManager.notifToBubbleEntry( in setUp() 1066 boolean intercepted = mBubblesManager.handleDismissalInterception(mRow); in removeBubble_intercepted() 1087 boolean intercepted = mBubblesManager.handleDismissalInterception(mRow); in removeBubble_dismissIntoOverflow_intercepted() 1106 boolean intercepted = mBubblesManager.handleDismissalInterception(mRow); in removeBubble_notIntercepted() [all …]
|