HomeSort by relevance Sort by last modified time
    Searched defs:notificationId (Results 1 - 15 of 15) sorted by null

  /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;
DialogSmsDisplay.java 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA);
64 Log.i(LOG_TAG, "notificationId: " + notificationId);
69 notificationManager.cancel(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));
  /packages/apps/Calendar/src/com/android/calendar/alerts/
DismissAlarmsService.java 58 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1);
79 if (notificationId != -1) {
82 nm.cancel(notificationId);
SnoozeAlarmsService.java 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY,
64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) {
67 nm.cancel(notificationId);
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 329 final int notificationId = 1;
358 notificationManager.notify(notificationId, notification);
  /frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java 51 private int notificationId = -1;
71 if (notificationId != -1) {
98 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1);
101 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response);
134 notificationId = -1;
142 locationManager.sendNiResponse(notificationId, response);
147 notificationId = notifId;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 337 final int notificationId = mUsbStorageNotification.icon;
339 notificationManager.notify(notificationId, mUsbStorageNotification);
341 notificationManager.cancel(notificationId);
376 final int notificationId = mMediaStorageNotification.icon;
377 notificationManager.cancel(notificationId);
408 final int notificationId = mMediaStorageNotification.icon;
410 notificationManager.notify(notificationId, mMediaStorageNotification);
412 notificationManager.cancel(notificationId);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertService.java 214 int notificationId = (int) message.getDeliveryTime();
224 Intent notify = createDisplayMessageIntent(this, c, message, notificationId);
225 PendingIntent pi = PendingIntent.getActivity(this, notificationId, notify, 0);
240 notificationManager.notify(notificationId, builder.getNotification());
254 int notificationId = NOTIFICATION_ID;
257 this, CellBroadcastListActivity.class, message, notificationId), 0);
279 Log.i(TAG, "addToNotificationBar notificationId: " + notificationId);
284 notificationManager.notify(notificationId, builder.getNotification());
288 CellBroadcastMessage message, int notificationId) {
    [all...]
CellBroadcastListActivity.java 291 int notificationId = extras.getInt(CellBroadcastAlertService.SMS_CB_NOTIFICATION_ID_EXTRA);
296 notificationManager.cancel(notificationId);
  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 100 public int notificationId;
137 if (DEBUG) Log.d(TAG, "handleNiNotification" + " notificationId: " + notif.notificationId
164 mLocationManager.sendNiResponse(notif.notificationId, GPS_NI_RESPONSE_ACCEPT);
191 if (DEBUG) Log.d(TAG, "setNiNotification, notifyId: " + notif.notificationId +
217 notificationManager.notify(notif.notificationId, mNiNotification);
219 notificationManager.cancel(notif.notificationId);
228 if (DEBUG) Log.d(TAG, "openNiDialog, notifyId: " + notif.notificationId +
248 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId);
  /packages/apps/Email/src/com/android/email/
NotificationController.java 148 * @param notificationId the notification id to check
151 private boolean needsOngoingNotification(int notificationId) {
154 return notificationId == NOTIFICATION_ID_SECURITY_NEEDED;
211 * @param notificationId The ID of the notification to register with the service.
214 String contentText, Intent intent, int notificationId) {
216 contentText, intent, null, null, true, needsOngoingNotification(notificationId));
217 mNotificationManager.notify(notificationId, builder.getNotification());
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverManager.java 270 final int notificationId; // Unique ID of this transfer used for notifications
287 this.notificationId = mNotificationId++;
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java     [all...]
  /frameworks/base/core/java/android/accounts/
AccountManagerService.java     [all...]

Completed in 968 milliseconds