Searched refs:allowMedia (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 207 config.allowMedia = true; in getMutedNotificationsConfig() 227 config.allowMedia = false; in getCustomConfig() 246 config.allowMedia = false; in getMutedAllConfig()
|
D | ZenModeHelperTest.java | 691 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()
|
D | ZenPolicyTest.java | 363 builder.allowMedia(true); in testAllowMedia() 369 builder.allowMedia(false); in testAllowMedia()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 164 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 …]
|
D | ZenPolicy.java | 557 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/ |
D | ZenModeHelper.java | 657 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()
|
D | ZenModeFiltering.java | 193 if (!policy.allowMedia()) { in shouldIntercept()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1902 public boolean allowMedia() { in allowMedia() method in NotificationManager.Policy
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1956 HSPLandroid/app/NotificationManager$Policy;->allowMedia()Z
|
D | hiddenapi-greylist-max-o.txt | 63815 Landroid/service/notification/ZenModeConfig;->allowMedia:Z
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 42080 method @NonNull public android.service.notification.ZenPolicy.Builder allowMedia(boolean);
|
/frameworks/base/api/ |
D | current.txt | 42224 method @NonNull public android.service.notification.ZenPolicy.Builder allowMedia(boolean);
|