Lines Matching defs:notification

50  * unspecified.  This pair identifies this notification from your app to the
53 * a new set of notification parameters, it will be updated. For example,
57 * this notification.
96 IBinder b = ServiceManager.getService("notification");
112 * Post a notification to be shown in the status bar. If a notification with
116 * @param id An identifier for this notification unique within your
118 * @param notification A {@link Notification} object describing what to show the user. Must not
121 public void notify(int id, Notification notification)
123 notify(null, id, notification);
127 * Post a notification to be shown in the status bar. If a notification with
131 * @param tag A string identifier for this notification. May be {@code null}.
132 * @param id An identifier for this notification. The pair (tag, id) must be unique
134 * @param notification A {@link Notification} object describing what to
137 public void notify(String tag, int id, Notification notification)
142 if (notification.sound != null) {
143 notification.sound = notification.sound.getCanonicalUri();
145 notification.sound.checkFileUriExposed("Notification.sound");
148 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")");
149 Notification stripped = notification.clone();
164 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user)
169 if (notification.sound != null) {
170 notification.sound = notification.sound.getCanonicalUri();
172 notification.sound.checkFileUriExposed("Notification.sound");
175 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")");
176 Notification stripped = notification.clone();
189 * Cancel a previously shown notification. If it's transient, the view
199 * Cancel a previously shown notification. If it's transient, the view