Searched refs:FLAG_NO_CLEAR (Results 1 – 15 of 15) sorted by relevance
23 import static android.app.Notification.FLAG_NO_CLEAR;64 private static final int ANY_CHILDREN_FLAGS = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
43 import static android.app.Notification.FLAG_NO_CLEAR;1252 /*includeCurrentProfiles*/ true, FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);5015 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR5026 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);7732 notification.flags |= FLAG_NO_CLEAR;8732 notification.flags |= FLAG_NO_CLEAR;12882 .setFlag(FLAG_NO_CLEAR, true)
23 import static android.app.Notification.FLAG_NO_CLEAR;175 children.put("b", getNotificationAttributes(FLAG_ONGOING_EVENT | FLAG_NO_CLEAR)); in testGetAutogroupSummaryFlags_oneOngoingNoClear()178 assertEquals(FLAG_NO_CLEAR | FLAG_ONGOING_EVENT | BASE_FLAGS, in testGetAutogroupSummaryFlags_oneOngoingNoClear()441 sbn.getNotification().flags |= FLAG_NO_CLEAR; in testAddSummary_summaryAutoCancelNoClear_alwaysAutogroup()446 eq(getNotificationAttributes(BASE_FLAGS | FLAG_AUTO_CANCEL | FLAG_NO_CLEAR))); in testAddSummary_summaryAutoCancelNoClear_alwaysAutogroup()461 sbn.getNotification().flags |= FLAG_NO_CLEAR; in testAddSummary_summaryAutoCancelNoClear()466 eq(getNotificationAttributes(BASE_FLAGS | FLAG_AUTO_CANCEL | FLAG_NO_CLEAR))); in testAddSummary_summaryAutoCancelNoClear()
37 import static android.app.Notification.FLAG_NO_CLEAR;2099 FLAG_FOREGROUND_SERVICE | FLAG_CAN_COLORIZE | FLAG_NO_CLEAR); in testEnqueueNotificationWithTag_FgsAddsFlags_dismissalAllowed()2607 sbn.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testAppInitiatedCancelAllNotifications_CancelsNoClearFlag()2622 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testCancelAllNotifications_CancelsNoClearFlag()2636 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testUserInitiatedCancelAllOnClearAll_NoClearFlag()2841 child2.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearChild()2861 parent.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearParent()2947 child2.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelAllNotifications_fromApp_canCancelOngoingNoClearChild()2969 parent.getNotification().flags |= FLAG_ONGOING_EVENT | FLAG_NO_CLEAR; in testCancelAllNotifications_fromApp_canCancelOngoingNoClearParent()3091 parent.getNotification().flags |= FLAG_NO_CLEAR; in testCancelNotificationsFromListener_clearAll_GroupWithNoClearParent()[all …]
323 .setFlag(mContext, Notification.FLAG_NO_CLEAR, !clearable) in setSbnClearable()
20 import static android.app.Notification.FLAG_NO_CLEAR;1434 .setFlag(FLAG_NO_CLEAR, true); in testDismissAllNotificationsDoesNotMarkDismissedUnclearableNotifs()1461 .setFlag(mContext, FLAG_NO_CLEAR, true)); in testDismissAllNotificationsCallsDismissInterceptorsOnlyOnUnclearableNotifs()1465 .setFlag(mContext, FLAG_NO_CLEAR, false)); in testDismissAllNotificationsCallsDismissInterceptorsOnlyOnUnclearableNotifs()1709 .setFlag(mContext, FLAG_NO_CLEAR, true) in testCannotDismissNoClearNotifications()
319 && ((notification.flags & Notification.FLAG_NO_CLEAR) == 0); in isClearable()
241 Notification.VISIBILITY_SECRET, false, Notification.FLAG_NO_CLEAR); in showBiometricReEnrollNotification()
539 notification.flags |= Notification.FLAG_NO_CLEAR; in updateNotifications()
879 && !hasFlag(entry, Notification.FLAG_NO_CLEAR)
21 import android.app.Notification.FLAG_NO_CLEAR2037 it.setFlag(FLAG_NO_CLEAR, true) in testNoClearNotOngoing_canDismiss()
669 public static final int FLAG_NO_CLEAR = 0x00000020; field in Notification777 FLAG_NO_CLEAR,3936 if ((flags & FLAG_NO_CLEAR) != 0) { in flagsToString()3938 flags &= ~FLAG_NO_CLEAR; in flagsToString()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
4609 field public static final int FLAG_NO_CLEAR = 32; // 0x20
6491 field public static final int FLAG_NO_CLEAR = 32; // 0x20