Home
last modified time | relevance | path

Searched refs:banned (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DBlockPreferenceController.java62 return !mAppRow.systemApp || (mAppRow.systemApp && mAppRow.banned); in isAvailable()
82 bar.setChecked(!mAppRow.banned in updateState()
85 bar.setChecked(!mAppRow.banned && !mChannelGroup.isBlocked()); in updateState()
87 bar.setChecked(!mAppRow.banned); in updateState()
107 if (mAppRow.banned != blocked) { in onSwitchChanged()
108 mAppRow.banned = blocked; in onSwitchChanged()
116 mAppRow.banned = blocked; in onSwitchChanged()
DNotificationBackend.java72 row.banned = getNotificationsBanned(row.pkg, row.uid); in loadAppRow()
469 public boolean banned; field in NotificationBackend.AppRow
DImportancePreferenceController.java53 if (mAppRow.banned) { in isAvailable()
DNotificationPreferenceController.java73 if (mAppRow.banned) { in isAvailable()
DVisibilityPreferenceController.java63 if (mChannel == null || mAppRow.banned) { in isAvailable()
/packages/apps/Settings/src/com/android/settings/notification/
DBlockPreferenceController.java84 && (!mAppRow.banned || mAppRow.lockedImportance)) { in updateState()
89 bar.setChecked(!mAppRow.banned in updateState()
92 bar.setChecked(!mAppRow.banned && !mChannelGroup.isBlocked()); in updateState()
94 bar.setChecked(!mAppRow.banned); in updateState()
114 if (mAppRow.banned != blocked) { in onSwitchChanged()
115 mAppRow.banned = blocked; in onSwitchChanged()
123 mAppRow.banned = blocked; in onSwitchChanged()
DNotificationBackend.java74 row.banned = getNotificationsBanned(row.pkg, row.uid); in loadAppRow()
488 public boolean banned; field in NotificationBackend.AppRow
DNotificationPreferenceController.java73 if (mAppRow.banned) { in isAvailable()
DVisibilityPreferenceController.java63 if (mChannel == null || mAppRow.banned) { in isAvailable()
DChannelListPreferenceController.java75 if (mAppRow.banned) { in isAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBlockPreferenceControllerTest.java259 appRow.banned = true; in testUpdateState_app()
267 appRow.banned = false; in testUpdateState_app()
284 appRow.banned = true; in testUpdateState_group()
291 appRow.banned = false; in testUpdateState_group()
308 appRow.banned = true; in testUpdateState_channelBlocked()
315 appRow.banned = false; in testUpdateState_channelBlocked()
354 assertTrue(appRow.banned); in testOnSwitchChanged_channel_default()
358 assertFalse(appRow.banned); in testOnSwitchChanged_channel_default()
DNotificationsOffPreferenceControllerTest.java72 appRow.banned = true; in testIsAvailable_yesIfAppBlocked()
126 appRow.banned = true; in testUpdateState_app()
DAppLinkPreferenceControllerTest.java83 appRow.banned = true; in testIsAvailable_notIfAppBlocked()
DDeletedChannelsPreferenceControllerTest.java79 appRow.banned = true; in isAvailable_appScreen_notIfAppBlocked()
DHeaderPreferenceControllerTest.java96 appRow.banned = true; in testIsAvailable()
DBubbleSummaryPreferenceControllerTest.java90 appRow.banned = true; in testIsAvailable_notIfAppBlocked()
DHighImportancePreferenceControllerTest.java97 appRow.banned = true; in testIsAvailable_ifAppBlocked()
DMinImportancePreferenceControllerTest.java97 appRow.banned = true; in testIsAvailable_ifAppBlocked()
DAllowSoundPreferenceControllerTest.java104 appRow.banned = true; in testIsAvailable_notIfAppBlocked()
DImportancePreferenceControllerTest.java103 appRow.banned = true; in testIsAvailable_ifAppBlocked()
DBadgePreferenceControllerTest.java94 appRow.banned = true; in testIsAvailable_notIfAppBlocked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java123 appRow.banned = true; in getNotificationSummary_appBlocked()
133 appRow.banned = false; in getNotificationSummary_appNotBlockedAllChannelsBlocked()
144 appRow.banned = false; in getNotificationSummary_appNotBlocked()
161 appRow.banned = false; in getNotificationSummary_channelsNotBlocked()
175 appRow.banned = false; in getNotificationSummary_noChannels()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java340 private void mockNotificationBackend(int channelCount, int notificationCount, boolean banned, in mockNotificationBackend() argument
344 final AppRow appRow = buildAppRow(channelCount, notificationCount, banned); in mockNotificationBackend()
354 private AppRow buildAppRow(int channelCount, int sentCount, boolean banned) { in buildAppRow() argument
358 appRow.banned = banned; in buildAppRow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppNotificationPreferenceController.java85 if (appRow.banned) { in getNotificationSummary()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceController.java85 if (appRow.banned) { in getNotificationSummary()

12