Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt82 @Mock private lateinit var notificationManager: NotificationManager variable in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
136 doReturn(notificationManager).`when`(mockContext) in setUp()
153 verify(notificationManager, never()).cancel(any(), eq(id)) in title()
156 verify(notificationManager, times(1)) in title()
164 reset(notificationManager) in title()
172 verify(notificationManager, times(1)).cancel(any(), eq(it)) in verifyNotificationCancelled()
174 if (resetAfterVerified) reset(notificationManager) in verifyNotificationCancelled()
194 verifyZeroInteractions(notificationManager) in testRestrictedNotification()
253 verifyZeroInteractions(notificationManager) in testNoUpstreamNotification()
323 verifyZeroInteractions(notificationManager) in testRoamingNotification()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DWifiSoftApConfigChangedNotifier.java41 NotificationManager notificationManager = in notifyUserOfConfigConversion() local
50 notificationManager.createNotificationChannel(channel); in notifyUserOfConfigConversion()
52 notificationManager.notify( in notifyUserOfConfigConversion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java40 INotificationManager notificationManager, in createConversationChannelIfNeeded() argument
58 notificationManager.createConversationNotificationChannelForPackage( in createConversationChannelIfNeeded()
61 channel = notificationManager.getConversationNotificationChannel( in createConversationChannelIfNeeded()
/frameworks/base/services/core/java/com/android/server/notification/toast/
DToastRecord.java40 protected ToastRecord(NotificationManagerService notificationManager, int uid, int pid, in ToastRecord() argument
42 this.mNotificationManager = notificationManager; in ToastRecord()
DCustomToastRecord.java39 public CustomToastRecord(NotificationManagerService notificationManager, int uid, int pid, in CustomToastRecord() argument
42 super(notificationManager, uid, pid, packageName, token, duration, windowToken, displayId); in CustomToastRecord()
DTextToastRecord.java44 public TextToastRecord(NotificationManagerService notificationManager, in TextToastRecord() argument
48 super(notificationManager, uid, pid, packageName, token, duration, windowToken, displayId); in TextToastRecord()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java44 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument
50 mNotificationManager = notificationManager; in MockLockSettingsContext()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java72 NotificationManager notificationManager = in onReceive() local
80 notificationManager.createNotificationChannel(uninstallFailureChannel); in onReceive()
87 notificationManager.cancel(uninstallId); in onReceive()
196 notificationManager.notify(uninstallId, uninstallFailedNotification.build()); in onReceive()
DUninstallerActivity.java345 NotificationManager notificationManager = getSystemService(NotificationManager.class); in startUninstallProgress() local
349 notificationManager.createNotificationChannel(uninstallingChannel); in startUninstallProgress()
357 notificationManager.notify(uninstallId, uninstallingNotification); in startUninstallProgress()
371 notificationManager.cancel(uninstallId); in startUninstallProgress()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DTestableBubbleController.java63 INotificationManager notificationManager, in TestableBubbleController() argument
72 dataRepository, sysUiState, notificationManager, statusBarService, in TestableBubbleController()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java94 NotificationManager notificationManager = getNotificationManager(context); in hideAllNotifications() local
95 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications()
103 notificationManager.cancel(notification.getTag(), notification.getId()); in hideAllNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java68 ToastUI(Context context, CommandQueue commandQueue, INotificationManager notificationManager, in ToastUI() argument
72 mNotificationManager = notificationManager; in ToastUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DStatusBarDependenciesModule.java123 NotificationManager notificationManager, in provideNotificationListener() argument
126 context, notificationManager, mainHandler); in provideNotificationListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java60 NotificationManager notificationManager, in NotificationListener() argument
63 mNotificationManager = notificationManager; in NotificationListener()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java576 NotificationManager notificationManager = getSystemService(NotificationManager.class); in buildNotification() local
577 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification()
587 NotificationManager notificationManager = getSystemService(NotificationManager.class); in getLabelAndUpdateNotification() local
589 notificationManager.notify(notifPair.first, notifPair.second); in getLabelAndUpdateNotification()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java373 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local
375 if (notificationManager == null) { in setNiNotification()
408 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationsModule.java114 INotificationManager notificationManager, in provideNotificationGutsManager() argument
130 notificationManager, in provideNotificationGutsManager()
/frameworks/base/core/java/android/widget/
DToastPresenter.java78 INotificationManager notificationManager, String packageName) { in ToastPresenter() argument
82 mNotificationManager = notificationManager; in ToastPresenter()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java261 NotificationManager notificationManager = in showNotificationIfEnabled() local
263 notificationManager.notifyAsUser( in showNotificationIfEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java87 UiEventLogger uiEventLogger, NotificationManager notificationManager, in RecordingService() argument
92 mNotificationManager = notificationManager; in RecordingService()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java99 public final NotificationManager notificationManager; field in MockSystemServices
144 notificationManager = mock(NotificationManager.class); in MockSystemServices()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java621 NotificationManager notificationManager = Objects.requireNonNull( in displayNfwNotification() local
647 notificationManager.notify(SystemMessage.NOTE_GNSS_NFW_LOCATION_ACCESS, builder.build()); in displayNfwNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java611 public UpdateChannelRunnable(INotificationManager notificationManager, in UpdateChannelRunnable() argument
614 mINotificationManager = notificationManager; in UpdateChannelRunnable()
DNotificationInfo.java606 public UpdateImportanceRunnable(INotificationManager notificationManager,
609 mINotificationManager = notificationManager;
DNotificationGutsManager.java134 INotificationManager notificationManager, in NotificationGutsManager() argument
149 mNotificationManager = notificationManager; in NotificationGutsManager()

12