Home
last modified time | relevance | path

Searched refs:isBlockable (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DNotificationsPreference.java66 setEnabled(isBlockable(getContext(), mEntry.info)); in refresh()
105 private boolean isBlockable(Context context, ApplicationInfo info) { in isBlockable() method in NotificationsPreference
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationChannel.java848 public boolean isBlockable() { in isBlockable() method in NotificationChannel
1098 if (isBlockable()) { in writeXml()
1099 out.attributeBoolean(null, ATT_BLOCKABLE_SYSTEM, isBlockable()); in writeXml()
1164 record.put(ATT_BLOCKABLE_SYSTEM, isBlockable()); in toJson()
1255 && isBlockable() == that.isBlockable() in equals()
1279 getGroup(), getAudioAttributes(), isBlockable(), mAllowBubbles, in hashCode()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DNotificationPreferenceControllerTest.java255 when(channel.isBlockable()).thenReturn(false); in testIsChannelBlockable_nonSystemAppsBlockable()
266 when(channel.isBlockable()).thenReturn(false); in testIsChannelBlockable_mostSystemAppsNotBlockable()
278 when(channel.isBlockable()).thenReturn(true); in testIsChannelBlockable_someSystemAppsAreBlockable()
289 when(channel.isBlockable()).thenReturn(false); in testIsChannelBlockable_canUndoSystemBlock()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DNotificationPreferenceController.java147 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java100 public boolean isBlockable(Context context, ApplicationInfo info) { in isBlockable() method in NotificationBackend
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java873 if (channel.isBlockable() != existing.isBlockable()) { in createNotificationChannel()
874 existing.setBlockable(channel.isBlockable()); in createNotificationChannel()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRow.java544 if (mEntry.getChannel() != null && !mEntry.getChannel().isBlockable()) { in getIsNonblockable()
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt287 method public boolean isBlockable();
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt2270 HSPLandroid/app/NotificationChannel;->isBlockable()Z
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt2270 HSPLandroid/app/NotificationChannel;->isBlockable()Z