Home
last modified time | relevance | path

Searched refs:NOTIFICATION_ID (Results 1 – 25 of 27) sorted by relevance

12

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java46 private static final int NOTIFICATION_ID = 412; field in MediaNotificationManager
119 mService.startForeground(NOTIFICATION_ID, notification); in startNotification()
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/
DPingService.java59 nm.cancel(CommonConstants.NOTIFICATION_ID); in onHandleIntent()
65 nm.cancel(CommonConstants.NOTIFICATION_ID); in onHandleIntent()
131 mNotificationManager.notify(CommonConstants.NOTIFICATION_ID, builder.build()); in issueNotification()
DCommonConstants.java39 public static final int NOTIFICATION_ID = 001; field in CommonConstants
/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
DMainActivity.java22 public static final int NOTIFICATION_ID = 1; field in MainActivity
98 notificationManager.notify(NOTIFICATION_ID, builder.build()); in sendNotification()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java76 notificationManagerCompat.cancel(MainActivity.NOTIFICATION_ID); in handleActionDismiss()
106 notificationManagerCompat.cancel(MainActivity.NOTIFICATION_ID); in handleActionSnooze()
113 notificationManagerCompat.notify(MainActivity.NOTIFICATION_ID, notification); in handleActionSnooze()
DBigPictureSocialMainActivity.java41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
DBigTextMainActivity.java41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
DInboxMainActivity.java41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
DMessagingMainActivity.java43 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
DBigPictureSocialIntentService.java114 notificationManagerCompat.notify(MainActivity.NOTIFICATION_ID, updatedNotification); in handleActionComment()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
93 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(NOTIFICATION_ID); in cancelNotificationForDataItem()
148 .notify(NOTIFICATION_ID, notification); in postNotificationForGeofenceId()
DCheckInAndDeleteDataItemsService.java37 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
71 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(NOTIFICATION_ID); in onHandleIntent()
DConstants.java30 public static final int NOTIFICATION_ID = 1; field in Constants
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java77 notificationManagerCompat.cancel(StandaloneMainActivity.NOTIFICATION_ID); in handleActionDismiss()
107 notificationManagerCompat.cancel(StandaloneMainActivity.NOTIFICATION_ID); in handleActionSnooze()
114 notificationManagerCompat.notify(StandaloneMainActivity.NOTIFICATION_ID, notification); in handleActionSnooze()
DBigTextMainActivity.java41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID); in onCreate()
DInboxMainActivity.java41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID); in onCreate()
DBigPictureSocialMainActivity.java41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID); in onCreate()
DMessagingMainActivity.java43 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID); in onCreate()
DBigPictureSocialIntentService.java113 StandaloneMainActivity.NOTIFICATION_ID, in handleActionComment()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DHeadsUpNotificationFragment.java41 private static final int NOTIFICATION_ID = 1; field in HeadsUpNotificationFragment
93 mNotificationManager.notify(NOTIFICATION_ID, createNotification( in onViewCreated()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DStandaloneMainActivity.java56 public static final int NOTIFICATION_ID = 888; field in StandaloneMainActivity
311 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateBigTextStyleNotification()
452 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateBigPictureStyleNotification()
543 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateInboxStyleNotification()
714 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateMessagingStyleNotification()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/
DMainActivity.java62 public static final int NOTIFICATION_ID = 888; field in MainActivity
321 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateBigTextStyleNotification()
485 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateBigPictureStyleNotification()
614 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateInboxStyleNotification()
808 mNotificationManagerCompat.notify(NOTIFICATION_ID, notification); in generateMessagingStyleNotification()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DMainActivity.java39 private static final int NOTIFICATION_ID = 1; field in MainActivity
83 NotificationManagerCompat.from(this).notify(NOTIFICATION_ID, notification); in showNotification()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DConstants.java40 public static final int NOTIFICATION_ID = 0; field in Constants
DRecipeService.java94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification); in createNotification()

12