Searched refs:automaticZenRule (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1367 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule) { in addAutomaticZenRule() argument 1368 return addAutomaticZenRule(automaticZenRule, /* fromUser= */ false); in addAutomaticZenRule() 1375 public String addAutomaticZenRule(@NonNull AutomaticZenRule automaticZenRule, in addAutomaticZenRule() argument 1379 return service.addAutomaticZenRule(automaticZenRule, in addAutomaticZenRule() 1403 public boolean updateAutomaticZenRule(String id, AutomaticZenRule automaticZenRule) { in updateAutomaticZenRule() argument 1404 return updateAutomaticZenRule(id, automaticZenRule, /* fromUser= */ false); in updateAutomaticZenRule() 1411 @NonNull AutomaticZenRule automaticZenRule, boolean fromUser) { in updateAutomaticZenRule() argument 1414 return service.updateAutomaticZenRule(id, automaticZenRule, fromUser); in updateAutomaticZenRule()
|
D | INotificationManager.aidl | 225 String addAutomaticZenRule(in AutomaticZenRule automaticZenRule, String pkg, boolean fromUser); in addAutomaticZenRule() argument 226 … boolean updateAutomaticZenRule(String id, in AutomaticZenRule automaticZenRule, boolean fromUser); in updateAutomaticZenRule() argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 448 public String addAutomaticZenRule(String pkg, AutomaticZenRule automaticZenRule, in addAutomaticZenRule() argument 452 PackageItemInfo component = getServiceInfo(automaticZenRule.getOwner()); in addAutomaticZenRule() 454 component = getActivityInfo(automaticZenRule.getConfigurationActivity()); in addAutomaticZenRule() 464 int newRuleInstanceCount = getCurrentInstanceCount(automaticZenRule.getOwner()) in addAutomaticZenRule() 465 + getCurrentInstanceCount(automaticZenRule.getConfigurationActivity()) in addAutomaticZenRule() 480 Log.d(TAG, "addAutomaticZenRule rule= " + automaticZenRule + " reason=" + reason); in addAutomaticZenRule() 484 populateZenRule(pkg, automaticZenRule, rule, origin, /* isNew= */ true); in addAutomaticZenRule() 485 rule = maybeRestoreRemovedRule(newConfig, rule, automaticZenRule, origin); in addAutomaticZenRule() 487 maybeReplaceDefaultRule(newConfig, automaticZenRule); in addAutomaticZenRule() 548 public boolean updateAutomaticZenRule(String ruleId, AutomaticZenRule automaticZenRule, in updateAutomaticZenRule() argument [all …]
|
D | NotificationManagerService.java | 5516 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule, String pkg, 5518 validateAutomaticZenRule(/* updateId= */ null, automaticZenRule); 5520 if (automaticZenRule.getZenPolicy() != null 5521 && automaticZenRule.getInterruptionFilter() != INTERRUPTION_FILTER_PRIORITY) { 5532 if (automaticZenRule.getOwner() != null) { 5533 rulePkg = automaticZenRule.getOwner().getPackageName(); 5537 return mZenModeHelper.addAutomaticZenRule(rulePkg, automaticZenRule, 5550 public boolean updateAutomaticZenRule(String id, AutomaticZenRule automaticZenRule, 5552 validateAutomaticZenRule(id, automaticZenRule); 5556 return mZenModeHelper.updateAutomaticZenRule(id, automaticZenRule,
|