/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
H A D | 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;
|
H A D | 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)); 73 createDisplayMessageIntent(Context context, String fromAddress, String message, int notificationId) argument
|
H A D | DialogSmsDisplay.java | 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA); 64 Log.i(LOG_TAG, "notificationId: " + notificationId); 69 notificationManager.cancel(notificationId);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | SnoozeAlarmsService.java | 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, 64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) { 67 nm.cancel(notificationId);
|
H A D | DismissAlarmsService.java | 58 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1); 79 if (notificationId != -1) { 82 nm.cancel(notificationId);
|
H A D | AlertReceiver.java | 161 long startMillis, long endMillis, int notificationId) { 162 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 167 long startMillis, long endMillis, int notificationId) { 168 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 173 long startMillis, long endMillis, int notificationId, String action, 181 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId); 197 long startMillis, long endMillis, int notificationId) { 203 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId); 222 int notificationId, boolean doPopup, int priority) { 224 context, title, summaryText, startMillis, endMillis, eventId, notificationId, 160 createClickEventIntent(Context context, long eventId, long startMillis, long endMillis, int notificationId) argument 166 createDeleteEventIntent(Context context, long eventId, long startMillis, long endMillis, int notificationId) argument 172 createDismissAlarmsIntent(Context context, long eventId, long startMillis, long endMillis, int notificationId, String action, boolean showEvent) argument 196 createSnoozeIntent(Context context, long eventId, long startMillis, long endMillis, int notificationId) argument 220 makeBasicNotification(Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument 229 buildBasicNotification(Notification.Builder notificationBuilder, Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority, boolean addActionButtons) argument 322 makeExpandingNotification(Context context, String title, String summaryText, String description, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument [all...] |
H A D | AlertService.java | 122 public NotificationWrapper(Notification n, int notificationId, long eventId, argument 329 + ", notificationId:" + AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID); 711 NotificationMgr notificationMgr, int notificationId) { 720 info.endMillis, info.eventId, notificationId, prefs.getDoPopup(), priorityVal); 735 notificationMgr.notify(notificationId, notification); 739 + ", notificationId:" + notificationId 709 postNotification(NotificationInfo info, String summaryText, Context context, boolean highPriority, NotificationPrefs prefs, NotificationMgr notificationMgr, int notificationId) argument
|
/packages/apps/Email/src/com/android/email/ |
H A D | NotificationController.java | 148 * @param notificationId the notification id to check 151 private boolean needsOngoingNotification(int notificationId) { argument 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()); 875 int notificationId = sInstance.getNewMessageNotificationId(mAccountId); 876 sInstance.mNotificationManager.cancel(notificationId); 960 int notificationId 213 showAccountNotification(Account account, String ticker, String title, String contentText, Intent intent, int notificationId) argument [all...] |
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
H A D | DialogSmsDisplayTests.java | 276 public void sendOnNewIntent(String message, String dest, int notificationId) { argument 283 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerReceiver.java | 275 int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) { 293 notificationManager.notify(notificationId, notification); 274 showCollapsedNotification(final Context context, String title, String text, int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) argument
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlertServiceTest.java | 274 public void expectTestNotification(int notificationId, int alertId, int highPriority) { argument 275 mExpectedNotifications[notificationId] = new NotificationInstance(alertId, 279 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { argument 280 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority); 302 assertNull("Received unexpected notificationId " + id + debugStr, actual); 306 assertNotNull("Expected notificationId " + id + " but it was not posted."
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | HandoverManager.java | 267 final int notificationId; // Unique ID of this transfer used for notifications field in class:HandoverManager.HandoverTransfer 284 this.notificationId = mNotificationId++;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | MessagingNotification.java | 766 public static void cancelNotification(Context context, int notificationId) { argument 771 nm.cancel(notificationId);
|