Home
last modified time | relevance | path

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

/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
DMainActivity.java96 NotificationManager notificationManager = (NotificationManager) getSystemService( in sendNotification() local
98 notificationManager.notify(NOTIFICATION_ID, builder.build()); in sendNotification()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmIntentService.java48 NotificationManager notificationManager = context in onHandleIntent() local
57 notificationManager.notify(alarm.id, builder.build()); in onHandleIntent()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageReplyReceiver.java50 NotificationManagerCompat notificationManager = in onReceive() local
58 notificationManager.notify(conversationId, repliedNotification); in onReceive()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java122 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this); in showNotification() local
123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification); in showNotification()
DUtilityService.java112 NotificationManager notificationManager = in clearNotificationInternal() local
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID); in clearNotificationInternal()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DMainActivity.java261 final NotificationManager notificationManager = (NotificationManager) getSystemService( in showNotification() local
299 notificationManager.notify(NOTIFICATION_DEFAULT, builder.getNotification()); in showNotification()