Home
last modified time | relevance | path

Searched refs:oldSbn (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupTestHelper.java113 StatusBarNotification oldSbn = entry.getSbn(); in incrementPost() local
114 final long oldPostTime = oldSbn.getPostTime(); in incrementPost()
116 entry.setSbn(new SbnBuilder(oldSbn) in incrementPost()
119 assertThat(oldSbn.getPostTime()).isEqualTo(oldPostTime); in incrementPost()
121 return oldSbn; in incrementPost()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java760 StatusBarNotification oldSbn = getSbn(1); in testRedaction_whenPosted() local
763 when(old.getSbn()).thenReturn(oldSbn); in testRedaction_whenPosted()
768 verify(mListeners, never()).redactStatusBarNotification(eq(oldSbn)); in testRedaction_whenPosted()
786 StatusBarNotification oldSbn = getSbn(1); in testRedaction_whenPosted_oldRemoved() local
789 when(old.getSbn()).thenReturn(oldSbn); in testRedaction_whenPosted_oldRemoved()
792 doReturn(true).when(mNm).isVisibleToListener(eq(oldSbn), anyInt(), any()); in testRedaction_whenPosted_oldRemoved()
796 verify(mListeners, atLeast(1)).redactStatusBarNotification(eq(oldSbn)); in testRedaction_whenPosted_oldRemoved()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java8739 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;
8740 if (oldSbn == null || !Objects.equals(oldSbn.getGroup(), n.getGroup())
8741 || oldSbn.getNotification().flags
8779 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;
8780 if (oldSbn == null
8781 || !Objects.equals(oldSbn.getGroup(), n.getGroup())
8782 || oldSbn.getNotification().flags
11867 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;
11882 boolean oldSbnVisible = (oldSbn != null)
11883 && isVisibleToListener(oldSbn, old.getNotificationType(), info);
[all …]