/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 152 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo() 157 assertFalse(r.canShowBadge()); in testAppYesChannelNo() 166 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes() 171 assertFalse(r.canShowBadge()); in testAppNoChannelYes() 180 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYes() 185 assertTrue(r.canShowBadge()); in testAppYesChannelYes() 194 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelNo() 199 assertFalse(r.canShowBadge()); in testAppNoChannelNo() 208 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYesUserNo() 213 assertFalse(r.canShowBadge()); in testAppYesChannelYesUserNo() [all …]
|
D | NotificationListenerServiceTest.java | 114 assertEquals(getShowBadge(i), ranking.canShowBadge()); in testRanking() 183 tweak.canShowBadge(), in testRankingUpdate_equals() 428 assertEquals(comment, a.canShowBadge(), b.canShowBadge()); in detailedAssertEquals()
|
D | PreferencesHelperTest.java | 417 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXml() 491 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXmlForBackup() 863 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields() 881 assertFalse(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields() 894 assertTrue(mHelper.canShowBadge(PKG_O, UID_O)); in testUpdate_postUpgrade_noUpdateAppFields() 907 assertTrue(mHelper.canShowBadge(PKG_O, UID_O)); in testUpdate_postUpgrade_noUpdateAppFields() 921 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 944 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 982 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFields() 1013 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFieldsAssistant() [all …]
|
D | NotificationManagerServiceTest.java | 678 r.setShowBadge(!r.canShowBadge()); in getSignalExtractorSideEffects() 6494 original.setShowBadge(!original.canShowBadge()); in createConversationNotificationChannel() 6516 assertEquals(original.canShowBadge(), friendChannel.canShowBadge()); in createConversationNotificationChannel()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | BadgeExtractor.java | 49 mConfig.canShowBadge(record.getSbn().getPackageName(), record.getSbn().getUid()); in process() 54 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
|
D | RankingConfig.java | 30 boolean canShowBadge(String packageName, int uid); in canShowBadge() method
|
D | PreferencesHelper.java | 644 public boolean canShowBadge(String packageName, int uid) { in canShowBadge() method in PreferencesHelper 985 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel() 1785 if (original.canShowBadge() != update.canShowBadge()) { in lockFieldsForUpdateLocked()
|
D | NotificationRecord.java | 1045 public boolean canShowBadge() { in canShowBadge() method in NotificationRecord
|
D | NotificationManagerService.java | 3175 public boolean canShowBadge(String pkg, int uid) { 3177 return mPreferencesHelper.canShowBadge(pkg, uid); 7345 showBadges[i] = r.canShowBadge(); 7364 || showBadges[i] != r.canShowBadge() 8528 record.canShowBadge(),
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 75 mCanShowBadge = ranking.canShowBadge(); in RankingBuilder() 164 public RankingBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument 165 mCanShowBadge = canShowBadge; in setCanShowBadge()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 231 public NotificationEntryBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument 232 mRankingBuilder.setCanShowBadge(canShowBadge); in setCanShowBadge()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 703 public boolean canShowBadge() { in canShowBadge() method in NotificationChannel 1013 if (canShowBadge()) { in writeXml() 1014 out.attribute(null, ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in writeXml() 1084 record.put(ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in toJson()
|
D | INotificationManager.aidl | 60 boolean canShowBadge(String pkg, int uid); in canShowBadge() method
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 1795 public boolean canShowBadge() { in canShowBadge() method in NotificationListenerService.Ranking
|
/frameworks/base/config/ |
D | boot-profile.txt | 645 Landroid/app/NotificationChannel;->canShowBadge()Z
|
D | boot-image-profile.txt | 2736 HSPLandroid/app/NotificationChannel;->canShowBadge()Z
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/services/ |
D | art-profile | 21281 PLcom/android/server/notification/NotificationManagerService$10;->canShowBadge(Ljava/lang/String;I)Z 21868 HSPLcom/android/server/notification/NotificationRecord;->canShowBadge()Z 22109 HSPLcom/android/server/notification/PreferencesHelper;->canShowBadge(Ljava/lang/String;I)Z
|
/frameworks/base/api/ |
D | current.txt | 5935 method public boolean canShowBadge(); 43865 method public boolean canShowBadge();
|