Searched refs:FLAG_FOREGROUND_SERVICE (Results 1 – 22 of 22) sorted by relevance
19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;80 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, true) in testIncludeFGSInSection_importanceDefault()93 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, true) in testDiscludeFGSInSection_importanceMin()108 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, false) in testDiscludeNonFGSInSection()
139 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()151 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()161 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()173 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()227 |Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()262 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()273 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp()363 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true)372 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true)
19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;144 p.r.getSbn().getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testIsForegroundService()
35 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;1657 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()1688 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1710 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1757 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testEnqueuedBlockedNotifications_blockedAppForegroundService()2088 .setFlag(FLAG_FOREGROUND_SERVICE, true) in testEnqueueNotificationWithTag_FgsAddsFlags_dismissalAllowed()2099 FLAG_FOREGROUND_SERVICE | FLAG_CAN_COLORIZE | FLAG_NO_CLEAR); in testEnqueueNotificationWithTag_FgsAddsFlags_dismissalAllowed()2528 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreForegroundService()2546 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_FgsFlag_NoFgs_Allowed()2563 sbn.getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testCancelAllNotifications_IgnoreOtherPackages()[all …]
22 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;222 children.put("d", getNotificationAttributes(FLAG_AUTO_CANCEL | FLAG_FOREGROUND_SERVICE)); in testGetAutogroupSummaryFlags_allAutoCancel()235 FLAG_AUTO_CANCEL | FLAG_FOREGROUND_SERVICE | FLAG_ONGOING_EVENT)); in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
22 import android.app.Notification.FLAG_FOREGROUND_SERVICE715 notification.flags = notification.flags or FLAG_FOREGROUND_SERVICE in setupNotificationEntry()
103 mEntry.getSbn().getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground()
19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;946 .setFlag(mContext, Notification.FLAG_FOREGROUND_SERVICE, true)); in testDismissingSummaryDoesDismissForegroundServiceChildren()1738 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, true) in testCanDismissFgsNotificationChildren()
570 return (r.getSbn().getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isForegroundService()
40 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;1280 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB | FLAG_BUBBLE,1418 fgService = r != null && (r.getNotification().flags & FLAG_FOREGROUND_SERVICE) != 0;1802 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB1807 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB,1900 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB1908 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB,3775 (FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB | FLAG_AUTOGROUP_SUMMARY);3795 pkg, null, 0, FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB3809 pkg, null, 0, FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB,[all …]
442 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
993 return 0 != (getFlags() & Notification.FLAG_FOREGROUND_SERVICE); in isForegroundService()
26 import android.app.Notification.FLAG_FOREGROUND_SERVICE in <lambda>()1246 n.flags = n.flags or FLAG_FOREGROUND_SERVICE in <lambda>()
20 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;1112 .setFlag(FLAG_FOREGROUND_SERVICE, true) in createFgsNotification()
122 // Whether this notification has set FLAG_FOREGROUND_SERVICE. Which means the
159 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground()165 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground()170 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, false) in testColorizedByForeground()
676 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in Notification778 FLAG_FOREGROUND_SERVICE,3940 if ((flags & FLAG_FOREGROUND_SERVICE) != 0) { in flagsToString()3942 flags &= ~FLAG_FOREGROUND_SERVICE; in flagsToString()7567 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isForegroundService()
1636 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
2619 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in setServiceForegroundInnerLocked()3043 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()9244 r.foregroundNoti.flags |= Notification.FLAG_FOREGROUND_SERVICE; in startForegroundServiceDelegateLocked()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
4604 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
6486 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40