Home
last modified time | relevance | path

Searched refs:ruleId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
Dsubscriber_util.cpp28 void triggerSubscribers(int64_t ruleId, int64_t metricId, const MetricDimensionKey& dimensionKey, in triggerSubscribers() argument
47 if (!GenerateIncidentReport(subscription.incidentd_details(), ruleId, metricId, in triggerSubscribers()
54 subscription.id(), ruleId, configKey)) { in triggerSubscribers()
Dsubscriber_util.h27 void triggerSubscribers(const int64_t ruleId, const int64_t metricId,
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java812 final String ruleId = "customRule"; in testWriteXmlWithZenPolicy() local
849 ZenModeConfig.ZenRule original = expected.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy()
850 ZenModeConfig.ZenRule current = mZenModeHelperSpy.mConfig.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy()
857 final String ruleId = "customRule"; in testReadXmlRestoreWithZenPolicy_forSystemUser() local
866 customRule.id = ruleId; in testReadXmlRestoreWithZenPolicy_forSystemUser()
878 automaticRules.put(ruleId, customRule); in testReadXmlRestoreWithZenPolicy_forSystemUser()
887 ZenModeConfig.ZenRule original = expected.automaticRules.get(ruleId); in testReadXmlRestoreWithZenPolicy_forSystemUser()
888 ZenModeConfig.ZenRule current = mZenModeHelperSpy.mConfig.automaticRules.get(ruleId); in testReadXmlRestoreWithZenPolicy_forSystemUser()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java334 public boolean updateAutomaticZenRule(String ruleId, AutomaticZenRule automaticZenRule, in updateAutomaticZenRule() argument
345 if (ruleId == null) { in updateAutomaticZenRule()
348 rule = newConfig.automaticRules.get(ruleId); in updateAutomaticZenRule()