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

  /frameworks/base/services/core/java/com/android/server/notification/
NotificationRecord.java 47 final StatusBarNotification sbn; field in class:NotificationRecord
74 public NotificationRecord(StatusBarNotification sbn, int score)
76 this.sbn = sbn;
78 mOriginalFlags = sbn.getNotification().flags;
93 public Notification getNotification() { return sbn.getNotification(); }
94 public int getFlags() { return sbn.getNotification().flags; }
95 public UserHandle getUser() { return sbn.getUser(); }
96 public String getKey() { return sbn.getKey(); }
98 public int getUserId() { return sbn.getUserId();
    [all...]
NotificationComparator.java 35 final int leftScore = left.sbn.getScore();
36 final int rightScore = right.sbn.getScore();
PackagePriorityExtractor.java 43 record.sbn.getPackageName(), record.sbn.getUid());
PackageVisibilityExtractor.java 43 record.sbn.getPackageName(), record.sbn.getUid());
NotificationManagerService.java 535 StatusBarNotification sbn = r.sbn;
536 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
537 sbn.getId(), Notification.FLAG_AUTO_CANCEL,
1506 final StatusBarNotification sbn = mNotificationList.get(i).sbn; local
1585 final StatusBarNotification sbn = iter.next(); local
    [all...]
NotificationUsageStats.java 159 StatusBarNotification n = record.sbn;
538 writeEvent(r.sbn.getPostTime(), EVENT_TYPE_POST, r);
640 cv.put(COL_EVENT_USER_ID, r.sbn.getUser().getIdentifier());
672 outCv.put(COL_KEY, r.sbn.getKey());
673 outCv.put(COL_PKG, r.sbn.getPackageName());
677 outCv.put(COL_NOTIFICATION_ID, r.sbn.getId());
678 if (r.sbn.getTag() != null) {
679 outCv.put(COL_TAG, r.sbn.getTag());
681 outCv.put(COL_WHEN_MS, r.sbn.getPostTime());
ZenModeHelper.java 354 return record != null && (isDefaultPhoneApp(record.sbn.getPackageName())
374 return Objects.equals(defaultApp, record.sbn.getPackageName());
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
Listener.java 69 public Delta(StatusBarNotification sbn, RankingMap rankingMap) {
70 mSbn = sbn;
168 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
169 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0 &&
170 sbn.getNotification().contentIntent != null) {
172 sbn.getNotification().contentIntent.send();
174 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
185 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
186 if (sbn.getNotification().contentIntent != null) {
188 sbn.getNotification().contentIntent.send()
    [all...]
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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 211 StatusBarNotification sbn = entry.notification; local
213 if (shouldFilterOut(sbn)) {
217 if (sbn.getNotification().isGroupSummary()) {
218 mGroupsWithSummaries.add(sbn.getGroupKey());
228 StatusBarNotification sbn = ent.notification; local
229 if (sbn.getNotification().isGroupChild() &&
230 mGroupsWithSummaries.contains(sbn.getGroupKey())) {
243 boolean shouldFilterOut(StatusBarNotification sbn) {
245 showNotificationEvenIfUnprovisioned(sbn))) {
249 if (!mEnvironment.isNotificationForCurrentProfiles(sbn)) {
    [all...]
BaseStatusBar.java 364 for (StatusBarNotification sbn : notifications) {
365 addNotification(sbn, currentRanking);
372 public void onNotificationPosted(final StatusBarNotification sbn,
374 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn);
378 Notification n = sbn.getNotification();
379 boolean isUpdate = mNotificationData.get(sbn.getKey()) != null
380 || isHeadsUp(sbn.getKey());
386 mNotificationData.isGroupWithSummary(sbn.getGroupKey())) {
388 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn);
393 removeNotification(sbn.getKey(), rankingMap)
780 final StatusBarNotification sbn = row.getStatusBarNotification(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java 216 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
217 if (!mTestPackages.contains(sbn.getPackageName())) { return; }
218 Log.d(TAG, "posted: " + sbn.getTag());
219 mPosted.add(sbn.getTag());
222 notification.put(JSON_TAG, sbn.getTag());
223 notification.put(JSON_ID, sbn.getId());
224 notification.put(JSON_PACKAGE, sbn.getPackageName());
225 notification.put(JSON_WHEN, sbn.getNotification().when);
226 notification.put(JSON_ICON, sbn.getNotification().icon);
227 notification.put(JSON_FLAGS, sbn.getNotification().flags)
    [all...]
  /frameworks/base/core/java/android/service/notification/
NotificationListenerService.java 136 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
140 public void onNotificationPosted(StatusBarNotification sbn) {
147 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
153 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
154 onNotificationPosted(sbn);
170 * @param sbn A data structure encapsulating at least the original information (tag and id)
174 public void onNotificationRemoved(StatusBarNotification sbn) {
191 * @param sbn A data structure encapsulating at least the original information (tag and id)
198 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
199 onNotificationRemoved(sbn);
608 StatusBarNotification sbn; local
630 StatusBarNotification sbn; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationStation.java 187 for (StatusBarNotification sbn : resultset) {
189 info.pkg = sbn.getPackageName();
190 info.user = sbn.getUserId();
191 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
194 if (sbn.getNotification().extras != null) {
195 info.title = sbn.getNotification().extras.getString(
198 info.title = sbn.getNotification().extras.getString(
203 info.title = sbn.getNotification().tickerText;
209 info.timestamp = sbn.getPostTime();
210 info.priority = sbn.getNotification().priority
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBar.java     [all...]
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 324 milliseconds