Home
last modified time | relevance | path

Searched refs:REASON_CANCEL (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DArchiveTest.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
81 mArchive.record(sbn, REASON_CANCEL); in testRecordAndRead()
96 mArchive.record(sbn, REASON_CANCEL); in testRecordAndRead_overLimit()
116 mArchive.record(sbn, REASON_CANCEL); in testDoesNotRecordIfHistoryDisabled()
136 mArchive.record(sbn, REASON_CANCEL); in testRemovesEntriesWhenHistoryDisabled()
156 mArchive.record(sbn0, REASON_CANCEL); in testRemoveChannelNotifications()
159 mArchive.record(sbn, REASON_CANCEL); in testRemoveChannelNotifications()
181 mArchive.record(sbn0, REASON_CANCEL); in testRemoveChannelNotifications_concurrently()
184 mArchive.record(sbn, REASON_CANCEL); in testRemoveChannelNotifications_concurrently()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DForegroundServiceSectionController.kt22 import android.service.notification.NotificationListenerService.REASON_CANCEL in <lambda>()
78 val isUserDismiss = reason == REASON_CANCEL || reason == REASON_CLICK in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java19 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
200 if (reason != REASON_CANCEL) { in fromCancelReason()
DNotificationManagerService.java84 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
1209 true, userId, REASON_CANCEL, nv.rank, nv.count,null);
6877 if (mReason == REASON_CANCEL
8418 case REASON_CANCEL:
8859 || reason != REASON_CANCEL)) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java22 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
895 mRow.getKey(), mRow, REASON_CANCEL); in removeBubble_userDismissNotifIntercepted()
917 mRow.getKey(), mRow, REASON_CANCEL); in removeNotif_inOverflow_intercepted()
937 mRow.getKey(), mRow, REASON_CANCEL); in removeNotif_notInOverflow_notIntercepted()
969 eq(mRow.getSbn()), any(), eq(REASON_CANCEL)); in testOverflowBubble_maxReached_notInShade_bubbleRemoved()
982 mRow.getKey(), mRow, REASON_CANCEL); in testNotifyShadeSuppressionChange_notificationDismiss() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
505 REASON_CANCEL); in testPerformRemoveNotification_removedEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java24 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
437 final boolean isUserDismiss = dismissReason == REASON_CANCEL in setupNEM()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
684 || entry.mCancellationReason == REASON_CANCEL;
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java517 NotificationListenerService.REASON_CANCEL); in testUncacheShortcutsWhenNotificationsDismissed()
1149 NotificationListenerService.REASON_CANCEL); in testUncacheOldestCachedShortcut()
1455 NotificationListenerService.REASON_CANCEL); in testNotificationRemoved()
1476 NotificationListenerService.REASON_CANCEL);
1506 NotificationListenerService.REASON_CANCEL);
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java219 public static final int REASON_CANCEL = 2; field in NotificationListenerService
264 REASON_CANCEL,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
1135 mSysuiProxy.notifyRemoveNotification(bubble.getKey(), REASON_CANCEL);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
494 mNoMan.retractNotif(notif.sbn, REASON_CANCEL); in testNMSReportsUserDismissalAlwaysRemovesNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java340 NotificationListenerService.REASON_CANCEL); in setupNEM()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
1426 mOnUserInteractionCallback.onDismiss(mEntry, REASON_CANCEL,
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto105 REASON_CANCEL = 2; enumerator
/frameworks/base/core/api/
Dcurrent.txt38631 field public static final int REASON_CANCEL = 2; // 0x2