Home
last modified time | relevance | path

Searched refs:mNM (Results 1 – 10 of 10) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalService.java47 private NotificationManager mNM; field in LocalService
66 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
81 mNM.cancel(NOTIFICATION); in onDestroy()
118 mNM.notify(NOTIFICATION, notification); in showNotification()
DNotifyingService.java49 mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
62 mNM.cancel(MOOD_NOTIFICATIONS); in onDestroy()
117 mNM.notify(MOOD_NOTIFICATIONS, notification); in showNotification()
130 private NotificationManager mNM; field in NotifyingService
DAlarmService_Service.java43 NotificationManager mNM; field in AlarmService_Service
47 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
62 mNM.cancel(R.string.alarm_service_started); in onDestroy()
118 mNM.notify(R.string.alarm_service_started, notification); in showNotification()
DMessengerService.java54 NotificationManager mNM; field in MessengerService
121 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
130 mNM.cancel(R.string.remote_service_started); in onDestroy()
168 mNM.notify(R.string.remote_service_started, notification); in showNotification()
DJobWorkService.java50 private NotificationManager mNM; field in JobWorkService
101 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
154 mNM.notify(R.string.job_service_created, noteBuilder.build()); in showNotification()
158 mNM.cancel(R.string.service_created); in hideNotification()
DNotificationBackgroundService.java57 private NotificationManager mNM; field in NotificationBackgroundService.Controller
63 mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
88 mNM.notify(R.layout.notification_background_service, notification); in showNotification()
DServiceStartArguments.java55 private NotificationManager mNM; field in ServiceStartArguments
104 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
195 mNM.notify(R.string.service_created, noteBuilder.build()); in showNotification()
199 mNM.cancel(R.string.service_created); in hideNotification()
DRemoteService.java68 NotificationManager mNM; field in RemoteService
72 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
92 mNM.cancel(R.string.remote_service_started); in onDestroy()
209 mNM.notify(R.string.remote_service_started, notification); in showNotification()
DForegroundService.java61 private NotificationManager mNM; field in ForegroundService
74 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssService.java49 private NotificationManager mNM; field in RssService
60 mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
65 mNM.notify(NOTIFY_ID, note); in onCreate()
114 mNM.cancel(NOTIFY_ID); in onDestroy()