Home
last modified time | relevance | path

Searched refs:UPDATE_ORIGIN_INIT (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DDefaultDeviceEffectsApplier.java129 if (origin == ZenModeConfig.UPDATE_ORIGIN_INIT in updateOrScheduleNightMode()
DZenModeHelper.java33 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_INIT;
296 updateConfigAndZenModeLocked(mConfig, UPDATE_ORIGIN_INIT, "init", in initZenMode()
330 applyConsolidatedDeviceEffects(UPDATE_ORIGIN_INIT); in setDeviceEffectsApplier()
1727 forRestore ? UPDATE_ORIGIN_RESTORE_BACKUP : UPDATE_ORIGIN_INIT, reason, in readXml()
1938 if (Flags.modesApi() && origin != UPDATE_ORIGIN_INIT) { in updateConfigAndZenModeLocked()
DZenModeEventLogger.java535 return mOrigin == ZenModeConfig.UPDATE_ORIGIN_INIT in isFromSystemOrSystemUi()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DDefaultDeviceEffectsApplierTest.java83 ORIGIN_INIT(ZenModeConfig.UPDATE_ORIGIN_INIT),
DZenModeHelperTest.java59 import static android.service.notification.ZenModeConfig.UPDATE_ORIGIN_INIT;
344 ORIGIN_INIT(ZenModeConfig.UPDATE_ORIGIN_INIT),
399 mZenModeHelper.setConfig(new ZenModeConfig(), null, UPDATE_ORIGIN_INIT, "writing xml", in writeXmlAndPurge()
415 mZenModeHelper.setConfig(newConfig, null, UPDATE_ORIGIN_INIT, "writing xml", in writeXmlAndPurgeForUser()
1399 mZenModeHelper.setConfig(config10, null, UPDATE_ORIGIN_INIT, "writeXml", in testWriteXml_onlyBackupsTargetUser()
1405 mZenModeHelper.setConfig(config11, null, UPDATE_ORIGIN_INIT, "writeXml", in testWriteXml_onlyBackupsTargetUser()
5042 verify(mDeviceEffectsApplier).apply(eq(NO_EFFECTS), eq(UPDATE_ORIGIN_INIT)); in testDeviceEffects_applied()
5081 verify(mDeviceEffectsApplier).apply(eq(NO_EFFECTS), eq(UPDATE_ORIGIN_INIT)); in testDeviceEffects_changeToConsolidatedEffects_applied()
5121 verify(mDeviceEffectsApplier).apply(eq(NO_EFFECTS), eq(UPDATE_ORIGIN_INIT)); in testDeviceEffects_noChangeToConsolidatedEffects_notApplied()
5155 verify(mDeviceEffectsApplier).apply(eq(zde), eq(UPDATE_ORIGIN_INIT)); in testDeviceEffects_activeBeforeApplierProvided_appliedWhenProvided()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java123 public static final int UPDATE_ORIGIN_INIT = 1; field in ZenModeConfig
163 UPDATE_ORIGIN_INIT,