Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinatorTest.java19 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()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java139 .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)
DNotificationRecordLoggerTest.java19 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;
144 p.r.getSbn().getNotification().flags |= FLAG_FOREGROUND_SERVICE; in testIsForegroundService()
DNotificationManagerServiceTest.java35 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 …]
DGroupHelperTest.java22 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt22 import android.app.Notification.FLAG_FOREGROUND_SERVICE
715 notification.flags = notification.flags or FLAG_FOREGROUND_SERVICE in setupNotificationEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java103 mEntry.getSbn().getNotification().flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground()
DNotifCollectionTest.java19 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()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java570 return (r.getSbn().getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isForegroundService()
DNotificationManagerService.java40 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_JOB
1807 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB,
1900 FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB
1908 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_JOB
3809 pkg, null, 0, FLAG_FOREGROUND_SERVICE | FLAG_USER_INITIATED_JOB,
[all …]
DNotificationUsageStats.java442 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
DNotificationRecord.java993 return 0 != (getFlags() & Notification.FLAG_FOREGROUND_SERVICE); in isForegroundService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestBase.kt26 import android.app.Notification.FLAG_FOREGROUND_SERVICE in <lambda>()
1246 n.flags = n.flags or FLAG_FOREGROUND_SERVICE in <lambda>()
DNotificationInterruptStateProviderImplTest.java20 import static android.app.Notification.FLAG_FOREGROUND_SERVICE;
1112 .setFlag(FLAG_FOREGROUND_SERVICE, true) in createFgsNotification()
/frameworks/proto_logging/stats/atoms/wearservices/
Dwearservices_atoms.proto122 // Whether this notification has set FLAG_FOREGROUND_SERVICE. Which means the
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java159 .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()
/frameworks/base/core/java/android/app/
DNotification.java676 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in Notification
778 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()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java1636 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
DActiveServices.java2619 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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4604 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
/frameworks/base/core/api/
Dcurrent.txt6486 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40