Searched refs:configurationActivity (Results 1 – 12 of 12) sorted by relevance
148 private ComponentName configurationActivity; field in AutomaticZenRule219 @Nullable ComponentName configurationActivity, @NonNull Uri conditionId, in AutomaticZenRule() argument223 this.configurationActivity = getTrimmedComponentName(configurationActivity); in AutomaticZenRule()234 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule() argument237 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 …]
1324 rule.configurationActivity, rule.conditionId, rule.zenPolicy, in getAutomaticZenRules()
492 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()
323 rule.configurationActivity = new ComponentName("a", "a"); in makeRule()
448 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()
528 if (!Objects.equals(from.configurationActivity, to.configurationActivity)) { in RuleDiff()530 from.configurationActivity, to.configurationActivity)); in RuleDiff()
1140 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.ZenRule2503 … configurationActivity = 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 …]
681 if (rule.configurationActivity != null) { in getRulePackageAndUser()682 return new Pair(rule.configurationActivity.getPackageName(), in getRulePackageAndUser()
137 if (rule.configurationActivity != null) return; in evaluateRule()
778 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()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41144 …al String META_DATA_CONFIGURATION_ACTIVITY = "android.service.zen.automatic.configurationActivity";