Searched refs:automaticRules (Results 1 – 6 of 6) sorted by relevance
263 for (ZenRule rule : mConfig.automaticRules.values()) { in getZenRules()276 rule = mConfig.automaticRules.get(id); in getAutomaticZenRule()314 newConfig.automaticRules.put(rule.id, rule); in addAutomaticZenRule()337 rule = newConfig.automaticRules.get(ruleId); in updateAutomaticZenRule()344 newConfig.automaticRules.put(ruleId, rule); in updateAutomaticZenRule()354 ZenRule rule = newConfig.automaticRules.get(id); in removeAutomaticZenRule()357 newConfig.automaticRules.remove(id); in removeAutomaticZenRule()372 for (int i = newConfig.automaticRules.size() - 1; i >= 0; i--) { in removeAutomaticZenRules()373 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules()376 newConfig.automaticRules.removeAt(i); in removeAutomaticZenRules()[all …]
71 for (ZenRule automaticRule : config.automaticRules.values()) { in evaluateConfig()114 for (ZenRule automaticRule : config.automaticRules.values()) { in onConditionChanged()170 for (ZenRule rule : config.automaticRules.values()) { in isAutomaticActive()
164 public ArrayMap<String, ZenRule> automaticRules = new ArrayMap<>(); field in ZenModeConfig185 automaticRules.put(ids[i], rules[i]); in ZenModeConfig()206 if (!automaticRules.isEmpty()) { in writeToParcel()207 final int len = automaticRules.size(); in writeToParcel()211 ids[i] = automaticRules.keyAt(i); in writeToParcel()212 rules[i] = automaticRules.valueAt(i); in writeToParcel()243 .append(",automaticRules=").append(automaticRules) in toString()291 addKeys(allRules, automaticRules); in diff()292 addKeys(allRules, to.automaticRules); in diff()296 final ZenRule fromRule = automaticRules != null ? automaticRules.get(rule) : null; in diff()[all …]
630 mZenModeHelperSpy.mConfig.automaticRules = enabledAutoRule; in testReadXml()642 assertTrue(mZenModeHelperSpy.mConfig.automaticRules.containsKey("customRule")); in testReadXml()760 mZenModeHelperSpy.mConfig.automaticRules = new ArrayMap<>(); in testReadXmlResetDefaultRules()771 ArrayMap<String, ZenModeConfig.ZenRule> rules = mZenModeHelperSpy.mConfig.automaticRules; in testReadXmlResetDefaultRules()795 mZenModeHelperSpy.mConfig.automaticRules = enabledAutoRule; in testReadXmlAllDisabledRulesResetDefaultRules()806 ArrayMap<String, ZenModeConfig.ZenRule> rules = mZenModeHelperSpy.mConfig.automaticRules; in testReadXmlAllDisabledRulesResetDefaultRules()
393 for (ZenRule automaticRule : config.automaticRules.values()) { in updatePanel()
5188 Landroid/service/notification/ZenModeConfig;->automaticRules:Landroid/util/ArrayMap;