Home
last modified time | relevance | path

Searched refs:configurationActivity (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/app/
DAutomaticZenRule.java44 private ComponentName configurationActivity; field in AutomaticZenRule
93 @Nullable ComponentName configurationActivity, @NonNull Uri conditionId, in AutomaticZenRule() argument
97 this.configurationActivity = configurationActivity; in AutomaticZenRule()
107 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule() argument
110 this(name, owner, configurationActivity, conditionId, policy, interruptionFilter, enabled); in AutomaticZenRule()
122 configurationActivity = source.readParcelable(null); in AutomaticZenRule()
140 return configurationActivity; in getConfigurationActivity()
244 this.configurationActivity = componentName; in setConfigurationActivity()
264 dest.writeParcelable(configurationActivity, 0); in writeToParcel()
278 .append(",configActivity=").append(configurationActivity) in toString()
[all …]
DNotificationManager.java927 rule.configurationActivity, rule.conditionId, rule.zenPolicy, in getAutomaticZenRules()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java160 rule.configurationActivity = new ComponentName("a", "a"); in testRuleXml()
192 assertEquals(rule.configurationActivity, fromXml.configurationActivity); in testRuleXml()
DZenModeHelperTest.java210 customRule.configurationActivity = in getCustomAutomaticRules()
212 customRule.pkg = customRule.configurationActivity.getPackageName(); in getCustomAutomaticRules()
825 customRule.configurationActivity = in testWriteXmlWithZenPolicy()
827 customRule.pkg = customRule.configurationActivity.getPackageName(); in testWriteXmlWithZenPolicy()
870 customRule.configurationActivity = in testReadXmlRestoreWithZenPolicy_forSystemUser()
872 customRule.pkg = customRule.configurationActivity.getPackageName(); in testReadXmlRestoreWithZenPolicy_forSystemUser()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java646 rt.configurationActivity = safeComponentName(parser, RULE_ATT_CONFIG_ACTIVITY); in readRuleXml()
649 : (rt.configurationActivity != null) in readRuleXml()
650 ? rt.configurationActivity.getPackageName() in readRuleXml()
676 if (rule.configurationActivity != null) { in writeRuleXml()
678 rule.configurationActivity.flattenToString()); in writeRuleXml()
1647 public ComponentName configurationActivity; // optional field in ZenModeConfig.ZenRule
1669 configurationActivity = source.readParcelable(null); in ZenRule()
1701 dest.writeParcelable(configurationActivity, 0); in writeToParcel()
1732 .append(",configActivity=").append(configurationActivity) in toString()
1805 if (!Objects.equals(configurationActivity, to.configurationActivity)) { in appendDiff()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java126 if (rule.configurationActivity != null) return; in evaluateRule()
DZenModeHelper.java459 if (cn.equals(rule.component) || cn.equals(rule.configurationActivity)) { in getCurrentInstanceCount()
553 rule.configurationActivity = automaticZenRule.getConfigurationActivity(); in populateZenRule()
556 : rule.configurationActivity.getPackageName(); in populateZenRule()
573 return new AutomaticZenRule(rule.name, rule.component, rule.configurationActivity, in createAutomaticZenRule()
/frameworks/base/non-updatable-api/
Dcurrent.txt41910 …al String META_DATA_CONFIGURATION_ACTIVITY = "android.service.zen.automatic.configurationActivity";
/frameworks/base/api/
Dcurrent.txt42054 …al String META_DATA_CONFIGURATION_ACTIVITY = "android.service.zen.automatic.configurationActivity";