Home
last modified time | relevance | path

Searched refs:FLAG_AUTO_CANCEL (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java19 import static android.app.Notification.FLAG_AUTO_CANCEL;
209 children.put("b", getNotificationAttributes(FLAG_AUTO_CANCEL)); in testGetAutogroupSummaryFlags_oneAutoCancel()
219 children.put("a", getNotificationAttributes(FLAG_AUTO_CANCEL)); in testGetAutogroupSummaryFlags_allAutoCancel()
220 children.put("b", getNotificationAttributes(FLAG_AUTO_CANCEL | FLAG_CAN_COLORIZE)); in testGetAutogroupSummaryFlags_allAutoCancel()
221 children.put("c", getNotificationAttributes(FLAG_AUTO_CANCEL)); in testGetAutogroupSummaryFlags_allAutoCancel()
222 children.put("d", getNotificationAttributes(FLAG_AUTO_CANCEL | FLAG_FOREGROUND_SERVICE)); in testGetAutogroupSummaryFlags_allAutoCancel()
224 assertEquals(FLAG_AUTO_CANCEL | BASE_FLAGS, in testGetAutogroupSummaryFlags_allAutoCancel()
231 children.put("a", getNotificationAttributes(FLAG_AUTO_CANCEL)); in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
232 children.put("b", getNotificationAttributes(FLAG_AUTO_CANCEL | FLAG_CAN_COLORIZE)); in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
233 children.put("c", getNotificationAttributes(FLAG_AUTO_CANCEL)); in testGetAutogroupSummaryFlags_allAutoCancelOneOngoing()
[all …]
DNotificationManagerServiceTest.java32 import static android.app.Notification.FLAG_AUTO_CANCEL;
1303 nrSummary.getNotification().flags |= FLAG_AUTO_CANCEL; in addGroupWithBubblesAndValidateAdded()
5344 update.getNotification().flags = FLAG_AUTO_CANCEL; in testOnlyAutogroupIfNeeded_flagsChanged_ghUpdate()
10957 nr.getSbn().getNotification().flags |= FLAG_BUBBLE | FLAG_AUTO_CANCEL;
10991 nr.getSbn().getNotification().flags |= FLAG_BUBBLE | FLAG_AUTO_CANCEL;
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java20 import static android.app.Notification.FLAG_AUTO_CANCEL;
62 private static final int ALL_CHILDREN_FLAG = FLAG_AUTO_CANCEL;
DNotificationUsageStats.java454 if ((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) { in countApiUse()
DNotificationManagerService.java38 import static android.app.Notification.FLAG_AUTO_CANCEL;
1279 sbn.getId(), FLAG_AUTO_CANCEL,
7629 notification.flags &= ~FLAG_AUTO_CANCEL;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java196 sbn.getNotification().flags |= Notification.FLAG_AUTO_CANCEL; in setUp()
202 bubbleSbn.getNotification().flags |= Notification.FLAG_AUTO_CANCEL; in setUp()
303 notification.flags |= Notification.FLAG_AUTO_CANCEL; in testOnNotificationClicked_keyGuardShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java687 if ((flags & Notification.FLAG_AUTO_CANCEL) != Notification.FLAG_AUTO_CANCEL) { in shouldAutoCancel()
/frameworks/base/core/java/android/app/
DNotification.java662 public static final int FLAG_AUTO_CANCEL = 0x00000010; field in Notification
776 FLAG_AUTO_CANCEL,
3932 if ((flags & FLAG_AUTO_CANCEL) != 0) { in flagsToString()
3934 flags &= ~FLAG_AUTO_CANCEL; in flagsToString()
5290 setFlag(FLAG_AUTO_CANCEL, autoCancel); in setAutoCancel()
/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.txt4603 field public static final int FLAG_AUTO_CANCEL = 16; // 0x10
/frameworks/base/core/api/
Dcurrent.txt6484 field public static final int FLAG_AUTO_CANCEL = 16; // 0x10