Lines Matching defs:notification

45  * unspecified.  This pair identifies this notification from your app to the
48 * a new set of notification parameters, it will be updated. For example,
52 * this notification.
81 IBinder b = ServiceManager.getService("notification");
97 * Post a notification to be shown in the status bar. If a notification with
101 * @param id An identifier for this notification unique within your
103 * @param notification A {@link Notification} object describing what to show the user. Must not
106 public void notify(int id, Notification notification)
108 notify(null, id, notification);
112 * Post a notification to be shown in the status bar. If a notification with
116 * @param tag A string identifier for this notification. May be {@code null}.
117 * @param id An identifier for this notification. The pair (tag, id) must be unique
119 * @param notification A {@link Notification} object describing what to
122 public void notify(String tag, int id, Notification notification)
127 if (notification.sound != null) {
128 notification.sound = notification.sound.getCanonicalUri();
130 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")");
132 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut,
144 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user)
149 if (notification.sound != null) {
150 notification.sound = notification.sound.getCanonicalUri();
152 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")");
154 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut,
164 * Cancel a previously shown notification. If it's transient, the view
174 * Cancel a previously shown notification. If it's transient, the view