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

1 2 3 4

  /external/robolectric/v1/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...]
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationComparator.java 43 final int leftPriority = left.sbn.getNotification().priority;
44 final int rightPriority = right.sbn.getNotification().priority;
NotificationIntrusivenessExtractor.java 42 if (record == null || record.getNotification() == null) {
48 final Notification notification = record.getNotification();
ImportanceExtractor.java 35 if (record == null || record.getNotification() == null) {
PriorityExtractor.java 35 if (record == null || record.getNotification() == null) {
VisibilityExtractor.java 35 if (record == null || record.getNotification() == null) {
NotificationRecord.java 108 mOriginalFlags = sbn.getNotification().flags;
118 final Notification n = sbn.getNotification();
185 public Notification getNotification() { return sbn.getNotification(); }
186 public int getFlags() { return sbn.getNotification().flags; }
193 final Notification notification = sbn.getNotification();
316 this.sbn.getNotification());
421 return Objects.equals(getNotification().category, category);
425 return getNotification().audioStreamType == stream;
429 final AudioAttributes attributes = getNotification().audioAttributes
    [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/packages/SystemUI/src/com/android/systemui/statusbar/notification/
NotificationBigPictureTemplateViewWrapper.java 45 final Bundle extras = notification.getNotification().extras;
  /external/robolectric/v1/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/
NotificationOverflowIconsView.java 59 notification.notification.getNotification());
63 applyColor(notification.notification.getNotification(), v);
NotificationData.java 123 notification.getNotification().extras.getBoolean(
138 = Notification.Builder.recoverBuilder(ctx, notification.getNotification());
232 return (int) (nb.getNotification().when - na.getNotification().when);
384 (sbn.getNotification().visibility == Notification.VISIBILITY_SECRET
416 && sbn.getNotification().extras.getBoolean(Notification.EXTRA_ALLOW_DURING_SETUP);
452 pw.println(" notification=" + n.getNotification());
454 pw.println(" tickerText=\"" + n.getNotification().tickerText + "\"");
  /frameworks/support/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());
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationSecurityTests.java 68 Log.i(LOG_TAG, sbn.getNotification().extras.getString(Notification.EXTRA_TITLE));
70 String sentTitle = sbn.getNotification().extras.getString(Notification.EXTRA_TITLE);
  /frameworks/base/core/java/android/service/notification/
StatusBarNotification.java 120 if (overrideGroupKey != null && getNotification().isGroupSummary()) {
130 final String group = getNotification().getGroup();
131 final String sortKey = getNotification().getSortKey();
157 if (getNotification().getGroup() != null || getNotification().getSortKey() != null) {
289 public Notification getNotification() {
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
Listener.java 207 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0 &&
208 sbn.getNotification().contentIntent != null) {
210 sbn.getNotification().contentIntent.send();
224 if (sbn.getNotification().contentIntent != null) {
226 sbn.getNotification().contentIntent.send();
231 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationGroupManager.java 151 && group.summary.notification.getNotification().isGroupSummary()
211 return isGroupSuppressed(getGroupKey(sbn)) && sbn.getNotification().isGroupSummary();
215 return !sbn.getNotification().isGroupSummary()
342 return sbn.getNotification().isGroupSummary();
349 return sbn.isGroup() && !sbn.getNotification().isGroupSummary();
405 || !sbn.getNotification().isGroupSummary()
430 return (sbn.isGroup() && !sbn.getNotification().isGroupSummary())
431 && (sbn.getNotification().fullScreenIntent != null
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServerService.java 85 getNotification();
  /frameworks/support/compat/honeycomb/android/support/v4/app/
NotificationCompatHoneycomb.java 52 return b.getNotification();
  /frameworks/base/packages/Shell/tests/src/com/android/shell/
UiBot.java 51 public UiObject getNotification(String text) {
66 UiObject notification = getNotification(text);
  /frameworks/support/compat/ics/android/support/v4/app/
NotificationCompatIceCreamSandwich.java 66 return b.getNotification();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NotificationImportExportListener.java 237 return builder.getNotification();
258 .getNotification();
290 .getNotification();
311 .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();
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyNotificationListenerService.java 47 final Notification notification = sbn.getNotification();
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
SmsMessageReceiver.java 70 notificationManager.notify(notificationId, notification.getNotification());

Completed in 1380 milliseconds

1 2 3 4