/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 202 final Folder folder, final int notificationId, final long when, in addNotificationActions() argument 210 folder, notificationIntent, notificationAction, notificationId, when); in addNotificationActions() 223 folder, notificationIntent, notificationAction, notificationId, when); in addNotificationActions() 352 final NotificationActionType action, final int notificationId, final long when) { in getNotificationActionPendingIntent() argument 357 NotificationAction.SOURCE_LOCAL, notificationId); in getNotificationActionPendingIntent() 373 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationActionPendingIntent() 387 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationActionPendingIntent() 398 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationActionPendingIntent() 408 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationActionPendingIntent() 421 final NotificationActionType action, final int notificationId, final long when) { in getWearNotificationActionPendingIntent() argument [all …]
|
D | NotificationUtils.java | 382 final int notificationId = in resendNotifications() local 399 NotificationActionUtils.sUndoNotifications.get(notificationId); in resendNotifications() 457 final int notificationId = in validateAccountNotifications() local 461 nm.cancel(notificationId); in validateAccountNotifications() 463 NotificationActionUtils.sUndoNotifications.remove(notificationId); in validateAccountNotifications() 464 NotificationActionUtils.sNotificationTimestamps.delete(notificationId); in validateAccountNotifications() 503 final int notificationId = getNotificationId(account.getAccountManagerAccount(), folder); in setNewEmailIndicator() local 514 nm.cancel(notificationId); in setNewEmailIndicator() 537 if (NotificationActionUtils.sUndoNotifications.get(notificationId) == null) { in setNewEmailIndicator() 606 final int notificationId = in validateNotifications() local [all …]
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 199 private void handleUpdateRecommendation(int notificationId, Channel channel) { in handleUpdateRecommendation() argument 200 if (mNotificationChannels[notificationId] == Channel.INVALID_ID || !sendNotification( in handleUpdateRecommendation() 201 channel.getId(), notificationId)) { in handleUpdateRecommendation() 202 changeRecommendation(notificationId); in handleUpdateRecommendation() 291 int notificationId = notificationChannels.keyAt(i); in showRecommendation() local 292 mNotificationManager.cancel(NOTIFY_TAG, notificationId); in showRecommendation() 293 mNotificationChannels[notificationId] = Channel.INVALID_ID; in showRecommendation() 310 private void changeRecommendation(int notificationId) { in changeRecommendation() argument 313 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) { in changeRecommendation() 314 mNotificationChannels[notificationId] = Channel.INVALID_ID; in changeRecommendation() [all …]
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | BasicSmsReceiverApp.java | 47 int notificationId = prefs.getInt(PREF_KEY_NOTIFICATION_ID, 0); in getNextNotificationId() local 48 ++notificationId; in getNextNotificationId() 49 if (notificationId > 32765) { in getNextNotificationId() 50 notificationId = 1; // wrap around before it gets dangerous in getNextNotificationId() 55 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId); in getNextNotificationId() 58 Log.d(LOG_TAG, "getNextNotificationId: " + notificationId); in getNextNotificationId() 60 return notificationId; in getNextNotificationId()
|
D | SmsMessageReceiver.java | 54 int notificationId = BasicSmsReceiverApp.getBasicSmsReceiverApp().getNextNotificationId(); in addNotification() local 63 notificationId)); in addNotification() 65 Log.i(LOG_TAG, "addNotification notificationId: " + notificationId); in addNotification() 70 notificationManager.notify(notificationId, notification.getNotification()); in addNotification() 74 String message, int notificationId) { in createDisplayMessageIntent() argument 82 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId); in createDisplayMessageIntent() 87 di.setType(Integer.toString(notificationId)); in createDisplayMessageIntent()
|
D | DialogSmsDisplay.java | 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA); in parseIntent() local 64 Log.i(LOG_TAG, "notificationId: " + notificationId); in parseIntent() 69 notificationManager.cancel(notificationId); in parseIntent()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertReceiver.java | 202 long startMillis, long endMillis, int notificationId) { in createClickEventIntent() argument 203 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, in createClickEventIntent() 208 long startMillis, long endMillis, int notificationId) { in createDeleteEventIntent() argument 209 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, in createDeleteEventIntent() 214 long startMillis, long endMillis, int notificationId, String action) { in createDismissAlarmsIntent() argument 221 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId); in createDismissAlarmsIntent() 236 long startMillis, long endMillis, int notificationId) { in createSnoozeIntent() argument 242 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId); in createSnoozeIntent() 261 int notificationId, boolean doPopup, int priority) { in makeBasicNotification() argument 263 context, title, summaryText, startMillis, endMillis, eventId, notificationId, in makeBasicNotification() [all …]
|
D | SnoozeAlarmsService.java | 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, in onHandleIntent() local 64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) { in onHandleIntent() 67 nm.cancel(notificationId); in onHandleIntent()
|
D | DismissAlarmsService.java | 70 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1); in onHandleIntent() local 100 if (notificationId != -1) { in onHandleIntent() 103 nm.cancel(notificationId); in onHandleIntent()
|
D | AlertService.java | 131 public NotificationWrapper(Notification n, int notificationId, long eventId, in NotificationWrapper() argument 864 NotificationMgr notificationMgr, int notificationId) { in postNotification() argument 873 info.endMillis, info.eventId, notificationId, prefs.getDoPopup(), priorityVal); in postNotification() 889 notificationMgr.notify(notificationId, notification); in postNotification() 893 + ", notificationId:" + notificationId in postNotification()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamNotificationService.java | 55 Context context, DialerCall call, String action, int notificationId) { in createServiceIntent() argument 61 intent.putExtra(EXTRA_NOTIFICATION_ID, notificationId); in createServiceIntent() 83 int notificationId = intent.getIntExtra(EXTRA_NOTIFICATION_ID, 1); in onStartCommand() local 89 .cancel(number, notificationId); in onStartCommand()
|
D | SpamNotificationActivity.java | 85 Context context, DialerCall call, String action, int notificationId) { in createActivityIntent() argument 91 intent.putExtra(EXTRA_NOTIFICATION_ID, notificationId); in createActivityIntent() 297 int notificationId = getIntent().getIntExtra(EXTRA_NOTIFICATION_ID, 1); in cancelNotification() local 300 .cancel(number, notificationId); in cancelNotification()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerModel.java | 753 final int notificationId = mNotificationModel.getUnexpiredTimerNotificationId(); in updateNotification() local 754 mNotificationManager.notify(notificationId, notification); in updateNotification() 778 final int notificationId = mNotificationModel.getMissedTimerNotificationId(); in updateMissedNotification() local 779 mNotificationManager.notify(notificationId, notification); in updateMissedNotification() 803 final int notificationId = mNotificationModel.getExpiredTimerNotificationId(); in updateHeadsUpNotification() local 804 mService.startForeground(notificationId, notification); in updateHeadsUpNotification()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ExternalCallNotifier.java | 129 public void pullExternalCall(int notificationId) { in pullExternalCall() argument 131 if (info.getNotificationId() == notificationId in pullExternalCall() 441 public NotificationInfo(@NonNull Call call, int notificationId) { in NotificationInfo() argument 443 mNotificationId = notificationId; in NotificationInfo()
|
D | NotificationBroadcastReceiver.java | 85 int notificationId = intent.getIntExtra(EXTRA_NOTIFICATION_ID, -1); in onReceive() local 86 InCallPresenter.getInstance().getExternalCallNotifier().pullExternalCall(notificationId); in onReceive()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 110 private static boolean needsOngoingNotification(int notificationId) { in needsOngoingNotification() argument 113 return (notificationId & NOTIFICATION_ID_BASE_MASK) == NOTIFICATION_ID_BASE_SECURITY_NEEDED; in needsOngoingNotification() 171 String contentText, Intent intent, int notificationId) { in showNotification() argument 174 needsOngoingNotification(notificationId)); in showNotification() 175 mNotificationManager.notify(notificationId, builder.build()); in showNotification()
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 276 public void sendOnNewIntent(String message, String dest, int notificationId) { in sendOnNewIntent() argument 283 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId); in sendOnNewIntent()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 272 public void expectTestNotification(int notificationId, int alertId, int highPriority) { in expectTestNotification() argument 273 mExpectedNotifications[notificationId] = new NotificationInstance(alertId, in expectTestNotification() 277 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { in expectTestNotification() argument 278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority); in expectTestNotification()
|