/packages/apps/Mms/src/com/android/mms/transaction/ |
D | SimFullReceiver.java | 52 Notification notification = new Notification(); in onReceive() local 53 notification.icon = R.drawable.stat_sys_no_sim; in onReceive() 54 notification.tickerText = context.getString(R.string.sim_full_title); in onReceive() 55 notification.defaults = Notification.DEFAULT_ALL; in onReceive() 57 notification.setLatestEventInfo( in onReceive() 61 nm.notify(ManageSimMessages.SIM_FULL_NOTIFICATION_ID, notification); in onReceive()
|
D | SmsRejectedReceiver.java | 64 Notification notification = new Notification(); in onReceive() local 67 notification.icon = R.drawable.stat_sys_no_sim; in onReceive() 77 notification.tickerText = context.getString(titleId); in onReceive() 78 notification.defaults = Notification.DEFAULT_ALL; in onReceive() 80 notification.setLatestEventInfo( in onReceive() 84 nm.notify(SMS_REJECTED_NOTIFICATION_ID, notification); in onReceive()
|
D | MessagingNotification.java | 913 final Notification notification; in updateNotification() local 924 notification = new Notification.BigPictureStyle(noti) in updateNotification() 931 notification = new Notification.BigTextStyle(noti) in updateNotification() 959 notification = new Notification.BigTextStyle(noti) in updateNotification() 997 notification = inboxStyle.build(); in updateNotification() 1005 nm.notify(NOTIFICATION_ID, notification); in updateNotification() 1081 Notification notification = new Notification(); in notifyFailed() local 1113 notification.icon = R.drawable.stat_notify_sms_failed; in notifyFailed() 1115 notification.tickerText = title; in notifyFailed() 1117 notification.setLatestEventInfo(context, title, description, in notifyFailed() [all …]
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 77 public void postNotification(long id, Notification notification) { in postNotification() argument 78 if (notification == null) { in postNotification() 81 mActiveNotifications.put(id, notification); in postNotification() 86 Notification notification = mActiveNotifications.remove(id); in cancelNotification() local 87 if (notification != null) { in cancelNotification() 88 mCanceledNotifications.add(notification); in cancelNotification()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | NotificationImportExportListener.java | 88 final Notification notification = constructProgressNotification(mContext, in onImportProcessed() local 90 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onImportProcessed() 109 final Notification notification = constructProgressNotification( in onImportParsed() local 112 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onImportParsed() 129 final Notification notification = in onImportFinished() local 133 jobId, notification); in onImportFinished() 148 final Notification notification = in onImportCanceled() local 151 jobId, notification); in onImportCanceled() 161 final Notification notification = in onExportProcessed() local 164 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onExportProcessed() [all …]
|
D | ExportProcessor.java | 237 final Notification notification = in doProgressNotification() local 242 mJobId, notification); in doProgressNotification() 249 final Notification notification = in doCancelNotification() local 252 mJobId, notification); in doCancelNotification() 258 final Notification notification = in doFinishNotification() local 262 mJobId, notification); in doFinishNotification()
|
D | ImportVCardActivity.java | 1026 final Notification notification = in showFailureNotification() local 1031 FAILURE_NOTIFICATION_ID, notification); in showFailureNotification()
|
/packages/apps/Phone/src/com/android/phone/ |
D | NotificationMgr.java | 571 Notification notification = builder.getNotification(); in notifyMissedCall() local 572 configureLedNotification(notification); in notifyMissedCall() 573 mNotificationManager.notify(MISSED_CALL_NOTIFICATION, notification); in notifyMissedCall() 1097 Notification notification = builder.getNotification(); in updateInCallNotification() local 1098 if (DBG) log("Notifying IN_CALL_NOTIFICATION: " + notification); in updateInCallNotification() 1099 mNotificationManager.notify(IN_CALL_NOTIFICATION, notification); in updateInCallNotification() 1267 Notification notification = builder.getNotification(); in updateMwi() local 1277 notification.defaults |= Notification.DEFAULT_VIBRATE; in updateMwi() 1280 notification.flags |= Notification.FLAG_NO_CLEAR; in updateMwi() 1281 configureLedNotification(notification); in updateMwi() [all …]
|
D | EmergencyCallbackModeService.java | 166 Notification notification = new Notification( in showNotification() local 186 notification.setLatestEventInfo(this, getText(R.string.phone_in_ecm_notification_title), in showNotification() 189 notification.flags = Notification.FLAG_ONGOING_EVENT; in showNotification() 192 mNotificationManager.notify(R.string.phone_in_ecm_notification_title, notification); in showNotification()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionRequest.java | 97 Notification notification = new Notification( in onReceive() local 102 notification.setLatestEventInfo(context, in onReceive() 106 notification.flags = Notification.FLAG_AUTO_CANCEL | in onReceive() 108 notification.defaults = Notification.DEFAULT_SOUND; in onReceive() 109 notification.deleteIntent = PendingIntent.getBroadcast(context, 0, deleteIntent, 0); in onReceive() 113 notificationManager.notify(NOTIFICATION_ID, notification); in onReceive()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | NotificationMgr.java | 9 public void notify(int id, NotificationWrapper notification); in notify() argument 10 public void notify(String tag, int id, NotificationWrapper notification); in notify() argument
|
D | AlertService.java | 321 NotificationWrapper notification; in generateAlerts() local 327 notification = AlertReceiver.makeBasicNotification(context, info.eventName, in generateAlerts() 332 notification = AlertReceiver.makeDigestNotification(context, in generateAlerts() 337 addNotificationOptions(notification, true, expiredDigestTitle, in generateAlerts() 347 nm.notify(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, notification); in generateAlerts() 683 NotificationWrapper notification = AlertReceiver.makeExpandingNotification(context, in postNotification() local 697 addNotificationOptions(notification, quietUpdate, tickerText, in postNotification() 701 notificationMgr.notify(notificationId, notification); in postNotification() 744 Notification notification = nw.mNotification; in addNotificationOptions() local 745 notification.defaults |= Notification.DEFAULT_LIGHTS; in addNotificationOptions() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | WebStorageSizeManager.java | 409 Notification notification = new Notification(icon, title, when); in scheduleOutOfSpaceNotification() local 410 notification.setLatestEventInfo(mContext, title, text, contentIntent); in scheduleOutOfSpaceNotification() 411 notification.flags |= Notification.FLAG_AUTO_CANCEL; in scheduleOutOfSpaceNotification() 418 mgr.notify(OUT_OF_SPACE_ID, notification); in scheduleOutOfSpaceNotification()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 662 Notification notification = null; in createPbapNotification() local 667 notification = new Notification(android.R.drawable.stat_sys_data_bluetooth, in createPbapNotification() 669 notification.setLatestEventInfo(this, getString(R.string.auth_notif_title), in createPbapNotification() 673 notification.flags |= Notification.FLAG_AUTO_CANCEL; in createPbapNotification() 674 notification.flags |= Notification.FLAG_ONLY_ALERT_ONCE; in createPbapNotification() 675 notification.defaults = Notification.DEFAULT_SOUND; in createPbapNotification() 676 notification.deleteIntent = PendingIntent.getBroadcast(this, 0, deleteIntent, 0); in createPbapNotification() 677 nm.notify(NOTIFICATION_ID_AUTH, notification); in createPbapNotification()
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | SmsMessageReceiver.java | 56 Notification.Builder notification = new Notification.Builder(context) in addNotification() local 70 notificationManager.notify(notificationId, notification.getNotification()); in addNotification()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 88 public void postNotification(long id, Notification notification) { in postNotification() argument 94 mNotificationManager.notify((int) id, notification); in postNotification() local
|
D | SystemFacade.java | 55 public void postNotification(long id, Notification notification); in postNotification() argument
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 769 Notification notification = new Notification(); in launchIdleText() local 774 notification.flags |= Notification.FLAG_NO_CLEAR; in launchIdleText() 775 notification.icon = com.android.internal.R.drawable.stat_notify_sim_toolkit; in launchIdleText() 778 notification.tickerText = msg.text; in launchIdleText() 791 notification.contentView = contentView; in launchIdleText() 792 notification.contentIntent = PendingIntent.getService(mContext, 0, in launchIdleText() 795 mNotificationManager.notify(STK_NOTIFICATION_ID, notification); in launchIdleText()
|