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 D | NotificationsPreference.java | 66 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 D | NotificationChannel.java | 848 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 D | NotificationPreferenceControllerTest.java | 255 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 D | NotificationPreferenceController.java | 147 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | NotificationBackend.java | 100 public boolean isBlockable(Context context, ApplicationInfo info) { in isBlockable() method in NotificationBackend
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | PreferencesHelper.java | 873 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 D | ExpandableNotificationRow.java | 544 if (mEntry.getChannel() != null && !mEntry.getChannel().isBlockable()) { in getIsNonblockable()
|
/aosp12/frameworks/base/core/api/ |
H A D | test-current.txt | 287 method public boolean isBlockable();
|
/aosp12/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 2270 HSPLandroid/app/NotificationChannel;->isBlockable()Z
|
/aosp12/frameworks/base/config/ |
H A D | boot-image-profile.txt | 2270 HSPLandroid/app/NotificationChannel;->isBlockable()Z
|