Home
last modified time | relevance | path

Searched refs:ruleMap (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeBackendTest.java133 Map<String, AutomaticZenRule> ruleMap = new HashMap<>(); in populateAutoZenRulesAscendingCreationTime() local
136 ruleMap.put(GENERIC_RULE_NAME + i, new AutomaticZenRule(GENERIC_RULE_NAME + i, null, in populateAutoZenRulesAscendingCreationTime()
142 ruleMap.put(DEFAULT_ID_1, new AutomaticZenRule("DEFAULT_1_NAME", null, null, null, in populateAutoZenRulesAscendingCreationTime()
144 ruleMap.put(DEFAULT_ID_2, new AutomaticZenRule("DEFAULT_2_NAME", null, null, null, in populateAutoZenRulesAscendingCreationTime()
148 Map.Entry<String, AutomaticZenRule>[] toReturn = new Map.Entry[ruleMap.size()]; in populateAutoZenRulesAscendingCreationTime()
149 ruleMap.entrySet().toArray(toReturn); in populateAutoZenRulesAscendingCreationTime()
155 Map<String, AutomaticZenRule> ruleMap = new HashMap<>(); in populateAutoZenRulesDescendingCreationTime() local
158 ruleMap.put(GENERIC_RULE_NAME + i, new AutomaticZenRule(GENERIC_RULE_NAME + i, null, in populateAutoZenRulesDescendingCreationTime()
164 ruleMap.put(DEFAULT_ID_1, new AutomaticZenRule("DEFAULT_1_NAME", null, null, null, in populateAutoZenRulesDescendingCreationTime()
166 ruleMap.put(DEFAULT_ID_2, new AutomaticZenRule("DEFAULT_2_NAME", null, null, null, in populateAutoZenRulesDescendingCreationTime()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeSettings.java219 final Map<String, AutomaticZenRule> ruleMap = in getEnabledAutomaticRulesCount() local
221 if (ruleMap != null) { in getEnabledAutomaticRulesCount()
222 for (Entry<String, AutomaticZenRule> ruleEntry : ruleMap.entrySet()) { in getEnabledAutomaticRulesCount()
DZenModeBackend.java421 Map<String, AutomaticZenRule> ruleMap = in getAutomaticZenRules() local
423 final Map.Entry<String, AutomaticZenRule>[] rt = ruleMap.entrySet().toArray( in getAutomaticZenRules()
424 new Map.Entry[ruleMap.size()]); in getAutomaticZenRules()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeSettings.java219 final Map<String, AutomaticZenRule> ruleMap = in getEnabledAutomaticRulesCount() local
221 if (ruleMap != null) { in getEnabledAutomaticRulesCount()
222 for (Entry<String, AutomaticZenRule> ruleEntry : ruleMap.entrySet()) { in getEnabledAutomaticRulesCount()
DZenModeBackend.java421 Map<String, AutomaticZenRule> ruleMap = in getAutomaticZenRules() local
423 final Map.Entry<String, AutomaticZenRule>[] rt = ruleMap.entrySet().toArray( in getAutomaticZenRules()
424 new Map.Entry[ruleMap.size()]); in getAutomaticZenRules()