Home
last modified time | relevance | path

Searched refs:rulesState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesStateTest.java114 private static void checkParcelableRoundTrip(RulesState rulesState) { in checkParcelableRoundTrip() argument
116 rulesState.writeToParcel(parcel, 0 /* flags */); in checkParcelableRoundTrip()
121 assertEquals(rulesState, newVersion); in checkParcelableRoundTrip()
126 RulesState rulesState = new RulesState( in isSystemVersionNewerThan() local
130 assertTrue(rulesState.isSystemVersionNewerThan(rulesVersion("2016a", 1))); in isSystemVersionNewerThan()
131 assertFalse(rulesState.isSystemVersionNewerThan(rulesVersion("2016b", 1))); in isSystemVersionNewerThan()
132 assertFalse(rulesState.isSystemVersionNewerThan(rulesVersion("2016c", 1))); in isSystemVersionNewerThan()
/frameworks/base/services/core/java/com/android/server/timezone/
DRulesManagerService.java440 RulesState rulesState = getRulesStateInternal(); in dump() local
450 if (rulesState != null) { in dump()
451 value = Boolean.toString(rulesState.isOperationInProgress()); in dump()
459 if (rulesState != null) { in dump()
460 value = rulesState.getSystemRulesVersion(); in dump()
468 if (rulesState != null) { in dump()
469 value = distroStatusToString(rulesState.getDistroStatus()); in dump()
477 if (rulesState != null) { in dump()
479 rulesState.getInstalledDistroRulesVersion(); in dump()
492 if (rulesState != null) { in dump()
[all …]
/frameworks/base/core/java/android/app/timezone/
DRulesManager.java133 RulesState rulesState = mIRulesManager.getRulesState(); in getRulesState() local
134 logDebug("mIRulesManager.getRulesState() returned " + rulesState); in getRulesState()
135 return rulesState; in getRulesState()