Searched refs:canShowBadge (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBadgeExtractorTest.java92 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 DRankingHelperTest.java395 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 DNotificationListenerServiceTest.java91 assertEquals(getShowBadge(i), ranking.canShowBadge());
H A DNotificationManagerServiceTest.java377 r.setShowBadge(!r.canShowBadge());
/frameworks/base/services/core/java/com/android/server/notification/
H A DBadgeExtractor.java48 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid());
53 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge);
H A DRankingConfig.java30 boolean canShowBadge(String packageName, int uid); method in interface:RankingConfig
H A DRankingHelper.java544 public boolean canShowBadge(String packageName, int uid) { method in class:RankingHelper
721 r.showBadge = updatedChannel.canShowBadge();
1075 if (original.canShowBadge() != update.canShowBadge()) {
H A DNotificationRecord.java917 public boolean canShowBadge() { method in class:NotificationRecord
H A DNotificationManagerService.java2182 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 DNotificationDataTest.java404 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 DNotificationChannel.java558 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 DINotificationManager.aidl55 boolean canShowBadge(String pkg, int uid);
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java1563 public boolean canShowBadge() { method in class:NotificationListenerService.Ranking
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 261 milliseconds