Home
last modified time | relevance | path

Searched refs:snoozing (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java398 private void updateSnoozingLocked(boolean snoozing, String reason) { in updateSnoozingLocked() argument
399 if (mBatterySaverSnoozing == snoozing) { in updateSnoozingLocked()
402 if (DEBUG) Slog.d(TAG, "Snooze: " + (snoozing ? "start" : "stop") + " reason=" + reason); in updateSnoozingLocked()
403 mBatterySaverSnoozing = snoozing; in updateSnoozingLocked()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java593 rt.snoozing = safeBoolean(parser, RULE_ATT_SNOOZING, false); in readRuleXml()
618 out.attribute(null, RULE_ATT_SNOOZING, Boolean.toString(rule.snoozing)); in writeRuleXml()
1257 public boolean snoozing; // user manually disabled this instance field in ZenModeConfig.ZenRule
1271 snoozing = source.readInt() == 1; in ZenRule()
1296 dest.writeInt(snoozing ? 1 : 0); in writeToParcel()
1326 .append(",snoozing=").append(snoozing) in toString()
1347 proto.write(ZenRuleProto.IS_SNOOZING, snoozing); in writeToProto()
1381 if (snoozing != to.snoozing) { in appendDiff()
1382 d.addLine(item, "snoozing", snoozing, to.snoozing); in appendDiff()
1416 && other.snoozing == snoozing in equals()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java179 if (rule != null && rule.snoozing && (mFirstEvaluation || !rule.isTrueOrUnknown())) { in updateSnoozing()
180 rule.snoozing = false; in updateSnoozing()
DZenModeHelper.java493 rule.snoozing = false; in populateZenRule()
529 automaticRule.snoozing = true; in setManualZenMode()
552 && !rule.snoozing) { in dump()
621 automaticRule.snoozing = false; in readXml()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java579 mZenModeHelperSpy.mConfig.manualRule.snoozing = true; in testParcelConfig()
603 mZenModeHelperSpy.mConfig.manualRule.snoozing = true; in testWriteXml()
832 mZenModeHelperSpy.mConfig.manualRule.snoozing = true; in setupZenConfig()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt5184 Landroid/service/notification/ZenModeConfig$ZenRule;->snoozing:Z