/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarNotification.java | 26 boolean clearable = !n.ongoingEvent && ((notification.flags & Notification.FLAG_NO_CLEAR) == 0); 43 public Notification notification; field in class:StatusBarNotification 49 int uid, int initialPid, Notification notification) { 51 if (notification == null) throw new NullPointerException(); 58 this.notification = notification; 75 this.notification = new Notification(in); 89 this.notification.writeToParcel(out, flags); 112 this.uid, this.initialPid, this.notification.clone()); 117 + " notification 48 StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, Notification notification) argument [all...] |
H A D | IStatusBar.aidl | 27 void addNotification(IBinder key, in StatusBarNotification notification); 28 void updateNotification(IBinder key, in StatusBarNotification notification);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 33 public StatusBarNotification notification; field in class:NotificationData.Entry 60 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument 64 entry.notification = notification; 69 final int index = chooseIndex(notification.notification.when); 90 if (entry.notification.notification.when > when) { 119 if ((entry.notification.notification [all...] |
H A D | Ticker.java | 53 StatusBarNotification notification; field in class:Ticker.Segment 130 this.notification = n; 171 // a notification storm). 174 if (n.pkg.equals(seg.notification.pkg) 175 && n.notification.icon == seg.notification.notification.icon 176 && n.notification.iconLevel == seg.notification.notification [all...] |
H A D | CommandQueue.java | 61 StatusBarNotification notification; field in class:CommandQueue.NotificationQueueEntry 72 public void addNotification(IBinder key, StatusBarNotification notification); argument 73 public void updateNotification(IBinder key, StatusBarNotification notification); argument 101 public void addNotification(IBinder key, StatusBarNotification notification) { argument 105 ne.notification = notification; 110 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 114 ne.notification = notification; 178 mCallbacks.addNotification(ne.key, ne.notification); [all...] |
H A D | StatusBarService.java | 224 // Set up the initial notification state 371 public void addNotification(IBinder key, StatusBarNotification notification) { argument 373 if (notification.notification.fullScreenIntent != null) { 377 notification.notification.fullScreenIntent.send(); 382 StatusBarIconView iconView = addNotificationViews(key, notification); 386 tick(notification); 394 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 408 final StatusBarNotification oldNotification = oldEntry.notification; 500 makeNotificationView(StatusBarNotification notification, ViewGroup parent) argument 541 addNotificationViews(IBinder key, StatusBarNotification notification) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | INotificationManager.aidl | 28 void enqueueNotification(String pkg, int id, in Notification notification, inout int[] idReceived); 35 void enqueueNotificationWithTag(String pkg, String tag, int id, in Notification notification, inout int[] idReceived);
|
H A D | NotificationManager.java | 43 * this notification from your app to the system, so that id should be unique 45 * currently active and a new set of notification parameters, it will be 48 * id you pass to the {@link #cancel} method to clear this notification. 71 IBinder b = ServiceManager.getService("notification"); 82 * Persistent notification on the status bar, 84 * @param id An identifier for this notification unique within your 86 * @param notification A {@link Notification} object describing how to 89 public void notify(int id, Notification notification) argument 91 notify(null, id, notification); 95 * Persistent notification o 104 notify(String tag, int id, Notification notification) argument [all...] |
H A D | Service.java | 579 * notification to be shown to the user while in this state. 594 * @param id The identifier for this notification as per 597 * @param notification The Notification to be displayed. 601 public final void startForeground(int id, Notification notification) { argument 605 notification, true); 613 * @param removeNotification If true, the notification previously provided
|
H A D | IActivityManager.java | 161 int id, Notification notification, boolean keepNotification) throws RemoteException; 160 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean keepNotification) argument
|
H A D | ActivityManagerNative.java | 643 Notification notification = null; 645 notification = Notification.CREATOR.createFromParcel(data); 648 setServiceForeground(className, token, id, notification, removeNotification); 1982 int id, Notification notification, boolean removeNotification) throws RemoteException { 1989 if (notification != null) { 1991 notification.writeToParcel(data, 0); 1981 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 111 // for enabling and disabling notification pulse behavior 115 // This is true if we have received a new notification while the screen is off 176 final Notification notification; field in class:NotificationManagerService.NotificationRecord 180 Notification notification) 187 this.notification = notification; 192 pw.println(prefix + " icon=0x" + Integer.toHexString(notification.icon) 193 + " / " + idDebugString(baseContext, this.pkg, notification.icon)); 194 pw.println(prefix + " contentIntent=" + notification.contentIntent); 195 pw.println(prefix + " deleteIntent=" + notification 179 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, Notification notification) argument 668 enqueueNotification(String pkg, int id, Notification notification, int[] idOut) argument 673 enqueueNotificationWithTag(String pkg, String tag, int id, Notification notification, int[] idOut) argument 682 enqueueNotificationInternal(String pkg, int callingUid, int callingPid, String tag, int id, Notification notification, int[] idOut) argument 865 sendAccessibilityEvent(Notification notification, CharSequence packageName) argument [all...] |
H A D | DeviceStorageMonitorService.java | 47 * default 10%) a low memory notification is displayed to alert the 48 * user. If the user clicks on the low memory notification the 107 * notification if the device runs low on disk space 228 Slog.i(TAG, "Running low on memory. Sending notification"); 234 "notification already sent. do nothing"); 238 Slog.i(TAG, "Memory available. Cancelling notification"); 328 * This method sends a notification to NotificationManager to display 333 if(localLOGV) Slog.i(TAG, "Sending low memory notification"); 348 Notification notification = new Notification(); 349 notification [all...] |
H A D | StatusBarManagerService.java | 281 * invisible to visible in order to clear the notification light. 286 // tell the notification manager to turn off the lights. 313 public IBinder addNotification(StatusBarNotification notification) { argument 316 mNotifications.put(key, notification); 319 mBar.addNotification(key, notification); 327 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 332 mNotifications.put(key, notification); 335 mBar.updateNotification(key, notification);
|
H A D | SystemServer.java | 235 NotificationManagerService notification = null; 326 notification = new NotificationManagerService(context, statusBar, lights); 327 ServiceManager.addService(Context.NOTIFICATION_SERVICE, notification); 479 if (notification != null) { 480 notification.systemReady();
|
H A D | ConnectivityService.java | 1323 Notification notification) { 1328 notificationManager.notify(id, notification); 1322 handleNotificationChange(boolean visible, int id, Notification notification) argument
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
H A D | FixVibrateSetting.java | 96 String notification = getSettingValue(AudioManager.VIBRATE_TYPE_NOTIFICATION); 97 String text = getString(R.string.current_setting, ringer, notification); 112 Notification n = new Notification(R.drawable.stat_sys_warning, "Test notification", 116 n.setLatestEventInfo(this, "Test notification", "Test notification", pending);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 167 static void gps_ni_notify_callback(GpsNiNotification *notification) argument 171 jstring requestor_id = env->NewStringUTF(notification->requestor_id); 172 jstring text = env->NewStringUTF(notification->text); 173 jstring extras = env->NewStringUTF(notification->extras); 177 notification->notification_id, notification->ni_type, 178 notification->notify_flags, notification->timeout, 179 notification->default_response, requestor_id, text, 180 notification [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1366 GpsNiNotification notification = new GpsNiNotification(); 1368 notification.notificationId = notificationId; 1369 notification.niType = niType; 1370 notification.needNotify = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_NEED_NOTIFY) != 0; 1371 notification.needVerify = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_NEED_VERIFY) != 0; 1372 notification.privacyOverride = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_PRIVACY_OVERRIDE) != 0; 1373 notification.timeout = timeout; 1374 notification.defaultResponse = defaultResponse; 1375 notification.requestorId = requestorId; 1376 notification [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | RIL.java | 2015 /* If this is our first notification, make sure the radio 2761 SuppServiceNotification notification = new SuppServiceNotification(); 2763 notification.notificationType = p.readInt(); 2764 notification.code = p.readInt(); 2765 notification.index = p.readInt(); 2766 notification.type = p.readInt(); 2767 notification.number = p.readString(); 2769 return notification; 3140 CdmaCallWaitingNotification notification = new CdmaCallWaitingNotification(); 3142 notification [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncManager.java | 124 * An error notification is sent if sync of any of the providers has been failing for this long. 372 // a sync alarm notification and when we finish processing it. We need to do this 1015 pw.print("notification info: "); 1314 // used to track if we have installed the error notification so that we don't reinstall 1341 * Used to keep track of whether a sync notification is active and who it is for. 1350 // true iff the notification manager has been asked to send the notification 1866 // we aren't syncing. if the notification is active then remember that we need 1879 // cancel the notification if it is up and the authority or account is wrong 1885 // - the notification i [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMPhoneTest.java | 1073 // Supplementary Service notification must be received. 1195 // failed notification should be received. 1651 SuppServiceNotification notification = 1654 assertEquals(type, notification.notificationType); 1655 assertEquals(code, notification.code);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1175 Notification notification = new Notification(); 1176 notification.icon = com.android.internal.R.drawable.stat_sys_adb; //context.getApplicationInfo().icon; 1177 notification.when = 0; 1178 notification.flags = Notification.FLAG_ONGOING_EVENT; 1179 notification.tickerText = text; 1180 notification.defaults = 0; // please be quiet 1181 notification.sound = null; 1182 notification.vibrate = null; 1183 notification.setLatestEventInfo(context, text, 1191 notification, outI 9305 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument [all...] |