Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java111 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
123 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
133 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
189 |Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
224 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
235 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
DNotificationManagerServiceTest.java25 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;
752 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
781 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
803 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
848 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_blockedAppForegroundService()
1025 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelImmediatelyAfterEnqueueNotifiesListeners_ForegroundServiceFlag()
1117 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreForegroundService()
1131 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreOtherPackages()
1259 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
1267 assertEquals(0, notifs[0].getNotification().flags & FLAG_FOREGROUND_SERVICE); in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceLifetimeExtenderTest.java64 mNotif.flags |= Notification.FLAG_FOREGROUND_SERVICE; in testShouldExtendLifetime_should_foreground()
71 mNotif.flags |= Notification.FLAG_FOREGROUND_SERVICE; in testShouldExtendLifetime_shouldNot_foreground()
DForegroundServiceControllerTest.java231 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; in testDisclosureBasic()
244 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testDisclosureBasic()
261 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testDisclosureBasic()
309 sbn_user1_app1_fg_sneaky.getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; in testStdLayoutBasic()
327 sbn_user1_app1.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in testStdLayoutBasic()
365 makeMockSBN(userid, pkg, id, "foo", Notification.FLAG_FOREGROUND_SERVICE); in makeMockFgSBN()
377 return makeMockSBN(userid, pkg, 1000, "foo", Notification.FLAG_FOREGROUND_SERVICE); in makeMockFgSBN()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceLifetimeExtender.java54 & Notification.FLAG_FOREGROUND_SERVICE) == 0) { in shouldExtendLifetime()
DForegroundServiceNotificationListener.java132 & Notification.FLAG_FOREGROUND_SERVICE)) { in updateNotification()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java84 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground()
90 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground()
95 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, false) in testColorizedByForeground()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationComparator.java170 final int ongoingFlags = Notification.FLAG_FOREGROUND_SERVICE; in isOngoing()
DNotificationManagerService.java23 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;
818 FLAG_FOREGROUND_SERVICE, false, r.getUserId(),
875 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE,
912 fgService = r != null && (r.getNotification().flags & FLAG_FOREGROUND_SERVICE) != 0;
1185 FLAG_FOREGROUND_SERVICE, true, record.getUserId(),
2461 (FLAG_FOREGROUND_SERVICE | FLAG_AUTOGROUP_SUMMARY);
2476 pkg, null, 0, FLAG_FOREGROUND_SERVICE, true, userId,
3278 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE | FLAG_BUBBLE,
4782 (r.mOriginalFlags & ~FLAG_FOREGROUND_SERVICE);
4857 if ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
[all …]
DNotificationUsageStats.java444 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java849 entry.notification.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in setOngoing()
851 entry.notification.getNotification().flags &= ~Notification.FLAG_FOREGROUND_SERVICE; in setOngoing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java192 sbn != null && (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) in createMenu()
238 (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0); in onNotificationUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java291 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isOngoing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java235 n.flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground()
452 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in userChangeTrumpsHighPriorityCharacteristics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java456 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in shouldAutoCancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java365 & Notification.FLAG_FOREGROUND_SERVICE) != 0; in handleGroupSummaryRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java721 & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in isExemptFromDndVisualSuppression()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java839 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
DActiveServices.java1368 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in setServiceForegroundInnerLocked()
/frameworks/base/core/java/android/app/
DNotification.java581 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in Notification
633 FLAG_AUTO_CANCEL, FLAG_NO_CLEAR, FLAG_FOREGROUND_SERVICE, FLAG_HIGH_PRIORITY,
6177 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4604 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
/frameworks/base/non-updatable-api/
Dcurrent.txt5357 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
/frameworks/base/api/
Dcurrent.txt5357 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40