/development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/ |
D | ActiveNotificationsFragment.java | 52 private NotificationManager mNotificationManager; field in ActiveNotificationsFragment 77 mNotificationManager = (NotificationManager) getActivity().getSystemService( in onViewCreated() 120 mNotificationManager.notify(getNewNotificationId(), notification); in addNotificationAndUpdateSummaries() 145 mNotificationManager.notify(NOTIFICATION_GROUP_SUMMARY_ID, notification); in updateNotificationSummary() 148 mNotificationManager.cancel(NOTIFICATION_GROUP_SUMMARY_ID); in updateNotificationSummary() 181 final StatusBarNotification[] activeNotifications = mNotificationManager in getNumberOfNotifications()
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
D | AlarmService.java | 68 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/ApiDemos/src/com/example/android/apis/app/ |
D | StatusBarNotifications.java | 37 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/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MediaNotificationManager.java | 62 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/training/notify-user/src/com/example/android/pingme/ |
D | PingService.java | 31 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/ |
D | HeadsUpNotificationFragment.java | 43 private NotificationManager mNotificationManager; field in HeadsUpNotificationFragment 75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate() 93 mNotificationManager.notify(NOTIFICATION_ID, createNotification( in onViewCreated()
|
D | VisibilityMetadataFragment.java | 38 private NotificationManager mNotificationManager; field in VisibilityMetadataFragment 75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate() 151 mNotificationManager.notify(mIncrementalNotificationId, createNotification(visibility)); in showNotificationClicked()
|
D | OtherMetadataFragment.java | 65 private NotificationManager mNotificationManager; field in OtherMetadataFragment 108 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context in onCreate() 208 mNotificationManager.notify(mIncrementalNotificationId, createNotification(priority, in showNotificationClicked()
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | RecipeService.java | 31 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/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingService.java | 48 private NotificationManagerCompat mNotificationManager; field in MessagingService 55 mNotificationManager = NotificationManagerCompat.from(getApplicationContext()); in onCreate() 150 mNotificationManager.notify(conversation.getConversationId(), builder.build()); in sendNotificationForConversation()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 162 NotificationManager mNotificationManager = (NotificationManager) getSystemService( in updateForegroundNotification() local 164 mNotificationManager.createNotificationChannel(new NotificationChannel( in updateForegroundNotification()
|
/development/samples/Alarm/tests/src/com/example/android/newalarm/ |
D | AlarmServiceTest.java | 77 assertNotNull(mService.mNotificationManager); in testServiceCreate()
|