Home
last modified time | relevance | path

Searched refs:hasDiff (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeDiffTest.java117 assertFalse(dSame.hasDiff()); in testRuleDiff_addRemoveSame()
121 assertTrue(deleted.hasDiff()); in testRuleDiff_addRemoveSame()
126 assertTrue(added.hasDiff()); in testRuleDiff_addRemoveSame()
144 assertTrue(d.hasDiff()); in testRuleDiff_fieldDiffs()
150 assertTrue(d.getDiffForField(name).hasDiff()); in testRuleDiff_fieldDiffs()
164 assertFalse(dSame.hasDiff()); in testConfigDiff_addRemoveSame()
167 assertTrue(added.hasDiff()); in testConfigDiff_addRemoveSame()
171 assertTrue(removed.hasDiff()); in testConfigDiff_addRemoveSame()
189 assertTrue(d.hasDiff()); in testConfigDiff_fieldDiffs()
195 assertTrue(d.getDiffForField(name).hasDiff()); in testConfigDiff_fieldDiffs()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeDiff.java101 public boolean hasDiff() { in hasDiff() method in ZenModeDiff.FieldDiff
125 public abstract boolean hasDiff(); in hasDiff() method in ZenModeDiff.BaseDiff
327 if (ruleDiff.hasDiff()) { in ConfigDiff()
333 if (manualRuleDiff.hasDiff()) { in ConfigDiff()
350 public boolean hasDiff() { in hasDiff() method in ZenModeDiff.ConfigDiff
360 if (!hasDiff()) { in toString()
408 if (mManualRuleDiff != null && mManualRuleDiff.hasDiff()) { in toString()
421 if (diff != null && diff.hasDiff()) { in toString()
577 public boolean hasDiff() { in hasDiff() method in ZenModeDiff.RuleDiff
586 if (!hasDiff()) { in toString()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java345 if (!diff.hasDiff()) { in getChangedRuleType()
353 if (manualDiff != null && manualDiff.hasDiff()) { in getChangedRuleType()
366 if (d != null && d.hasDiff()) { in getChangedRuleType()
508 if (enabled != null && enabled.hasDiff()) { in getIsUserAction()
513 if (snoozing != null && snoozing.hasDiff() && (boolean) snoozing.to()) { in getIsUserAction()
649 if (!diff.hasDiff()) { in getChangedAutomaticRules()
DZenLog.java126 if (diff == null || !diff.hasDiff()) { in traceConfig()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java263 boolean hasDiff = false; //if we are currently targeting a sequence in maxLengthSequence()
273 hasDiff = false; in maxLengthSequence()
277 if(hasDiff && currentDiff != diff) { in maxLengthSequence()
282 hasDiff = true; in maxLengthSequence()