Home
last modified time | relevance | path

Searched refs:canShowBadge (Results 1 – 23 of 23) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBadgeExtractorTest.java157 assertFalse(r.canShowBadge()); in testAppYesChannelNo()
171 assertFalse(r.canShowBadge()); in testAppNoChannelYes()
185 assertTrue(r.canShowBadge()); in testAppYesChannelYes()
199 assertFalse(r.canShowBadge()); in testAppNoChannelNo()
213 assertFalse(r.canShowBadge()); in testAppYesChannelYesUserNo()
227 assertFalse(r.canShowBadge()); in testHideNotifOverridesYes()
257 assertTrue(r.canShowBadge()); in testHideMediaNotifDisabledOverridesNo()
272 assertTrue(r.canShowBadge()); in testHideMediaNotifNoSessionOverridesNo()
287 assertTrue(r.canShowBadge()); in testHideMediaNotifNotMediaStyleOverridesNo()
319 assertTrue(r.canShowBadge()); in testDndOConsidersInterception()
[all …]
H A DNotificationRecordExtractorDataTest.java45 r.canShowBadge(), in testHasDiffs_noDiffs()
73 r.canShowBadge(), in testHasDiffs_proposedImportanceChange()
107 r.canShowBadge(), in testHasDiffs_autoBundled()
142 r.canShowBadge(), in testHasDiffs_sensitiveContentChange()
H A DPreferencesHelperTest.java1987 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFields()
2019 assertEquals(channel.canShowBadge(), savedChannel.canShowBadge()); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
3260 mHelper.canShowBadge(PKG_O, UID_O); in testDumpJson_givenNullInput_postMigration()
3261 mHelper.canShowBadge(PKG_P, UID_P); in testDumpJson_givenNullInput_postMigration()
3287 mHelper.canShowBadge(PKG_O, UID_O); in testDumpBansJson_postPermissionMigration()
3325 mHelper.canShowBadge(PKG_O, UID_O); in testDumpString_postPermissionMigration()
3326 mHelper.canShowBadge(PKG_P, UID_P); in testDumpString_postPermissionMigration()
3361 mHelper.canShowBadge(PKG_O, UID_O); in testDumpString_givenNullInput()
3362 mHelper.canShowBadge(PKG_P, UID_P); in testDumpString_givenNullInput()
3386 mHelper.canShowBadge(PKG_O, UID_O); in testDumpProto_postPermissionMigration()
[all …]
H A DNotificationListenerServiceTest.java147 assertEquals(getShowBadge(i), ranking.canShowBadge()); in testRanking()
217 tweak.canShowBadge(), in testRankingUpdate_equals()
480 assertEquals(comment, a.canShowBadge(), b.canShowBadge()); in detailedAssertEquals()
H A DNotificationManagerServiceTest.java957 r.setShowBadge(!r.canShowBadge()); in getSignalExtractorSideEffects()
9853 original.setShowBadge(!original.canShowBadge());
9875 assertEquals(original.canShowBadge(), friendChannel.canShowBadge());
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DBadgeExtractor.java49 mConfig.canShowBadge(record.getSbn().getPackageName(), record.getSbn().getUid()); in process()
54 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
H A DRankingConfig.java28 boolean canShowBadge(String packageName, int uid); in canShowBadge() method
H A DNotificationRecordExtractorData.java83 || mShowBadge != r.canShowBadge() in hasDiffForRankingLocked()
H A DPreferencesHelper.java710 public boolean canShowBadge(String packageName, int uid) { in canShowBadge() method in PreferencesHelper
1108 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel()
1220 && oldParent.canShowBadge() != updatedParent.canShowBadge()) { in maybeUpdateChildConversationChannel()
1221 conversation.setShowBadge(updatedParent.canShowBadge()); in maybeUpdateChildConversationChannel()
1975 if (original.canShowBadge() != update.canShowBadge()) { in lockFieldsForUpdateLocked()
H A DNotificationRecord.java1157 public boolean canShowBadge() { in canShowBadge() method in NotificationRecord
H A DNotificationManagerService.java3757 public boolean canShowBadge(String pkg, int uid) {
3759 return mPreferencesHelper.canShowBadge(pkg, uid);
9010 r.canShowBadge(),
10282 record.canShowBadge(),
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
H A DRankingBuilder.java80 mCanShowBadge = ranking.canShowBadge(); in RankingBuilder()
175 public RankingBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument
176 mCanShowBadge = canShowBadge; in setCanShowBadge()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntryBuilder.java283 public NotificationEntryBuilder setCanShowBadge(boolean canShowBadge) { in setCanShowBadge() argument
284 mRankingBuilder.setCanShowBadge(canShowBadge); in setCanShowBadge()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannel.java784 public boolean canShowBadge() { in canShowBadge() method in NotificationChannel
1168 if (canShowBadge()) { in writeXml()
1169 out.attributeBoolean(null, ATT_SHOW_BADGE, canShowBadge()); in writeXml()
1242 record.put(ATT_SHOW_BADGE, Boolean.toString(canShowBadge())); in toJson()
H A DINotificationManager.aidl63 boolean canShowBadge(String pkg, int uid); in canShowBadge() method
/aosp14/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java2023 public boolean canShowBadge() { in canShowBadge() method in NotificationListenerService.Ranking
/aosp14/frameworks/base/config/
H A Dboot-profile.txt645 Landroid/app/NotificationChannel;->canShowBadge()Z
H A Dboot-image-profile.txt2333 HSPLandroid/app/NotificationChannel;->canShowBadge()Z
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/services/
H A Dart-profile5237 HSPLcom/android/server/notification/NotificationRecord;->canShowBadge()Z
5323 HSPLcom/android/server/notification/PreferencesHelper;->canShowBadge(Ljava/lang/String;I)Z+]Lcom/an…
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6725 method public boolean canShowBadge();
40980 method public boolean canShowBadge();
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt2333 HSPLandroid/app/NotificationChannel;->canShowBadge()Z
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt6422 Landroid/app/INotificationManager$Stub$Proxy;->canShowBadge(Ljava/lang/String;I)Z
6616 Landroid/app/INotificationManager;->canShowBadge(Ljava/lang/String;I)Z