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 | 812 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/ |
D | ZenModeHelper.java | 334 public boolean updateAutomaticZenRule(String ruleId, AutomaticZenRule automaticZenRule, in updateAutomaticZenRule() argument 345 if (ruleId == null) { in updateAutomaticZenRule() 348 rule = newConfig.automaticRules.get(ruleId); in updateAutomaticZenRule()
|