Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/ui/
DNotificationChannelManager.java81 boolean canShowBadge = false; in createChannel()
89 canShowBadge = false; in createChannel()
97 canShowBadge = true; in createChannel()
105 canShowBadge = false; in createChannel()
113 canShowBadge = false; in createChannel()
121 canShowBadge = true; in createChannel()
129 canShowBadge = true; in createChannel()
136 canShowBadge = false; in createChannel()
144 channel.setShowBadge(canShowBadge); in createChannel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBadgePreferenceControllerTest.java246 when(channel.canShowBadge()).thenReturn(true); in testUpdateState_channel()
254 when(channel.canShowBadge()).thenReturn(false); in testUpdateState_channel()
295 assertTrue(channel.canShowBadge()); in testOnPreferenceChange_on_channel()
316 assertFalse(channel.canShowBadge()); in testOnPreferenceChange_off_channel()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBadgePreferenceController.java88 pref.setChecked(mChannel.canShowBadge()); in updateState()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java91 row.showBadge = canShowBadge(row.pkg, row.uid); in loadAppRow()
199 public boolean canShowBadge(String pkg, int uid) { in canShowBadge() method in NotificationBackend
201 return sINM.canShowBadge(pkg, uid); in canShowBadge()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java301 if (!mTempRanking.canShowBadge()) { in notificationIsValidForUI()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java490 .append(Boolean.toString(rank.canShowBadge())); in generateRankingExtraText()