Home
last modified time | relevance | path

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

/development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
DActiveNotificationsFragment.java52 private NotificationManager mNotificationManager; field in ActiveNotificationsFragment
77 mNotificationManager = (NotificationManager) getActivity().getSystemService( in onViewCreated()
120 mNotificationManager.notify(getNewNotificationId(), notification); in addNotificationAndUpdateSummaries()
132 final StatusBarNotification[] activeNotifications = mNotificationManager in updateNotificationSummary()
156 mNotificationManager.notify(NOTIFICATION_GROUP_SUMMARY_ID, notification); in updateNotificationSummary()
159 mNotificationManager.cancel(NOTIFICATION_GROUP_SUMMARY_ID); in updateNotificationSummary()
170 final StatusBarNotification[] activeNotifications = mNotificationManager in updateNumberOfNotifications()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmService.java68 NotificationManager mNotificationManager; field in AlarmService
133 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
158 mNotificationManager.cancel(R.string.alarm_service_started); in onDestroy()
205 mNotificationManager.notify( in showNotification()
/development/samples/training/notify-user/src/com/example/android/pingme/
DPingService.java31 private NotificationManager mNotificationManager; field in PingService
70 mNotificationManager = (NotificationManager) in issueNotification()
128 mNotificationManager = (NotificationManager) in issueNotification()
131 mNotificationManager.notify(CommonConstants.NOTIFICATION_ID, builder.build()); in issueNotification()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DHeadsUpNotificationFragment.java43 private NotificationManager mNotificationManager; field in HeadsUpNotificationFragment
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate()
93 mNotificationManager.notify(NOTIFICATION_ID, createNotification( in onViewCreated()
DVisibilityMetadataFragment.java40 private NotificationManager mNotificationManager; field in VisibilityMetadataFragment
77 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate()
154 mNotificationManager.notify(mIncrementalNotificationId, createNotification(visibility)); in showNotificationClicked()
DOtherMetadataFragment.java66 private NotificationManager mNotificationManager; field in OtherMetadataFragment
110 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate()
211 mNotificationManager.notify(mIncrementalNotificationId, createNotification(priority, in showNotificationClicked()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DStatusBarNotifications.java37 private NotificationManager mNotificationManager; field in StatusBarNotifications
51 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
143 mNotificationManager.cancel(R.layout.status_bar_notifications); in onCreate()
215 mNotificationManager.notify(MOOD_NOTIFICATIONS, notifBuidler.build()); in setMood()
243 mNotificationManager.notify(MOOD_NOTIFICATIONS, notif); in setMoodView()
268 mNotificationManager.notify( in setDefault()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeService.java31 private NotificationManagerCompat mNotificationManager; field in RecipeService
43 mNotificationManager = NotificationManagerCompat.from(this); in onCreate()
94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification); in createNotification()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java62 private NotificationManager mNotificationManager; field in MediaNotificationManager
80 mNotificationManager = (NotificationManager) mService in MediaNotificationManager()
95 mNotificationManager.cancelAll(); in MediaNotificationManager()
134 mNotificationManager.cancel(NOTIFICATION_ID); in stopNotification()
203 mNotificationManager.notify(NOTIFICATION_ID, notification);
214 mNotificationManager.notify(NOTIFICATION_ID, notification);
349 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in fetchBitmapFromURLAsync()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java65 private NotificationManagerCompat mNotificationManager; field in MediaNotificationManager
83 mNotificationManager = NotificationManagerCompat.from(mService); in MediaNotificationManager()
97 mNotificationManager.cancelAll(); in MediaNotificationManager()
136 mNotificationManager.cancel(NOTIFICATION_ID); in stopNotification()
209 mNotificationManager.notify(NOTIFICATION_ID, notification);
220 mNotificationManager.notify(NOTIFICATION_ID, notification);
345 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in fetchBitmapFromURLAsync()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingService.java48 private NotificationManagerCompat mNotificationManager; field in MessagingService
55 mNotificationManager = NotificationManagerCompat.from(getApplicationContext()); in onCreate()
150 mNotificationManager.notify(conversation.getConversationId(), builder.build()); in sendNotificationForConversation()
/development/samples/Alarm/tests/src/com/example/android/newalarm/
DAlarmServiceTest.java77 assertNotNull(mService.mNotificationManager); in testServiceCreate()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicService.java151 NotificationManager mNotificationManager; field in MusicService
188 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
521 mNotificationManager.notify(NOTIFICATION_ID, mNotificationBuilder.build()); in updateNotification()