/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 199 r.showBadge = XmlUtils.readBooleanAttribute( in readXml() 269 int visibility, boolean showBadge) { in getOrCreateRecord() argument 281 r.showBadge = showBadge; in getOrCreateRecord() 372 || r.showBadge != DEFAULT_SHOW_BADGE || r.channels.size() > 0 in writeXml() 386 out.attribute(null, ATT_SHOW_BADGE, Boolean.toString(r.showBadge)); in writeXml() 495 return getOrCreateRecord(packageName, uid).showBadge; in canShowBadge() 499 public void setShowBadge(String packageName, int uid, boolean showBadge) { in setShowBadge() argument 500 getOrCreateRecord(packageName, uid).showBadge = showBadge; in setShowBadge() 587 if (!r.showBadge) { in createNotificationChannel() 629 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel() [all …]
|
D | RankingConfig.java | 29 void setShowBadge(String packageName, int uid, boolean showBadge); in setShowBadge() argument
|
D | NotificationRecord.java | 846 public void setShowBadge(boolean showBadge) { in setShowBadge() argument 847 mShowBadge = showBadge; in setShowBadge()
|
D | NotificationManagerService.java | 1797 public void setShowBadge(String pkg, int uid, boolean showBadge) { 1799 mRankingHelper.setShowBadge(pkg, uid, showBadge); 5257 Bundle showBadge = new Bundle(); 5282 showBadge.putBoolean(key, record.canShowBadge()); 5293 channels, overridePeople, snoozeCriteria, showBadge);
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 75 Bundle showBadge = new Bundle(); in generateUpdate() local 91 showBadge.putBoolean(key, getShowBadge(i)); in generateUpdate() 96 channels, overridePeople, snoozeCriteria, showBadge); in generateUpdate()
|
D | BadgeExtractorTest.java | 61 private NotificationRecord getNotificationRecord(boolean showBadge, int importanceHigh) { in getNotificationRecord() argument 63 channel.setShowBadge(showBadge); in getNotificationRecord()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationRankingUpdate.java | 43 Bundle showBadge) { in NotificationRankingUpdate() argument 54 mShowBadge = showBadge; in NotificationRankingUpdate()
|
D | NotificationListenerService.java | 1474 ArrayList<SnoozeCriterion> snoozeCriteria, boolean showBadge) { in populate() argument 1487 mShowBadge = showBadge; in populate() 1676 Boolean showBadge = mShowBadge.get(key); in getShowBadge() local 1677 return showBadge == null ? false : showBadge.booleanValue(); in getShowBadge() 1772 Bundle showBadge = mRankingUpdate.getShowBadge(); in buildShowBadgeLocked() local 1773 mShowBadge = new ArrayMap<>(showBadge.size()); in buildShowBadgeLocked() 1774 for (String key : showBadge.keySet()) { in buildShowBadgeLocked() 1775 mShowBadge.put(key, showBadge.getBoolean(key)); in buildShowBadgeLocked()
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 52 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() argument
|
D | NotificationChannel.java | 342 public void setShowBadge(boolean showBadge) { in setShowBadge() argument 343 this.mShowBadge = showBadge; in setShowBadge()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 572 private RemoteViews createMaskedWidgetRemoteViews(Bitmap icon, boolean showBadge, in createMaskedWidgetRemoteViews() argument 579 if (!showBadge) { in createMaskedWidgetRemoteViews() 603 final boolean showBadge; in maskWidgetsViewsLocked() 609 showBadge = userInfo.isManagedProfile(); in maskWidgetsViewsLocked() 613 showBadge = true; in maskWidgetsViewsLocked() 617 showBadge = true; in maskWidgetsViewsLocked() 633 RemoteViews views = createMaskedWidgetRemoteViews(iconBitmap, showBadge, intent); in maskWidgetsViewsLocked()
|