/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationComparatorTest.java | 108 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 117 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 173 |Notification.FLAG_FOREGROUND_SERVICE, true) 208 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 219 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true)
|
H A D | NotificationManagerServiceTest.java | 19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE; 537 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 566 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 588 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 633 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 791 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 805 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 933 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; 941 assertEquals(0, notifs[0].getNotification().flags & FLAG_FOREGROUND_SERVICE); 948 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ForegroundServiceControllerTest.java | 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; 407 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; 425 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; 463 makeMockSBN(userid, pkg, id, "foo", Notification.FLAG_FOREGROUND_SERVICE); 475 return makeMockSBN(userid, pkg, 1000, "foo", Notification.FLAG_FOREGROUND_SERVICE);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationTest.java | 81 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 87 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 92 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, false)
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationComparator.java | 154 final int ongoingFlags = Notification.FLAG_FOREGROUND_SERVICE;
|
H A D | NotificationManagerService.java | 19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE; 717 FLAG_FOREGROUND_SERVICE, false, r.getUserId(), 761 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE, 993 FLAG_FOREGROUND_SERVICE, true, record.getUserId(), 2093 (FLAG_FOREGROUND_SERVICE | Notification.FLAG_AUTOGROUP_SUMMARY); 2108 pkg, null, 0, FLAG_FOREGROUND_SERVICE, true, userId, 2695 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE, 3970 // FLAG_FOREGROUND_SERVICE. Hence it's not enough to remove 3971 // FLAG_FOREGROUND_SERVICE, we have to revert to the flags we received 3972 // initially *and* force remove FLAG_FOREGROUND_SERVICE [all...] |
H A D | NotificationUsageStats.java | 432 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServiceControllerImpl.java | 131 // this is safe to call on any notification, not just FLAG_FOREGROUND_SERVICE 154 if (0 != (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE)) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationInfoTest.java | 262 mSbn.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; 682 mSbn.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; 948 mSbn.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE;
|
H A D | NotificationDataTest.java | 307 n.flags = Notification.FLAG_FOREGROUND_SERVICE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationInfo.java | 183 (mSbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
|
H A D | NotificationMenuRow.java | 196 boolean isForeground = (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
|
H A D | NotificationData.java | 550 & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
|
H A D | NotificationEntryManager.java | 671 & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 624 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true);
|
H A D | ActiveServices.java | 1244 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE;
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | NotificationCompat.java | 165 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in class:NotificationCompat
|
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 567 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in class:Notification 1249 * {@link #FLAG_FOREGROUND_SERVICE} notification currently visible to the user. 5850 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBar.java | 5440 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
|