Home
last modified time | relevance | path

Searched refs:ZenRule (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java200 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 …]
DZenModeConfigTest.java159 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/
DZenModeController.java24 import android.service.notification.ZenModeConfig.ZenRule;
31 ZenRule getManualRule(); in getManualRule()
49 default void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
DZenModeControllerImpl.java38 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/
DZenModeHelper.java57 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 …]
DZenModeConditions.java24 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()
DNotificationManagerService.java3535 public List<ZenModeConfig.ZenRule> getZenRules() throws RemoteException {
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java178 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 …]
DZenModeConfig.aidl20 parcelable ZenModeConfig.ZenRule;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeZenModeController.java21 import android.service.notification.ZenModeConfig.ZenRule;
43 public ZenRule getManualRule() { in getManualRule()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java36 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/
Dnotification.proto179 // 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/
DDndTile.java37 import android.service.notification.ZenModeConfig.ZenRule;
400 for (ZenRule automaticRule : config.automaticRules.values()) { in updatePanel()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl186 List<ZenModeConfig.ZenRule> getZenRules(); in getZenRules()
DNotificationManager.java923 List<ZenModeConfig.ZenRule> rules = service.getZenRules(); in getAutomaticZenRules()
925 for (ZenModeConfig.ZenRule rule : rules) { in getAutomaticZenRules()
/frameworks/base/config/
Dboot-image-profile.txt13359 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 …]
Dpreloaded-classes3200 android.service.notification.ZenModeConfig$ZenRule$1
Dhiddenapi-greylist-max-o.txt63798 Landroid/service/notification/ZenModeConfig$ZenRule;-><init>()V
63799 Landroid/service/notification/ZenModeConfig$ZenRule;-><init>(Landroid/os/Parcel;)V
63800 …Config$ZenRule;->appendDiff(Landroid/service/notification/ZenModeConfig$Diff;Ljava/lang/String;Lan…
63801ZenRule;->appendDiff(Landroid/service/notification/ZenModeConfig$Diff;Ljava/lang/String;Landroid/s…
63802 Landroid/service/notification/ZenModeConfig$ZenRule;->component:Landroid/content/ComponentName;
63803 Landroid/service/notification/ZenModeConfig$ZenRule;->condition:Landroid/service/notification/Condi…
63804 Landroid/service/notification/ZenModeConfig$ZenRule;->CREATOR:Landroid/os/Parcelable$Creator;
63805 Landroid/service/notification/ZenModeConfig$ZenRule;->enabler:Ljava/lang/String;
63806 Landroid/service/notification/ZenModeConfig$ZenRule;->id:Ljava/lang/String;
63807 Landroid/service/notification/ZenModeConfig$ZenRule;->isAutomaticActive()Z
[all …]
/frameworks/base/services/
Dart-profile9891 …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