Searched refs:automaticZenRule (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 291 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule, String reason) { in addAutomaticZenRule() argument 292 if (!isSystemRule(automaticZenRule)) { in addAutomaticZenRule() 293 PackageItemInfo component = getServiceInfo(automaticZenRule.getOwner()); in addAutomaticZenRule() 295 component = getActivityInfo(automaticZenRule.getConfigurationActivity()); in addAutomaticZenRule() 305 int newRuleInstanceCount = getCurrentInstanceCount(automaticZenRule.getOwner()) in addAutomaticZenRule() 306 + getCurrentInstanceCount(automaticZenRule.getConfigurationActivity()) in addAutomaticZenRule() 320 Log.d(TAG, "addAutomaticZenRule rule= " + automaticZenRule + " reason=" + reason); in addAutomaticZenRule() 324 populateZenRule(automaticZenRule, rule, true); in addAutomaticZenRule() 334 public boolean updateAutomaticZenRule(String ruleId, AutomaticZenRule automaticZenRule, in updateAutomaticZenRule() argument 340 Log.d(TAG, "updateAutomaticZenRule zenRule=" + automaticZenRule in updateAutomaticZenRule() [all …]
|
D | NotificationManagerService.java | 3459 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule) { 3460 Preconditions.checkNotNull(automaticZenRule, "automaticZenRule is null"); 3461 Preconditions.checkNotNull(automaticZenRule.getName(), "Name is null"); 3462 if (automaticZenRule.getOwner() == null 3463 && automaticZenRule.getConfigurationActivity() == null) { 3467 Preconditions.checkNotNull(automaticZenRule.getConditionId(), "ConditionId is null"); 3468 if (automaticZenRule.getZenPolicy() != null 3469 && automaticZenRule.getInterruptionFilter() != INTERRUPTION_FILTER_PRIORITY) { 3475 return mZenModeHelper.addAutomaticZenRule(automaticZenRule, 3480 public boolean updateAutomaticZenRule(String id, AutomaticZenRule automaticZenRule) [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 185 String addAutomaticZenRule(in AutomaticZenRule automaticZenRule); in addAutomaticZenRule() argument 186 boolean updateAutomaticZenRule(String id, in AutomaticZenRule automaticZenRule); in updateAutomaticZenRule() argument
|
D | NotificationManager.java | 967 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule) { in addAutomaticZenRule() argument 970 return service.addAutomaticZenRule(automaticZenRule); in addAutomaticZenRule() 989 public boolean updateAutomaticZenRule(String id, AutomaticZenRule automaticZenRule) { in updateAutomaticZenRule() argument 992 return service.updateAutomaticZenRule(id, automaticZenRule); in updateAutomaticZenRule()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |