Home
last modified time | relevance | path

Searched refs:FLAG_FOREGROUND_SERVICE (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationComparatorTest.java104 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
113 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
168 |Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
DNotificationManagerServiceTest.java399 sbn.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreForegroundService()
412 sbn.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreOtherPackages()
450 sbn.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
458 assertEquals(0, notifs[0].getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE); in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
465 Notification.FLAG_ONGOING_EVENT | Notification.FLAG_FOREGROUND_SERVICE; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java229 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; in testDungeonBasic()
242 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testDungeonBasic()
282 return makeMockSBN(userid, pkg, 1000, "foo", Notification.FLAG_FOREGROUND_SERVICE); in makeMockFgSBN()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceControllerImpl.java101 if (0 != (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) in updateNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationComparator.java154 final int ongoingFlags = Notification.FLAG_FOREGROUND_SERVICE; in isOngoing()
DNotificationManagerService.java578 Notification.FLAG_FOREGROUND_SERVICE, false, r.getUserId(),
607 Notification.FLAG_ONGOING_EVENT | Notification.FLAG_FOREGROUND_SERVICE,
745 Notification.FLAG_FOREGROUND_SERVICE, true, record.getUserId(),
1568 (Notification.FLAG_FOREGROUND_SERVICE | Notification.FLAG_AUTOGROUP_SUMMARY);
1583 pkg, null, 0, Notification.FLAG_FOREGROUND_SERVICE, true, userId,
2092 Notification.FLAG_ONGOING_EVENT | Notification.FLAG_FOREGROUND_SERVICE,
3143 (r.mOriginalFlags & ~Notification.FLAG_FOREGROUND_SERVICE);
3544 old.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE; in run()
3552 if ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in run()
4614 && (childR.getFlags() & Notification.FLAG_FOREGROUND_SERVICE) == 0) { in cancelGroupChildrenByListLocked()
DNotificationUsageStats.java416 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java182 boolean isForeground = (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in createMenuViews()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java492 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
DActiveServices.java1071 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in setServiceForegroundInnerLocked()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompat.java148 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in NotificationCompat
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1798 & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in handleGroupSummaryRemoved()
6587 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
/frameworks/support/api/
D22.0.0.txt1857 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D22.1.0.txt1999 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D22.2.0.txt2367 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D22.2.1.txt2395 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D25.1.0.txt4592 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D25.0.0.txt4210 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D23.0.0.txt2967 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D25.2.0.txt4592 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D24.2.0.txt4157 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D26.0.0-alpha1.txt5408 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D23.2.1.txt3567 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D25.3.0.txt4973 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
D23.2.0.txt3567 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40

12