Searched refs:ruleId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/statsd/src/anomaly/ |
D | subscriber_util.cpp | 28 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()
|
D | subscriber_util.h | 27 void triggerSubscribers(const int64_t ruleId, const int64_t metricId,
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 1016 final String ruleId = "customRule"; in testWriteXmlWithZenPolicy() local 1053 ZenModeConfig.ZenRule original = expected.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy() 1054 ZenModeConfig.ZenRule current = mZenModeHelperSpy.mConfig.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy() 1061 final String ruleId = "customRule"; in testReadXmlRestoreWithZenPolicy_forSystemUser() local 1070 customRule.id = ruleId; in testReadXmlRestoreWithZenPolicy_forSystemUser() 1082 automaticRules.put(ruleId, customRule); in testReadXmlRestoreWithZenPolicy_forSystemUser() 1091 ZenModeConfig.ZenRule original = expected.automaticRules.get(ruleId); in testReadXmlRestoreWithZenPolicy_forSystemUser() 1092 ZenModeConfig.ZenRule current = mZenModeHelperSpy.mConfig.automaticRules.get(ruleId); in testReadXmlRestoreWithZenPolicy_forSystemUser()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 348 public boolean updateAutomaticZenRule(String ruleId, AutomaticZenRule automaticZenRule, in updateAutomaticZenRule() argument 359 if (ruleId == null) { in updateAutomaticZenRule() 362 rule = newConfig.automaticRules.get(ruleId); in updateAutomaticZenRule() 369 dispatchOnAutomaticRuleStatusChanged(mConfig.user, rule.pkg, ruleId, in updateAutomaticZenRule()
|