Home
last modified time | relevance | path

Searched refs:allowMedia (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java207 config.allowMedia = true; in getMutedNotificationsConfig()
227 config.allowMedia = false; in getCustomConfig()
246 config.allowMedia = false; in getMutedAllConfig()
DZenModeHelperTest.java691 mZenModeHelperSpy.mConfig.allowMedia = false; in testParcelConfig()
713 mZenModeHelperSpy.mConfig.allowMedia = false; in testWriteXml()
745 config10.allowMedia = true; in testWriteXml_onlyBackupsTargetUser()
750 config11.allowMedia = false; in testWriteXml_onlyBackupsTargetUser()
830 .allowMedia(false) in testWriteXmlWithZenPolicy()
1188 .allowMedia(false) in testReadXmlDefaultRulesExist()
1352 mZenModeHelperSpy.mConfig.allowMedia = false; in setupZenConfig()
1366 assertFalse(mZenModeHelperSpy.mConfig.allowMedia); in setupZenConfigMaintained()
DZenPolicyTest.java363 builder.allowMedia(true); in testAllowMedia()
369 builder.allowMedia(false); in testAllowMedia()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java164 public boolean allowMedia = DEFAULT_ALLOW_MEDIA; field in ZenModeConfig
206 allowMedia = source.readInt() == 1; in ZenModeConfig()
238 dest.writeInt(allowMedia ? 1 : 0); in writeToParcel()
249 .append(",allowMedia=").append(allowMedia) in toString()
294 if (allowMedia != to.allowMedia) { in diff()
295 d.addLine("allowMedia", allowMedia, to.allowMedia); in diff()
421 && other.allowMedia == allowMedia in equals()
439 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
537 rt.allowMedia = safeBoolean(parser, ALLOW_ATT_MEDIA, in readXml()
603 out.attribute(null, ALLOW_ATT_MEDIA, Boolean.toString(allowMedia)); in writeXml()
[all …]
DZenPolicy.java557 public @NonNull Builder allowMedia(boolean allow) { in allowMedia() method in ZenPolicy.Builder
583 allowMedia(allow); in allowCategory()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java657 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
953 .allowMedia(true) in applyCustomPolicy()
1002 final boolean allowMedia = mConsolidatedPolicy.allowMedia(); in applyRestrictions()
1015 final boolean muteMedia = zenPriorityOnly && !allowMedia; in applyRestrictions()
DZenModeFiltering.java193 if (!policy.allowMedia()) { in shouldIntercept()
/frameworks/base/core/java/android/app/
DNotificationManager.java1902 public boolean allowMedia() { in allowMedia() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt1956 HSPLandroid/app/NotificationManager$Policy;->allowMedia()Z
Dhiddenapi-greylist-max-o.txt63815 Landroid/service/notification/ZenModeConfig;->allowMedia:Z
/frameworks/base/non-updatable-api/
Dcurrent.txt42080 method @NonNull public android.service.notification.ZenPolicy.Builder allowMedia(boolean);
/frameworks/base/api/
Dcurrent.txt42224 method @NonNull public android.service.notification.ZenPolicy.Builder allowMedia(boolean);