/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/ |
D | StylusUsiPowerUiTest.kt | 61 @Mock lateinit var notificationManager: NotificationManagerCompat variable in com.android.systemui.stylus.StylusUsiPowerUiTest 98 StylusUsiPowerUI(contextSpy, notificationManager, inputManager, handler, uiEventLogger) in setUp() 108 verifyNoMoreInteractions(notificationManager) in updateBatteryState_capacityZero_noop() 115 verify(notificationManager, times(1)) in updateBatteryState_capacityBelowThreshold_notifies() 117 verifyNoMoreInteractions(notificationManager) in updateBatteryState_capacityBelowThreshold_notifies() 124 verify(notificationManager, times(1)).cancel(R.string.stylus_battery_low_percentage) in updateBatteryState_capacityAboveThreshold_cancelsNotificattion() 125 verifyNoMoreInteractions(notificationManager) in updateBatteryState_capacityAboveThreshold_cancelsNotificattion() 134 verify(notificationManager, times(1)) in updateBatteryState_capacitySame_inputDeviceChanges_updatesInputDeviceId() 143 inOrder(notificationManager).let { in updateBatteryState_existingNotification_capacityAboveThreshold_cancelsNotification() 144 it.verify(notificationManager, times(1)) in updateBatteryState_existingNotification_capacityAboveThreshold_cancelsNotification() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
D | TaskSwitcherNotificationCoordinatorTest.kt | 50 private val notificationManager = mock<NotificationManager>() constant in com.android.systemui.mediaprojection.taskswitcher.ui.TaskSwitcherNotificationCoordinatorTest 64 notificationManager, in setup() 73 reset(notificationManager) in setup() 82 verify(notificationManager).notify(any(), any(), notification.capture()) in showNotification() 97 verify(notificationManager).cancel(any(), any()) in hideNotification() 107 verify(notificationManager).notify(any(), idNotify.capture(), any()) in notificationIdIsConsistent() 112 verify(notificationManager).cancel(any(), idCancel.capture()) in notificationIdIsConsistent() 123 verify(notificationManager).notify(any(), any(), notification.capture()) in switchTaskAction_hidesNotification() 124 verify(notificationManager, never()).cancel(any(), any()) in switchTaskAction_hidesNotification() 132 verify(notificationManager).cancel(any(), any()) in switchTaskAction_hidesNotification() [all …]
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/ |
D | NotificationsSoundPolicyRepositoryTest.kt | 51 @Mock private lateinit var notificationManager: NotificationManager variable in com.android.settingslib.statusbar.notification.data.repository.NotificationsSoundPolicyRepositoryTest 65 notificationManager, in setup() 75 `when`(notificationManager.notificationPolicy).thenReturn(testPolicy1) in policyChanges_repositoryEmits() 79 `when`(notificationManager.notificationPolicy).thenReturn(testPolicy2) in policyChanges_repositoryEmits() 93 `when`(notificationManager.zenMode).thenReturn(Global.ZEN_MODE_OFF) in zenModeChanges_repositoryEmits() 97 `when`(notificationManager.zenMode).thenReturn(Global.ZEN_MODE_ALARMS) in zenModeChanges_repositoryEmits()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/ |
D | NotificationsSoundPolicyRepository.kt | 51 private val notificationManager: NotificationManager, constant in com.android.settingslib.statusbar.notification.data.repository.NotificationsSoundPolicyRepositoryImpl 83 .map { notificationManager.consolidatedNotificationPolicy } in <lambda>() 84 .onStart { emit(notificationManager.consolidatedNotificationPolicy) } in <lambda>() 91 .map { ZenMode(notificationManager.zenMode) } in <lambda>() 92 .onStart { emit(ZenMode(notificationManager.zenMode)) } in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | BiometricNotificationUtils.java | 76 final NotificationManager notificationManager = in showReEnrollmentNotification() local 310 final NotificationManager notificationManager = in showNotificationHelper() local 341 notificationManager.createNotificationChannel(channel); in showNotificationHelper() 342 notificationManager.notifyAsUser(notificationTag, NOTIFICATION_ID, notification, in showNotificationHelper() 351 final NotificationManager notificationManager = in cancelFaceReEnrollNotification() local 353 notificationManager.cancelAsUser(FACE_RE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceReEnrollNotification() 361 final NotificationManager notificationManager = in cancelFaceEnrollNotification() local 363 notificationManager.cancelAsUser(FACE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceEnrollNotification() 371 final NotificationManager notificationManager = in cancelFingerprintEnrollNotification() local 373 notificationManager.cancelAsUser(FINGERPRINT_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFingerprintEnrollNotification() [all …]
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | NotificationActivity.java | 76 NotificationManager notificationManager = getSystemService(NotificationManager.class); in postNotification() local 77 notificationManager.notify(NOTIFICATION_ID, builder.build()); in postNotification() 88 NotificationManager notificationManager = getSystemService(NotificationManager.class); in createNotificationChannel() local 89 notificationManager.createNotificationChannel(channel); in createNotificationChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationChannelHelper.java | 40 INotificationManager notificationManager, in createConversationChannelIfNeeded() argument 58 notificationManager.createConversationNotificationChannelForPackage( in createConversationChannelIfNeeded() 61 channel = notificationManager.getConversationNotificationChannel( in createConversationChannelIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotServiceErrorReceiver.java | 36 NotificationManager notificationManager = context.getSystemService( in onReceive() local 41 Display.DEFAULT_DISPLAY, context, notificationManager, devicePolicyManager); in onReceive()
|
D | ScreenshotNotificationsController.kt | 39 private val notificationManager: NotificationManager, constant in com.android.systemui.screenshot.ScreenshotNotificationsController 97 notificationManager.notify(id, notification) in notifyScreenshotError()
|
/frameworks/base/services/core/java/com/android/server/notification/toast/ |
D | ToastRecord.java | 41 protected ToastRecord(NotificationManagerService notificationManager, int uid, int pid, in ToastRecord() argument 44 this.mNotificationManager = notificationManager; in ToastRecord()
|
D | CustomToastRecord.java | 39 public CustomToastRecord(NotificationManagerService notificationManager, int uid, int pid, in CustomToastRecord() argument 42 super(notificationManager, uid, pid, packageName, isSystemToast, token, duration, in CustomToastRecord()
|
D | TextToastRecord.java | 44 public TextToastRecord(NotificationManagerService notificationManager, in TextToastRecord() argument 49 super(notificationManager, uid, pid, packageName, isSystemToast, token, duration, in TextToastRecord()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
D | TaskSwitcherNotificationCoordinator.kt | 46 private val notificationManager: NotificationManager, in <lambda>() constant in com.android.systemui.mediaprojection.taskswitcher.ui.TaskSwitcherNotificationCoordinator 87 notificationManager.notify(TAG, NOTIFICATION_ID, createNotification(uiState)) in <lambda>() 116 notificationManager.cancel(TAG, NOTIFICATION_ID) in <lambda>()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 71 NotificationManager notificationManager = in onReceive() local 79 notificationManager.createNotificationChannel(uninstallFailureChannel); in onReceive() 86 notificationManager.cancel(uninstallId); in onReceive() 189 notificationManager.notify(uninstallId, uninstallFailedNotification.build()); in onReceive()
|
D | UninstallerActivity.java | 392 NotificationManager notificationManager = getSystemService(NotificationManager.class); in startUninstallProgress() local 396 notificationManager.createNotificationChannel(uninstallingChannel); in startUninstallProgress() 407 notificationManager.notify(uninstallId, uninstallingNotification); in startUninstallProgress() 421 notificationManager.cancel(uninstallId); in startUninstallProgress()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/ |
D | UninstallLaunch.kt | 59 private var notificationManager: NotificationManager? = null in <lambda>() variable in com.android.packageinstaller.v2.ui.UninstallLaunch 67 notificationManager = getSystemService(NotificationManager::class.java) in <lambda>() 122 notificationManager!!.notify( in <lambda>()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | LocalMediaProjectionService.java | 75 final NotificationManager notificationManager = in startForeground() local 77 notificationManager.createNotificationChannel(channel); in startForeground()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 95 NotificationManager notificationManager = getNotificationManager(context); in hideAllNotifications() local 96 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications() 104 notificationManager.cancel(notification.getTag(), notification.getId()); in hideAllNotifications()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusUsiPowerUI.kt | 58 private val notificationManager: NotificationManagerCompat, constant in com.android.systemui.stylus.StylusUsiPowerUI 147 notificationManager.cancel(USI_NOTIFICATION_ID) in hideNotification() 171 notificationManager.notify(USI_NOTIFICATION_ID, notification) in showOrUpdateNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 54 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument 62 mNotificationManager = notificationManager; in MockLockSettingsContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginsModule.java | 86 NotificationManager notificationManager, PluginEnabler pluginEnabler, in providePluginInstanceManagerFactory() argument 91 notificationManager, pluginEnabler, privilegedPlugins, pluginInstanceFactory); in providePluginInstanceManagerFactory()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestSessionNotification.java | 47 NotificationManager notificationManager) { in GuestSessionNotification() argument 49 mNotificationManager = notificationManager; in GuestSessionNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/ |
D | IssueRecordingService.kt | 48 notificationManager: NotificationManager, 62 notificationManager,
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginActionManager.java | 90 NotificationManager notificationManager, in PluginActionManager() argument 102 mNotificationManager = notificationManager; in PluginActionManager() 384 NotificationManager notificationManager, PluginEnabler pluginEnabler, in Factory() argument 390 mNotificationManager = notificationManager; in Factory()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 606 NotificationManager notificationManager = getSystemService(NotificationManager.class); in buildNotification() local 607 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification() 617 NotificationManager notificationManager = getSystemService(NotificationManager.class); in getLabelAndUpdateNotification() local 619 notificationManager.notify(notifPair.first, notifPair.second); in getLabelAndUpdateNotification()
|