HomeSort by relevance Sort by last modified time
    Searched refs:notificationId (Results 1 - 20 of 20) 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 63 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1);
93 if (notificationId != -1) {
96 nm.cancel(notificationId);
AlertReceiver.java 209 long startMillis, long endMillis, int notificationId) {
210 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
215 long startMillis, long endMillis, int notificationId) {
216 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
221 long startMillis, long endMillis, int notificationId, String action,
229 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
245 long startMillis, long endMillis, int notificationId) {
251 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
270 int notificationId, boolean doPopup, int priority) {
272 context, title, summaryText, startMillis, endMillis, eventId, notificationId,
    [all...]
AlertService.java 131 public NotificationWrapper(Notification n, int notificationId, long eventId,
389 + ", notificationId:" + AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
    [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 341 final int notificationId = mUsbStorageNotification.icon;
343 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification,
346 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
381 final int notificationId = mMediaStorageNotification.icon;
382 notificationManager.cancel(notificationId);
414 final int notificationId = mMediaStorageNotification.icon;
416 notificationManager.notifyAsUser(null, notificationId,
419 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
  /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/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);
  /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 276 int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) {
294 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 964 milliseconds