Searched refs:notificationManager (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 285 NotificationManager notificationManager = (NotificationManager) mContext in setUsbStorageNotification() local 288 if (notificationManager == null) { in setUsbStorageNotification() 339 notificationManager.notify(notificationId, mUsbStorageNotification); in setUsbStorageNotification() 341 notificationManager.cancel(notificationId); in setUsbStorageNotification() 364 NotificationManager notificationManager = (NotificationManager) mContext in setMediaStorageNotification() local 367 if (notificationManager == null) { in setMediaStorageNotification() 377 notificationManager.cancel(notificationId); in setMediaStorageNotification() 410 notificationManager.notify(notificationId, mMediaStorageNotification); in setMediaStorageNotification() 412 notificationManager.cancel(notificationId); in setMediaStorageNotification()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 182 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local 184 if (notificationManager == null) { in setNiNotification() 217 notificationManager.notify(notif.notificationId, mNiNotification); in setNiNotification() 219 notificationManager.cancel(notif.notificationId); in setNiNotification()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 422 NotificationManager notificationManager = in showTetheredNotification() local 424 if (notificationManager == null) { in showTetheredNotification() 432 notificationManager.cancel(mTetheredNotification.icon); in showTetheredNotification() 456 notificationManager.notify(mTetheredNotification.icon, mTetheredNotification); in showTetheredNotification() 460 NotificationManager notificationManager = in clearTetheredNotification() local 462 if (notificationManager != null && mTetheredNotification != null) { in clearTetheredNotification() 463 notificationManager.cancel(mTetheredNotification.icon); in clearTetheredNotification()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiWatchdogStateMachine.java | 511 NotificationManager notificationManager = (NotificationManager) mContext in displayDisabledNetworkNotification() local 514 notificationManager.notify(WATCHDOG_NOTIFICATION_ID, 1, wifiDisabledWarning); in displayDisabledNetworkNotification() 520 NotificationManager notificationManager = (NotificationManager) mContext in cancelNetworkNotification() local 522 notificationManager.cancel(WATCHDOG_NOTIFICATION_ID, 1); in cancelNetworkNotification()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 1301 NotificationManager notificationManager = in showNotification() local 1303 if (notificationManager == null || mNotification != null) { in showNotification() 1325 notificationManager.notify(mNotification.icon, mNotification); in showNotification() 1329 NotificationManager notificationManager = in clearNotification() local 1331 if (notificationManager != null && mNotification != null) { in clearNotification() 1332 notificationManager.cancel(mNotification.icon); in clearNotification()
|
/frameworks/base/services/java/com/android/server/ |
D | WifiService.java | 1679 NotificationManager notificationManager = (NotificationManager) mContext in setNotificationVisible() local 1709 notificationManager.notify(ICON_NETWORKS_AVAILABLE, mNotification); in setNotificationVisible() 1711 notificationManager.cancel(ICON_NETWORKS_AVAILABLE); in setNotificationVisible()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmServiceStateTracker.java | 1588 NotificationManager notificationManager = (NotificationManager) in setNotification() local 1593 notificationManager.cancel(notificationId); in setNotification() 1596 notificationManager.notify(notificationId, mNotification); in setNotification()
|