Home
last modified time | relevance | path

Searched refs:sbn2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java860 StatusBarNotification sbn2 = new StatusBarNotification(pkg, pkg, 8, "tag", uid, 0, in testListenerPost_UpdateLifetimeExtended() local
862 NotificationRecord toPost = new NotificationRecord(mContext, sbn2, channel); in testListenerPost_UpdateLifetimeExtended()
866 null, new ComponentName("a", "a"), sbn2.getUserId(), false, null, 33, 33); in testListenerPost_UpdateLifetimeExtended()
880 doReturn(sbn2).when(mListeners).redactStatusBarNotification(sbn2); in testListenerPost_UpdateLifetimeExtended()
881 doReturn(sbn2).when(mListeners).redactStatusBarNotification(any()); in testListenerPost_UpdateLifetimeExtended()
DNotificationManagerServiceTest.java7119 StatusBarNotification sbn2 = new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, 0, in testVisualDifference_foreground() local
7122 new NotificationRecord(mContext, sbn2, mock(NotificationChannel.class)); in testVisualDifference_foreground()
7138 StatusBarNotification sbn2 = new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, 0, in testVisualDifference_diffTitle() local
7141 new NotificationRecord(mContext, sbn2, mock(NotificationChannel.class)); in testVisualDifference_diffTitle()
7159 StatusBarNotification sbn2 = new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, 0, in testVisualDifference_inboxStyle() local
7162 new NotificationRecord(mContext, sbn2, mock(NotificationChannel.class)); in testVisualDifference_inboxStyle()
7207 StatusBarNotification sbn2 = new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, 0, in testVisualDifference_diffText() local
7210 new NotificationRecord(mContext, sbn2, mock(NotificationChannel.class)); in testVisualDifference_diffText()
7226 StatusBarNotification sbn2 = new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, 0, in testVisualDifference_sameText() local
7229 new NotificationRecord(mContext, sbn2, mock(NotificationChannel.class)); in testVisualDifference_sameText()
[all …]