Home
last modified time | relevance | path

Searched refs:mCancellationReason (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollection.java402 entry.mCancellationReason = reason; in onNotificationRemoved()
445 entry.mCancellationReason = REASON_NOT_CANCELED; in postNotification()
484 mEventQueue.add(new EntryRemovedEvent(entry, entry.mCancellationReason)); in tryRemoveNotification()
581 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
688 return entry.mCancellationReason != REASON_NOT_CANCELED;
694 entry.mCancellationReason == REASON_CLICK
695 || entry.mCancellationReason == REASON_CANCEL;
H A DListDumper.java156 if (notifEntry.mCancellationReason != REASON_NOT_CANCELED) { in dumpEntry()
158 .append(notifEntry.mCancellationReason) in dumpEntry()
H A DNotificationEntry.java115 @CancellationReason int mCancellationReason = REASON_NOT_CANCELED; field in NotificationEntry
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollectionTest.java1070 assertEquals(REASON_APP_CANCEL, entry0.mCancellationReason); in testCancellationReasonIsSetWhenNotifIsCancelled()
1083 assertEquals(REASON_APP_CANCEL, entry0.mCancellationReason); in testCancellationReasonIsClearedWhenNotifIsUpdated()
1087 assertEquals(REASON_NOT_CANCELED, entry0.mCancellationReason); in testCancellationReasonIsClearedWhenNotifIsUpdated()