Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListDumper.java156 if (notifEntry.mCancellationReason != REASON_NOT_CANCELED) { in dumpEntry()
158 .append(notifEntry.mCancellationReason) in dumpEntry()
DNotifCollection.java390 entry.mCancellationReason = reason; in onNotificationRemoved()
433 entry.mCancellationReason = REASON_NOT_CANCELED; in postNotification()
473 mEventQueue.add(new EntryRemovedEvent(entry, entry.mCancellationReason)); in tryRemoveNotification()
566 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
673 return entry.mCancellationReason != REASON_NOT_CANCELED;
DNotificationEntry.java116 @CancellationReason int mCancellationReason = REASON_NOT_CANCELED; field in NotificationEntry
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java1049 assertEquals(REASON_APP_CANCEL, entry0.mCancellationReason); in testCancellationReasonIsSetWhenNotifIsCancelled()
1062 assertEquals(REASON_APP_CANCEL, entry0.mCancellationReason); in testCancellationReasonIsClearedWhenNotifIsUpdated()
1066 assertEquals(REASON_NOT_CANCELED, entry0.mCancellationReason); in testCancellationReasonIsClearedWhenNotifIsUpdated()