/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | BadgeExtractorTest.java | 92 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); 97 assertFalse(r.canShowBadge()); 106 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); 111 assertFalse(r.canShowBadge()); 120 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); 125 assertTrue(r.canShowBadge()); 134 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); 139 assertFalse(r.canShowBadge()); 148 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); 153 assertFalse(r.canShowBadge()); [all...] |
H A D | RankingHelperTest.java | 395 assertTrue(mHelper.canShowBadge(PKG, UID)); 464 assertTrue(mHelper.canShowBadge(PKG, UID)); 819 assertTrue(mHelper.canShowBadge(PKG, UID)); 837 assertFalse(mHelper.canShowBadge(PKG, UID)); 849 assertTrue(mHelper.canShowBadge(PKG, UID)); 862 assertTrue(mHelper.canShowBadge(PKG, UID)); 898 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); 927 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); [all...] |
H A D | NotificationListenerServiceTest.java | 91 assertEquals(getShowBadge(i), ranking.canShowBadge());
|
H A D | NotificationManagerServiceTest.java | 377 r.setShowBadge(!r.canShowBadge());
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | BadgeExtractor.java | 48 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid()); 53 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge);
|
H A D | RankingConfig.java | 30 boolean canShowBadge(String packageName, int uid); method in interface:RankingConfig
|
H A D | RankingHelper.java | 544 public boolean canShowBadge(String packageName, int uid) { method in class:RankingHelper 721 r.showBadge = updatedChannel.canShowBadge(); 1075 if (original.canShowBadge() != update.canShowBadge()) {
|
H A D | NotificationRecord.java | 917 public boolean canShowBadge() { method in class:NotificationRecord
|
H A D | NotificationManagerService.java | 2182 public boolean canShowBadge(String pkg, int uid) { 2184 return mRankingHelper.canShowBadge(pkg, uid); 5187 showBadges[i] = r.canShowBadge(); 5201 || showBadges[i] != r.canShowBadge() 6215 showBadge.putBoolean(key, record.canShowBadge());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationDataTest.java | 404 outRanking.canShowBadge(), outRanking.getUserSentiment(), true); 411 outRanking.canShowBadge(), outRanking.getUserSentiment(), true); 418 outRanking.canShowBadge(), outRanking.getUserSentiment(), false);
|
/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 558 public boolean canShowBadge() { method in class:NotificationChannel 749 if (canShowBadge()) { 750 out.attribute(null, ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); 799 record.put(ATT_SHOW_BADGE, Boolean.toString(canShowBadge()));
|
H A D | INotificationManager.aidl | 55 boolean canShowBadge(String pkg, int uid);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 1563 public boolean canShowBadge() { method in class:NotificationListenerService.Ranking
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | [all...] |