/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 763 Notification notification = null; 765 notification = Notification.CREATOR.createFromParcel(data); 768 setServiceForeground(className, token, id, notification, removeNotification); 2687 int id, Notification notification, boolean removeNotification) throws RemoteException { 2694 if (notification != null) { 2696 notification.writeToParcel(data, 0); 2686 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
|
H A D | IActivityManager.java | 139 int id, Notification notification, boolean keepNotification) throws RemoteException; 138 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean keepNotification) argument
|
H A D | NotificationManager.java | 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) argument 108 notify(null, id, notification); 122 notify(String tag, int id, Notification notification) argument 144 notifyAsUser(String tag, int id, Notification notification, UserHandle user) argument [all...] |
H A D | Service.java | 619 * notification to be shown to the user while in this state. 634 * @param id The identifier for this notification as per 637 * @param notification The Notification to be displayed. 641 public final void startForeground(int id, Notification notification) { argument 645 notification, true); 653 * @param removeNotification If true, the notification previously provided
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarNotification.java | 25 boolean clearable = !n.ongoingEvent && ((notification.flags & Notification.FLAG_NO_CLEAR) == 0); 47 public final Notification notification; field in class:StatusBarNotification 54 Notification notification) { 55 this(pkg, id, tag, uid, initialPid, score, notification, UserHandle.OWNER); 59 Notification notification, UserHandle user) { 61 if (notification == null) throw new NullPointerException(); 69 this.notification = notification; 71 this.notification.setUser(user); 85 this.notification 53 StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, Notification notification) argument 58 StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 117 // used to notify status bar for suppressing notification LED 241 // Set up the initial notification state 287 Slog.v(TAG, String.format("%s: current userid: %d, notification userid: %d", 323 if (sbn.notification.contentView.getLayoutId() != 706 StatusBarNotification sbn = entry.notification; 707 RemoteViews oneU = sbn.notification.contentView; 708 RemoteViews large = sbn.notification.bigContentView; 734 PendingIntent contentIntent = sbn.notification.contentIntent; 754 Slog.e(TAG, "couldn't inflate view for notification " + ident, e); 782 debug.setText("U " + entry.notification 903 addNotificationViews(IBinder key, StatusBarNotification notification) argument 992 updateNotification(IBinder key, StatusBarNotification notification) argument [all...] |
H A D | CommandQueue.java | 73 StatusBarNotification notification; field in class:CommandQueue.NotificationQueueEntry 84 public void addNotification(IBinder key, StatusBarNotification notification); argument 85 public void updateNotification(IBinder key, StatusBarNotification notification); argument 124 public void addNotification(IBinder key, StatusBarNotification notification) { argument 128 ne.notification = notification; 133 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 137 ne.notification = notification; 267 mCallbacks.addNotification(ne.key, ne.notification); [all...] |
H A D | NotificationData.java | 36 public StatusBarNotification notification; field in class:NotificationData.Entry 46 this.notification = n; 91 final StatusBarNotification na = a.notification; 92 final StatusBarNotification nb = b.notification; 96 : (int)(na.notification.when - nb.notification.when); 129 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument 133 entry.notification = notification; 168 if (e.notification [all...] |
H A D | StatusBarIconView.java | 54 public StatusBarIconView(Context context, String slot, Notification notification) { argument 62 mNotification = notification; 63 setContentDescription(notification); 65 // We do not resize and scale system icons (on the right), only notification icons (on the 67 if (notification != null) { 268 private void setContentDescription(Notification notification) { argument 269 if (notification != null) { 270 CharSequence tickerText = notification.tickerText; 279 + " notification=" + mNotification + ")";
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 184 NotificationPanelView mNotificationPanel; // the sliding/resizing panel within the notification window 494 mLocationController = new LocationController(mContext); // will post a notification 856 public void addNotification(IBinder key, StatusBarNotification notification) { argument 857 if (DEBUG) Slog.d(TAG, "addNotification score=" + notification.score); 858 StatusBarIconView iconView = addNotificationViews(key, notification); 874 notification.notification.intruderView != null)) { 875 Slog.d(TAG, "Presenting high-priority notification"); 879 if (notification.notification [all...] |
H A D | Ticker.java | 67 StatusBarNotification notification; field in class:Ticker.Segment 144 this.notification = n; 192 // a notification storm). 195 if (n.pkg.equals(seg.notification.pkg) 196 && n.notification.icon == seg.notification.notification.icon 197 && n.notification.iconLevel == seg.notification.notification [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBar.java | 136 ViewGroup mFeedbackIconArea; // notification icons, IME icon, compat icon 433 if (DEBUG) Slog.d(TAG, "max notification icons: " + mMaxNotificationIcons); 469 // the button to open the notification area 484 mLocationController = new LocationController(mContext); // will post a notification 708 if (DEBUG) Slog.d(TAG, "opening notification peek window; arg=" + m.arg1); 731 entry.notification, 766 if (DEBUG) Slog.d(TAG, "closing notification peek window"); 849 public void addNotification(IBinder key, StatusBarNotification notification) { argument 850 if (DEBUG) Slog.d(TAG, "addNotification(" + key + " -> " + notification + ")"); 851 addNotificationViews(key, notification); [all...] |
H A D | TabletTicker.java | 92 public void add(IBinder key, StatusBarNotification notification) { argument 102 mQueue[mQueuePos] = notification; 253 private View makeTickerView(StatusBarNotification notification) { argument 254 final Notification n = notification.notification; 279 final String ident = notification.pkg 280 + "/0x" + Integer.toHexString(notification.id); 281 Slog.e(TAG, "couldn't inflate view for notification " + ident, exception); 291 new StatusBarIcon(notification.pkg, notification [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 48 public void addNotification(IBinder key, StatusBarNotification notification) { argument 52 public void updateNotification(IBinder key, StatusBarNotification notification) { argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 137 // for enabling and disabling notification pulse behavior 156 private static final String TAG_BODY = "notification-policy"; 321 final Notification notification; field in class:NotificationManagerService.NotificationRecord 326 int userId, int score, Notification notification) 335 this.notification = notification; 340 pw.println(prefix + " icon=0x" + Integer.toHexString(notification.icon) 341 + " / " + idDebugString(baseContext, this.pkg, notification.icon)); 342 pw.println(prefix + " pri=" + notification.priority); 344 pw.println(prefix + " contentIntent=" + notification 325 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, int userId, int score, Notification notification) argument 869 enqueueNotificationWithTag(String pkg, String tag, int id, Notification notification, int[] idOut, int userId) argument 882 enqueueNotificationInternal(String pkg, int callingUid, int callingPid, String tag, int id, Notification notification, int[] idOut, int userId) argument 1134 sendAccessibilityEvent(Notification notification, CharSequence packageName) argument [all...] |
H A D | StatusBarManagerService.java | 448 * invisible to visible in order to clear the notification light. 453 // tell the notification manager to turn off the lights. 486 public IBinder addNotification(StatusBarNotification notification) { argument 489 mNotifications.put(key, notification); 492 mBar.addNotification(key, notification); 500 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 505 mNotifications.put(key, notification); 508 mBar.updateNotification(key, notification);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 369 int id, Notification notification, boolean removeNotification) { 376 if (notification == null) { 377 throw new IllegalArgumentException("null notification"); 383 notification.flags |= Notification.FLAG_FOREGROUND_SERVICE; 384 r.foregroundNoti = notification; 368 setServiceForegroundLocked(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
|
H A D | ActivityManagerService.java | 1179 Notification notification = new Notification(); 1180 notification.icon = com.android.internal.R.drawable.stat_sys_adb; //context.getApplicationInfo().icon; 1181 notification.when = 0; 1182 notification.flags = Notification.FLAG_ONGOING_EVENT; 1183 notification.tickerText = text; 1184 notification.defaults = 0; // please be quiet 1185 notification.sound = null; 1186 notification.vibrate = null; 1187 notification.setLatestEventInfo(context, text, 1197 notification, outI 10966 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 183 static void gps_ni_notify_callback(GpsNiNotification *notification) argument 187 jstring requestor_id = env->NewStringUTF(notification->requestor_id); 188 jstring text = env->NewStringUTF(notification->text); 189 jstring extras = env->NewStringUTF(notification->extras); 193 notification->notification_id, notification->ni_type, 194 notification->notify_flags, notification->timeout, 195 notification->default_response, requestor_id, text, 196 notification [all...] |