Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java126 NotificationManager notificationManager = in onStartCommand() local
174 notificationManager.notify(NOTIFICATION_ID, notification); in onStartCommand()
184 setNotificationActions(true, notificationManager); in onStartCommand()
189 setNotificationActions(false, notificationManager); in onStartCommand()
205 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
222 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
312 NotificationManager notificationManager = in createRecordingNotification() local
314 notificationManager.createNotificationChannel(channel); in createRecordingNotification()
321 setNotificationActions(false, notificationManager); in createRecordingNotification()
326 private void setNotificationActions(boolean isPaused, NotificationManager notificationManager) { in setNotificationActions() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java39 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument
44 mNotificationManager = notificationManager; in MockLockSettingsContext()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java45 final NotificationManager notificationManager = in ServiceIntentSender() local
47 notificationManager.createNotificationChannel(mChannel); in ServiceIntentSender()
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java93 NotificationManager notificationManager = getNotificationManager(context); in hideAllNotifications() local
94 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in hideAllNotifications()
102 notificationManager.cancel(notification.getTag(), notification.getId()); in hideAllNotifications()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java199 NotificationManager notificationManager = (NotificationManager) in notifyUserOfApBandConversion() local
201 notificationManager.notify(SystemMessage.NOTE_SOFTAP_CONFIG_CHANGED, notification); in notifyUserOfApBandConversion()
493 NotificationManager notificationManager = (NotificationManager) in handleUserHotspotConfigTappedContent() local
495 notificationManager.cancel(SystemMessage.NOTE_SOFTAP_CONFIG_CHANGED); in handleUserHotspotConfigTappedContent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java574 NotificationManager notificationManager = getSystemService(NotificationManager.class); in buildNotification() local
575 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification()
585 NotificationManager notificationManager = getSystemService(NotificationManager.class); in getLabelAndUpdateNotification() local
587 notificationManager.notify(notifPair.first, notifPair.second); in getLabelAndUpdateNotification()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java364 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local
366 if (notificationManager == null) { in setNiNotification()
403 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/services/core/java/com/android/server/location/
DGnssVisibilityControl.java619 NotificationManager notificationManager = (NotificationManager) mContext in postEmergencyLocationUserNotification() local
621 if (notificationManager == null) { in postEmergencyLocationUserNotification()
627 notificationManager.notifyAsUser(/* tag= */ null, /* notificationId= */ 0, in postEmergencyLocationUserNotification()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java616 NotificationManager notificationManager = in showTetheredNotification() local
618 if (notificationManager == null) { in showTetheredNotification()
639 notificationManager.cancelAsUser(null, mLastNotificationId, in showTetheredNotification()
679 notificationManager.notifyAsUser(null, mLastNotificationId, in showTetheredNotification()
685 NotificationManager notificationManager = in clearTetheredNotification() local
687 if (notificationManager != null && mLastNotificationId != 0) { in clearTetheredNotification()
688 notificationManager.cancelAsUser(null, mLastNotificationId, in clearTetheredNotification()
DVpn.java1608 final NotificationManager notificationManager = NotificationManager.from(mContext); in updateAlwaysOnNotification() local
1610 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user); in updateAlwaysOnNotification()
1630 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, in updateAlwaysOnNotification()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java248 NotificationManager notificationManager = in showNotificationIfEnabled() local
250 notificationManager.notifyAsUser( in showNotificationIfEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java92 public final NotificationManager notificationManager; field in MockSystemServices
132 notificationManager = mock(NotificationManager.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java168 return services.notificationManager; in getNotificationManager()
DDevicePolicyManagerTest.java1422 verify(getServices().notificationManager, timeout(1000)) in testCertificateDisclosure()
1431 verify(getServices().notificationManager, timeout(1000)) in testCertificateDisclosure()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java964 NotificationManager notificationManager = (NotificationManager) in onPackageDeleted() local
966 notificationManager.notify(basePackageName, in onPackageDeleted()
1028 NotificationManager notificationManager = (NotificationManager) in onPackageInstalled() local
1030 notificationManager.notify(basePackageName, in onPackageInstalled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java819 public UpdateImportanceRunnable(INotificationManager notificationManager,
822 mINotificationManager = notificationManager;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java3990 NotificationManager notificationManager = (NotificationManager) in cancelAllNotifications() local
3993 notificationManager.cancel(Integer.toString(mPrevSubId), PS_NOTIFICATION); in cancelAllNotifications()
3994 notificationManager.cancel(Integer.toString(mPrevSubId), CS_NOTIFICATION); in cancelAllNotifications()
3995 notificationManager.cancel(Integer.toString(mPrevSubId), CS_REJECT_CAUSE_NOTIFICATION); in cancelAllNotifications()
4137 NotificationManager notificationManager = (NotificationManager) in setNotification() local
4143 notificationManager.cancel(Integer.toString(mSubId), notificationId); in setNotification()
4160 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1764 NotificationManager notificationManager =
1767 notificationManager.notify(notificationTag, notificationId,
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5291 INotificationManager notificationManager = mInjector.getNotificationManager();
5295 notificationManager.enqueueNotificationWithTag(packageName, "android",