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.java78 boolean canShowBadge = false; in createChannel()
86 canShowBadge = false; in createChannel()
94 canShowBadge = true; in createChannel()
102 canShowBadge = false; in createChannel()
110 canShowBadge = false; in createChannel()
118 canShowBadge = true; in createChannel()
126 canShowBadge = true; in createChannel()
133 channel.setShowBadge(canShowBadge); in createChannel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBadgePreferenceControllerTest.java238 when(channel.canShowBadge()).thenReturn(true); in testUpdateState_channel()
246 when(channel.canShowBadge()).thenReturn(false); in testUpdateState_channel()
285 assertTrue(channel.canShowBadge()); in testOnPreferenceChange_on_channel()
305 assertFalse(channel.canShowBadge()); in testOnPreferenceChange_off_channel()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java91 row.showBadge = canShowBadge(row.pkg, row.uid); in loadAppRow()
213 public boolean canShowBadge(String pkg, int uid) { in canShowBadge() method in NotificationBackend
215 return sINM.canShowBadge(pkg, uid); in canShowBadge()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBadgePreferenceController.java81 pref.setChecked(mChannel.canShowBadge()); in updateState()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java320 if (!mTempRanking.canShowBadge()) { in notificationIsValidForUI()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java490 .append(Boolean.toString(rank.canShowBadge())); in generateRankingExtraText()