Home
last modified time | relevance | path

Searched refs:canShowBadge (Results 1 – 9 of 9) 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.java208 when(channel.canShowBadge()).thenReturn(true); in testUpdateState_channel()
216 when(channel.canShowBadge()).thenReturn(false); in testUpdateState_channel()
255 assertTrue(channel.canShowBadge()); in testOnPreferenceChange_on_channel()
275 assertFalse(channel.canShowBadge()); in testOnPreferenceChange_off_channel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java74 row.showBadge = canShowBadge(row.pkg, row.uid); in loadAppRow()
161 public boolean canShowBadge(String pkg, int uid) { in canShowBadge() method in NotificationBackend
163 return sINM.canShowBadge(pkg, uid); in canShowBadge()
DBadgePreferenceController.java74 pref.setChecked(mChannel.canShowBadge()); in updateState()
DNotificationStation.java442 .append(Boolean.toString(rank.canShowBadge())); in generateExtraText()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java86 row.showBadge = canShowBadge(row.pkg, row.uid); in loadAppRow()
179 public boolean canShowBadge(String pkg, int uid) { in canShowBadge() method in NotificationBackend
181 return sINM.canShowBadge(pkg, uid); in canShowBadge()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBadgePreferenceController.java75 pref.setChecked(mChannel.canShowBadge()); in updateState()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java317 if (!mTempRanking.canShowBadge()) { in notificationIsValidForUI()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java490 .append(Boolean.toString(rank.canShowBadge())); in generateRankingExtraText()