Searched refs:mSbn (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationListenerTest.java62 private StatusBarNotification mSbn; field in class:NotificationListenerTest
75 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID, 0,
83 mListener.onNotificationPosted(mSbn, mRanking);
85 verify(mEntryManager).addNotification(mSbn, mRanking);
90 mListener.onNotificationPosted(mSbn, mRanking);
92 verify(mEntryManager).removeKeyKeptForRemoteInput(mSbn.getKey());
97 when(mNotificationData.get(mSbn.getKey())).thenReturn(new NotificationData.Entry(mSbn));
98 mListener.onNotificationPosted(mSbn, mRanking);
100 verify(mEntryManager).updateNotification(mSbn, mRankin
[all...]
H A DNotificationInfoTest.java103 private StatusBarNotification mSbn; field in class:NotificationInfoTest
151 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID, 0,
170 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, null, null, null, false);
182 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, null, null, null, false);
190 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, null, null, null, false);
206 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, null, null, null, false);
217 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, null, null, null, false);
225 TEST_PACKAGE_NAME, mDefaultNotificationChannel, 1, mSbn, null, null, null, false);
237 TEST_PACKAGE_NAME, mDefaultNotificationChannel, 1, mSbn, null, null, null, false);
245 TEST_PACKAGE_NAME, mNotificationChannel, 1, mSbn, nul
[all...]
H A DAppOpsInfoTest.java71 private StatusBarNotification mSbn; field in class:AppOpsInfoTest
90 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID, 0,
97 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, new ArraySet<>());
107 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, new ArraySet<>());
123 }, mSbn, expectedOps);
142 }, mSbn, expectedOps);
154 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, expectedOps);
163 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, expectedOps);
172 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, expectedOps);
182 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, expectedOp
[all...]
H A DNotificationEntryManagerTest.java104 private StatusBarNotification mSbn; field in class:NotificationEntryManagerTest
178 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID,
180 mEntry = new NotificationData.Entry(mSbn);
201 mEntryManager.addNotification(mSbn, mRankingMap);
209 verify(mForegroundServiceController).addNotification(eq(mSbn), anyInt());
214 verify(mCallback).onBindRow(entryCaptor.capture(), any(), eq(mSbn), any());
222 assertEquals(mEntryManager.getNotificationData().get(mSbn.getKey()), entry);
237 mEntryManager.updateNotification(mSbn, mRankingMap);
247 verify(mForegroundServiceController).updateNotification(eq(mSbn), anyInt());
248 verify(mCallback).onNotificationUpdated(mSbn);
[all...]
H A DNotificationRemoteInputManagerTest.java49 private StatusBarNotification mSbn; field in class:NotificationRemoteInputManagerTest
63 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID,
65 mEntry = new NotificationData.Entry(mSbn);
89 mRemoteInputManager.onPerformRemoveNotification(mSbn, mEntry);
H A DNotificationLoggerTest.java71 private StatusBarNotification mSbn; field in class:NotificationLoggerTest
83 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID,
85 mEntry = new NotificationData.Entry(mSbn);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationInfo.java81 private StatusBarNotification mSbn; field in class:NotificationInfo
172 mSbn = sbn;
183 (mSbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
185 mAppUid = mSbn.getUid();
308 mCheckSaveListener.checkSave(this::updateImportance, mSbn);
354 mSbn.getId(), mSbn.getTag());
357 && !TextUtils.isEmpty(mSbn.getNotification().getSettingsText())) {
H A DAppOpsInfo.java50 private StatusBarNotification mSbn; field in class:AppOpsInfo
73 mSbn = sbn;
98 mAppUid = mSbn.getUid();
H A DNotificationSnooze.java80 private StatusBarNotification mSbn; field in class:NotificationSnooze
219 mSbn = sbn;
420 mSnoozeListener.snooze(mSbn, mSelectedOption);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DHeadsUpManagerPhoneTest.java66 private StatusBarNotification mSbn; field in class:HeadsUpManagerPhoneTest
85 mSbn = new StatusBarNotification(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME, 0, null, TEST_UID,
88 mEntry = new NotificationData.Entry(mSbn);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationInflater.java576 private final StatusBarNotification mSbn; field in class:NotificationInflater.AsyncInflationTask
597 mSbn = notification;
621 mSbn.getNotification());
622 Context packageContext = mSbn.getPackageContext(mContext);
623 Notification notification = mSbn.getNotification();

Completed in 90 milliseconds