/frameworks/base/services/core/java/com/android/server/notification/ |
ZenModeConditions.java | 17 package com.android.server.notification; 21 import android.service.notification.Condition; 22 import android.service.notification.IConditionListener; 23 import android.service.notification.IConditionProvider; 24 import android.service.notification.ZenModeConfig; 25 import android.service.notification.ZenModeConfig.ZenRule;
|
NotificationManagerService.java | 17 package com.android.server.notification; 19 import static android.service.notification.NotificationRankerService.REASON_APP_CANCEL; 20 import static android.service.notification.NotificationRankerService.REASON_APP_CANCEL_ALL; 21 import static android.service.notification.NotificationRankerService.REASON_DELEGATE_CANCEL; 22 import static android.service.notification.NotificationRankerService.REASON_DELEGATE_CANCEL_ALL; 23 import static android.service.notification.NotificationRankerService.REASON_DELEGATE_CLICK; 24 import static android.service.notification.NotificationRankerService.REASON_DELEGATE_ERROR; 25 import static android.service.notification.NotificationRankerService.REASON_GROUP_SUMMARY_CANCELED; 26 import static android.service.notification.NotificationRankerService.REASON_LISTENER_CANCEL; 27 import static android.service.notification.NotificationRankerService.REASON_LISTENER_CANCEL_ALL 2648 final Notification notification = n.getNotification(); local 2799 final Notification notification = record.sbn.getNotification(); local [all...] |
ZenLog.java | 17 package com.android.server.notification; 25 import android.service.notification.Condition; 26 import android.service.notification.IConditionProvider; 27 import android.service.notification.NotificationListenerService; 28 import android.service.notification.ZenModeConfig;
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
CarNavExtender.java | 18 import android.app.Notification; 34 * To create a notification with navigation extensions: 36 * <li>Create a {@link android.app.Notification.Builder}, setting any desired 41 * <li>Call {@link android.app.Notification.Builder#extend} to apply the extensions to a 42 * notification. 43 * <li>Post the notification to the notification system with the 48 * Notification notif = new Notification.Builder(mContext) 61 * <p>CarNavExtender fields can be accessed on an existing notification by using th [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
MockListener.java | 24 import android.service.notification.NotificationListenerService; 25 import android.service.notification.StatusBarNotification; 41 static final String SERVICE_BASE = "android.service.notification.cts."; 138 Log.w(TAG, "Notification does not exist: " + tag); 210 Log.e(TAG, "failed to pack up notification payload", e); 221 JSONObject notification = new JSONObject(); local 223 notification.put(JSON_TAG, sbn.getTag()); 224 notification.put(JSON_ID, sbn.getId()); 225 notification.put(JSON_PACKAGE, sbn.getPackageName()); 226 notification.put(JSON_WHEN, sbn.getNotification().when) 229 mNotifications.put(sbn.getKey(), notification); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 19 import android.app.Notification; 54 private Notification mNotification; 58 public StatusBarIconView(Context context, String slot, Notification notification) { 59 this(context, slot, notification, false); 62 public StatusBarIconView(Context context, String slot, Notification notification, 71 setNotification(notification); 78 // We do not resize and scale system icons (on the right), only notification icons (on the 105 public void setNotification(Notification notification) [all...] |
BaseStatusBar.java | 26 import android.app.Notification; 62 import android.service.notification.NotificationListenerService; 63 import android.service.notification.NotificationListenerService.RankingMap; 64 import android.service.notification.StatusBarNotification; 122 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_HIGH; 251 // which notification is currently being longpress-examined by the user 330 Log.v(TAG, "Notification click handler invoked for intent: " + pendingIntent); 383 Log.w(TAG, "Couldn't determine notification for click."); 636 // Remove existing notification to avoid stale data. [all...] |
/external/libweave/ |
file_lists.mk | 22 src/notification/notification_parser.cc \ 23 src/notification/pull_channel.cc \ 24 src/notification/xml_node.cc \ 25 src/notification/xmpp_channel.cc \ 26 src/notification/xmpp_iq_stanza_handler.cc \ 27 src/notification/xmpp_stream_parser.cc \ 65 src/notification/notification_parser_unittest.cc \ 66 src/notification/xml_node_unittest.cc \ 67 src/notification/xmpp_channel_unittest.cc \ 68 src/notification/xmpp_iq_stanza_handler_unittest.cc [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 71 struct Notification { 85 // should the subscriber be deleted after the notification 89 inline Notification(const int broadcast, 96 inline Notification(const Subscriber* subscriber, 103 inline Notification(const int broadcast) : 108 inline Notification(const Subscriber* subscriber) : 246 void notifySubscribers(Notification& notification) const; 288 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/hardware/qcom/gps/msmcobalt/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 75 struct Notification { 89 // should the subscriber be deleted after the notification 93 inline Notification(const int broadcast, 100 inline Notification(const Subscriber* subscriber, 107 inline Notification(const int broadcast) : 112 inline Notification(const Subscriber* subscriber) : 250 void notifySubscribers(Notification& notification) const; 292 virtual bool notifyRsrcStatus(Notification ¬ification) = 0 [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
NotificationStudioActivity.java | 22 import android.app.Notification; 152 final Notification notification = NotificationGenerator.build(this); 155 View oneUView = refreshRemoteViews(oneU, notification.contentView); 157 refreshRemoteViews(fourU, notification.bigContentView); 160 largeIcon.setVisibility(notification.largeIcon == null ? View.GONE : View.VISIBLE); 161 if (notification.largeIcon != null) 162 largeIcon.setImageBitmap(notification.largeIcon); 175 mgr.notify(PREVIEW_NOTIFICATION, notification); 177 Log.w(TAG, "Error displaying notification", t) [all...] |
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationHelper.java | 17 package com.android.notification.functional; 23 import android.app.Notification; 24 import android.app.Notification.Builder; 37 import android.service.notification.StatusBarNotification; 54 import com.android.notification.functional.R; 116 clickText("Hide sensitive notification content"); 167 Log.v(LOG_TAG, "Sending out notification..."); 171 Notification notification = new Notification.Builder(mContext local 187 Notification notification = new Notification.Builder(mContext) local 192 mNotificationManager.notify(l.getKey(), notification); local 212 Notification notification = new Notification.Builder(mContext) local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ForegroundService.java | 20 import android.app.Notification; 59 int.class, Notification.class}; 87 void startForegroundCompat(int id, Notification notification) { 91 mStartForegroundArgs[1] = notification; 99 mNM.notify(id, notification); 146 // Make sure our notification is gone. 181 // In this sample, we'll use the same text for the ticker and the expanded notification 187 // Set the info for the views that show in the notification panel. 188 Notification notification = new Notification.Builder(this local [all...] |
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/ |
Ranker.java | 17 package android.ext.services.notification; 19 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED; 23 import android.service.notification.Adjustment; 24 import android.service.notification.NotificationRankerService; 25 import android.service.notification.StatusBarNotification; 38 * Class that provides an updatable ranker module for the notification manager.. 47 // Map of user : <Map of package : notification keys>. Only contains notifications that are not 99 Slog.e(TAG, "Failure processing new notification", e); 108 Slog.e(TAG, "Error processing canceled notification", e); 114 * autobundling if the status change of this notification resulted in the loose notificatio [all...] |
/cts/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 19 import android.app.Notification; 25 import android.service.notification.StatusBarNotification; 57 // test updating the same notification 77 fail("canceled notification was still alive, id=" + id); 97 assertTrue("notification list was not empty after cancelAll", sbns.length == 0); 108 final Notification notification = new Notification.Builder(mContext) local 112 .setContentText("This is #" + id + "notification ") 115 mNotificationManager.notify(id, notification); [all...] |
/external/guice/core/src/com/google/inject/internal/ |
WeakKeySet.java | 60 public void onRemoval(RemovalNotification<State, Set<KeyAndSource>> notification) { 61 Preconditions.checkState(RemovalCause.COLLECTED.equals(notification.getCause())); 63 cleanUpForCollectedState(notification.getValue());
|
/external/junit/src/org/junit/runner/ |
JUnitCore.java | 11 import org.junit.runner.notification.Failure; 12 import org.junit.runner.notification.RunListener; 13 import org.junit.runner.notification.RunNotifier; 24 * @see org.junit.runner.notification.RunListener 168 * @see org.junit.runner.notification.RunListener
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
TriggerService.java | 20 import android.app.Notification; 103 /** Returns the notification to display whenever the service is running. */ 105 protected Notification createNotification() { 107 Notification.Builder builder = new Notification.Builder(this); 114 Notification notification = builder.build(); local 115 notification.flags = Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
MtpNotificationManager.java | 19 import android.app.Notification; 36 * Manager for MTP storage notification. 80 final Notification.Builder builder = new Notification.Builder(mContext) 84 .setCategory(Notification.CATEGORY_SYSTEM); 98 final Notification notification = builder.build(); local 99 notification.flags |= Notification.FLAG_LOCAL_ONLY; 102 TAG, device.getDeviceId(), notification); [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateNotificationBridge.java | 18 import android.app.Notification; 22 import android.service.notification.NotificationListenerService; 25 import com.android.settings.notification.NotificationBackend; 26 import com.android.settings.notification.NotificationBackend.AppRow; 35 * Also provides app filters that can use the notification data. 125 && ((AppRow) info.extraInfo).appVisOverride == Notification.VISIBILITY_PRIVATE; 140 && ((AppRow) info.extraInfo).appVisOverride == Notification.VISIBILITY_SECRET;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeVoiceActivity.java | 17 package com.android.settings.notification; 26 import android.service.notification.Condition; 27 import android.service.notification.ZenModeConfig;
|