Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAutomaticZenRule.java148 private ComponentName configurationActivity; field in AutomaticZenRule
219 @Nullable ComponentName configurationActivity, @NonNull Uri conditionId, in AutomaticZenRule() argument
223 this.configurationActivity = getTrimmedComponentName(configurationActivity); in AutomaticZenRule()
234 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule() argument
237 this(name, owner, configurationActivity, conditionId, policy, interruptionFilter, enabled); in AutomaticZenRule()
250 configurationActivity = getTrimmedComponentName( in AutomaticZenRule()
277 return configurationActivity; in getConfigurationActivity()
411 this.configurationActivity = getTrimmedComponentName(componentName); in setConfigurationActivity()
541 dest.writeParcelable(configurationActivity, 0); in writeToParcel()
564 .append(",configActivity=").append(configurationActivity) in toString()
[all …]
DNotificationManager.java1324 rule.configurationActivity, rule.conditionId, rule.zenPolicy, in getAutomaticZenRules()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java492 rule.configurationActivity = CONFIG_ACTIVITY; in testWriteToParcel()
524 assertEquals(rule.configurationActivity, parceled.configurationActivity); in testWriteToParcel()
551 rule.configurationActivity = new ComponentName("a", "a"); in testRuleXml_classic()
574 assertEquals(rule.configurationActivity, fromXml.configurationActivity); in testRuleXml_classic()
588 rule.configurationActivity = CONFIG_ACTIVITY; in testRuleXml()
634 assertEquals(rule.configurationActivity, fromXml.configurationActivity); in testRuleXml()
683 rule.configurationActivity = new ComponentName("a", "a"); in testRuleXml_pkg_component()
697 rule.configurationActivity = new ComponentName("a", "a"); in testRuleXml_pkg_configActivity()
711 rule.configurationActivity = new ComponentName("a", "a"); in testRuleXml_getPkg_nullPkg()
DZenModeDiffTest.java323 rule.configurationActivity = new ComponentName("a", "a"); in makeRule()
DZenModeHelperTest.java448 customRule.configurationActivity = in createCustomAutomaticRule()
450 customRule.pkg = customRule.configurationActivity.getPackageName(); in createCustomAutomaticRule()
1490 customRule.configurationActivity = in testWriteXmlWithZenPolicy()
1492 customRule.pkg = customRule.configurationActivity.getPackageName(); in testWriteXmlWithZenPolicy()
1541 customRule.configurationActivity = in testReadXmlRestoreWithZenPolicy_forSystemUser()
1543 customRule.pkg = customRule.configurationActivity.getPackageName(); in testReadXmlRestoreWithZenPolicy_forSystemUser()
4193 rule.configurationActivity = CONFIG_ACTIVITY; in zenRuleToAutomaticZenRule_allFields()
4262 assertEquals(CONFIG_ACTIVITY, storedRule.configurationActivity); in automaticZenRuleToZenRule_allFields()
/frameworks/base/core/java/android/service/notification/
DZenModeDiff.java528 if (!Objects.equals(from.configurationActivity, to.configurationActivity)) { in RuleDiff()
530 from.configurationActivity, to.configurationActivity)); in RuleDiff()
DZenModeConfig.java1140 rt.configurationActivity = safeComponentName(parser, RULE_ATT_CONFIG_ACTIVITY); in readRuleXml()
1189 if (rule.configurationActivity != null) { in writeRuleXml()
1191 rule.configurationActivity.flattenToString()); in writeRuleXml()
2470 public ComponentName configurationActivity; // optional field in ZenModeConfig.ZenRule
2503configurationActivity = source.readParcelable(null, android.content.ComponentName.class); in ZenRule()
2568 dest.writeParcelable(configurationActivity, 0); in writeToParcel()
2618 .append(",configActivity=").append(configurationActivity) in toString()
2692 && Objects.equals(other.configurationActivity, configurationActivity) in equals()
2720 component, configurationActivity, pkg, id, enabler, zenPolicy, in hashCode()
2726 component, configurationActivity, pkg, id, enabler, zenPolicy, modified); in hashCode()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java681 if (rule.configurationActivity != null) { in getRulePackageAndUser()
682 return new Pair(rule.configurationActivity.getPackageName(), in getRulePackageAndUser()
DZenModeConditions.java137 if (rule.configurationActivity != null) return; in evaluateRule()
DZenModeHelper.java778 rule.configurationActivity = null; in newImplicitZenRule()
986 if (cn.equals(rule.component) || cn.equals(rule.configurationActivity)) { in getCurrentInstanceCount()
1156 if (!Objects.equals(rule.configurationActivity, azr.getConfigurationActivity())) { in populateZenRule()
1157 rule.configurationActivity = azr.getConfigurationActivity(); in populateZenRule()
1253 rule.configurationActivity = azr.getConfigurationActivity(); in populateZenRule()
1479 .setConfigurationActivity(rule.configurationActivity) in zenRuleToAutomaticZenRule()
1484 rule.configurationActivity, in zenRuleToAutomaticZenRule()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41144 …al String META_DATA_CONFIGURATION_ACTIVITY = "android.service.zen.automatic.configurationActivity";