/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationComparatorTest.java | 111 .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()
|
D | NotificationManagerServiceTest.java | 25 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/ |
D | ForegroundServiceLifetimeExtenderTest.java | 64 mNotif.flags |= Notification.FLAG_FOREGROUND_SERVICE; in testShouldExtendLifetime_should_foreground() 71 mNotif.flags |= Notification.FLAG_FOREGROUND_SERVICE; in testShouldExtendLifetime_shouldNot_foreground()
|
D | ForegroundServiceControllerTest.java | 231 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/ |
D | ForegroundServiceLifetimeExtender.java | 54 & Notification.FLAG_FOREGROUND_SERVICE) == 0) { in shouldExtendLifetime()
|
D | ForegroundServiceNotificationListener.java | 132 & Notification.FLAG_FOREGROUND_SERVICE)) { in updateNotification()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 84 .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/ |
D | NotificationComparator.java | 170 final int ongoingFlags = Notification.FLAG_FOREGROUND_SERVICE; in isOngoing()
|
D | NotificationManagerService.java | 23 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 …]
|
D | NotificationUsageStats.java | 444 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleDataTest.java | 849 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/ |
D | NotificationMenuRow.java | 192 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/ |
D | Bubble.java | 291 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isOngoing()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 235 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/ |
D | StatusBarNotificationActivityStarter.java | 456 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in shouldAutoCancel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManager.java | 365 & Notification.FLAG_FOREGROUND_SERVICE) != 0; in handleGroupSummaryRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 721 & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in isExemptFromDndVisualSuppression()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 839 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
|
D | ActiveServices.java | 1368 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in setServiceForegroundInnerLocked()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 581 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/ |
D | android-22.txt | 4604 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 5357 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
|
/frameworks/base/api/ |
D | current.txt | 5357 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40
|