Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java245 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit()
256 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage()
259 mGroupHelper.onNotificationPosted( in testNoGroup_multiPackage()
268 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser()
271 mGroupHelper.onNotificationPosted( in testNoGroup_multiUser()
280 mGroupHelper.onNotificationPosted( in testNoGroup_someAreGrouped()
283 mGroupHelper.onNotificationPosted( in testNoGroup_someAreGrouped()
293 mGroupHelper.onNotificationPosted( in testAddSummary_alwaysAutogroup()
309 assertThat(mGroupHelper.onNotificationPosted( in testAddSummary()
312 assertThat(mGroupHelper.onNotificationPosted( in testAddSummary()
[all …]
DNotificationListenersTest.java892 verify(l1, times(1)).onNotificationPosted(sbnCaptor.capture(), any()); in testListenerPost_UpdateLifetimeExtended()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricNotificationLoggerTest.java61 mNotificationLogger.onNotificationPosted(null, null); in testNotification_nullNotification_doesNothing()
69 mNotificationLogger.onNotificationPosted(noti, null); in testNotification_emptyStringTag_doesNothing()
77 mNotificationLogger.onNotificationPosted(noti, null); in testFaceNotification_posted()
87 mNotificationLogger.onNotificationPosted(noti, null); in testFingerprintNotification_posted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java103 verify(mListener).onNotificationPosted(notif1.sbn, notif1.rankingMap); in testUngroupedNotificationsAreNotCoalesced()
119 verify(mListener, never()).onNotificationPosted( in testGroupedNotificationsAreCoalesced()
163 verify(mListener, never()).onNotificationPosted( in testCoalescedNotificationsArePosted()
196 verify(mListener, never()).onNotificationPosted( in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
216 inOrder.verify(mListener).onNotificationPosted(notif1b.sbn, notif1b.rankingMap); in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
253 verify(mListener, never()).onNotificationPosted( in testUpdatingCoalescedNotifTriggersBatchEmit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java133 listener.onNotificationPosted(sbn, completeMap); in onListenerConnected()
145 public void onNotificationPosted(final StatusBarNotification sbn, in onNotificationPosted() method in NotificationListener
151 handler.onNotificationPosted(sbn, rankingMap); in onNotificationPosted()
316 void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationPosted() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProviderTest.java80 handlerArgumentCaptor.getValue().onNotificationPosted(mNotification2, mRankingMap); in testPostingNotificationCallsCallbackWithNotificationCount()
98 handlerArgumentCaptor.getValue().onNotificationPosted(mNotification3, mRankingMap); in testPostingOngoingNotificationDoesNotCallCallbackWithNotificationCount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java91 if (plugin.onNotificationPosted(sbn, rankingMap)) { in onPluginNotificationPosted()
160 onNotificationPosted(sbn, getRankingMap()); in getProvider()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DSensitiveContentProtectionManagerServiceNotificationTest.java729 .onNotificationPosted(mNotification1, mRankingMap); in nlsOnNotificationPosted_projectionNotStarted_noop()
745 .onNotificationPosted(mNotification1, mRankingMap); in nlsOnNotificationPosted_projectionStopped_noop()
759 .onNotificationPosted(mNotification1, mRankingMap); in nlsOnNotificationPosted_projectionStarted_setWmBlockedPackages()
775 .onNotificationPosted(mNotification2, mRankingMap); in nlsOnNotificationPosted_noSensitiveNotifications_noBlockedPackages()
789 .onNotificationPosted(null, mRankingMap); in nlsOnNotificationPosted_noNotifications_noBlockedPackages()
803 .onNotificationPosted(mNotification1, null); in nlsOnNotificationPosted_nullRankingMap_noBlockedPackages()
818 .onNotificationPosted(mNotification1, mRankingMap); in nlsOnNotificationPosted_missingRanking_noBlockedPackages()
831 .onNotificationPosted(mNotification1, mRankingMap); in nlsOnNotificationPosted_disabledViaDevOption_noBlockedPackages()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java38 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java89 mListener.onNotificationPosted(mSbn, mRanking); in testNotificationAddCallsAddNotification()
91 verify(mNotificationHandler).onNotificationPosted(mSbn, mRanking); in testNotificationAddCallsAddNotification()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DNotificationListener.kt27 override fun onNotificationPosted(sbn: StatusBarNotification) { in onNotificationPosted() method in com.android.wm.shell.flicker.utils.NotificationListener
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricNotificationLogger.java45 public void onNotificationPosted(StatusBarNotification sbn, RankingMap map) { in onNotificationPosted() method in BiometricNotificationLogger
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl35 void onNotificationPosted(in IStatusBarNotificationHolder notificationHolder, in onNotificationPosted() method
DNotificationListenerService.java473 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted() method in NotificationListenerService
487 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() method in NotificationListenerService
488 onNotificationPosted(sbn); in onNotificationPosted()
1450 public void onNotificationPosted(IStatusBarNotificationHolder sbnHolder, in onNotificationPosted() method in NotificationListenerService.NotificationListenerWrapper
2424 onNotificationPosted(sbn, rankingMap); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProvider.java46 public void onNotificationPosted(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java56 listener.onNotificationPosted(entry.getSbn(), rankingMap); in postNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java130 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
140 mHandler.onNotificationPosted(sbn, rankingMap);
/frameworks/base/services/core/java/com/android/server/
DSensitiveContentProtectionManagerService.java460 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() method in SensitiveContentProtectionManagerService.NotificationListener
461 super.onNotificationPosted(sbn, rankingMap); in onNotificationPosted()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java379 mStrategy.onNotificationPosted(record); in buzzBeepBlinkLocked()
1158 abstract void onNotificationPosted(NotificationRecord record); in onNotificationPosted() method in NotificationAttentionHelper.PolitenessStrategy
1325 public void onNotificationPosted(final NotificationRecord record) { in onNotificationPosted() method in NotificationAttentionHelper.StrategyPerApp
1400 void onNotificationPosted(NotificationRecord record) { in onNotificationPosted() method in NotificationAttentionHelper.StrategyAvalanche
1428 mAppStrategy.onNotificationPosted(record); in onNotificationPosted()
DGroupHelper.java118 public boolean onNotificationPosted(StatusBarNotification sbn, boolean autogroupSummaryExists) { in onNotificationPosted() method in GroupHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java445 private void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() method in NotifCollection
942 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
943 NotifCollection.this.onNotificationPosted(sbn, rankingMap);
/frameworks/base/services/core/java/com/android/server/am/
DAppFGSTracker.java767 public void onNotificationPosted(StatusBarNotification sbn, RankingMap map) { in onNotificationPosted() method in AppFGSTracker.NotificationListener
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java1772 listenerService.onNotificationPosted(mGenericSbn, mRankingMap); in sendGenericNotificationWithKey()
1817 listenerService.onNotificationPosted(mConvoSbn, mRankingMap); in sendConvoNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java755 mAppFGSTracker.mNotificationListener.onNotificationPosted(new StatusBarNotification( in testBgCurrentDrainMonitor()
1362 mAppFGSTracker.mNotificationListener.onNotificationPosted(new StatusBarNotification( in testLongFGSMonitor()
1652 mAppFGSTracker.mNotificationListener.onNotificationPosted(noti, null); in runExemptionTestOnce()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java3227 public void onNotificationPosted(StatusBarNotification sbn) {
3228 super.onNotificationPosted(sbn);

12