/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 200 private ArrayMap<String, ZenModeConfig.ZenRule> getCustomAutomaticRules() { in getCustomAutomaticRules() 201 ArrayMap<String, ZenModeConfig.ZenRule> automaticRules = new ArrayMap<>(); in getCustomAutomaticRules() 202 ZenModeConfig.ZenRule customRule = new ZenModeConfig.ZenRule(); in getCustomAutomaticRules() 699 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule(); in testParcelConfig() 721 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule(); in testWriteXml() 816 ArrayMap<String, ZenModeConfig.ZenRule> automaticRules = new ArrayMap<>(); in testWriteXmlWithZenPolicy() 817 ZenModeConfig.ZenRule customRule = new ZenModeConfig.ZenRule(); in testWriteXmlWithZenPolicy() 849 ZenModeConfig.ZenRule original = expected.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy() 850 ZenModeConfig.ZenRule current = mZenModeHelperSpy.mConfig.automaticRules.get(ruleId); in testWriteXmlWithZenPolicy() 861 ArrayMap<String, ZenModeConfig.ZenRule> automaticRules = new ArrayMap<>(); in testReadXmlRestoreWithZenPolicy_forSystemUser() [all …]
|
D | ZenModeConfigTest.java | 159 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml() 185 ZenModeConfig.ZenRule fromXml = ZenModeConfig.readRuleXml(parser); in testRuleXml()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeController.java | 24 import android.service.notification.ZenModeConfig.ZenRule; 31 ZenRule getManualRule(); in getManualRule() 49 default void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
|
D | ZenModeControllerImpl.java | 38 import android.service.notification.ZenModeConfig.ZenRule; 156 public ZenRule getManualRule() { in getManualRule() 229 private void fireManualRuleChanged(ZenRule rule) { in fireManualRuleChanged() 267 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig() 272 final ZenRule newRule = config != null ? config.manualRule : null; in updateZenModeConfig()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 57 import android.service.notification.ZenModeConfig.ZenRule; 265 public List<ZenRule> getZenRules() { in getZenRules() 266 List<ZenRule> rules = new ArrayList<>(); in getZenRules() 269 for (ZenRule rule : mConfig.automaticRules.values()) { in getZenRules() 279 ZenRule rule; in getAutomaticZenRule() 323 ZenRule rule = new ZenRule(); in addAutomaticZenRule() 344 ZenModeConfig.ZenRule rule; in updateAutomaticZenRule() 364 ZenRule rule = newConfig.automaticRules.get(id); in removeAutomaticZenRule() 383 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules() 414 private void setAutomaticZenRuleStateLocked(ZenModeConfig config, ZenRule rule, in setAutomaticZenRuleStateLocked() [all …]
|
D | ZenModeConditions.java | 24 import android.service.notification.ZenModeConfig.ZenRule; 76 for (ZenRule automaticRule : config.automaticRules.values()) { in evaluateConfig() 123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, ComponentName trigger, in evaluateRule() 175 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing()
|
D | NotificationManagerService.java | 3460 public List<ZenModeConfig.ZenRule> getZenRules() throws RemoteException {
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 178 public ZenRule manualRule; 180 public ArrayMap<String, ZenRule> automaticRules = new ArrayMap<>(); 198 final ZenRule[] rules = new ZenRule[len]; in ZenModeConfig() 200 source.readTypedArray(rules, ZenRule.CREATOR); in ZenModeConfig() 226 final ZenRule[] rules = new ZenRule[len]; in writeToParcel() 331 final ZenRule fromRule = automaticRules != null ? automaticRules.get(rule) : null; in diff() 332 final ZenRule toRule = to.automaticRules != null ? to.automaticRules.get(rule) : null; in diff() 333 ZenRule.appendDiff(d, "automaticRule[" + rule + "]", fromRule, toRule); in diff() 335 ZenRule.appendDiff(d, "manualRule", manualRule, to.manualRule); in diff() 372 private static boolean isValidManualRule(ZenRule rule) { in isValidManualRule() [all …]
|
D | ZenModeConfig.aidl | 20 parcelable ZenModeConfig.ZenRule;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeZenModeController.java | 21 import android.service.notification.ZenModeConfig.ZenRule; 43 public ZenRule getManualRule() { in getManualRule()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenModePanel.java | 36 import android.service.notification.ZenModeConfig.ZenRule; 292 ZenRule manualRule = mController.getManualRule(); in onAttach() 410 void handleUpdateManualRule(ZenRule rule) { in handleUpdateManualRule() 844 public void onManualRuleChanged(ZenRule rule) { 860 case MANUAL_RULE_CHANGED: handleUpdateManualRule((ZenRule) msg.obj); break; in handleMessage()
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 179 // An android.service.notification.ZenModeConfig.ZenRule object. 209 // Indicates whether this ZenRule has been modified after its initial creation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 37 import android.service.notification.ZenModeConfig.ZenRule; 400 for (ZenRule automaticRule : config.automaticRules.values()) { in updatePanel()
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 184 List<ZenModeConfig.ZenRule> getZenRules(); in getZenRules()
|
D | NotificationManager.java | 923 List<ZenModeConfig.ZenRule> rules = service.getZenRules(); in getAutomaticZenRules() 925 for (ZenModeConfig.ZenRule rule : rules) { in getAutomaticZenRules()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 13359 HSPLandroid/service/notification/ZenModeConfig$ZenRule$1;-><init>()V 13360 …otification/ZenModeConfig$ZenRule$1;->createFromParcel(Landroid/os/Parcel;)Landroid/service/notifi… 13361 HSPLandroid/service/notification/ZenModeConfig$ZenRule$1;->createFromParcel(Landroid/os/Parcel;)Lja… 13362 HSPLandroid/service/notification/ZenModeConfig$ZenRule;-><init>(Landroid/os/Parcel;)V 13363 …Config$ZenRule;->appendDiff(Landroid/service/notification/ZenModeConfig$Diff;Ljava/lang/String;Lan… 13364 HSPLandroid/service/notification/ZenModeConfig$ZenRule;->equals(Ljava/lang/Object;)Z 13365 HSPLandroid/service/notification/ZenModeConfig$ZenRule;->hashCode()I 13366 HSPLandroid/service/notification/ZenModeConfig$ZenRule;->isAutomaticActive()Z 13367 HSPLandroid/service/notification/ZenModeConfig$ZenRule;->isTrueOrUnknown()Z 13368 HSPLandroid/service/notification/ZenModeConfig$ZenRule;->toString()Ljava/lang/String; [all …]
|
D | preloaded-classes | 3200 android.service.notification.ZenModeConfig$ZenRule$1
|
D | hiddenapi-greylist-max-o.txt | 68367 Landroid/service/notification/ZenModeConfig$ZenRule; 68368 Landroid/service/notification/ZenModeConfig$ZenRule;-><init>()V 68369 Landroid/service/notification/ZenModeConfig$ZenRule;-><init>(Landroid/os/Parcel;)V 68370 …Config$ZenRule;->appendDiff(Landroid/service/notification/ZenModeConfig$Diff;Ljava/lang/String;Lan… 68371 …ZenRule;->appendDiff(Landroid/service/notification/ZenModeConfig$Diff;Ljava/lang/String;Landroid/s… 68372 Landroid/service/notification/ZenModeConfig$ZenRule;->component:Landroid/content/ComponentName; 68373 Landroid/service/notification/ZenModeConfig$ZenRule;->condition:Landroid/service/notification/Condi… 68374 Landroid/service/notification/ZenModeConfig$ZenRule;->CREATOR:Landroid/os/Parcelable$Creator; 68375 Landroid/service/notification/ZenModeConfig$ZenRule;->enabler:Ljava/lang/String; 68376 Landroid/service/notification/ZenModeConfig$ZenRule;->id:Ljava/lang/String; [all …]
|
/frameworks/base/services/ |
D | art-profile | 9891 …odeConditions;->evaluateRule(Landroid/service/notification/ZenModeConfig$ZenRule;Landroid/util/Arr… 9896 …ification/ZenModeConditions;->updateSnoozing(Landroid/service/notification/ZenModeConfig$ZenRule;)Z 9936 …on/ZenModeHelper;->canManageAutomaticZenRule(Landroid/service/notification/ZenModeConfig$ZenRule;)Z 9939 …per;->createAutomaticZenRule(Landroid/service/notification/ZenModeConfig$ZenRule;)Landroid/app/Aut… 9944 …t/Uri;Landroid/service/notification/Condition;)Landroid/service/notification/ZenModeConfig$ZenRule; 9960 …pulateZenRule(Landroid/app/AutomaticZenRule;Landroid/service/notification/ZenModeConfig$ZenRule;Z)V 9980 …/notification/ZenModeHelper;->updateSnoozing(Landroid/service/notification/ZenModeConfig$ZenRule;)Z
|