HomeSort by relevance Sort by last modified time
    Searched refs:ZenRule (Results 1 - 19 of 19) sorted by null

  /frameworks/base/core/java/android/service/notification/
ZenModeConfig.aidl 20 parcelable ZenModeConfig.ZenRule;
ZenModeConfig.java 163 public ZenRule manualRule;
164 public ArrayMap<String, ZenRule> automaticRules = new ArrayMap<>();
181 final ZenRule[] rules = new ZenRule[len];
183 source.readTypedArray(rules, ZenRule.CREATOR);
209 final ZenRule[] rules = new ZenRule[len];
296 final ZenRule fromRule = automaticRules != null ? automaticRules.get(rule) : null;
297 final ZenRule toRule = to.automaticRules != null ? to.automaticRules.get(rule) : null;
298 ZenRule.appendDiff(d, "automaticRule[" + rule + "]", fromRule, toRule)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
ZenModeController.java 23 import android.service.notification.ZenModeConfig.ZenRule;
30 ZenRule getManualRule();
46 default void onManualRuleChanged(ZenRule rule) {}
ZenModeControllerImpl.java 37 import android.service.notification.ZenModeConfig.ZenRule;
144 public ZenRule getManualRule() {
204 private void fireManualRuleChanged(ZenRule rule) {
222 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null;
225 final ZenRule newRule = config != null ? config.manualRule : null;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
ZenModeSettingsFooterPreferenceControllerTest.java 38 import android.service.notification.ZenModeConfig.ZenRule;
66 private final ArrayMap<String, ZenRule> mInjectedAutomaticRules = new ArrayMap<>();
196 ZenRule rule = injectNewAutomaticRule(TEST_RULE_NAME, true, false);
212 ZenRule rule1 = injectNewAutomaticRule(TEST_RULE_NAME + "1", false, false);
215 ZenRule rule2 = injectNewAutomaticRule(TEST_RULE_NAME + "2", true, true);
217 ZenRule rule3 = injectNewAutomaticRule(TEST_RULE_NAME + "3", true, false);
233 ZenRule rule1 = injectNewAutomaticRule(TEST_RULE_NAME + "1", true, false);
236 ZenRule rule2 = injectNewAutomaticRule(TEST_RULE_NAME + "2", true, false);
239 ZenRule rule3 = injectNewAutomaticRule(TEST_RULE_NAME + "3", false, false);
252 ZenRule injectedManualRule = new ZenRule()
    [all...]
ZenModeBehaviorFooterPreferenceControllerTest.java 39 import android.service.notification.ZenModeConfig.ZenRule;
146 ZenRule injectedManualRule = new ZenRule();
160 ZenRule injectedManualRule = new ZenRule();
176 ZenRule injectedManualRule = new ZenRule();
190 ZenRule injectedManualRule = new ZenRule();
206 ArrayMap<String, ZenRule> injectedAutomaticRules = new ArrayMap<>()
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
FakeZenModeController.java 20 import android.service.notification.ZenModeConfig.ZenRule;
42 public ZenRule getManualRule() {
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeConditions.java 25 import android.service.notification.ZenModeConfig.ZenRule;
71 for (ZenRule automaticRule : config.automaticRules.values()) {
114 for (ZenRule automaticRule : config.automaticRules.values()) {
123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) {
170 for (ZenRule rule : config.automaticRules.values()) {
178 private boolean updateSnoozing(ZenRule rule) {
187 private boolean updateCondition(Uri id, Condition condition, ZenRule rule) {
ZenModeHelper.java 57 import android.service.notification.ZenModeConfig.ZenRule;
259 public List<ZenRule> getZenRules() {
260 List<ZenRule> rules = new ArrayList<>();
263 for (ZenRule rule : mConfig.automaticRules.values()) {
273 ZenRule rule;
312 ZenRule rule = new ZenRule();
329 Log.d(TAG, "updateAutomaticZenRule zenRule=" + automaticZenRule
333 ZenModeConfig.ZenRule rule;
354 ZenRule rule = newConfig.automaticRules.get(id)
    [all...]
NotificationManagerService.java     [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeBehaviorFooterPreferenceController.java 77 for (ZenModeConfig.ZenRule automaticRule : config.automaticRules.values()) {
ZenModeSettingsFooterPreferenceController.java 98 for (ZenModeConfig.ZenRule automaticRule : config.automaticRules.values()) {
  /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
ZenModeHelperTest.java 576 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule();
598 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule();
622 ArrayMap<String, ZenModeConfig.ZenRule> enabledAutoRule = new ArrayMap<>();
623 ZenModeConfig.ZenRule customRule = new ZenModeConfig.ZenRule();
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
ZenModePanel.java 36 import android.service.notification.ZenModeConfig.ZenRule;
292 ZenRule manualRule = mController.getManualRule();
410 void handleUpdateManualRule(ZenRule rule) {
    [all...]
  /frameworks/base/core/java/android/app/
INotificationManager.aidl 157 List<ZenModeConfig.ZenRule> getZenRules();
NotificationManager.java 724 List<ZenModeConfig.ZenRule> rules = service.getZenRules();
726 for (ZenModeConfig.ZenRule rule : rules) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DndTile.java 37 import android.service.notification.ZenModeConfig.ZenRule;
393 for (ZenRule automaticRule : config.automaticRules.values()) {
  /frameworks/base/config/
preloaded-classes     [all...]
boot-image-profile.txt     [all...]

Completed in 1293 milliseconds