Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java155 NotificationManager notificationManager = (NotificationManager) in sendNotification() local
182 notificationManager.notify(NOTIFICATION_ID, mNotification); in sendNotification()
191 NotificationManager notificationManager = (NotificationManager) in cancelNotification() local
193 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
DServiceStateTracker.java3876 NotificationManager notificationManager = (NotificationManager) in setNotification() local
3882 notificationManager.cancel(notificationId); in setNotification()
3885 notificationManager.notify(notificationId, mNotification); in setNotification()
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/
DMainActivity.java224 NotificationManager notificationManager = in sendNotification() local
226 notificationManager.notify(NOTIFICATION_ID, builder.build()); in sendNotification()
230 NotificationManager notificationManager = in cancelNotification() local
232 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
262 NotificationManager notificationManager = in sendNotificationMessage() local
264 notificationManager.notify(NOTIFICATION_MESSAGE_ID, builder.build()); in sendNotificationMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockLockSettingsContext.java34 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument
38 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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNotificationController.java266 NotificationManager notificationManager = (NotificationManager) mContext in setNotificationVisible() local
302 notificationManager.notifyAsUser(null, ICON_NETWORKS_AVAILABLE, in setNotificationVisible()
305 notificationManager.cancelAsUser(null, ICON_NETWORKS_AVAILABLE, UserHandle.ALL); in setNotificationVisible()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java353 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local
355 if (notificationManager == null) { in setNiNotification()
392 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java664 NotificationManager notificationManager = in showTetheredNotification() local
666 if (notificationManager == null) { in showTetheredNotification()
687 notificationManager.cancelAsUser(null, mLastNotificationId, in showTetheredNotification()
720 notificationManager.notifyAsUser(null, mLastNotificationId, in showTetheredNotification()
725 NotificationManager notificationManager = in clearTetheredNotification() local
727 if (notificationManager != null && mLastNotificationId != 0) { in clearTetheredNotification()
728 notificationManager.cancelAsUser(null, mLastNotificationId, in clearTetheredNotification()
DVpn.java1288 final NotificationManager notificationManager = NotificationManager.from(mContext); in updateAlwaysOnNotificationInternal() local
1290 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user); in updateAlwaysOnNotificationInternal()
1308 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, in updateAlwaysOnNotificationInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java107 public PowerNotificationWarnings(Context context, NotificationManager notificationManager, in PowerNotificationWarnings() argument
110 mNoMan = notificationManager; in PowerNotificationWarnings()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java1014 NotificationManager notificationManager = (NotificationManager) in onPackageDeleted() local
1016 notificationManager.notify(basePackageName, in onPackageDeleted()
1075 NotificationManager notificationManager = (NotificationManager) in onPackageInstalled() local
1077 notificationManager.notify(basePackageName, in onPackageInstalled()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java160 return context.notificationManager; in getNotificationManager()
DDpmMockContext.java293 public final NotificationManager notificationManager; field in DpmMockContext
396 notificationManager = mock(NotificationManager.class); in DpmMockContext()
DDevicePolicyManagerTest.java1292 verify(mContext.notificationManager, timeout(1000)) in testCertificateDisclosure()
1301 verify(mContext.notificationManager, timeout(1000)) in testCertificateDisclosure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1559 NotificationManager notificationManager =
1562 notificationManager.notify(notificationTag, notificationId,
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5207 INotificationManager notificationManager = mInjector.getNotificationManager();
5209 notificationManager.enqueueNotificationWithTag(packageName, packageName,