Searched refs:RulesState (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/timezone/ |
D | RulesStateTest.java | 37 RulesState one = new RulesState( in equalsAndHashCode() 39 RulesState.STAGED_OPERATION_INSTALL, rulesVersion("2016a", 3), in equalsAndHashCode() 40 RulesState.DISTRO_STATUS_INSTALLED, rulesVersion("2016b", 2)); in equalsAndHashCode() 43 RulesState two = new RulesState( in equalsAndHashCode() 45 RulesState.STAGED_OPERATION_INSTALL, rulesVersion("2016a", 3), in equalsAndHashCode() 46 RulesState.DISTRO_STATUS_INSTALLED, rulesVersion("2016b", 2)); in equalsAndHashCode() 49 RulesState differentBaseRules = new RulesState( in equalsAndHashCode() 51 RulesState.STAGED_OPERATION_INSTALL, rulesVersion("2016a", 3), in equalsAndHashCode() 52 RulesState.DISTRO_STATUS_INSTALLED, rulesVersion("2016b", 2)); in equalsAndHashCode() 55 RulesState differentFormatVersion = new RulesState( in equalsAndHashCode() [all …]
|
/frameworks/base/core/java/android/app/timezone/ |
D | RulesState.java | 63 public final class RulesState implements Parcelable { class 109 public RulesState(String baseRulesVersion, DistroFormatVersion distroFormatVersionSupported, in RulesState() method in RulesState 185 public static final @android.annotation.NonNull Parcelable.Creator<RulesState> CREATOR = 186 new Parcelable.Creator<RulesState>() { 187 public RulesState createFromParcel(Parcel in) { 188 return RulesState.createFromParcel(in); 191 public RulesState[] newArray(int size) { 192 return new RulesState[size]; 196 private static RulesState createFromParcel(Parcel in) { in createFromParcel() 204 return new RulesState(baseRulesVersion, distroFormatVersionSupported, operationInProgress, in createFromParcel() [all …]
|
D | IRulesManager.aidl | 20 import android.app.timezone.RulesState; 41 RulesState getRulesState(); in getRulesState()
|
D | RulesManager.java | 130 public RulesState getRulesState() { in getRulesState() 133 RulesState rulesState = mIRulesManager.getRulesState(); in getRulesState()
|
D | RulesState.aidl | 19 parcelable RulesState;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
D | RulesManagerServiceTest.java | 43 import android.app.timezone.RulesState; 156 RulesState expectedRuleState = new RulesState( in getRulesState_stagedInstall() 159 RulesState.STAGED_OPERATION_INSTALL, stagedDistroRulesVersion, in getRulesState_stagedInstall() 160 RulesState.DISTRO_STATUS_INSTALLED, installedDistroRulesVersion); in getRulesState_stagedInstall() 181 RulesState expectedRuleState = new RulesState( in getRulesState_nothingStaged() 184 RulesState.STAGED_OPERATION_NONE, null /* stagedDistroRulesVersion */, in getRulesState_nothingStaged() 185 RulesState.DISTRO_STATUS_INSTALLED, installedDistroRulesVersion); in getRulesState_nothingStaged() 206 RulesState expectedRuleState = new RulesState( in getRulesState_uninstallStaged() 209 RulesState.STAGED_OPERATION_UNINSTALL, null /* stagedDistroRulesVersion */, in getRulesState_uninstallStaged() 210 RulesState.DISTRO_STATUS_INSTALLED, installedDistroRulesVersion); in getRulesState_uninstallStaged() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | RulesManagerService.java | 19 import static android.app.timezone.RulesState.DISTRO_STATUS_INSTALLED; 20 import static android.app.timezone.RulesState.DISTRO_STATUS_NONE; 21 import static android.app.timezone.RulesState.DISTRO_STATUS_UNKNOWN; 22 import static android.app.timezone.RulesState.STAGED_OPERATION_INSTALL; 23 import static android.app.timezone.RulesState.STAGED_OPERATION_NONE; 24 import static android.app.timezone.RulesState.STAGED_OPERATION_UNINSTALL; 25 import static android.app.timezone.RulesState.STAGED_OPERATION_UNKNOWN; 33 import android.app.timezone.RulesState; 139 public RulesState getRulesState() { in getRulesState() 146 private RulesState getRulesStateInternal() { in getRulesStateInternal() [all …]
|