/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 92 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo() 97 assertFalse(r.canShowBadge()); in testAppYesChannelNo() 106 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes() 111 assertFalse(r.canShowBadge()); in testAppNoChannelYes() 120 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYes() 125 assertTrue(r.canShowBadge()); in testAppYesChannelYes() 134 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelNo() 139 assertFalse(r.canShowBadge()); in testAppNoChannelNo() 148 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYesUserNo() 153 assertFalse(r.canShowBadge()); in testAppYesChannelYesUserNo() [all …]
|
D | NotificationListenerServiceTest.java | 112 assertEquals(getShowBadge(i), ranking.canShowBadge()); in testRanking() 179 tweak.canShowBadge(), in testRankingUpdate_equals() 399 assertEquals(comment, a.canShowBadge(), b.canShowBadge()); in detailedAssertEquals()
|
D | PreferencesHelperTest.java | 354 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXml() 425 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXmlForBackup() 791 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields() 809 assertFalse(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields() 822 assertTrue(mHelper.canShowBadge(PKG_O, UID_O)); in testUpdate_postUpgrade_noUpdateAppFields() 835 assertTrue(mHelper.canShowBadge(PKG_O, UID_O)); in testUpdate_postUpgrade_noUpdateAppFields() 849 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 872 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 910 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFields() 941 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFieldsAssistant() [all …]
|
D | NotificationManagerServiceTest.java | 518 r.setShowBadge(!r.canShowBadge()); in getSignalExtractorSideEffects()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | BadgeExtractor.java | 48 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid()); in process() 53 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
|
D | RankingConfig.java | 30 boolean canShowBadge(String packageName, int uid); in canShowBadge() method
|
D | PreferencesHelper.java | 551 public boolean canShowBadge(String packageName, int uid) { in canShowBadge() method in PreferencesHelper 799 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel() 1429 if (original.canShowBadge() != update.canShowBadge()) { in lockFieldsForUpdateLocked()
|
D | NotificationRecord.java | 987 public boolean canShowBadge() { in canShowBadge() method in NotificationRecord
|
D | NotificationManagerService.java | 2631 public boolean canShowBadge(String pkg, int uid) { 2633 return mPreferencesHelper.canShowBadge(pkg, uid); 6431 showBadges[i] = r.canShowBadge(); 6449 || showBadges[i] != r.canShowBadge() 7512 record.canShowBadge(),
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 600 public boolean canShowBadge() { in canShowBadge() method in NotificationChannel 842 if (canShowBadge()) { in writeXml() 843 out.attribute(null, ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in writeXml() 898 record.put(ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in toJson()
|
D | INotificationManager.aidl | 59 boolean canShowBadge(String pkg, int uid); in canShowBadge() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 675 overrides.getBoolean(OVERRIDE_BADGE, outRanking.canShowBadge()), in getRanking()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 1734 public boolean canShowBadge() { in canShowBadge() method in NotificationListenerService.Ranking
|
/frameworks/base/services/ |
D | art-profile | 9360 PLcom/android/server/notification/NotificationManagerService$10;->canShowBadge(Ljava/lang/String;I)Z 9763 HSPLcom/android/server/notification/PreferencesHelper;->canShowBadge(Ljava/lang/String;I)Z
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 5759 method public boolean canShowBadge(); 41990 method public boolean canShowBadge();
|
/frameworks/base/api/ |
D | current.txt | 5759 method public boolean canShowBadge(); 42134 method public boolean canShowBadge();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 42427 HSPLandroid/service/notification/NotificationListenerService$Ranking;->canShowBadge()Z
|
D | hiddenapi-greylist-max-o.txt | 6425 Landroid/app/INotificationManager$Stub$Proxy;->canShowBadge(Ljava/lang/String;I)Z 6619 Landroid/app/INotificationManager;->canShowBadge(Ljava/lang/String;I)Z
|