Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DArchiveTest.java22 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
97 mArchive.record(sbn, REASON_CANCEL); in testRecordAndRead()
109 mArchive.record(getNotification("pkg", 1, UserHandle.of(USER_SYSTEM)), REASON_CANCEL); in testCrossUser()
110 mArchive.record(getNotification("pkg", 2, UserHandle.of(USER_CURRENT)), REASON_CANCEL); in testCrossUser()
111 mArchive.record(getNotification("pkg", 3, UserHandle.of(USER_ALL)), REASON_CANCEL); in testCrossUser()
112 mArchive.record(getNotification("pkg", 4, UserHandle.of(USER_NULL)), REASON_CANCEL); in testCrossUser()
128 mArchive.record(sbn, REASON_CANCEL); in testRecordAndRead_overLimit()
149 mArchive.record(sbn, REASON_CANCEL); in testDoesNotRecordIfHistoryDisabled()
169 mArchive.record(sbn, REASON_CANCEL); in testRemovesEntriesWhenHistoryDisabled()
189 mArchive.record(sbn0, REASON_CANCEL); in testRemoveChannelNotifications()
[all …]
DNotificationRecordLoggerTest.java21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
220 REASON_CANCEL, DISMISSAL_OTHER)); in testOtherNotificationCancel()
DNotificationManagerServiceTest.java103 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
2625 notif.getUserId(), REASON_CANCEL); in testCancelAllNotifications_CancelsNoClearFlag()
3509 Notification.FLAG_ONGOING_EVENT, notif.getUserId(), REASON_CANCEL); in testCancelAllNotificationsInt_CancelsNoClearFlagOnGoing()
3537 notif.getUserId(), REASON_CANCEL); in testCancelAllNotificationsInt_CancelsOngoingFlag()
11095 notif.getUserId(), REASON_CANCEL);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DShadeEventCoordinatorTest.kt19 import android.service.notification.NotificationListenerService.REASON_CANCEL
82 notifCollectionListener.onEntryRemoved(entry1, REASON_CANCEL) in testUserCancelLastNotification()
100 notifCollectionListener.onEntryRemoved(entry1, REASON_CANCEL) in testUserCancelOneOfTwoNotifications()
DNotificationStatsLoggerCoordinatorTest.kt20 import android.service.notification.NotificationListenerService.REASON_CANCEL
57 collectionListener.onEntryRemoved(mockEntry("key"), REASON_CANCEL) in onEntryAdded_loggerCalled()
DMediaCoordinatorTest.java178 mListener.onEntryRemoved(mMediaEntry, NotificationListenerService.REASON_CANCEL); in inflateMediaNotificationIconsMediaEnabled_old()
208 mListener.onEntryRemoved(mMediaEntry, NotificationListenerService.REASON_CANCEL); in inflateMediaNotificationIconsMediaEnabled_new()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricNotificationLoggerTest.java120 NotificationListenerService.REASON_CANCEL); in testFaceNotification_dismissed()
131 NotificationListenerService.REASON_CANCEL); in testFingerprintNotification_dismissed()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricNotificationLogger.java90 case NotificationListenerService.REASON_CANCEL: in onNotificationRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRemoteInputCoordinator.kt22 import android.service.notification.NotificationListenerService.REASON_CANCEL
161 if (reason == REASON_CANCEL || reason == REASON_CLICK) { in onEntryRemoved()
DShadeEventCoordinator.kt56 reason == NotificationListenerService.REASON_CANCEL in onEntryRemoved()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
241 if (reason == REASON_CANCEL) { in fromCancelReason()
DNotificationManagerService.java119 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
1377 userId, REASON_CANCEL, nv.rank, nv.count, /* listener= */ null);
8409 if (mReason == REASON_CANCEL
9747 case REASON_CANCEL:
10227 || reason != REASON_CANCEL)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java22 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
859 || entry.mCancellationReason == REASON_CANCEL;
1166 REASON_CANCEL,
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java521 NotificationListenerService.REASON_CANCEL); in testUncacheShortcutsWhenNotificationsDismissed()
716 NotificationListenerService.REASON_CANCEL); in testGetConversation_trackActiveConversations()
1211 NotificationListenerService.REASON_CANCEL); in testUncacheOldestCachedShortcut()
1587 NotificationListenerService.REASON_CANCEL); in testNotificationRemoved()
1608 NotificationListenerService.REASON_CANCEL);
1638 NotificationListenerService.REASON_CANCEL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionLogger.kt42 NotificationListenerService.REASON_CANCEL -> "REASON_CANCEL" in cancellationReasonDebugString()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java233 public static final int REASON_CANCEL = 2; field in NotificationListenerService
291 REASON_CANCEL,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
2041 mSysuiProxy.notifyRemoveNotification(bubble.getKey(), REASON_CANCEL);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java24 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
676 mNoMan.retractNotif(notif.sbn, REASON_CANCEL); in testNMSReportsUserDismissalAlwaysRemovesNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
1621 mOnUserInteractionCallback.registerFutureDismissal(mEntry, REASON_CANCEL).run();
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto111 REASON_CANCEL = 2; enumerator
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41210 field public static final int REASON_CANCEL = 2; // 0x2