/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 | NotificationRecordExtractorDataTest.java | 45 r.canShowBadge(), in testHasDiffs_noDiffs() 73 r.canShowBadge(), in testHasDiffs_proposedImportanceChange() 107 r.canShowBadge(), in testHasDiffs_autoBundled() 142 r.canShowBadge(), in testHasDiffs_sensitiveContentChange()
|
D | PreferencesHelperTest.java | 624 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXml() 701 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testChannelXmlForBackup() 783 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testReadXml_oldXml_migrates() 862 assertTrue(mXmlHelper.canShowBadge("pkg1", 11)); in testReadXml_oldXml_backup_migratesWhenPkgInstalled() 915 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testReadXml_newXml_noMigration_showPermissionNotification() 974 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testReadXml_newXml_permissionNotificationOff() 1033 assertTrue(mXmlHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testReadXml_newXml_noMigration_noPermissionNotification() 1548 assertThat(channel.canShowBadge()).isTrue(); in testRestoreXml_delayedRestore() 1603 assertThat(channel.canShowBadge()).isTrue(); in testRestoreXml_delayedRestore_afterReboot() 2061 assertTrue(mHelper.canShowBadge(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields() [all …]
|
D | NotificationListenerServiceTest.java | 159 assertEquals(getShowBadge(i), ranking.canShowBadge()); in testRanking()
|
D | NotificationManagerServiceTest.java | 1199 r.setShowBadge(!r.canShowBadge()); in getSignalExtractorSideEffects() 11136 original.setShowBadge(!original.canShowBadge()); 11158 assertEquals(original.canShowBadge(), friendChannel.canShowBadge());
|
/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 | 28 boolean canShowBadge(String packageName, int uid); in canShowBadge() method
|
D | NotificationRecordExtractorData.java | 83 || mShowBadge != r.canShowBadge() in hasDiffForRankingLocked()
|
D | PreferencesHelper.java | 770 public boolean canShowBadge(String packageName, int uid) { in canShowBadge() method in PreferencesHelper 1168 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel() 1282 && oldParent.canShowBadge() != updatedParent.canShowBadge()) { in maybeUpdateChildConversationChannel() 1283 conversation.setShowBadge(updatedParent.canShowBadge()); in maybeUpdateChildConversationChannel() 2038 if (original.canShowBadge() != update.canShowBadge()) { in lockFieldsForUpdateLocked()
|
D | NotificationRecord.java | 1189 public boolean canShowBadge() { in canShowBadge() method in NotificationRecord
|
D | NotificationManagerService.java | 3987 public boolean canShowBadge(String pkg, int uid) { 3989 return mPreferencesHelper.canShowBadge(pkg, uid); 9404 r.canShowBadge(), 10643 record.canShowBadge(),
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 80 mCanShowBadge = ranking.canShowBadge(); in RankingBuilder() 175 public RankingBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument 176 mCanShowBadge = canShowBadge; in setCanShowBadge()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 300 public NotificationEntryBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument 301 mRankingBuilder.setCanShowBadge(canShowBadge); in setCanShowBadge()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 382 Assert.assertEquals(comment, a.canShowBadge(), b.canShowBadge()); in detailedAssertEquals() 539 tweak.canShowBadge(), in testRankingUpdate_equals_legacy()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 926 public boolean canShowBadge() { in canShowBadge() method in NotificationChannel 1342 if (canShowBadge()) { in writeXml() 1343 out.attributeBoolean(null, ATT_SHOW_BADGE, canShowBadge()); in writeXml() 1419 record.put(ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in toJson()
|
D | INotificationManager.aidl | 66 boolean canShowBadge(String pkg, int uid); in canShowBadge() method
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 2057 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 | 2308 HSPLandroid/app/NotificationChannel;->canShowBadge()Z
|
/frameworks/base/services/ |
D | art-wear-profile | 16235 HPLcom/android/server/notification/NotificationRecord;->canShowBadge()Z 16376 PLcom/android/server/notification/PreferencesHelper;->canShowBadge(Ljava/lang/String;I)Z
|
/frameworks/base/core/api/ |
D | current.txt | 6933 method public boolean canShowBadge(); 41238 method public boolean canShowBadge();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2308 HSPLandroid/app/NotificationChannel;->canShowBadge()Z
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 6422 Landroid/app/INotificationManager$Stub$Proxy;->canShowBadge(Ljava/lang/String;I)Z 6616 Landroid/app/INotificationManager;->canShowBadge(Ljava/lang/String;I)Z
|