Home
last modified time | relevance | path

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

/frameworks/support/v4/eclair/android/support/v4/app/
DNotificationManagerCompatEclair.java23 static void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification() argument
25 notificationManager.cancel(tag, id); in cancelNotification()
28 public static void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification() argument
30 notificationManager.notify(tag, id, notification); in postNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java280 NotificationManager notificationManager = (NotificationManager) mContext in setUsbStorageNotification() local
283 if (notificationManager == null) { in setUsbStorageNotification()
339 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification, in setUsbStorageNotification()
342 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL); in setUsbStorageNotification()
365 NotificationManager notificationManager = (NotificationManager) mContext in setMediaStorageNotification() local
368 if (notificationManager == null) { in setMediaStorageNotification()
378 notificationManager.cancel(notificationId); in setMediaStorageNotification()
416 notificationManager.notifyAsUser(null, notificationId, in setMediaStorageNotification()
419 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL); in setMediaStorageNotification()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java115 void cancelNotification(NotificationManager notificationManager, String tag, int id); in cancelNotification() argument
117 void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification() argument
125 public void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification() argument
127 notificationManager.cancel(id); in cancelNotification()
131 public void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification() argument
133 notificationManager.notify(id, notification); in postNotification()
144 public void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification() argument
146 NotificationManagerCompatEclair.cancelNotification(notificationManager, tag, id); in cancelNotification()
150 public void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification() argument
152 NotificationManagerCompatEclair.postNotification(notificationManager, tag, id, in postNotification()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNotificationController.java221 NotificationManager notificationManager = (NotificationManager) mContext in setNotificationVisible() local
255 notificationManager.notifyAsUser(null, ICON_NETWORKS_AVAILABLE, mNotification, in setNotificationVisible()
258 notificationManager.cancelAsUser(null, ICON_NETWORKS_AVAILABLE, UserHandle.ALL); in setNotificationVisible()
/frameworks/base/docs/html/training/wearables/notifications/
Dstacks.jd55 NotificationManagerCompat notificationManager =
57 notificationManager.notify(notificationId1, notif);
74 notificationManager.notify(notificationId2, notif2);
112 notificationManager.notify(notificationId3, summaryNotification);
Dpages.jd69 notificationManager =
71 notificationManager.notify(notificationId, notification);
Dcreating.jd80 NotificationManagerCompat notificationManager =
84 notificationManager.notify(notificationId, notificationBuilder.build());
296 NotificationManagerCompat notificationManager =
300 notificationManager.notify(notificationId, notif);
Dvoice-input.jd135 NotificationManagerCompat notificationManager =
137 notificationManager.notify(notificationId, notification);
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java357 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local
359 if (notificationManager == null) { in setNiNotification()
393 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification, in setNiNotification()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java448 NotificationManager notificationManager = in showTetheredNotification() local
450 if (notificationManager == null) { in showTetheredNotification()
458 notificationManager.cancelAsUser(null, mTetheredNotification.icon, in showTetheredNotification()
488 notificationManager.notifyAsUser(null, mTetheredNotification.icon, in showTetheredNotification()
493 NotificationManager notificationManager = in clearTetheredNotification() local
495 if (notificationManager != null && mTetheredNotification != null) { in clearTetheredNotification()
496 notificationManager.cancelAsUser(null, mTetheredNotification.icon, in clearTetheredNotification()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java767 NotificationManager notificationManager = (NotificationManager) mContext in showEnableInstalledPrintServiceNotification() local
771 notificationManager.notifyAsUser(notificationTag, 0, builder.build(), in showEnableInstalledPrintServiceNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1983 NotificationManager notificationManager = (NotificationManager) in setNotification() local
1988 notificationManager.cancel(notificationId); in setNotification()
1991 notificationManager.notify(notificationId, mNotification); in setNotification()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3147 NotificationManager notificationManager = (NotificationManager) mContext in setProvNotificationVisibleIntent() local
3188 notificationManager.notify(NOTIFICATION_ID, id, notification); in setProvNotificationVisibleIntent()
3195 notificationManager.cancel(NOTIFICATION_ID, id); in setProvNotificationVisibleIntent()