HomeSort by relevance Sort by last modified time
    Searched refs:notificationId (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
BasicSmsReceiverApp.java 47 int notificationId = prefs.getInt(PREF_KEY_NOTIFICATION_ID, 0);
48 ++notificationId;
49 if (notificationId > 32765) {
50 notificationId = 1; // wrap around before it gets dangerous
53 // Save the updated notificationId in SharedPreferences
55 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId);
58 Log.d(LOG_TAG, "getNextNotificationId: " + notificationId);
60 return notificationId;
SmsMessageReceiver.java 54 int notificationId = BasicSmsReceiverApp.getBasicSmsReceiverApp().getNextNotificationId();
63 notificationId));
65 Log.i(LOG_TAG, "addNotification notificationId: " + notificationId);
70 notificationManager.notify(notificationId, notification.getNotification());
74 String message, int notificationId) {
82 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
87 di.setType(Integer.toString(notificationId));
DialogSmsDisplay.java 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA);
64 Log.i(LOG_TAG, "notificationId: " + notificationId);
69 notificationManager.cancel(notificationId);
  /cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
IMyService.aidl 24 void sendNotification(int notificationId, String notificationType);
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationManagerInternal.java 27 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ServiceUtils.java 44 * @param notificationId
49 public static void setForeground(Service service, Integer notificationId,
57 startForeground.invoke(service, new Object[] { notificationId, notification });
75 manager.notify(notificationId, notification);
  /frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java 51 private int notificationId = -1;
71 if (notificationId != -1) {
97 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1);
100 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response);
133 notificationId = -1;
141 locationManager.sendNiResponse(notificationId, response);
146 notificationId = notifId;
  /packages/apps/TV/src/com/android/tv/recommendation/
NotificationService.java 199 private void handleUpdateRecommendation(int notificationId, Channel channel) {
200 if (mNotificationChannels[notificationId] == Channel.INVALID_ID
201 || !sendNotification(channel.getId(), notificationId)) {
202 changeRecommendation(notificationId);
295 int notificationId = notificationChannels.keyAt(i);
296 mNotificationManager.cancel(NOTIFY_TAG, notificationId);
297 mNotificationChannels[notificationId] = Channel.INVALID_ID;
314 private void changeRecommendation(int notificationId) {
317 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) {
318 mNotificationChannels[notificationId] = Channel.INVALID_ID
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
SnoozeAlarmsService.java 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY,
64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) {
67 nm.cancel(notificationId);
DismissAlarmsService.java 70 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1);
100 if (notificationId != -1) {
103 nm.cancel(notificationId);
  /developers/samples/android/experimental/markgoldstein/
snippets1.java 11 int notificationId = 001;
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
AudioTestService.java 60 int notificationId = 1400;
71 startForeground(notificationId, notification);
  /frameworks/base/media/java/android/media/
MediaSessionService2.java 215 * @param notificationId notification id to be used for
220 public MediaNotification(int notificationId, @NonNull Notification notification) {
222 this, notificationId, notification);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationActionUtils.java 202 final Folder folder, final int notificationId, final long when,
210 folder, notificationIntent, notificationAction, notificationId, when);
223 folder, notificationIntent, notificationAction, notificationId, when);
352 final NotificationActionType action, final int notificationId, final long when) {
357 NotificationAction.SOURCE_LOCAL, notificationId);
373 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
387 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
398 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
408 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
421 final NotificationActionType action, final int notificationId, final long when)
    [all...]
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);
  /developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);
  /development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);
  /developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java 167 int notificationId = sNotificationId++;
172 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
173 notificationId = sNotificationId++;
175 return notificationId;
  /developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java 167 int notificationId = sNotificationId++;
172 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
173 notificationId = sNotificationId++;
175 return notificationId;
  /development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsFragment.java 167 int notificationId = sNotificationId++;
172 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
173 notificationId = sNotificationId++;
175 return notificationId;
  /packages/apps/Dialer/java/com/android/incallui/spam/
SpamNotificationService.java 56 Context context, DialerCall call, String action, String notificationTag, int notificationId) {
63 intent.putExtra(EXTRA_NOTIFICATION_ID, notificationId);
87 int notificationId = intent.getIntExtra(EXTRA_NOTIFICATION_ID, 1);
92 DialerNotificationManager.cancel(this, notificationTag, notificationId);
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyServiceClient.java 98 public void sendNotification(int notificationId, String notificationType) throws RemoteException {
99 mService.sendNotification(notificationId, notificationType);
  /hardware/interfaces/gnss/1.0/
IGnssNiCallback.hal 74 int32_t notificationId;
117 * notificationId decoding scheme
  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 124 public int notificationId;
254 + " notificationId: " + notif.notificationId
291 mNetInitiatedListener.sendNiResponse(notif.notificationId,
312 mNetInitiatedListener.sendNiResponse(notif.notificationId,
325 + " notificationId: " + notif.notificationId);
341 mNetInitiatedListener.sendNiResponse(notif.notificationId,
362 if (DEBUG) Log.d(TAG, "setNiNotification, notifyId: " + notif.notificationId +
392 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build()
    [all...]
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyService.java 80 public void sendNotification(int notificationId, String notificationType) {
82 notificationId, notificationType);

Completed in 1012 milliseconds

1 2 3 4