Searched refs:sleepingRule (Results 1 – 2 of 2) sorted by relevance
2844 ZenRule sleepingRule = createCustomAutomaticRule(ZEN_MODE_IMPORTANT_INTERRUPTIONS, in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping() local2846 sleepingRule.enabled = false; in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping()2847 sleepingRule.userModifiedFields = 0; in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping()2848 sleepingRule.name = "ZZZZZZZ..."; in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping()2850 mZenModeHelper.mConfig.automaticRules.put(sleepingRule.id, sleepingRule); in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping()2864 ZenRule sleepingRule = createCustomAutomaticRule(ZEN_MODE_IMPORTANT_INTERRUPTIONS, in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping() local2866 sleepingRule.enabled = true; in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping()2867 sleepingRule.userModifiedFields = 0; in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping()2868 sleepingRule.name = "ZZZZZZZ..."; in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping()2870 mZenModeHelper.mConfig.automaticRules.put(sleepingRule.id, sleepingRule); in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping()[all …]
538 ZenRule sleepingRule = config.automaticRules.get( in maybeReplaceDefaultRule() local540 if (sleepingRule != null in maybeReplaceDefaultRule()541 && !sleepingRule.enabled in maybeReplaceDefaultRule()542 && sleepingRule.canBeUpdatedByApp() /* meaning it's not user-customized */) { in maybeReplaceDefaultRule()