Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java79 removeNotification(entry.getSbn()); in ForegroundServiceNotificationListener()
97 removeNotification(entry.getSbn()); in ForegroundServiceNotificationListener()
112 private void removeNotification(StatusBarNotification sbn) { in removeNotification() method in ForegroundServiceNotificationListener
126 return userState.removeNotification(sbn.getPackageName(), sbn.getKey()); in removeNotification()
159 userState.removeNotification(sbn.getPackageName(), sbn.getKey()); in updateNotification()
DForegroundServicesUserState.java74 return removeNotification(mImportantNotifications, pkg, key); in removeImportantNotification()
82 return removeNotification(mStandardLayoutNotifications, pkg, key); in removeStandardLayoutNotification()
85 public boolean removeNotification(String pkg, String key) { in removeNotification() method in ForegroundServicesUserState
100 public boolean removeNotification(ArrayMap<String, ArraySet<String>> map, in removeNotification() method in ForegroundServicesUserState
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java277 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification()
303 mEntryManager.removeNotification("not_a_real_key", mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_onEntryRemoveNotFiredIfEntryDoesntExist()
312 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_whilePending()
390 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()
406 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()
426 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled()
450 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
456 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
469 mEntryManager.removeNotification(mSbn.getKey(), null, 0); in testPerformRemoveNotification_removedEntry()
484 mEntryManager.removeNotification(mEntry.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveInterceptor_interceptsDontGetRemoved()
[all …]
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/notification/
DCarHeadsUpNotificationSystemContainerTest.java81 mCarHeadsUpNotificationSystemContainer.removeNotification(mNotificationView); in testRemoveNotification_lastNotification_isInvisible()
89 mCarHeadsUpNotificationSystemContainer.removeNotification(mNotificationView); in testRemoveNotification_nonLastNotification_isVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DHeadsUpController.java129 mHeadsUpManager.removeNotification(entry.getKey(), false /* removeImmediately */); in updateHunState()
158 mHeadsUpManager.removeNotification(key, ignoreEarliestRemovalTime); in stopAlerting()
/frameworks/base/core/java/android/app/
DService.java758 public final void stopForeground(boolean removeNotification) { in stopForeground() argument
759 stopForeground(removeNotification ? STOP_FOREGROUND_REMOVE : 0); in stopForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.java129 mHeadsUpManager.removeNotification(
150 mHeadsUpManager.removeNotification(entry.getKey(), removeImmediatelyForRemoteInput);
DBubbleCoordinator.java124 public void removeNotification(NotificationEntry entry, int reason) {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java59 void removeNotification(StatusBarNotification sbn); in removeNotification() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java167 mAlertingNotificationManager.removeNotification( in testRemoveNotification_removeDeferred()
178 mAlertingNotificationManager.removeNotification( in testRemoveNotification_forceRemove()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DCarHeadsUpNotificationSystemContainer.java99 public void removeNotification(View notificationView) { in removeNotification() method in CarHeadsUpNotificationSystemContainer
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java389 removeNotification(parentToCancelFinal); in handleNotificationClickAfterPanelCollapsed()
395 removeNotification(row.getEntry()); in handleNotificationClickAfterPanelCollapsed()
499 mHeadsUpManager.removeNotification(key, true /* releaseImmediately */); in removeHUN()
574 private void removeNotification(NotificationEntry entry) { in removeNotification() method in StatusBarNotificationActivityStarter
DNotificationListenerWithPlugins.java142 public void removeNotification(StatusBarNotification sbn) { in getProvider() method in NotificationListenerWithPlugins
DNotificationGroupAlertTransferHelper.java315 alertManager.removeNotification(fromEntry.getKey(), true /* releaseImmediately */); in transferAlertState()
351 mHeadsUpManager.removeNotification( in checkShouldTransferBack()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DNewNotifPipelineBubbleControllerTest.java304 verify(mNotifCallback, never()).removeNotification(eq(mRow.getEntry()), anyInt()); in testRemoveBubble_withDismissedNotif_inOverflow()
328 verify(mNotifCallback, times(1)).removeNotification(eq(mRow.getEntry()), anyInt()); in testRemoveBubble_withDismissedNotif_notInOverflow()
832 verify(mNotifCallback, times(1)).removeNotification( in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
834 verify(mNotifCallback, times(1)).removeNotification( in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
836 verify(mNotifCallback, never()).removeNotification(eq(groupedBubble.getEntry()), anyInt()); in testSummaryDismissalMarksBubblesHiddenFromShadeAndDismissesNonBubbledChildren()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java258 extender.setCallback(key -> removeNotification(key, mLatestRankingMap, in addNotificationLifetimeExtender()
373 removeNotification(sbn.getKey(), rankingMap, UNDEFINED_DISMISS_REASON);
381 removeNotification(sbn.getKey(), rankingMap, reason);
420 public void removeNotification(String key, RankingMap ranking, in removeNotification() method in NotificationEntryManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java120 mHeadsUpManager.removeNotification(mEntry.getKey(), false /* releaseImmediately */); in testSwipedOutNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.java219 verify(mHeadsUpManager).removeNotification(mEntry.getKey(), false); in testOnEntryRemovedRemovesHeadsUpNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAlertingNotificationManager.java79 public boolean removeNotification(@NonNull String key, boolean releaseImmediately) { in removeNotification() method in AlertingNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java286 void removeNotification(@NonNull NotificationEntry entry, int reason); in removeNotification() method
600 public void removeNotification(NotificationEntry entry, int reason) { in setupNEM()
1339 cb.removeNotification(entry, REASON_CANCEL);
1496 cb.removeNotification(child, REASON_GROUP_SUMMARY_CANCELED); in handleSummaryDismissalInterception()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java816 mChildrenContainer.removeNotification(row);
1104 mHeadsUpManager.removeNotification(mEntry.getKey(), true /* releaseImmediately */);
1317 mChildrenContainer.removeNotification(row);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java356 headsUpManager.removeNotification(entry.getKey(), true); in inflateActionButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java284 public void removeNotification(ExpandableNotificationRow row) {
DNotificationStackScrollLayout.java6513 mHeadsUpManager.removeNotification(row.getEntry().getSbn().getKey(),
6624 mEntryManager.removeNotification(
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...