Home
last modified time | relevance | path

Searched refs:getDeviceEffects (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/
DAutomaticZenRule.java328 public ZenDeviceEffects getDeviceEffects() { in getDeviceEffects() method in AutomaticZenRule
703 mDeviceEffects = rule.getDeviceEffects(); in Builder()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java2621 assertThat(savedRule.getDeviceEffects()).isEqualTo( in addAutomaticZenRule_fromApp_ignoresHiddenEffects()
2654 assertThat(savedRule.getDeviceEffects()).isEqualTo(zde); in addAutomaticZenRule_fromSystem_respectsHiddenEffects()
2683 assertThat(savedRule.getDeviceEffects()).isEqualTo(zde); in addAutomaticZenRule_fromUser_respectsHiddenEffects()
2713 assertThat(savedRule.getDeviceEffects()).isEqualTo( in updateAutomaticZenRule_fromApp_preservesPreviousHiddenEffects()
2745 assertThat(savedRule.getDeviceEffects()).isEqualTo(updateFromSystem); in updateAutomaticZenRule_fromSystem_updatesHiddenEffects()
2776 assertThat(savedRule.getDeviceEffects()).isEqualTo(updateFromUser); in updateAutomaticZenRule_fromUser_updatesHiddenEffects()
4348 new ZenDeviceEffects.Builder(rule.getDeviceEffects()) in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()
4369 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()
4405 new ZenDeviceEffects.Builder(rule.getDeviceEffects()) in updateAutomaticZenRule_fromSystemUi_updatesValues()
4424 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in updateAutomaticZenRule_fromSystemUi_updatesValues()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1237 modified |= updateZenDeviceEffects(rule, azr.getDeviceEffects(), in populateZenRule()
/frameworks/base/core/api/
Dcurrent.txt5403 ….app.modes_api") @Nullable public android.service.notification.ZenDeviceEffects getDeviceEffects();