/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescerTest.java | 69 private final NoManSimulator mNoMan = new NoManSimulator(); field in GroupCoalescerTest 89 mNoMan.addListener(serviceListener); in setUp() 95 NotifEvent notif1 = mNoMan.postNotif( in testUngroupedNotificationsAreNotCoalesced() 111 NotifEvent notif1 = mNoMan.postNotif( in testGroupedNotificationsAreCoalesced() 129 NotifEvent notif1 = mNoMan.postNotif( in testCoalescedNotificationsStillPassThroughRankingUpdate() 142 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 149 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 157 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 181 NotifEvent notif1a = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() 186 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 134 private NoManSimulator mNoMan; field in NotifCollectionTest 165 mNoMan = new NoManSimulator(); in setUp() 166 mNoMan.addListener(mNotifHandler); in setUp() 174 NotifEvent notif1 = mNoMan.postNotif( in testEventDispatchedWhenNotifPosted() 193 mNoMan.postNotif(buildNotif(TEST_PACKAGE, 2) in testEventDispatchedWhenNotifBatchPosted() 247 mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated() 251 NotifEvent notif2 = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifUpdated() 268 mNoMan.postNotif(buildNotif(TEST_PACKAGE, 3)); in testEventDispatchedWhenNotifRemoved() 271 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47)); in testEventDispatchedWhenNotifRemoved() 276 mNoMan.retractNotif(notif.sbn, REASON_APP_CANCEL); in testEventDispatchedWhenNotifRemoved() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ConditionProviderService.java | 79 private INotificationManager mNoMan; field in ConditionProviderService 146 if (mNoMan == null) { in getNotificationInterface() 147 mNoMan = INotificationManager.Stub.asInterface( in getNotificationInterface() 150 return mNoMan; in getNotificationInterface()
|
D | NotificationListenerService.java | 325 protected INotificationManager mNoMan; field in NotificationListenerService 560 if (mNoMan == null) { in getNotificationInterface() 561 mNoMan = INotificationManager.Stub.asInterface( in getNotificationInterface() 564 return mNoMan; in getNotificationInterface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 133 private final NotificationManager mNoMan; field in PowerNotificationWarnings 164 mNoMan = mContext.getSystemService(NotificationManager.class); in PowerNotificationWarnings() 228 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in updateNotification() 229 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in updateNotification() 230 mNoMan.cancelAsUser(TAG_AUTO_SAVER, in updateNotification() 249 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in showInvalidChargerNotification() 250 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, n, UserHandle.ALL); in showInvalidChargerNotification() 300 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in showWarningNotification() 301 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, n, UserHandle.ALL); in showWarningNotification() 323 mNoMan.notifyAsUser( in showAutoSaverSuggestionNotification() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImpl.java | 68 private final NotificationManager mNoMan; field in ZenModeControllerImpl 98 mNoMan = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in ZenModeControllerImpl() 147 mNoMan.setZenMode(zen, conditionId, reason); in setZen() 256 final NotificationManager.Policy policy = mNoMan.getConsolidatedNotificationPolicy(); in updateConsolidatedNotificationPolicy() 265 final ZenModeConfig config = mNoMan.getZenModeConfig(); in updateZenModeConfig() 278 mNoMan.getConsolidatedNotificationPolicy(); in updateZenModeConfig()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | NotificationHelper.java | 144 NotificationManager mNoMan = null; field in NotificationHelper 147 if (mNoMan == null) { in updateNotification() 148 mNoMan = (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in updateNotification() 151 mNoMan.cancel(NOTIFICATION_ID); in updateNotification() 155 mNoMan.cancel(NOTIFICATION_ID); in updateNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 126 private final NotificationManager mNoMan; field in VolumeDialogControllerImpl 170 mNoMan = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in VolumeDialogControllerImpl() 546 updateEffectsSuppressorW(mNoMan.getEffectsSuppressor()); 708 mNoMan.setZenMode(mState.zenMode, condition != null ? condition.id : null, TAG); in onSetExitConditionW() 713 mNoMan.setZenMode(mode, null, TAG); in onSetZenModeW() 1137 changed = updateEffectsSuppressorW(mNoMan.getEffectsSuppressor()); in onReceive()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 457 mNoMan = mock(INotificationManager.class); in TestListenerService() 461 return mNoMan; in getNoMan()
|