/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationAdjustmentExtractor.java | 34 if (record == null || record.getNotification() == null) {
|
H A D | NotificationIntrusivenessExtractor.java | 45 if (record == null || record.getNotification() == null) { 58 if (record.getNotification().fullScreenIntent != null) {
|
H A D | NotificationComparator.java | 109 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 D | ImportanceExtractor.java | 35 if (record == null || record.getNotification() == null) {
|
H A D | NotificationChannelExtractor.java | 35 if (record == null || record.getNotification() == null) {
|
H A D | PriorityExtractor.java | 36 if (record == null || record.getNotification() == null) {
|
H A D | VisibilityExtractor.java | 36 if (record == null || record.getNotification() == null) {
|
H A D | BadgeExtractor.java | 37 if (record == null || record.getNotification() == null) {
|
H A D | NotificationRecord.java | 179 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 D | ZenModeExtractor.java | 40 if (record == null || record.getNotification() == null) {
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationRecordTest.java | 128 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 D | NotificationManagerServiceTest.java | 521 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 D | StatusBarNotification.java | 118 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 D | NotificationBigPictureTemplateViewWrapper.java | 45 final Bundle extras = notification.getNotification().extras;
|
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ |
H A D | NotificationsActivity.java | 64 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 D | NotificationsActivity.java | 64 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 D | ForegroundServiceControllerTest.java | 323 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 D | NotificationDataTest.java | 220 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 D | NotificationEntryManagerTest.java | 380 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 D | NotificationMessagingUtil.java | 88 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 D | MediaSessionService2.java | 229 public @NonNull Notification getNotification() { method in class:MediaSessionService2.MediaNotification
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManager.java | 269 && 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 D | NotificationData.java | 180 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 D | MediaSessionService2Impl.java | 121 mediaNotification.getNotification()); 135 mediaNotification.getNotification());
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 56 public UiObject getNotification(String text) { method in class:UiBot 78 UiObject notification = getNotification(text);
|