Home
last modified time | relevance | path

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

/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/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/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DConstants.java30 public static final int NOTIFICATION_ID = 1; field in Constants
DHomeListenerService.java23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
94 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(NOTIFICATION_ID); in cancelNotificationForDataItem()
149 .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()
/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/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()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotification.java54 private static final int NOTIFICATION_ID = 412; field in MediaNotification
163 mNotificationManager.cancel(NOTIFICATION_ID); in stopNotification()
287 mService.startForeground(NOTIFICATION_ID, mNotificationBuilder.build()); in updateNotificationMetadata()
348 mNotificationManager.notify(NOTIFICATION_ID, mNotificationBuilder.build()); in updateNotificationPlaybackState()
375 mNotificationManager.notify(NOTIFICATION_ID, mNotificationBuilder.build()); in fetchBitmapFromURLAsync()
/development/samples/browseable/SkeletonWearableApp/Wearable/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/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicService.java133 final int NOTIFICATION_ID = 1; field in MusicService
520 mNotificationManager.notify(NOTIFICATION_ID, mNotification); in updateNotification()
538 startForeground(NOTIFICATION_ID, mNotification); in setUpAsForeground()