Home
last modified time | relevance | path

Searched refs:setShouldUseNightMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DDefaultDeviceEffectsApplierTest.java124 .setShouldUseNightMode(true) in apply_appliesEffects()
142 .setShouldUseNightMode(true) in apply_removesEffects()
187 .setShouldUseNightMode(true) in apply_missingSomeServices_okay()
208 .setShouldUseNightMode(true) in apply_disabledWallpaperService_dimWallpaperNotApplied()
261 mApplier.apply(new ZenDeviceEffects.Builder().setShouldUseNightMode(true).build(), in apply_nightModeFromApp_appliedOnScreenOff()
286 mApplier.apply(new ZenDeviceEffects.Builder().setShouldUseNightMode(true).build(), in apply_nightModeWithScreenOff_appliedImmediately()
302 mApplier.apply(new ZenDeviceEffects.Builder().setShouldUseNightMode(true).build(), in apply_nightModeWithScreenOn_appliedImmediatelyBasedOnOrigin()
318 mApplier.apply(new ZenDeviceEffects.Builder().setShouldUseNightMode(true).build(), in apply_nightModeWithScreenOn_willBeAppliedLaterBasedOnOrigin()
343 .setShouldUseNightMode(true) in apply_servicesThrow_noCrash()
DZenDeviceEffectsTest.java57 .setShouldUseNightMode(false) in builder()
83 .setShouldUseNightMode(true) in builder_fromInstance()
90 .setShouldUseNightMode(false) in builder_fromInstance()
133 .setShouldUseNightMode(true) in writeToParcel_parcelsAndUnparcels()
DZenModeHelperTest.java1076 .setShouldUseNightMode(true) in testParcelConfig()
2604 .setShouldUseNightMode(true) in addAutomaticZenRule_fromApp_ignoresHiddenEffects()
2626 .setShouldUseNightMode(true) in addAutomaticZenRule_fromApp_ignoresHiddenEffects()
2637 .setShouldUseNightMode(true) in addAutomaticZenRule_fromSystem_respectsHiddenEffects()
2664 .setShouldUseNightMode(true) in addAutomaticZenRule_fromUser_respectsHiddenEffects()
2701 .setShouldUseNightMode(true) // Good in updateAutomaticZenRule_fromApp_preservesPreviousHiddenEffects()
2715 .setShouldUseNightMode(true) // From update. in updateAutomaticZenRule_fromApp_preservesPreviousHiddenEffects()
2735 .setShouldUseNightMode(true) // Good in updateAutomaticZenRule_fromSystem_updatesHiddenEffects()
2762 .setShouldUseNightMode(true) in updateAutomaticZenRule_fromUser_updatesHiddenEffects()
4536 ZenDeviceEffects zde = new ZenDeviceEffects.Builder().setShouldUseNightMode(true).build(); in updateAutomaticZenRule_nullDeviceEffectsUpdate()
[all …]
DZenModeConfigTest.java604 .setShouldUseNightMode(true) in testRuleXml()
/frameworks/base/core/java/android/service/notification/
DZenDeviceEffects.java446 public Builder setShouldUseNightMode(boolean nightMode) { in setShouldUseNightMode() method in ZenDeviceEffects.Builder
573 if (effects.shouldUseNightMode()) setShouldUseNightMode(true); in add()
DZenModeConfig.java1435 .setShouldUseNightMode(safeBoolean(parser, DEVICE_EFFECT_USE_NIGHT_MODE, false)) in readZenDeviceEffectsXml()
/frameworks/base/core/api/
Dcurrent.txt41313 …onNull public android.service.notification.ZenDeviceEffects.Builder setShouldUseNightMode(boolean);