Searched refs:oldSbn (Results 1 – 3 of 3) sorted by relevance
113 StatusBarNotification oldSbn = entry.getSbn(); in incrementPost() local114 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()
760 StatusBarNotification oldSbn = getSbn(1); in testRedaction_whenPosted() local763 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() local789 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()
8739 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;8740 if (oldSbn == null || !Objects.equals(oldSbn.getGroup(), n.getGroup())8741 || oldSbn.getNotification().flags8779 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;8780 if (oldSbn == null8781 || !Objects.equals(oldSbn.getGroup(), n.getGroup())8782 || oldSbn.getNotification().flags11867 StatusBarNotification oldSbn = (old != null) ? old.getSbn() : null;11882 boolean oldSbnVisible = (oldSbn != null)11883 && isVisibleToListener(oldSbn, old.getNotificationType(), info);[all …]