Home
last modified time | relevance | path

Searched refs:suppressedVisualEffects (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenFooterPreferenceController.java37 return mBackend.mPolicy.suppressedVisualEffects == 0 in isAvailable()
38 || Policy.areAllVisualEffectsSuppressed(mBackend.mPolicy.suppressedVisualEffects); in isAvailable()
45 if (mBackend.mPolicy.suppressedVisualEffects == 0) { in updateState()
47 } else if (Policy.areAllVisualEffectsSuppressed(mBackend.mPolicy.suppressedVisualEffects)) { in updateState()
DZenModeBackend.java119 return (mPolicy.suppressedVisualEffects & visualEffect) != 0; in isVisualEffectSuppressed()
172 mPolicy.priorityMessageSenders, mPolicy.suppressedVisualEffects, in saveSoundPolicy()
177 int priorityMessageSenders, int suppressedVisualEffects, in savePolicy() argument
180 priorityMessageSenders, suppressedVisualEffects, priorityConversationSenders); in savePolicy()
186 int effects = mPolicy.suppressedVisualEffects; in getNewSuppressedEffects()
202 return (mPolicy.suppressedVisualEffects & effect) == 0; in isEffectAllowed()
225 priorityCallSenders, priorityMessagesSenders, mPolicy.suppressedVisualEffects, in saveSenders()
238 mPolicy.suppressedVisualEffects, val); in saveConversationSenders()
DZenModeVisEffectsCustomPreferenceController.java76 mBackend.mPolicy.suppressedVisualEffects); in areCustomOptionsSelected()
77 boolean noEffectsSuppressed = mBackend.mPolicy.suppressedVisualEffects == 0; in areCustomOptionsSelected()
DZenModeSettings.java208 if (policy.suppressedVisualEffects == 0) { in getBlockedEffectsSummary()
211 } else if (Policy.areAllVisualEffectsSuppressed(policy.suppressedVisualEffects)) { in getBlockedEffectsSummary()
DZenModeVisEffectsNonePreferenceController.java65 boolean nothingBlocked = mBackend.mPolicy.suppressedVisualEffects == 0; in updateState()
DZenModeVisEffectsAllPreferenceController.java66 mBackend.mPolicy.suppressedVisualEffects); in updateState()
DZenOnboardingActivity.java162 nm.getNotificationPolicy().suppressedVisualEffects)) { in wasZenUpdated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenFooterPreferenceController.java37 return mBackend.mPolicy.suppressedVisualEffects == 0 in isAvailable()
38 || Policy.areAllVisualEffectsSuppressed(mBackend.mPolicy.suppressedVisualEffects); in isAvailable()
45 if (mBackend.mPolicy.suppressedVisualEffects == 0) { in updateState()
47 } else if (Policy.areAllVisualEffectsSuppressed(mBackend.mPolicy.suppressedVisualEffects)) { in updateState()
DZenModeBackend.java117 return (mPolicy.suppressedVisualEffects & visualEffect) != 0; in isVisualEffectSuppressed()
162 mPolicy.priorityMessageSenders, mPolicy.suppressedVisualEffects); in saveSoundPolicy()
166 int priorityMessageSenders, int suppressedVisualEffects) { in savePolicy() argument
168 priorityMessageSenders, suppressedVisualEffects); in savePolicy()
174 int effects = mPolicy.suppressedVisualEffects; in getNewSuppressedEffects()
190 return (mPolicy.suppressedVisualEffects & effect) == 0; in isEffectAllowed()
213 priorityCallSenders, priorityMessagesSenders, mPolicy.suppressedVisualEffects); in saveSenders()
DZenModeVisEffectsCustomPreferenceController.java76 mBackend.mPolicy.suppressedVisualEffects); in areCustomOptionsSelected()
77 boolean noEffectsSuppressed = mBackend.mPolicy.suppressedVisualEffects == 0; in areCustomOptionsSelected()
DZenModeSettings.java197 if (policy.suppressedVisualEffects == 0) { in getBlockedEffectsSummary()
200 } else if (Policy.areAllVisualEffectsSuppressed(policy.suppressedVisualEffects)) { in getBlockedEffectsSummary()
DZenModeVisEffectsNonePreferenceController.java65 boolean nothingBlocked = mBackend.mPolicy.suppressedVisualEffects == 0; in updateState()
DZenModeVisEffectsAllPreferenceController.java66 mBackend.mPolicy.suppressedVisualEffects); in updateState()
DZenOnboardingActivity.java162 nm.getNotificationPolicy().suppressedVisualEffects)) { in wasZenUpdated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DDndConditionalCardControllerTest.java107 config.suppressedVisualEffects = 0; in getCustomConfig()
123 config.suppressedVisualEffects = 0; in getMutedAllConfig()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenOnboardingActivityTest.java113 assertThat(actual.suppressedVisualEffects).isEqualTo( in saveNewSetting()