Home | History | Annotate | Download | only in notification

Lines Matching refs:sbn

72         StatusBarNotification sbn = mock(StatusBarNotification.class);
73 when(sbn.getNotification()).thenReturn(mock(Notification.class));
74 return new NotificationRecord(mContext, sbn, c);
98 r.sbn.getNotification().category = Notification.CATEGORY_ALARM;
105 r.sbn.getNotification().category = Notification.CATEGORY_CALL;
122 when(r.sbn.getPackageName()).thenReturn("android");
123 when(r.sbn.getId()).thenReturn(SystemMessage.NOTE_ZEN_UPGRADE);
134 when(r.sbn.getPackageName()).thenReturn("android");
135 when(r.sbn.getId()).thenReturn(SystemMessage.NOTE_ACCOUNT_CREDENTIAL_PERMISSION);
145 when(r.sbn.getPackageName()).thenReturn("android2");
146 when(r.sbn.getId()).thenReturn(SystemMessage.NOTE_ZEN_UPGRADE);
156 when(r.sbn.getPackageName()).thenReturn("android");
157 when(r.sbn.getId()).thenReturn(SystemMessage.NOTE_ZEN_UPGRADE);
169 when(r.sbn.getPackageName()).thenReturn("bananas");