HomeSort by relevance Sort by last modified time
    Searched refs:getNotification (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
NotificationManagerTest.java 30 assertEquals(notification1, shadowOf(notificationManager).getNotification(1));
34 assertEquals(notification2, shadowOf(notificationManager).getNotification(31));
43 assertEquals(notification2, shadowOf(notificationManager).getNotification(1));
50 assertEquals(notification1, shadowOf(notificationManager).getNotification("a tag"));
57 assertNull(shadowOf(notificationManager).getNotification(null));
64 assertNull(shadowOf(notificationManager).getNotification("unknown tag"));
73 assertNull(shadowOf(notificationManager).getNotification(1));
82 assertNull(shadowOf(notificationManager).getNotification(1));
83 assertNull(shadowOf(notificationManager).getNotification("a tag"));
93 assertNull(shadowOf(notificationManager).getNotification(1))
    [all...]
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
NotificationsActivity.java 50 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification());
65 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationIntrusivenessExtractor.java 41 if (record == null || record.getNotification() == null) {
46 final Notification notification = record.getNotification();
NotificationRecord.java 91 mOriginalFlags = sbn.getNotification().flags;
110 public Notification getNotification() { return sbn.getNotification(); }
111 public int getFlags() { return sbn.getNotification().flags; }
118 final Notification notification = sbn.getNotification();
233 this.sbn.getNotification());
278 return Objects.equals(getNotification().category, category);
282 return getNotification().audioStreamType == stream;
286 final AudioAttributes attributes = getNotification().audioAttributes;
340 Notification n = getNotification();
    [all...]
PackagePriorityExtractor.java 32 if (record == null || record.getNotification() == null) {
PackageVisibilityExtractor.java 32 if (record == null || record.getNotification() == null) {
NotificationUsageStats.java 323 final Notification n = record.getNotification();
    [all...]
  /development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
NotificationsActivity.java 63 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification());
78 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNotificationManager.java 61 public Notification getNotification(int id) {
65 public Notification getNotification(String tag) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 130 final int aPriority = na.getNotification().priority;
131 final int bPriority = nb.getNotification().priority;
167 return (int) (nb.getNotification().when - na.getNotification().when);
265 if (sbn.getNotification().visibility == Notification.VISIBILITY_SECRET &&
296 && sbn.getNotification().extras.getBoolean(Notification.EXTRA_ALLOW_DURING_SETUP);
330 pw.println(" notification=" + n.getNotification());
332 pw.println(" tickerText=\"" + n.getNotification().tickerText + "\"");
NotificationOverflowIconsView.java 59 notification.notification.getNotification());
63 applyColor(notification.notification.getNotification(), v);
BaseStatusBar.java     [all...]
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
Listener.java 169 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0 &&
170 sbn.getNotification().contentIntent != null) {
172 sbn.getNotification().contentIntent.send();
186 if (sbn.getNotification().contentIntent != null) {
188 sbn.getNotification().contentIntent.send();
193 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationGroupManager.java 78 Notification notif = sbn.getNotification();
117 Notification notif = sbn.getNotification();
147 if (!sbn.getNotification().isGroupChild()) {
161 if (!sbn.getNotification().isGroupSummary()) {
198 if (!sbn.getNotification().isGroupChild()) {
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServerService.java 85 getNotification();
  /frameworks/support/v4/honeycomb/android/support/v4/app/
NotificationCompatHoneycomb.java 52 return b.getNotification();
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationStation.java 197 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
200 if (sbn.getNotification().extras != null) {
201 info.title = sbn.getNotification().extras.getString(
204 info.title = sbn.getNotification().extras.getString(
209 info.title = sbn.getNotification().tickerText;
216 info.priority = sbn.getNotification().priority;
  /frameworks/support/v4/ics/android/support/v4/app/
NotificationCompatIceCreamSandwich.java 66 return b.getNotification();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NotificationImportExportListener.java 238 return builder.getNotification();
259 .getNotification();
282 .getNotification();
303 .getNotification();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
NotificationCompatUtils.java 80 // #getNotification was deprecated in API level 16, JELLY_BEAN
81 return builder.getNotification();
  /frameworks/base/core/java/android/service/notification/
StatusBarNotification.java 99 final String group = getNotification().getGroup();
100 final String sortKey = getNotification().getSortKey();
232 public Notification getNotification() {
NotificationListenerService.java 189 * result from {@link StatusBarNotification#getNotification} may be missing some heavyweight
210 * result from {@link StatusBarNotification#getNotification} may be missing some heavyweight
473 Notification notification = sbn.getNotification();
692 Notification.Builder.rebuild(getContext(), sbn.getNotification());
694 createLegacyIconExtras(sbn.getNotification());
    [all...]
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
SmsMessageReceiver.java 70 notificationManager.notify(notificationId, notification.getNotification());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java 226 notification.put(JSON_WHEN, sbn.getNotification().when);
227 notification.put(JSON_ICON, sbn.getNotification().icon);
228 notification.put(JSON_FLAGS, sbn.getNotification().flags);
  /packages/apps/Exchange/src/com/android/exchange/service/
AbstractSyncAdapterService.java 132 .getNotification();

Completed in 709 milliseconds

1 2 3