HomeSort by relevance Sort by last modified time
    Searched defs:sbn (Results 1 - 12 of 12) sorted by null

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java 217 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
218 if (!mTestPackages.contains(sbn.getPackageName())) { return; }
219 Log.d(TAG, "posted: " + sbn.getTag());
220 mPosted.add(sbn.getTag());
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);
227 notification.put(JSON_ICON, sbn.getNotification().icon);
228 notification.put(JSON_FLAGS, sbn.getNotification().flags)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationGroupManager.java 42 public boolean isGroupExpanded(StatusBarNotification sbn) {
43 NotificationGroup group = mGroupMap.get(sbn.getGroupKey());
50 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) {
51 NotificationGroup group = mGroupMap.get(sbn.getGroupKey());
73 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal
77 final StatusBarNotification sbn) {
78 Notification notif = sbn.getNotification();
79 String groupKey = sbn.getGroupKey();
104 setGroupExpanded(sbn, false);
116 StatusBarNotification sbn = added.notification local
    [all...]
PhoneStatusBar.java 2075 final StatusBarNotification sbn = entry.entry.notification; local
    [all...]
  /frameworks/base/core/java/android/service/notification/
NotificationListenerService.java 161 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
165 public void onNotificationPosted(StatusBarNotification sbn) {
172 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
178 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
179 onNotificationPosted(sbn);
195 * @param sbn A data structure encapsulating at least the original information (tag and id)
199 public void onNotificationRemoved(StatusBarNotification sbn) {
216 * @param sbn A data structure encapsulating at least the original information (tag and id)
223 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
224 onNotificationRemoved(sbn);
472 StatusBarNotification sbn = list.get(i); local
683 StatusBarNotification sbn; local
720 StatusBarNotification sbn; local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 243 StatusBarNotification sbn = entry.notification; local
245 if (shouldFilterOut(sbn)) {
255 boolean shouldFilterOut(StatusBarNotification sbn) {
257 showNotificationEvenIfUnprovisioned(sbn))) {
261 if (!mEnvironment.isNotificationForCurrentProfiles(sbn)) {
265 if (sbn.getNotification().visibility == Notification.VISIBILITY_SECRET &&
266 mEnvironment.shouldHideSensitiveContents(sbn.getUserId())) {
271 && mGroupManager.isChildInGroupWithSummary(sbn)) {
294 public static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) {
295 return "android".equals(sbn.getPackageName()
    [all...]
BaseStatusBar.java 454 for (StatusBarNotification sbn : notifications) {
455 addNotification(sbn, currentRanking, null /* oldEntry */);
462 public void onNotificationPosted(final StatusBarNotification sbn,
464 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn);
465 if (sbn != null) {
470 String key = sbn.getKey();
478 && mGroupManager.isChildInGroupWithSummary(sbn)) {
480 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn);
492 updateNotification(sbn, rankingMap);
494 addNotification(sbn, rankingMap, null /* oldEntry */)
895 final StatusBarNotification sbn = row.getStatusBarNotification(); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationRecord.java 49 final StatusBarNotification sbn; field in class:NotificationRecord
87 public NotificationRecord(StatusBarNotification sbn, int score)
89 this.sbn = sbn;
91 mOriginalFlags = sbn.getNotification().flags;
93 mCreationTimeMs = sbn.getPostTime();
110 public Notification getNotification() { return sbn.getNotification(); }
111 public int getFlags() { return sbn.getNotification().flags; }
112 public UserHandle getUser() { return sbn.getUser(); }
113 public String getKey() { return sbn.getKey();
    [all...]
NotificationManagerService.java 540 StatusBarNotification sbn = r.sbn;
541 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
542 sbn.getId(), Notification.FLAG_AUTO_CANCEL,
1899 final StatusBarNotification sbn = iter.next(); local
2229 StatusBarNotification sbn = r.sbn; local
2284 StatusBarNotification sbn = r.sbn; local
    [all...]
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
NotificationListenerActivity.java 123 StatusBarNotification sbn = (StatusBarNotification) tag; local
124 Log.d(TAG, " on " + sbn.getKey());
127 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
135 StatusBarNotification sbn = (StatusBarNotification) tag; local
136 Log.d(TAG, " on " + sbn.getKey());
139 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
187 final StatusBarNotification sbn = mNotifications.get(position); local
188 final String key = sbn.getKey();
203 StatusBarNotification sbn = mNotifications.get(position); local
209 if (sbn.getKey().equals(mUpdateKey))
    [all...]
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 419 milliseconds