Searched refs:createBubble (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 341 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(createBubble())).isFalse(); in testShouldNotHeadsUp_bubble() 357 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(createBubble())).isTrue(); in testShouldHeadsUp_bubble_bubblesCannotShowNotification() 956 assertThat(mNotifInterruptionStateProvider.shouldBubbleUp(createBubble())).isTrue(); in testShouldBubbleUp() 965 NotificationEntry bubble = createBubble("testgroup", GROUP_ALERT_SUMMARY); in testShouldBubbleUp_notifInGroupWithOnlySummaryAlerts() 974 NotificationEntry entry = createBubble(); in shouldNotBubbleUp_notAllowedToBubble() 1014 assertThat(mNotifInterruptionStateProvider.shouldBubbleUp(createBubble())).isFalse(); in shouldNotBubbleUp_suppressedInterruptions() 1023 assertThat(mNotifInterruptionStateProvider.shouldBubbleUp(createBubble())).isFalse(); in shouldNotBubbleUp_filteredOut() 1033 return createBubble(null, null, true); in createSuspendedBubble() 1036 private NotificationEntry createBubble() { in createBubble() method in NotificationInterruptStateProviderImplTest 1037 return createBubble(null, null, false); in createBubble() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 376 public ExpandableNotificationRow createBubble() in createBubble() method in NotificationTestHelper 444 public NotificationEntry createBubble(@Nullable PendingIntent deleteIntent) { in createBubble() method in NotificationTestHelper 445 return createBubble(makeBubbleMetadata(deleteIntent, false /* autoExpand */), USER_HANDLE); in createBubble() 453 public NotificationEntry createBubble(UserHandle handle) { in createBubble() method in NotificationTestHelper 454 return createBubble(makeBubbleMetadata(null /* deleteIntent */, false /* autoExpand */), in createBubble() 462 return createBubble(makeBubbleMetadata(null /* deleteIntent */, true /* autoExpand */), in createAutoExpandedBubble() 471 private NotificationEntry createBubble(BubbleMetadata metadata, UserHandle userHandle) { in createBubble() method in NotificationTestHelper
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | BubblesTest.java | 544 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp() 545 mRow2 = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp() 553 mNotificationTestHelper.createBubble(handle)); in setUp() 555 mNotificationTestHelper.createBubble(handle)); in setUp() 1353 final Bubble bubble = createBubble(workProfileUserId, workPkg); in test_bubbleViewInfoGetPackageForUser() 2393 private Bubble createBubble(int userId, String pkg) { in createBubble() method in BubblesTest 2408 NotificationEntry notificationEntry = mNotificationTestHelper.createBubble(mDeleteIntent); in createBubbleEntry()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarterTest.java | 199 mBubbleNotificationRow = notificationTestHelper.createBubble(); in setUp()
|