Home
last modified time | relevance | path

Searched refs:FLAG_NO_CLEAR (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java23 import static android.app.Notification.FLAG_NO_CLEAR;
64 private static final int ANY_CHILDREN_FLAGS = FLAG_ONGOING_EVENT | FLAG_NO_CLEAR;
DNotificationManagerService.java43 import static android.app.Notification.FLAG_NO_CLEAR;
1252 /*includeCurrentProfiles*/ true, FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);
5015 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR
5026 FLAG_ONGOING_EVENT | FLAG_NO_CLEAR);
7732 notification.flags |= FLAG_NO_CLEAR;
8732 notification.flags |= FLAG_NO_CLEAR;
12882 .setFlag(FLAG_NO_CLEAR, true)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java23 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()
DNotificationManagerServiceTest.java37 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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinatorTest.java323 .setFlag(mContext, Notification.FLAG_NO_CLEAR, !clearable) in setSbnClearable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java20 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()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java319 && ((notification.flags & Notification.FLAG_NO_CLEAR) == 0); in isClearable()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricNotificationUtils.java241 Notification.VISIBILITY_SECRET, false, Notification.FLAG_NO_CLEAR); in showBiometricReEnrollNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java539 notification.flags |= Notification.FLAG_NO_CLEAR; in updateNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java879 && !hasFlag(entry, Notification.FLAG_NO_CLEAR)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt21 import android.app.Notification.FLAG_NO_CLEAR
2037 it.setFlag(FLAG_NO_CLEAR, true) in testNoClearNotOngoing_canDismiss()
/frameworks/base/core/java/android/app/
DNotification.java669 public static final int FLAG_NO_CLEAR = 0x00000020; field in Notification
777 FLAG_NO_CLEAR,
3936 if ((flags & FLAG_NO_CLEAR) != 0) { in flagsToString()
3938 flags &= ~FLAG_NO_CLEAR; in flagsToString()
/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.txt4609 field public static final int FLAG_NO_CLEAR = 32; // 0x20
/frameworks/base/core/api/
Dcurrent.txt6491 field public static final int FLAG_NO_CLEAR = 32; // 0x20