Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
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/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java110 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
119 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
175 |Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
210 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
221 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()
DNotificationManagerServiceTest.java24 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;
696 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
725 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
747 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
792 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_blockedAppForegroundService()
1047 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreForegroundService()
1061 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreOtherPackages()
1189 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
1197 assertEquals(0, notifs[0].getNotification().flags & FLAG_FOREGROUND_SERVICE); in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue()
1204 Notification.FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE; in testCancelAfterSecondEnqueueDoesNotSpecifyForegroundFlag()
[all …]
/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/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java129 & Notification.FLAG_FOREGROUND_SERVICE)) { in updateNotification()
/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;
804 FLAG_FOREGROUND_SERVICE, false, r.getUserId(),
861 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE,
1157 FLAG_FOREGROUND_SERVICE, true, record.getUserId(),
2388 (FLAG_FOREGROUND_SERVICE | FLAG_AUTOGROUP_SUMMARY);
2403 pkg, null, 0, FLAG_FOREGROUND_SERVICE, true, userId,
3189 FLAG_ONGOING_EVENT | FLAG_FOREGROUND_SERVICE | FLAG_BUBBLE,
4649 (r.mOriginalFlags & ~FLAG_FOREGROUND_SERVICE);
4724 if ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {
4849 && (notification.flags & FLAG_FOREGROUND_SERVICE) != 0;
[all …]
DNotificationUsageStats.java432 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/statusbar/notification/collection/
DNotificationEntry.java791 & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in isExemptFromDndVisualSuppression()
891 return (notification.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isForegroundService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java234 n.flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground()
451 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in userChangeTrumpsHighPriorityCharacteristics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java457 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in shouldAutoCancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java349 & Notification.FLAG_FOREGROUND_SERVICE) != 0; in handleGroupSummaryRemoved()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java838 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
DActiveServices.java1335 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
6177 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...