Home
last modified time | relevance | path

Searched refs:removeNotification (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java66 removeNotification(entry.notification); in ForegroundServiceNotificationListener()
84 private void removeNotification(StatusBarNotification sbn) { in removeNotification() method in ForegroundServiceNotificationListener
98 return userState.removeNotification(sbn.getPackageName(), sbn.getKey()); in removeNotification()
130 userState.removeNotification(sbn.getPackageName(), sbn.getKey()); in updateNotification()
DForegroundServicesUserState.java72 return removeNotification(mImportantNotifications, pkg, key); in removeImportantNotification()
80 return removeNotification(mStandardLayoutNotifications, pkg, key); in removeStandardLayoutNotification()
83 public boolean removeNotification(String pkg, String key) { in removeNotification() method in ForegroundServicesUserState
98 public boolean removeNotification(ArrayMap<String, ArraySet<String>> map, in removeNotification() method in ForegroundServicesUserState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationAlertingManager.java141 alertManager.removeNotification(entry.key, in updateAlertState()
186 mHeadsUpManager.removeNotification(key, ignoreEarliestRemovalTime); in stopAlerting()
189 mAmbientPulseManager.removeNotification(key, false /* ignoreEarliestRemovalTime */); in stopAlerting()
DNotificationEntryManager.java165 extender.setCallback(key -> removeNotification(key, null, UNDEFINED_DISMISS_REASON)); in addNotificationLifetimeExtender()
256 public void removeNotification(String key, NotificationListenerService.RankingMap ranking, in removeNotification() method in NotificationEntryManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java355 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification()
371 mEntryManager.removeNotification("not_a_real_key", mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_onEntryRemoveNotFiredIfEntryDoesntExist()
384 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_whilePending()
464 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()
480 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()
500 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled()
525 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
531 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
559 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveInterceptor_interceptsDontGetRemoved()
578 mEntryManager.removeNotification(mEntry.key, mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveInterceptor_notInterceptedGetsRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUpdateHandler.java43 void removeNotification(String key, NotificationListenerService.RankingMap ranking, int reason); in removeNotification() method
DNotificationListener.java108 mEntryManager.removeNotification(key, rankingMap, UNDEFINED_DISMISS_REASON); in onNotificationPosted()
131 mEntryManager.removeNotification(key, rankingMap, reason); in onNotificationRemoved()
DAlertingNotificationManager.java79 public boolean removeNotification(@NonNull String key, boolean releaseImmediately) { in removeNotification() method in AlertingNotificationManager
/frameworks/base/core/java/android/app/
DService.java756 public final void stopForeground(boolean removeNotification) { in stopForeground() argument
757 stopForeground(removeNotification ? STOP_FOREGROUND_REMOVE : 0); in stopForeground()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java164 mAlertingNotificationManager.removeNotification(mEntry.key, false /* releaseImmediately */); in testRemoveNotification_removeDeferred()
174 mAlertingNotificationManager.removeNotification(mEntry.key, true /* releaseImmediately */); in testRemoveNotification_forceRemove()
DNotificationListenerTest.java104 verify(mEntryManager).removeNotification(eq(mSbn.getKey()), eq(mRanking), anyInt()); in testNotificationRemovalCallsRemoveNotification()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java59 void removeNotification(StatusBarNotification sbn); in removeNotification() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java242 mHeadsUpManager.removeNotification(sbn.getKey(), in handleNotificationClickAfterKeyguardDismissed()
344 removeNotification(parentToCancelFinal); in handleNotificationClickAfterPanelCollapsed()
350 removeNotification(sbn); in handleNotificationClickAfterPanelCollapsed()
484 private void removeNotification(StatusBarNotification notification) { in removeNotification() method in StatusBarNotificationActivityStarter
DNotificationListenerWithPlugins.java142 public void removeNotification(StatusBarNotification sbn) { in getProvider() method in NotificationListenerWithPlugins
DNotificationGroupAlertTransferHelper.java338 alertManager.removeNotification(fromEntry.key, true /* releaseImmediately */); in transferAlertState()
374 alertManager.removeNotification(entry.key, true /* releaseImmediately */); in checkShouldTransferBack()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java101 mHeadsUpManager.removeNotification(mEntry.key, false /* releaseImmediately */); in testSwipedOutNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java351 headsUpManager.removeNotification(entry.key, true); in inflateActionButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java270 public void removeNotification(ExpandableNotificationRow row) {
DNotificationStackScrollLayout.java5535 mEntryManager.removeNotification(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java814 mChildrenContainer.removeNotification(row);
1329 mChildrenContainer.removeNotification(row);