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.java113 private static void checkParcelableRoundTrip(RulesState rulesState) { in checkParcelableRoundTrip() argument
115 rulesState.writeToParcel(parcel, 0 /* flags */); in checkParcelableRoundTrip()
120 assertEquals(rulesState, newVersion); in checkParcelableRoundTrip()
125 RulesState rulesState = new RulesState( in isBaseVersionNewerThan() local
129 assertTrue(rulesState.isBaseVersionNewerThan(rulesVersion("2016a", 1))); in isBaseVersionNewerThan()
130 assertFalse(rulesState.isBaseVersionNewerThan(rulesVersion("2016b", 1))); in isBaseVersionNewerThan()
131 assertFalse(rulesState.isBaseVersionNewerThan(rulesVersion("2016c", 1))); in isBaseVersionNewerThan()
/frameworks/base/services/core/java/com/android/server/timezone/
DRulesManagerService.java443 RulesState rulesState = getRulesStateInternal(); in dump() local
453 if (rulesState != null) { in dump()
454 value = Boolean.toString(rulesState.isOperationInProgress()); in dump()
462 if (rulesState != null) { in dump()
463 value = rulesState.getBaseRulesVersion(); in dump()
471 if (rulesState != null) { in dump()
472 value = distroStatusToString(rulesState.getDistroStatus()); in dump()
480 if (rulesState != null) { in dump()
482 rulesState.getInstalledDistroRulesVersion(); in dump()
495 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()