Searched refs:FLAG_FOREGROUND_SERVICE (Results 1 – 18 of 18) sorted by relevance
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()
110 .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()
24 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 …]
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()
129 & Notification.FLAG_FOREGROUND_SERVICE)) { in updateNotification()
170 final int ongoingFlags = Notification.FLAG_FOREGROUND_SERVICE; in isOngoing()
23 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 …]
432 if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in countApiUse()
849 entry.notification.getNotification().flags |= Notification.FLAG_FOREGROUND_SERVICE; in setOngoing()851 entry.notification.getNotification().flags &= ~Notification.FLAG_FOREGROUND_SERVICE; in setOngoing()
192 sbn != null && (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) in createMenu()238 (sbn.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0); in onNotificationUpdated()
791 & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in isExemptFromDndVisualSuppression()891 return (notification.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isForegroundService()
234 n.flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground()451 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in userChangeTrumpsHighPriorityCharacteristics()
457 if ((flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) { in shouldAutoCancel()
349 & Notification.FLAG_FOREGROUND_SERVICE) != 0; in handleGroupSummaryRemoved()
838 notiBuilder.setFlag(Notification.FLAG_FOREGROUND_SERVICE, true); in postNotification()
1335 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; in setServiceForegroundInnerLocked()
581 public static final int FLAG_FOREGROUND_SERVICE = 0x00000040; field in Notification6177 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0;
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...