HomeSort by relevance Sort by last modified time
    Searched refs:notificationId (Results 1 - 24 of 24) 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;
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);
  /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;
  /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);
AlertReceiver.java 202 long startMillis, long endMillis, int notificationId) {
203 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
208 long startMillis, long endMillis, int notificationId) {
209 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
214 long startMillis, long endMillis, int notificationId, String action) {
221 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
236 long startMillis, long endMillis, int notificationId) {
242 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
261 int notificationId, boolean doPopup, int priority) {
263 context, title, summaryText, startMillis, endMillis, eventId, notificationId,
    [all...]
AlertService.java 131 public NotificationWrapper(Notification n, int notificationId, long eventId,
398 + ", notificationId:" + AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
    [all...]
  /external/chromium_org/chrome/browser/resources/google_now/
background.js 274 for (var notificationId in items.recentDismissals) {
275 if (currentTimeMs - items.recentDismissals[notificationId] <
277 updatedRecentDismissals[notificationId] =
278 items.recentDismissals[notificationId];
287 var notificationId = cards[i].notificationId;
288 if (!(notificationId in updatedRecentDismissals) &&
289 notificationId in notifications) {
290 updatedNotifications[notificationId] = true;
295 for (var notificationId in notifications)
    [all...]
cards.js 105 chrome.alarms.clear(cardHidePrefix + card.notificationId);
116 var cardShowAlarmName = cardShowPrefix + card.notificationId;
128 showNotification(card.notificationId, cardCreateInfo);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationActionUtils.java 198 final Folder folder, final int notificationId, final long when,
208 folder, notificationIntent, notificationAction, notificationId, when));
302 final NotificationActionType action, final int notificationId, final long when) {
320 Uri.parse("mailfrom://mail/account/" + "reply/" + notificationId);
326 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
338 Uri.parse("mailfrom://mail/account/" + "replyall/" + notificationId);
344 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
354 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
363 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
520 final NotificationAction notificationAction, final int notificationId) {
    [all...]
NotificationUtils.java 310 final int notificationId =
327 NotificationActionUtils.sUndoNotifications.get(notificationId);
384 final int notificationId =
388 nm.cancel(notificationId);
390 NotificationActionUtils.sUndoNotifications.remove(notificationId);
391 NotificationActionUtils.sNotificationTimestamps.delete(notificationId);
409 final int notificationId = getNotificationId(account.getAccountManagerAccount(), folder);
419 .cancel(notificationId);
437 if (NotificationActionUtils.sUndoNotifications.get(notificationId) == null) {
505 final int notificationId
    [all...]
  /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 +
216 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification,
225 if (DEBUG) Log.d(TAG, "openNiDialog, notifyId: " + notif.notificationId +
245 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 333 final int notificationId = mUsbStorageNotification.icon;
335 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification,
338 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
373 final int notificationId = mMediaStorageNotification.icon;
374 notificationManager.cancel(notificationId);
406 final int notificationId = mMediaStorageNotification.icon;
408 notificationManager.notifyAsUser(null, notificationId,
411 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
  /packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DialogSmsDisplayTests.java 276 public void sendOnNewIntent(String message, String dest, int notificationId) {
283 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
  /packages/apps/Email/src/com/android/email/
NotificationController.java 110 * @param notificationId the notification id to check
113 private static boolean needsOngoingNotification(int notificationId) {
116 return (notificationId & NOTIFICATION_ID_BASE_MASK) == NOTIFICATION_ID_BASE_SECURITY_NEEDED;
173 * @param notificationId The ID of the notification to register with the service.
176 String contentText, Intent intent, int notificationId) {
179 needsOngoingNotification(notificationId));
180 mNotificationManager.notify(notificationId, builder.build());
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 317 final int notificationId = 1;
346 notificationManager.notify(notificationId, notification);
  /frameworks/base/services/java/com/android/server/location/
GpsLocationProvider.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerReceiver.java 323 int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) {
341 notificationManager.notify(notificationId, notification);
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 255 protected void installNotification(final int notificationId, final Notification n, UserHandle user) {
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 272 public void expectTestNotification(int notificationId, int alertId, int highPriority) {
273 mExpectedNotifications[notificationId] = new NotificationInstance(alertId,
277 public void expectTestNotification(int notificationId, int[] alertIds, int priority) {
278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority);
300 assertNull("Received unexpected notificationId " + id + debugStr, actual);
301 assertTrue("NotificationId " + id + " should have been cancelled." + debugStr,
304 assertNotNull("Expected notificationId " + id + " but it was not posted."
306 assertFalse("NotificationId " + id + " should not have been cancelled."
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java     [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
MessagingNotification.java     [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java     [all...]

Completed in 1028 milliseconds