Searched refs:notificationId (Results 1 - 9 of 9) sorted by relevance

/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
H A DBasicSmsReceiverApp.java47 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 DSmsMessageReceiver.java54 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 DDialogSmsDisplay.java62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA);
64 Log.i(LOG_TAG, "notificationId: " + notificationId);
69 notificationManager.cancel(notificationId);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiverApp.java51 int notificationId = prefs.getInt(PREF_KEY_NOTIFICATION_ID, 0);
52 ++notificationId;
53 if (notificationId > 32765) {
54 notificationId = 1; // wrap around before it gets dangerous
57 // Save the updated notificationId in SharedPreferences
59 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId);
62 if (DBG) Log.d(LOG_TAG, "getNextNotificationId: " + notificationId);
64 return notificationId;
H A DCellBroadcastAlertService.java187 int notificationId = CellBroadcastReceiverApp.getCellBroadcastReceiverApp()
191 this, message, notificationId), 0);
206 Log.i(TAG, "addToNotificationBar notificationId: " + notificationId);
211 notificationManager.notify(notificationId, notification);
215 CellBroadcastMessage message, int notificationId) {
219 intent.putExtra(SMS_CB_NOTIFICATION_ID_EXTRA, notificationId);
224 intent.setType(Integer.toString(notificationId));
214 createDisplayMessageIntent(Context context, CellBroadcastMessage message, int notificationId) argument
H A DCellBroadcastListActivity.java266 int notificationId = extras.getInt(CellBroadcastAlertService.SMS_CB_NOTIFICATION_ID_EXTRA);
271 notificationManager.cancel(notificationId);
/packages/apps/Email/src/com/android/email/
H A DNotificationController.java141 * @param notificationId the notification id to check
144 private boolean needsOngoingNotification(int notificationId) { argument
147 return notificationId == NOTIFICATION_ID_SECURITY_NEEDED;
205 * @param notificationId The ID of the notification to register with the service.
208 String contentText, Intent intent, int notificationId) {
210 intent, null, null, true, needsOngoingNotification(notificationId));
211 mNotificationManager.notify(notificationId, notification);
688 int notificationId = sInstance.getNewMessageNotificationId(mAccountId);
689 sInstance.mNotificationManager.cancel(notificationId);
773 int notificationId
207 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 DDialogSmsDisplayTests.java277 public void sendOnNewIntent(String message, String dest, int notificationId) { argument
284 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessagingNotification.java437 public static void cancelNotification(Context context, int notificationId) { argument
441 nm.cancel(notificationId);

Completed in 249 milliseconds