Searched refs:getNotification (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationAdjustmentExtractor.java34 if (record == null || record.getNotification() == null) {
H A DNotificationIntrusivenessExtractor.java45 if (record == null || record.getNotification() == null) {
58 if (record.getNotification().fullScreenIntent != null) {
H A DNotificationComparator.java109 final int leftPriority = left.sbn.getNotification().priority;
110 final int rightPriority = right.sbn.getNotification().priority;
124 return record.getNotification().isColorized();
155 return (record.getNotification().flags & ongoingFlags) != 0;
159 return record.getNotification().hasMediaSession();
H A DImportanceExtractor.java35 if (record == null || record.getNotification() == null) {
H A DNotificationChannelExtractor.java35 if (record == null || record.getNotification() == null) {
H A DPriorityExtractor.java36 if (record == null || record.getNotification() == null) {
H A DVisibilityExtractor.java36 if (record == null || record.getNotification() == null) {
H A DBadgeExtractor.java37 if (record == null || record.getNotification() == null) {
H A DNotificationRecord.java179 mOriginalFlags = sbn.getNotification().flags;
208 final Notification n = sbn.getNotification();
244 final Notification notification = sbn.getNotification();
275 final Notification notification = sbn.getNotification();
288 final Notification n = sbn.getNotification();
314 final Notification n = sbn.getNotification();
384 public Notification getNotification() { return sbn.getNotification(); } method in class:NotificationRecord
385 public int getFlags() { return sbn.getNotification().flags; }
402 proto.write(NotificationRecordProto.FLAGS, sbn.getNotification()
[all...]
H A DZenModeExtractor.java40 if (record == null || record.getNotification() == null) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java128 private StatusBarNotification getNotification(String pkg, boolean noisy, boolean defaultSound, method in class:NotificationRecordTest
187 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */,
200 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */,
214 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */,
226 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */,
239 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */,
252 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */,
264 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */,
277 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */,
289 StatusBarNotification sbn = getNotification(PKG_
[all...]
H A DNotificationManagerServiceTest.java521 sbn.getId(), sbn.getNotification(), sbn.getUserId());
537 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE;
539 sbn.getId(), sbn.getNotification(), sbn.getUserId());
566 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE;
568 sbn.getId(), sbn.getNotification(), sbn.getUserId());
588 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE;
590 sbn.getId(), sbn.getNotification(), sbn.getUserId());
621 sbn.getId(), sbn.getNotification(), sbn.getUserId());
633 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE;
635 sbn.getId(), sbn.getNotification(), sb
[all...]
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java118 if (overrideGroupKey != null && getNotification().isGroupSummary()) {
128 final String group = getNotification().getGroup();
129 final String sortKey = getNotification().getSortKey();
155 if (getNotification().getGroup() != null || getNotification().getSortKey() != null) {
288 public Notification getNotification() { method in class:StatusBarNotification
328 return getNotification().getGroup();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationBigPictureTemplateViewWrapper.java45 final Bundle extras = notification.getNotification().extras;
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DNotificationsActivity.java64 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification());
79 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DNotificationsActivity.java64 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification());
79 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DForegroundServiceControllerTest.java323 sbn_user1_app1_fg_sneaky.getNotification().flags = 0;
329 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE;
342 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE;
359 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE;
387 sbn_user1_app1.getNotification().flags = 0;
402 sbn_user1_app1_fg_sneaky.getNotification().flags = 0;
407 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE;
425 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE;
450 when(sbn.getNotification()).thenReturn(n);
465 sbn.getNotification()
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationDataTest.java220 sbn.getNotification().extras = bundle;
230 sbn.getNotification().extras = bundle;
258 sbn.getNotification().extras = bundle;
306 Notification n = mMockStatusBarNotification.getNotification();
319 Notification n = mMockStatusBarNotification.getNotification();
323 when(mMockStatusBarNotification.getNotification()).thenReturn(n);
349 when(mMockStatusBarNotification.getNotification()).thenReturn(
355 when(mMockStatusBarNotification.getNotification()).thenReturn(
360 when(mMockStatusBarNotification.getNotification()).thenReturn(
365 when(mMockStatusBarNotification.getNotification())
[all...]
H A DNotificationEntryManagerTest.java380 CharSequence[] messages = newSbn.getNotification().extras
384 Assert.assertFalse(newSbn.getNotification().extras
386 Assert.assertTrue(newSbn.getNotification().extras
394 CharSequence[] messages = newSbn.getNotification().extras
398 Assert.assertTrue(newSbn.getNotification().extras
400 Assert.assertTrue(newSbn.getNotification().extras
413 CharSequence[] messages = newSbn.getNotification().extras
425 Assert.assertFalse(newSbn.getNotification().extras
427 Assert.assertTrue(newSbn.getNotification().extras
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationMessagingUtil.java88 Class<? extends Notification.Style> style = sbn.getNotification().getNotificationStyle();
93 return Notification.CATEGORY_MESSAGE.equals(sbn.getNotification().category);
/frameworks/base/media/java/android/media/
H A DMediaSessionService2.java229 public @NonNull Notification getNotification() { method in class:MediaSessionService2.MediaNotification
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java269 && group.summary.notification.getNotification().isGroupSummary()
329 return isGroupSuppressed(getGroupKey(sbn)) && sbn.getNotification().isGroupSummary();
333 return !sbn.getNotification().isGroupSummary()
460 return sbn.getNotification().isGroupSummary();
467 return sbn.isGroup() && !sbn.getNotification().isGroupSummary();
523 || !sbn.getNotification().isGroupSummary()
563 return entry.notification.getNotification().getGroupAlertBehavior()
593 return (sbn.isGroup() && !sbn.getNotification().isGroupSummary())
594 && (sbn.getNotification().fullScreenIntent != null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java180 Notification n = sbn.getNotification();
234 Notification n = sbn.getNotification();
253 notification.getNotification().color;
319 Bundle extras = notification.getNotification().extras;
410 return Long.compare(nb.getNotification().when, na.getNotification().when);
545 if (isNotificationBlockedByPolicy(entry.notification.getNotification())) {
549 if ((entry.notification.getNotification().flags
553 if (entry.notification.getNotification().isMediaNotification()) {
704 (sbn.getNotification()
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaSessionService2Impl.java121 mediaNotification.getNotification());
135 mediaNotification.getNotification());
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java56 public UiObject getNotification(String text) { method in class:UiBot
78 UiObject notification = getNotification(text);

Completed in 675 milliseconds

123