Home
last modified time | relevance | path

Searched refs:getBubbleMetadata (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java332 assertNotNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_previouslyRemoved()
348 assertNotNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_true_shortcutBubble()
364 assertNotNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_true_intentBubble()
381 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_noIntentInvalidShortcut()
398 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_invalidIntentNoShortcut()
414 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_noIntentNoShortcut()
429 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_noMetadata()
448 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_noShortcut()
467 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_notConversation()
483 assertNull(r.getNotification().getBubbleMetadata()); in testFlagBubble_false_lowRamDevice()
[all …]
DShortcutHelperTest.java91 when(mNotif.getBubbleMetadata()).thenReturn(mBubbleMetadata); in setUp()
141 when(mNotif.getBubbleMetadata()).thenReturn(null); in testBubbleNoLongerHasBubbleMetadata_listenerRemoved()
DNotificationManagerServiceTest.java739 nb.setBubbleMetadata(getBubbleMetadata()); in getMessageStyleNotifBuilder()
744 private Notification.BubbleMetadata getBubbleMetadata() { in getBubbleMetadata() method in NotificationManagerServiceTest
5302 .setBubbleMetadata(getBubbleMetadata()); in testFlagBubbleNotifs_noFlag_whenAppForeground()
5528 assertTrue(notifs[0].getNotification().getBubbleMetadata().isNotificationSuppressed()); in testCancelNotificationsFromListener_suppressesBubble()
5837 assertFalse(n.getBubbleMetadata().isNotificationSuppressed()); in testOnBubbleNotificationSuppressionChanged()
5848 assertTrue(n.getBubbleMetadata().isNotificationSuppressed()); in testOnBubbleNotificationSuppressionChanged()
5859 assertFalse(n.getBubbleMetadata().isNotificationSuppressed()); in testOnBubbleNotificationSuppressionChanged()
6137 nr.getSbn().getNotification().getBubbleMetadata().setFlags( in testNotificationBubbles_flagAutoExpandForeground_fails_notForeground()
6154 assertFalse(notif.getBubbleMetadata().getAutoExpandBubble()); in testNotificationBubbles_flagAutoExpandForeground_fails_notForeground()
6155 assertFalse(notif.getBubbleMetadata().isNotificationSuppressed()); in testNotificationBubbles_flagAutoExpandForeground_fails_notForeground()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java392 mMetadataShortcutId = (entry.getBubbleMetadata() != null in setEntry()
393 ? entry.getBubbleMetadata().getShortcutId() : null); in setEntry()
397 if (entry.getBubbleMetadata() != null) { in setEntry()
398 mFlags = entry.getBubbleMetadata().getFlags(); in setEntry()
399 mDesiredHeight = entry.getBubbleMetadata().getDesiredHeight(); in setEntry()
400 mDesiredHeightResId = entry.getBubbleMetadata().getDesiredHeightResId(); in setEntry()
401 mIcon = entry.getBubbleMetadata().getIcon(); in setEntry()
407 mIntent = entry.getBubbleMetadata().getIntent(); in setEntry()
411 } else if (mIntent != null && entry.getBubbleMetadata().getIntent() == null) { in setEntry()
416 mDeleteIntent = entry.getBubbleMetadata().getDeleteIntent(); in setEntry()
DBubbleExperimentConfig.java150 boolean hasMetadata = entry.getBubbleMetadata() != null; in adjustForExperiments()
172 boolean shouldBubble = entry.getBubbleMetadata() != null in adjustForExperiments()
185 if (entry.getBubbleMetadata() == null in adjustForExperiments()
DBubbleController.java1650 PendingIntent intent = entry.getBubbleMetadata() != null in canLaunchInActivityView()
1651 ? entry.getBubbleMetadata().getIntent() in canLaunchInActivityView()
1653 if (entry.getBubbleMetadata() != null in canLaunchInActivityView()
1654 && entry.getBubbleMetadata().getShortcutId() != null) { in canLaunchInActivityView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java149 if (entry.getBubbleMetadata() == null in shouldBubbleUp()
150 || (entry.getBubbleMetadata().getShortcutId() == null in shouldBubbleUp()
151 && entry.getBubbleMetadata().getIntent() == null)) { in shouldBubbleUp()
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java231 final String shortcutId = r.getNotification().getBubbleMetadata() != null in maybeListenForShortcutChangesForBubbles()
232 ? r.getNotification().getBubbleMetadata().getShortcutId() in maybeListenForShortcutChangesForBubbles()
DBadgeExtractor.java65 Notification.BubbleMetadata metadata = record.getNotification().getBubbleMetadata(); in process()
DBubbleExtractor.java141 Notification.BubbleMetadata metadata = notification.getBubbleMetadata(); in canPresentAsBubble()
DNotificationManagerService.java1197 if (r.getNotification().getBubbleMetadata() != null) {
1198 r.getNotification().getBubbleMetadata().setFlags(flags);
1214 Notification.BubbleMetadata data = r.getNotification().getBubbleMetadata();
5892 Notification.BubbleMetadata metadata = notification.getBubbleMetadata();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java245 mBubbleMetadata = mSbn.getNotification().getBubbleMetadata(); in setSbn()
389 public Notification.BubbleMetadata getBubbleMetadata() { in getBubbleMetadata() method in NotificationEntry
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java487 entry.getBubbleMetadata(), in initializeConversationNotificationInfo()
DNotificationContentView.java1369 && entry.getBubbleMetadata() != null;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DNewNotifPipelineBubbleControllerTest.java855 entry.getSbn().getNotification().getBubbleMetadata(); in setMetadataFlags()
DBubbleControllerTest.java1009 entry.getSbn().getNotification().getBubbleMetadata(); in setMetadataFlags()
/frameworks/base/core/java/android/app/
DNotification.java3277 public BubbleMetadata getBubbleMetadata() { in getBubbleMetadata() method in Notification
/frameworks/base/config/
Dboot-image-profile.txt2694 HSPLandroid/app/Notification;->getBubbleMetadata()Landroid/app/Notification$BubbleMetadata;
/frameworks/base/api/
Dcurrent.txt5450 method @Nullable public android.app.Notification.BubbleMetadata getBubbleMetadata();