/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 124 NotificationManager notificationManager = in onStartCommand() local 158 saveRecording(notificationManager); in onStartCommand() 163 setNotificationActions(true, notificationManager); in onStartCommand() 168 setNotificationActions(false, notificationManager); in onStartCommand() 183 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand() 202 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand() 289 NotificationManager notificationManager = in createRecordingNotification() local 291 notificationManager.createNotificationChannel(channel); in createRecordingNotification() 298 setNotificationActions(false, notificationManager); in createRecordingNotification() 303 private void setNotificationActions(boolean isPaused, NotificationManager notificationManager) { in setNotificationActions() argument [all …]
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 82 @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/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 39 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument 44 mNotificationManager = notificationManager; in MockLockSettingsContext()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 72 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()
|
D | UninstallerActivity.java | 345 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/MtpDocumentsProvider/src/com/android/mtp/ |
D | ServiceIntentSender.java | 45 final NotificationManager notificationManager = in ServiceIntentSender() local 47 notificationManager.createNotificationChannel(mChannel); in ServiceIntentSender()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 93 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/ |
D | WifiApConfigStore.java | 199 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/ |
D | WearPackageInstallerService.java | 574 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/ |
D | GpsNetInitiatedHandler.java | 374 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local 376 if (notificationManager == null) { in setNiNotification() 413 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 168 NotificationManager notificationManager = in testNotificationActionExtras() local 178 notificationManager); in testNotificationActionExtras()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssVisibilityControl.java | 619 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/testharness/ |
D | TestHarnessModeService.java | 248 NotificationManager notificationManager = in showNotificationIfEnabled() local 250 notificationManager.notifyAsUser( in showNotificationIfEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 92 public final NotificationManager notificationManager; field in MockSystemServices 132 notificationManager = mock(NotificationManager.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 168 return services.notificationManager; in getNotificationManager()
|
D | DevicePolicyManagerTest.java | 1449 verify(getServices().notificationManager, timeout(1000)) in testCertificateDisclosure() 1458 verify(getServices().notificationManager, timeout(1000)) in testCertificateDisclosure()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 976 NotificationManager notificationManager = (NotificationManager) in onPackageDeleted() local 978 notificationManager.notify(basePackageName, in onPackageDeleted() 1024 NotificationManager notificationManager = (NotificationManager) in sendOnPackageInstalled() local 1026 notificationManager.notify(basePackageName, in sendOnPackageInstalled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfo.java | 819 public UpdateImportanceRunnable(INotificationManager notificationManager, 822 mINotificationManager = notificationManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 4194 NotificationManager notificationManager = (NotificationManager) in cancelAllNotifications() local 4197 notificationManager.cancel(Integer.toString(mPrevSubId), PS_NOTIFICATION); in cancelAllNotifications() 4198 notificationManager.cancel(Integer.toString(mPrevSubId), CS_NOTIFICATION); in cancelAllNotifications() 4199 notificationManager.cancel(Integer.toString(mPrevSubId), CS_REJECT_CAUSE_NOTIFICATION); in cancelAllNotifications() 4342 NotificationManager notificationManager = (NotificationManager) in setNotification() local 4348 notificationManager.cancel(Integer.toString(mSubId), notificationId); in setNotification() 4365 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1782 final NotificationManager notificationManager = NotificationManager.from(mContext); 1784 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user); 1804 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 2131 NotificationManager notificationManager = 2134 notificationManager.notify(notificationTag, notificationId,
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5315 INotificationManager notificationManager = mInjector.getNotificationManager(); 5319 notificationManager.enqueueNotificationWithTag(packageName, "android",
|