Home
last modified time | relevance | path

Searched refs:showBadge (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java204 r.showBadge = XmlUtils.readBooleanAttribute( in readXml()
305 int importance, int priority, int visibility, boolean showBadge, boolean allowBubble) { in getOrCreatePackagePreferencesLocked() argument
317 r.showBadge = showBadge; in getOrCreatePackagePreferencesLocked()
423 || r.showBadge != DEFAULT_SHOW_BADGE in writeXml()
444 out.attribute(null, ATT_SHOW_BADGE, Boolean.toString(r.showBadge)); in writeXml()
553 return getOrCreatePackagePreferencesLocked(packageName, uid).showBadge; in canShowBadge()
558 public void setShowBadge(String packageName, int uid, boolean showBadge) { in setShowBadge() argument
560 getOrCreatePackagePreferencesLocked(packageName, uid).showBadge = showBadge; in setShowBadge()
735 if (!r.showBadge) { in createNotificationChannel()
799 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel()
[all …]
DRankingConfig.java29 void setShowBadge(String packageName, int uid, boolean showBadge); in setShowBadge() argument
DNotificationRecord.java975 public void setShowBadge(boolean showBadge) { in setShowBadge() argument
976 mShowBadge = showBadge; in setShowBadge()
DNotificationManagerService.java2637 public void setShowBadge(String pkg, int uid, boolean showBadge) {
2639 mPreferencesHelper.setShowBadge(pkg, uid, showBadge);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java64 private NotificationRecord getNotificationRecord(boolean showBadge, int importanceHigh) { in getNotificationRecord() argument
66 channel.setShowBadge(showBadge); in getNotificationRecord()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl58 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() argument
DNotificationChannel.java387 public void setShowBadge(boolean showBadge) { in setShowBadge() argument
388 this.mShowBadge = showBadge; in setShowBadge()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1787 ArrayList<SnoozeCriterion> snoozeCriteria, boolean showBadge, in populate() argument
1804 mShowBadge = showBadge; in populate()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java589 private RemoteViews createMaskedWidgetRemoteViews(Bitmap icon, boolean showBadge, in createMaskedWidgetRemoteViews() argument
596 if (!showBadge) { in createMaskedWidgetRemoteViews()
620 final boolean showBadge; in maskWidgetsViewsLocked()
626 showBadge = userInfo.isManagedProfile(); in maskWidgetsViewsLocked()
639 showBadge = true; in maskWidgetsViewsLocked()
643 showBadge = true; in maskWidgetsViewsLocked()
659 RemoteViews views = createMaskedWidgetRemoteViews(iconBitmap, showBadge, intent); in maskWidgetsViewsLocked()